1 / 6

CA 2007 Project 1 – Pipelined CPU using Verilog –

CA 2007 Project 1 – Pipelined CPU using Verilog –. Yeh-Juin Lin ( 林業峻 ) d95027@csie.ntu.edu.tw 5/14 2007. Project 1 – Pipelined CPU using Verilog –. Write a Verilog behavior Pipelined Cycle CPU program Required Instruction Set : and or add sub mul lw sw beq j addi.

jamiembell
Download Presentation

CA 2007 Project 1 – Pipelined CPU using Verilog –

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CA 2007Project 1– Pipelined CPU using Verilog – Yeh-Juin Lin (林業峻) d95027@csie.ntu.edu.tw 5/14 2007

  2. Project 1 – Pipelined CPU using Verilog – • Write a Verilog behavior Pipelined Cycle CPU program • Required Instruction Set: • and • or • add • sub • mul • lw • sw • beq • j • addi

  3. Requirement • Register File:32 Registers􀂊 • Data Memory:32 Bytes􀂊 • Data Path & Module Name • (In page 6) • MUL OpCode: • Hazard handling • Data hazard: • implement the Forwarding Unit to reduce or avoid the stall cycles. • The data dependency instruction follow “lw” must stall 1 cycle. • Control hazard: • Branch result must be find in ID stage. • The instruction follow ‘beq’ or ‘j’ instruction must stall 1 cycle.

  4. Requirement (Cont’d) • Source code (put all .v file into “code” directory) • TestBench (Design by yourself~!) • Initialize storage units • Load instruction.txt into instruction memory • Create clock signal • Output cycle count in each cycle • Output Register File & Data Memory in each cycle • Print result to output.txt • Report (project1_teamXX.doc) • Members & Team Work • How do you implement this Pipelined CPU. • How do you implement the TestBench. • Problems and solution of this project. • Put all files and directory into project1_teamXX.rar

  5. Due Date • Deadline: • Deadline: 6/4 (3 weeks) • Before the Project • Team work, 3 persons at most • Please reply the title about ” Project分組” in the forum. • Must include student ID and student name.

  6. Data Path & Module Name

More Related