Lattice Semiconductor (Nasdaq: LSCC) reported earnings on July 25. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 29 (Q2), Lattice Semiconductor beat slightly on revenues and beat expectations on earnings per share.

Compared to the prior-year quarter, revenue expanded significantly. GAAP earnings per share grew.

Margins expanded across the board.

Revenue details
Lattice Semiconductor booked revenue of $84.7 million. The four analysts polled by S&P Capital IQ expected revenue of $83.6 million on the same basis. GAAP reported sales were 20% higher than the prior-year quarter's $70.8 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.04. The five earnings estimates compiled by S&P Capital IQ forecast $0.03 per share. GAAP EPS were $0.04 for Q2 against -$0.11 per share for the prior-year quarter.

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 53.3%, 100 basis points better than the prior-year quarter. Operating margin was 9.2%, much better than the prior-year quarter. Net margin was 6.0%, much better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $325.4 million. The average EPS estimate is $0.15.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 125 members out of 142 rating the stock outperform, and 17 members rating it underperform. Among 26 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 21 give Lattice Semiconductor a green thumbs-up, and five give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Lattice Semiconductor is buy, with an average price target of $7.00.

Is Lattice Semiconductor 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.