For the year, we reported net loss of $6.2 million or $0.23 per diluted share on net revenues of $58.6 million compared to net income of $3.8 million or $0.14 per diluted share on net revenues of $66 million in the prior fiscal year ended March 31, 2013. Gross margin was 44.6% compared to 43.3% in the prior year.
Research and development expenses were $13.1 million compared to $11.5 million in the fiscal year ended March 31, 2013. And selling, general and administrative expense, which included litigation-related expenses, was up substantially to $18.8 million compared to $13.7 million in 2013.
Research and development expense in fiscal 2014 included $1.5 million for 2 preproduction mask sets. There were no such expenses in fiscal 2013. Litigation-related expenses in fiscal 2014 were $8.7 million, up from $3 million in fiscal 2013. The litigation-related expenses, again, were primarily associated with pending patent infringement and antitrust litigation involving Cypress Semiconductor. Both lawsuits are currently in the discovery phase.
Total operating expense increased by $6.7 million to $31.9 million from $25.2 million in fiscal 2013. We reported a net loss of $5.4 million, or $0.20 per diluted share, on net revenues of $12.8 million for the fourth quarter of fiscal 2014 compared to net income of $950,000, or $0.03 per diluted share, on net revenues of $15.7 million in the prior year quarter ended March 31, 2013, and a net loss of $734,000, or $0.03 per diluted share, on net revenues of $13.8 million for the preceding third quarter. Gross margin was 45.7% compared to 46.3% in the prior year period and 39% in the preceding third quarter.
Because we recorded a cumulative 3-year loss on the U.S. tax basis for the period ended March 31, 2014, our fourth quarter results included a tax provision of $1.9 million, reflecting a full valuation allowance of $3.1 million for our deferred tax assets, which had a substantial effect on our bottom line for the quarter.
Fourth quarter fiscal 2014 operating loss was $3.6 million compared to operating loss of $1.9 million in the prior quarter and operating income of $439,000 a year ago. Total operating expenses for the fourth quarter of fiscal 2014 were $9.5 million, up from $6.8 million in the fourth quarter of fiscal 2013 and up from $7.3 million in the preceding third quarter.
Research and development expenses were $4.4 million, which included $1.5 million for 2 preproduction mask sets, and were up from $2.9 million in the prior year period, and up from $2.8 million in the preceding quarter. Selling, general and administrative expenses, which included litigation-related expenses, were up substantially year-over-year to $5.1 million compared to $3.9 million in the quarter ended March 31, 2013, and up sequentially from $4.5 million in the preceding quarter. Litigation-related expenses in the fourth fiscal quarter were $2.6 million, up from $2.1 million in the previous quarter and up from $1.2 million in the same period a year ago. We currently expect litigation-related expense to be approximately $1.8 million in the June quarter.
Total fourth quarter pretax stock-based compensation expense was $584,000 compared to $516,000 in the prior quarter and $589,000 in the comparable quarter a year ago. Depreciation and amortization expense was $495,000 for the quarter.
Fourth quarter direct and indirect sales to Cisco Systems were $2.2 million, or 17.1% of net revenues, compared to $2.5 million or 18.4% of net revenues in the prior quarter, and $3.9 million or 24.8% of net revenues in the same period a year ago.
Sales to Alcatel-Lucent were $2.5 million, or 19.7% of net revenues during the quarter, compared to $2.3 million or 16.5% of net revenues in the prior quarter. Military/defense sales were 16% of shipments compared to 14.2% of shipments in the prior quarter and 12.7% of shipments in the comparable period a year ago.
SigmaQuad sales were 45.1% of shipments compared to 39.8% in the prior quarter and 38.9% in the fourth quarter of fiscal 2013.
Our Board of Directors has authorized us to repurchase, at management's discretion, shares of our common stock. Under the repurchase program, we may repurchase shares from time to time on the open market and in private transactions. The specific timing and amount of repurchases will depend on market conditions, securities laws limitations and other factors. The repurchase program may be suspended or terminated at any time without prior notice.
During the quarter ended March 31, 2014, we repurchased 52,050 shares at an average cost of $6.61 per share for a total cost of $344,000. In April, we repurchased approximately 136,000 shares at a cost of approximately $913,000. Through April 30, 2014, we repurchased 4.2 million shares for a total cost of $17.9 million. As of April 30, 2014, management still has the authority to repurchase additional shares having a dollar value of up to approximately $12.1 million.
At March 31, 2014, we had $80.9 million in cash, cash equivalents and short-term investments, $28.8 million in long-term investments, $90.7 million in working capital, no debt, and stockholders' equity of $128.4 million. Accounts payable at March 31, 2014, was $4.9 million compared to $3.8 million at March 31, 2013. Net inventory was $8.2 million at March 31, 2014, down from $10.2 million at March 31, 2013. Inventory turns at March 31, 2014 was 3.4x compared to 2.4 at March 31, 2013.
Looking forward to the first quarter, we currently expect net revenues to be in the range of $13 million to $14 million, with gross margin of approximately 40% to 42%. Operating expenses in total are expected to be approximately $7.2 million. Operator, at this point, we will open the call to Q&A.