Xilinx (Nasdaq: XLNX) reported earnings on Wednesday. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q1), Xilinx beat slightly on revenues and beat expectations on earnings per share.

Compared to the prior-year quarter, revenue shrank and GAAP earnings per share contracted significantly.

Gross margins increased, operating margins contracted, and net margins contracted.

Revenue details
Xilinx tallied revenue of $582.8 million. The 23 analysts polled by S&P Capital IQ expected revenue of $573.9 million on the same basis. GAAP reported sales were 5.3% lower than the prior-year quarter's $615.5 million.

Source: S&P Capital IQ. Quarterly periods. Dollar amounts in millions. Non-GAAP figures may vary to maintain comparability with estimates.

EPS details
EPS came in at $0.47. The 21 earnings estimates compiled by S&P Capital IQ averaged $0.45 per share. GAAP EPS of $0.47 for Q1 were 16% lower than the prior-year quarter's $0.56 per share.

Source: S&P Capital IQ. Quarterly periods. Non-GAAP figures may vary to maintain comparability with estimates.

Margin details
For the quarter, gross margin was 66.0%, 230 basis points better than the prior-year quarter. Operating margin was 28.2%, 240 basis points worse than the prior-year quarter. Net margin was 22.3%, 280 basis points worse than the prior-year quarter.

Looking ahead
Next quarter's average estimate for revenue is $548.3 million. On the bottom line, the average EPS estimate is $0.41.

Next year's average estimate for revenue is $2.28 billion. The average EPS estimate is $1.84.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 325 members rating the stock outperform and 41 members rating it underperform. Among 99 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 89 give Xilinx a green thumbs-up, and 10 give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Xilinx is hold, with an average price target of $38.62.

Is Xilinx the best semiconductor stock for you? You may be missing something obvious. Check out the semiconductor company that Motley Fool analysts expect to lead "The Next Trillion-Dollar Revolution." Click here for instant access to this free report.