Verilog Simulation with SYNAPTICAD Tool - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

Verilog Simulation with SYNAPTICAD Tool

Description:

Verilog Simulation with SYNAPTICAD Tool. ???. 95/10/31. 2. Tool Installation. Click to install ... Verilog Syntax (1/2) module fulladder (sum, c_out, x, y, c_in) ... – PowerPoint PPT presentation

Number of Views:169
Avg rating:3.0/5.0
Slides: 23
Provided by: larcEeN
Category:

less

Transcript and Presenter's Notes

Title: Verilog Simulation with SYNAPTICAD Tool


1
Verilog Simulation with SYNAPTICAD Tool
  • ???
  • 95/10/31

2
Tool Installation
Click to install
3
Execution of The Tool
4
Interface of The Tool
5
Add a New File (1/3)
6
Add a New File (2/3)
  • Enter the Examples directory

7
Add a New File (3/3)
  • Take the file add4.v as an example

8
Compile The File (1/2)
Compile the file
9
Compile The File (2/2)
Compile Complete
Simulation Waveform
10
Simulation with Manual Stimuli (1/5)
Ungroup the signal
11
Simulation with Manual Stimuli (2/5)
Press ??
12
Simulation with Manual Stimuli (3/5)
Select High or Low
13
Simulation with Manual Stimuli (4/5)
Group the signal
14
Simulation with Manual Stimuli (5/5)
Complete the simulation
15
Simulation with a Testbench (1/5)
Add the testbench file
16
Simulation with a Testbench (2/5)
Take the file add4test.v as an example
17
Simulation with a Testbench (3/5)
Simulate the testbench
18
Simulation with a Testbench (4/5)
Complete the simulation
19
Simulation with a Testbench (5/5)
20
Verilog Syntax (1/2)
Module name
IO list
module fulladder (sum, c_out, x, y, c_in)
output sum, c_out // Output port input x, y,
c_in // Input port wire a, b, c
// Internal wire xor (a, x, y) xor (sum,
a, c_in) and (b, x, y) and (c, a,
c_in) or (c_out, c, b) endmodule
21
Verilog Syntax (2/2)
module FourBitAdder(sum, c_out, x, y, c_in)
output 30 sum output c_out input 30
x, y input c_in wire c1, c2, c3
fulladder fa0 (sum0, c1, x0, y0, c_in)
fulladder fa1 (sum1, c2, x1, y1, c1)
fulladder fa2 (sum2, c3, x2, y2, c2)
fulladder fa3 (sum3, c_out, x3, y3,
c3) endmodule
22
Homework Assignment 2
  • module FourBit_Comparator (Z1, Z2, A, B)
  • Input 30 A,B
  • output Z1, Z2
  • endmodule
Write a Comment
User Comments (0)
About PowerShow.com