[Next] [Previous] [Top]

ECE241F Lab 3

4.0 In the Lab

First, check and make sure that the 7-segment display and Altera board are working, by copying the file ~jayar/ece241/lab3/flash.pof (on the ECE ugsparc system or the ECF sparks system) and place it into a separate directory.

Then, open the Programmer module and use File | Select Programming File, and select the file flash.pof. Click OK in the prompt that asks if it's OK to change the project to "flash". Once the file is downloaded it will count using the 7-segment displays.

The VHDL source code for this program is in two files, in the directory ~jayar/ece241/lab3. The file flash.vhd uses four counters and two 7-segment decoders. The file seg7.vhd has the 7-segment decoder description. Look at this code to get an idea of what you will learn later in the course. Note that it will not be easy to understand the code that is written in the files. DO NOT use this code in your lab here, it is just meant as a test programming file for the board. (In this lab you must create direct equations for all of the logic).

2. Download and test your circuits from the preparation. Show each working circuit to the TA.