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

The 10-second takeaway
For the quarter ended Sep. 29 (Q2), Xilinx met expectations on revenues and beat expectations on earnings per share.

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

Gross margins expanded, operating margins dropped, net margins were steady.

Revenue details
Xilinx chalked up revenue of $543.9 million. The 26 analysts polled by S&P Capital IQ predicted a top line of $548.0 million on the same basis. GAAP reported sales were 2.0% lower than the prior-year quarter's $555.2 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.46. The 24 earnings estimates compiled by S&P Capital IQ anticipated $0.41 per share. GAAP EPS of $0.46 for Q2 were 2.1% lower than the prior-year quarter's $0.47 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 65.5%, 160 basis points better than the prior-year quarter. Operating margin was 27.2%, 130 basis points worse than the prior-year quarter. Net margin was 22.7%, about the same as the prior-year quarter.

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

Next year's average estimate for revenue is $2.26 billion. The average EPS estimate is $1.80.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 326 members out of 367 rating the stock outperform, and 41 members rating it underperform. Among 95 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 86 give Xilinx a green thumbs-up, and nine 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 $36.28.

Can your retirement portfolio provide you with enough income to last? You'll need more than Xilinx. Learn about crafting a smarter retirement plan in "The Shocking Can't-Miss Truth About Your Retirement." Click here for instant access to this free report.

Seth Jayson had no position in any company mentioned here at the time of publication. You can view his stock holdings here. He is co-advisor of Motley Fool Hidden Gems, which provides new small-cap ideas every month, backed by a real-money portfolio. The Motley Fool has no positions in the stocks mentioned above. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.