UCR EE/CS120B: Digital Systems
Lab 4: FSM Design of a 4-bit counter Using Behavioral
VHDL
I. Introduction
For this lab, you are required to write a behavioral VHDL description of a finite state machine (FSM) for a 4-bit counter and a testbench to show its correctness.
Inputs into your FSM will be the following: II. Implementation First come up with the FSM that will describe how this design should
function using the synthesis method as discussed in class. Next, translate that
into a VHDL description as described in lab and test your design by writing a
VHDL testbench and observing the results. III. Downloading Once you have verified the results using Aldec HDL, check out an XS40 board
and download your code. Verify the results.