Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statements (Form S-8 Nos. 333-176133, 333-182047, 333-188455, 333-195888, 333-220987, 333-224933, 333-227153, 333-232337, 333-253594, 333-271732 and 333-284238) of Lattice Semiconductor Corporation of our reports dated February 13, 2026, with respect to the consolidated financial statements of Lattice Semiconductor Corporation and the effectiveness of internal control over financial reporting of Lattice Semiconductor Corporation included in this Annual Report (Form 10-K) of Lattice Semiconductor Corporation for the year ended January 3, 2026.

/s/ Ernst & Young LLP

San Jose, California

February 13, 2026