Homework 4

due Thursday, October 9, 4:00 pm (NO LATE HOMEWORK ACCEPTED)

submission using Blackboard


Reading

Volnei A. Pedroni, Circuit Design with VHDL

Optional Reading (for students who need more background about basics of digital system design)

Stephen Brown and Zvonko Vranesic, Fundamentals of Digital Logic with VHDL Design, 2nd edition or 3rd edition

Problems

Part 1: Coding

Develop the following complete VHDL code including entity declarations, architectures, and testbenches for circuits below:

General remarks:

Part 2: Simulation

Simulate and verify the operation of all circuits using Active HDL or ModelSim.

Your simulation should run until the entire testbench is complete.

What to Turn In

Part 1: Coding

Turn in the following 4 files PLUS any additional files you have for other entities, packages, etc. you created. In the .vhd files, put your name as a comment near the top of each file. Submit all VHDL files using Blackboard.

cla_adder.vhd
cla_adder_tb.vhd
count_match.vhd
count_match_tb.vhd

Part 2: Simulation

Save the waveforms from simulation (i.e. in .awf format for Active HDL or .wlf format for ModelSim) and submit all of them using Blackboard.

Each filename should correspond with the test bench. For example, using Active HDL the counter with match flag waveform should be called count_match_tb.awf. Using ModelSim it should be called count_match_tb.wlf.