hw5_2 - of dIn and result to unsigned . Turn in a printout...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
- 1 - 1. (15 points) Create a project for the calculator. Copy all the source files you will find on the web site to the directory for project and add them to your project by selecting “Add Source” from the Project menu in Project Navigator. Change line 34 in the file calculator.vhd to read else if load = '1' then What error message results when you run the syntax checker? 2. (25 points) After restoring calculator.vhd to its original state, run a functional simulation using the testbench testit1 . This testbench tests the calculator in isolation, so you don’t need to be concerned with the top and debouncer modules. In ModelSim, change the radix
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: of dIn and result to unsigned . Turn in a printout of your simulation output. Now change line 37 of calculator.vhd to read dReg <= (dReg(7 downto 5) + dIn(7 downto 5)) & (dReg(4 downto 0) + dIn(4 downto 0)); Expand the view of result so that you can see every bit, and print the resulting output. Mark on your output the first place where the new simulation differs from the original, identify the bits that are different and explain why theyre different. CSE 260 Digital Computers: Organization and Logical Design Homework 5 Jon Turner Due 1/31/2008...
View Full Document

Ask a homework question - tutors are online