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

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

View Full Document Right Arrow Icon
ECE 4514 Digital Design II Spring 2007 Lecture 2: Hierarchical Design Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 2: Hierarchical Design 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
Abstraction in Hardware Design b Remember from last lecture that HDLs offer a textual description of a netlist. b Through abstraction in the HDL, we can capture more than a single transistor or gate at a time. s Similar to a function call in C that abstracts a large collection of expressions imilar to a Lego ® astle that abstracts a large collection of Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 2: Hierarchical Design s Similar to a Lego castle that abstracts a large collection of Lego ® bricks b Verilog offers three types of abstraction s Structural s Dataflow s Behavioral These two are related, we call both of them just 'behavioral' for now
Background image of page 2
Structural Modeling QB Q R b Describe a module in terms of components Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 2: Hierarchical Design b Netlist s two modules: NAND_1 and NAND_2 s net 1: Rbar to NAND_1, input_1 s net 2: Sbar to NAND_2, input_2 s net 3: NAND_1, output_1 to NAND_2, input_1 s etc . . S
Background image of page 3

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

View Full DocumentRight Arrow Icon
Behavioral Modeling b Describe a module in terms of input-output behavior input S, R; output Q, QB; if ( S == ‘1’) and (R == ‘0’) then Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 2: Hierarchical Design Set Q to ‘1’, set QB to ‘0’ else if ( S == ‘1’) and (R == ‘1’) then Set Q to ‘1’, set QB to ‘1’ else if ( S == ‘0’) and (R == ‘0’) then *Hold current state* else if ( S == ‘0’) and (R == ‘1’) then Set Q to ‘0’, set QB to ‘1’
Background image of page 4
Behavioral and Structural are dual mechanisms my_flop Rbar Sbar Q Qbar Patrick Schaumont Spring 2008 ECE 4514 Digital Design II Lecture 2: Hierarchical Design Behavioral Description explains what happens to Q and Qbar in terms of Rbar and Sbar Structural Description explains what happens to Q and Qbar in terms of a netlist of lower-level components
Background image of page 5

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

View Full DocumentRight Arrow Icon
b A model can be expressed as behavior or structure (of lower-level models) my_flop Rbar Sbar Q Qbar Level 1 Patrick Schaumont
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/24/2011 for the course ECE 4514 taught by Professor Staff during the Fall '08 term at Virginia Tech.

Page1 / 24

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

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

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