Professional Documents
Culture Documents
ECNG 3016
ADVANCED DIGITAL ELECTRONICS
http://myelearning.sta.uwi.edu/course/view.php?id=686
Semester II 2009
1.
GENERAL INFORMATION
Lab #:
Name of the Lab:
1 Part D
Introduction to StateCAD
Lab Weighting:
0%
Delivery mode:
Lecture
Online
Lab
Other
Microprocessor Laboratory
Lab Dependencies2
Recommended
prior knowledge
and skills3:
Course Staff
Lucien Ngalamou
Marcus George
Position/Role
Lecturer
Instructor
Estimated total
study hours1:
E-mail
lucien.ngalamou@sta.uwi.tt
marcus.george@sta.uwi.tt
Phone
Office
Office
Hours
room 202
room 203
2.
Upon successful completion of the lab assignment, students will be able to:
1. Understand the basics of StateCAD
2. Use StateCAD to create the state diagram of state machine.
3. Use the state diagram created to generate the corresponding VHDL code for
the state machine.
Cognitive
Level
C
C, Ap
C, Ap
3. PRE-LAB
Due Date:
Submission
Procedure:
Estimated time to
completion:
3.1. Required Reading Resources
3.2. Recommended Reading Resources
3.3. Other Resources
3.4. Pre-Lab Exercise
4.
IN-LAB
After StateCAD starts select File => Design Wizard or click on the Draw State Machine button
Click Yes!
Click on Next
Select each of the four Shapes of state machines given(column, multi-coulumn,row and
geometric). Do you observe any changes in the state diagram?
Now vary the Number of states. Do you observe any changes in the state diagram?
Let us now select the shape of the state machine as Geometric and the number of states as 4.
Click on Next
Click Next
The Optimization Wizard will open at this point. Click Cancel we will do optimization later.
Click OK
4.1.4 Optimization
You can go straight to Generate HDL (Options => Compile), but first click on the Optimize button.
Click Next
Click Next
Highlight Xilinx XST and then click on Next to end the Optimize wizard.
12
13
Click Begin
You obtain the following:
14
Select VHDL Design File and click OK. The .vhd file should appear in the source window.
15
5.
POST-LAB
Due Date:
Submission
Procedure:
Deliverables:
N/A
N/A
N/A
5.1. Assignment:
Students are required to complete the following exercise below:
Figure 1: Datapath block diagram of the FSM Controller Unit for the system
16
The system operation is best described by the incomplete state diagram of figure 2 below.
receive_req = 1
reset state
receive data
idle
anything else
transmit data
This laboratory exercise consist of the design, implementation and testing an FSM Controller Unit
(Moore Type) for the digital system.
18
19