450 likes | 741 Views
Lab3 Tutorial using StateCAD. Objective. This tutorial will give you exposure to using StateCAD and VHDL Using HDL Bencher and Modelsim for simulating the functional design This tutorial shows you how to create, using StateCAD and VHDL, a simple sequence generator.
E N D
Objective • This tutorial will give you exposure to using StateCAD and VHDL • Using HDL Bencher and Modelsim for simulating the functional design • This tutorial shows you how to create, using StateCAD and VHDL, a simple sequence generator
Enter a Name and Location for the Project 1 檔名開頭請勿使用數字或特殊符號並不要使用中文為檔名 2 3
Select State Diagram and Enter File Name 1 檔名開頭請勿使用數字或特殊符號 並不要使用中文為檔名 2 3
State Machine Wizard: Draw State Machines Draw State Machines
Edit Conditions in the transition arrow State0State1 Double Click
Output Wizard 1 2
Enter Constraint Value 1 2 3 Key in 4 5
Insert a New Transition 3 Left-Click 1 2 Left-Click
Enter Constraint Value 1 Double Click 2 3 4
State2State1 2 3 4 1 Double Click
Generate HDL 2 1
Reset 1
Summary Sequence Generator State Table • M=0, then State 02130…… • M=1, then State 01 0…… , State 20, and State 30.
Check M=1 Then DOUT 0, 1(State 0,1) 1 2 Double Click M=1