lecture4 - ECE 4514 Digital Design II Spring 2007 Lecture...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 4514 Digital Design II Spring 2007 Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling Lecture 4: Gate Level Modeling Patrick Schaumont
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Gate-level Modeling b In this lecture we focus on modeling and simulation of gate networks b We will use structural modeling techniques b We will use delay modeling to estimate the delay of a circuit Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling b We will discuss several examples: s bit comparator s byte comparator s latch s master/slave flip-flop
Background image of page 2
Outline b Logic Primitive Gates b Instantiation, Fanout, Fanin, Arrays of gates b Truth Tables (X, Z) b Delay Models s Signal propagation in gates Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling s Delay modeling b Example Models: s Bit-comparator, Word-comparator s Latches and Flip-flops
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Primitive Gates b A primitive is a module which you do not have to describe as the simulator already knows it b There are 14 different primitive gates in Verilog s 8 of them are for logic functions (focus of this class) s 4 of them are for modeling tri-state signals s 2 of them are enance signal strength Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling b New primitive gates can be added s User Defined Primitives (Chapter 12 Palnitkar)
Background image of page 4
Standard Logic Functions and(out, in1, in2) nand(out, in1, in2) or(out, in1, in2) Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling nor(out, in1, in2) xor(out, in1, in2) xnor(out, in1, in2) buf(out, in) not(out, in)
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
More than two inputs, still a primitive and(out, in1, in2) nd(out, in1, in2, in3) Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling and(out, in1, in2, in3) and(out, in1, in2, in3, in4, in5)
Background image of page 6
NAND Truth Table b Must deal with 'Z' and 'X' input (4-valued logic) b Z is undefined (floating), X is unknown in2 0 1 X Z 1 1 Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling in1 in2 out in1 0 1 X Z 1 0
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
NAND Truth Table b Must deal with 'Z' and 'X' input (4-valued logic) b Z is undefined (floating), X is unknown in2 0 1 X Z 1 1 1 1 Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling in1 in2 out in1 0 1 X Z 1 0 1 1 With any input '0', ouput MUST be '1'.
Background image of page 8
NAND Truth Table b Must deal with 'Z' and 'X' input (4-valued logic) b Z is undefined (floating), X is unknown in2 0 1 X Z 1 1 1 1 Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling in1 in2 out in1 0 1 X Z 1 0 1 1 X X X X With an input '1', the ouput may be either '1' or '0', (we don't know unless we know the value of the other input)
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
b Must deal with 'Z' and 'X' input (4-valued logic) b Z is undefined (floating), X is unknown in2 0 1 X Z 1 1 1 1 Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 4: Gate-level Modeling in1 in2 out in1 0 1 X Z 1 0 1 1 X X X X X
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 53

lecture4 - ECE 4514 Digital Design II Spring 2007 Lecture...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online