Short-term and Long-term Obligations | Short-term and Long-term Obligations Short-term and long-term obligations as of December 31, 2015 and June 30, 2015 consisted of the following (in thousands): December 31, June 30, 2015 2015 Line of credit: Bank of America $ 62,199 $ 59,699 CTBC Bank 9,700 9,700 Total line of credit 71,899 69,399 Building term loans: Bank of America 2,333 3,733 CTBC Bank 20,001 21,280 Total building term loans 22,334 25,013 Total debt 94,233 94,412 Current portion (94,233 ) (93,479 ) Long-term portion $ — $ 933 Activities under Revolving Lines of Credit and Term Loans Bank of America In June 2015, the Company entered into an amendment to the existing credit agreement with Bank of America N.A. ("Bank of America") which provided for (i) a $65,000,000 revolving line of credit facility that would have matured on November 15, 2015 and (ii) a five-year $14,000,000 term loan facility. The term loan is secured by the three buildings located in San Jose, California and the principal and interest are payable monthly through September 30, 2016 with an interest rate at the LIBOR rate plus 1.50% per annum. In November 2015, the Company extended the revolving line of credit to mature on February 15, 2016, and the Company is currently negotiating with Bank of America to renew the revolving line of credit. The line of credit facility provides for borrowings denominated both in U.S. dollars and in Taiwanese dollars. For borrowings denominated in U.S. dollars, the interest rate for the revolving line of credit is at the LIBOR rate plus 1.25% per annum. The LIBOR rate was 0.24% at December 31, 2015 . For borrowings denominated in Taiwanese dollars, the interest rate is equal to the lender's established interest rate which is adjusted monthly. As of December 31, 2015 and June 30, 2015 , the total outstanding borrowings under the Bank of America term loan were $2,333,000 and $3,733,000 , respectively. The total outstanding borrowings under the Bank of America line of credit were $62,199,000 and $59,699,000 as of December 31, 2015 and June 30, 2015 , respectively. The interest rates for these loans ranged from 0.89% to 1.74% per annum at December 31, 2015 and from 0.79% to 1.68% per annum at June 30, 2015 , respectively. As of December 31, 2015 , the unused revolving line of credit with Bank of America was $2,801,000 . CTBC Bank In November 2015, the Company entered into an amendment to the existing credit agreement with CTBC Bank Co., Ltd ("CTBC Bank", formerly, China Trust Bank) to extend the maturity date to January 31, 2016. The amendment provides for (i) a 12 -month NT $700,000,000 or $22,017,000 U.S. dollar equivalents term loan secured by the land and building located in Bade, Taiwan with an interest rate equal to the lender's established NTD interest rate plus 0.25% per annum which is adjusted monthly and (ii) a 12 -month revolving line of credit up to 80.0% of eligible accounts receivable in an aggregate amount of up to $17,000,000 with an interest rate equal to the lender's established USD interest rate plus 0.30% per annum which is adjusted monthly. The total borrowings allowed under the credit agreement are capped at NT $1,000,000,000 or $30,340,000 U.S. dollar equivalents. In January 2016, the Company further extended the revolving line of credit to mature on March 31, 2016, and the Company is currently negotiating with CTBC Bank to renew the credit agreement. The total outstanding borrowings under the CTBC Bank term loan are denominated in Taiwanese dollars and were translated into U.S. dollars of $20,001,000 and $21,280,000 at December 31, 2015 and June 30, 2015 , respectively. The total outstanding borrowings under the CTBC Bank revolving line of credit were $9,700,000 in U.S. dollars at December 31, 2015 and June 30, 2015 . The interest rate for this loan ranged from 0.79% and 1.14% at December 31, 2015 and 0.82% and 1.16% per annum at June 30, 2015 . At December 31, 2015 , NT$21,025,000 or $639,000 U.S. dollar equivalents were available for future borrowing under this credit agreement. The Company is currently negotiating with CTBC Bank to renew the credit agreement. Covenant Compliance The credit agreement with Bank of America contains customary representations and warranties and customary affirmative and negative covenants applicable to the Company and its subsidiaries. The credit agreement contains certain financial covenants, including the following: • Not to incur on a consolidated basis, a net loss before taxes and extraordinary items in any two consecutive quarterly accounting periods; • The Company’s funded debt to EBITDA ratio (ratio of all outstanding liabilities for borrowed money and other interest-bearing liabilities, including current and long-term debt, less the non-current portion of subordinated liabilities to EBITDA) shall not be greater than 2.00; • The Company’s unencumbered liquid assets, as defined in the agreement, held in the United States shall have an aggregate market value of not less than $30,000,000, measured as of the last day of each fiscal quarter and the last day of each fiscal year. As of December 31, 2015 and June 30, 2015 , total assets of $1,148,460,000 and $1,045,408,000 , respectively, collateralized the line of credit with Bank of America which represents all of the assets of the Company except for the three buildings purchased in San Jose, California in June 2010 and the land and building located in Bade, Taiwan. As of December 31, 2015 and June 30, 2015 , total assets collateralizing the term loan with Bank of America were $17,239,000 and $17,354,000 . As of December 31, 2015 , the Company was in compliance with all financial covenants associated with the credit agreement with Bank of America. As of December 31, 2015 and June 30, 2015 , the land and building located in Bade, Taiwan with a value of $26,939,000 and $27,047,000 , respectively, collateralized the term loan with CTBC Bank. There are no financial covenants associated with the term loan with CTBC Bank at December 31, 2015 . |