# Mentor Graphics Corp S-8 filed Jul 20, 2006: Opinion of Counsel

- Company: Mentor Graphics Corp
- Filing: Form S-8 (Initial registration statement for securities to be offered to employees pursuant to employee benefit plans), filed Jul 20, 2006
- Document: Opinion of Counsel (dex5.htm)
- Page for people: https://s6y.io/c/701811/S-8-20060720/dex5.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/701811/000119312506150027/dex5.htm
- This is the whole document, about 200 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/701811/S-8-20060720/dex5.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/701811/S-8-20060720/dex5.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### EXHIBIT 5

July 20, 2006

Mentor Graphics Corporation

8005 SW Boeckman Road

Wilsonville, Oregon 97070-7777

I have acted as counsel for Mentor Graphics Corporation (the “Company”) in connection with the filing of a Registration Statement on Form S-8 (the “Registration Statement”) under the Securities Act of 1933, as amended, covering 4,000,000 shares of Common Stock, without par value (the “Shares”), of the Company to be issued by the Company pursuant to the Company’s 1989 Employee Stock Purchase Plan (the “Plan”). I have reviewed the corporate actions of the Company in connection with this matter and have examined those documents, corporate records, and other instruments I deemed necessary for the purposes of this opinion.

Based on the foregoing, it is my opinion that:

1. The Company is a corporation duly organized and validly existing under the laws of the State of Oregon; and

2. The Shares are duly authorized and, when issued and sold in accordance with the terms of the Plan, will be legally issued, fully paid, and nonassessable.

I hereby consent to the filing of this opinion as an exhibit to the Registration Statement.

Very truly yours,
/s/ DEAN M. FREED
Dean M. Freed
