EXHIBIT 23.1 CONSENT OF ERNST & YOUNG LLP, INDEPENDENT AUDITORS -------------------------------------------------- We consent to the incorporation by reference in the Registration Statement (Form S-8) pertaining to the 1997 Stock Plan and the 1990 Employee Qualified Stock Purchase Plan of Xilinx, Inc. of our report dated April 22, 1998 with respect to the consolidated financial statements and schedule of Xilinx, Inc. included in the Annual Report (Form 10-K) for the year ended March 28, 1998, filed with the Securities and Exchange Commission. Ernst & Young LLP /s/ Ernst & Young LLP San Jose, California September 1, 1998