Title: Chapter 05 Tutorial Using HDL Based Design
1Chapter 05Tutorial Using HDL Based Design
2Objective
- This tutorial will give you exposure to using HDL
based design - Using Verilog and Modelsim for simulating the
functional design - This tutorial shows you how to create, using
Verilog, a simple combinational logic circuit
design
3Logic Function
F(xy)(yz)
4Logic Circuit
5Implementation Methods
- Method 1 Using the automatic module generator
- Method 2 Using the user free input
6Method 1
- Using the automatic module generator
7Create a New Project
8Enter a Name and Location for the Project
9Select the Device and Design Flow for the Project
10Create a New Source
11Select Verilog Module and Enter File Name
12Define Verilog Source
13New Source Information
14Finish
15Next Step
16Input Logic Function
17Add Test Bench Source
18Add Test Bench Waveform
19Select Source File
20New Source Information
21Initialize Timing
22Waveform Created by HDL Bencher
23Save the Waveform
24View Behavioral Text Fixture
25Simulate Behavioral Model
26ModelSim Windows
27Wave Window
28Verifying the Logic Function F(x y)(yz)
29Question and Answer
30Method 2
- Using the user free input
31Design a Logic Circuit
32Create a New Project
33Enter a Name and Location for the Project
34Create a New File
35Free Input Verilog Language in the New File
36Design Using RTL Level
37Design Using Gate Level
38Save the Design
39File Name complogic1.v
- Module name and File name must the same.
40Add Source into the Project
41Select complogic1.v
42Choose Source Type
43Add New Source for Test Bench Waveform
44Select Test Bench Waveform
45Initialize Timing
46Waveform Created by HDL Bencher
47Giving Input Values
48Save the Waveform
49Select View Behavioral.. and Run
50See a HDL Test bench
51Select Generate Expected.. and Run
52Verifying the Function of F(x y)(yz)
53Question Answer