Design/Verification Process - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Design/Verification Process

Description:

Register, 4-bit, synchronous load and clear. Built from DFFs without load or clear ... Try different relative timings on input signals ... – PowerPoint PPT presentation

Number of Views:14
Avg rating:3.0/5.0
Slides: 9
Provided by: ianh152
Learn more at: https://ics.uci.edu
Category:

less

Transcript and Presenter's Notes

Title: Design/Verification Process


1
Design/Verification Process
Idea
Make Reference Model
N
Ref Idea?
Behavior
Y
Design Structure
N
StructBehav?
Structure
Y
2
Component Design/Verification Example
Register, 4-bit, synchronous load and clear
  • Built from DFFs without load or clear
  • What if clear and load are both asserted?

3
Register, Behavioral
always _at_(posedge load or posedge clear or posedge
clock) if (load) Q lt D else if
(clear) Q lt 4b0
  • Load has priority over clear

4
Register Testbench, Response Checking
reg_behav r1 (out1, in, clock, load,
clear) reg_struct r1 (out2, in, clock, load,
clear) always _at_(posedge sclock) if (out1 !
out2) display (error)
  • Sclock transitions just before clock
  • Outputs must settle before clock edge

5
Test Stimulus, Reference Model Response
  • 1 bit shown, assume initialized to 0

clk
D
Q
ld
clr
6
New Test Stimulus
  • 1 bit shown, assume initialized to 0

clk
D
Q
ld
clr
  • Is this waveform correct?

7
Reference Model
always _at_(posedge load or posedge clear or posedge
clock) if (load) Q lt D else if
(clear) Q lt 4b0
  • Load and clear are in the sensitivity list
  • Reset and clear are asynchronous

8
Testing Rules of Thumb
Bad test stimulus can cause a bug to be
undetected Try different relative timings on
input signals
Write a Comment
User Comments (0)
About PowerShow.com