UCR EE/CS120B: Digital Systems


Lab 3: 4-bit counter

I. Introduction

For this lab, you are required to write a vhdl description of a finite state machine (FSM) and a testbench to show its correctness.

Inputs into your machine will be the following:

II. Implementation

First come up with the FSM that will describe how this design should function. 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.