RTL Hardware Design Chapter 41. 1. Combinational versus sequential circuit 2. Simple signal assignment statement 3. Conditional signal assignment statement.

Slides:



Advertisements
Similar presentations
Chapter 4: Control Structures I (Selection)
Advertisements

ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Combinational Logic.
Give qualifications of instructors: DAP
1 Workshop Topics - Outline Workshop 1 - Introduction Workshop 2 - module instantiation Workshop 3 - Lexical conventions Workshop 4 - Value Logic System.
Lecture 6 Chap 8: Sequential VHDL Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
Introductory Comments Regarding Hardware Description Languages.
Sequential Logic Design Process A sequential circuit that controls Boolean outputs and a specific time- ordered behavior is called a controller. StepDescription.
ECE 353 Computer Systems Lab I Verilog Hardware Description Language.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
EE 367 – Logic Design Lecture #17
Overview Logistics Last lecture Today HW5 due today
Combinational Circuits Chapter 3 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer, 2003.
RTL Hardware Design by P. Chu Chapter Derivation of efficient HDL description 2. Operator sharing 3. Functionality sharing 4. Layout-related circuits.
ENG6090 RCS1 ENG6090 Reconfigurable Computing Systems Hardware Description Languages Part 4: Modeling Dataflow.
A.7 Concurrent Assignment Statements Used to assign a value to a signal in an architecture body. Four types of concurrent assignment statements –Simple.
Tutorial 1 Combinational Logic Synthesis. Introduction to VHDL VHDL = Very high speed Hardware Description Language VHDL and Verilog are the industry.
Sequential Statements
VHDL Introduction. V- VHSIC Very High Speed Integrated Circuit H- Hardware D- Description L- Language.
ECE Advanced Digital Systems Design Lecture 4 – Combinational Circuits in VHDL Capt Michael Tanner Room 2F46A HQ U.S. Air Force Academy.
IAY 0600 Digital Systems Design VHDL discussion Dataflow&Behavioral Styles Combinational Design Alexander Sudnitson Tallinn University of Technology.
IAY 0600 Digital Systems Design VHDL discussion Dataflow Style Combinational Design Alexander Sudnitson Tallinn University of Technology.
CEC 220 Digital Circuit Design Introduction to VHDL Wed, February 25 CEC 220 Digital Circuit Design Slide 1 of 19.
George Mason University Data Flow Modeling in VHDL ECE 545 Lecture 7.
Introduction to ASIC flow and Verilog HDL
9/9/2006DSD,USIT,GGSIPU1 Concurrent vs Sequential Combinational vs Sequential logic –Combinational logic is that in which the output of the circuit depends.
CS/EE 3700 : Fundamentals of Digital System Design
5-1 Logic System Design I VHDL Design Principles ECGR2181 Reading: Chapter 5.0, 5.1, 5.3 port ( I: in STD_LOGIC_VECTOR (1 to 9); EVEN, ODD: out STD_LOGIC.
ECOM 4311—Digital System Design with VHDL
Data Flow Modeling in VHDL
Apr. 3, 2000Systems Architecture I1 Introduction to VHDL (CS 570) Jeremy R. Johnson Wed. Nov. 8, 2000.
CEC 220 Digital Circuit Design Introduction to VHDL Friday, February 21 CEC 220 Digital Circuit Design Slide 1 of 10.
May 9, 2001Systems Architecture I1 Systems Architecture I (CS ) Lab 5: Introduction to VHDL Jeremy R. Johnson May 9, 2001.
1 ASIC 120: Digital Systems and Standard-Cell ASIC Design Tutorial 2: Introduction to VHDL February 1, 2006.
Lecture #10 Page 1 Lecture #10 Agenda 1.VHDL : Concurrent Signal Assignments 2.Decoders using Structural VHDL Announcements 1.HW #4 due 2.HW #5 assigned.
CEC 220 Digital Circuit Design Introduction to VHDL Wed, Oct 14 CEC 220 Digital Circuit Design Slide 1 of 19.
George Mason University Data Flow Modeling of Combinational Logic ECE 545 Lecture 5.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Lecture 1 Gunjeet kaur Dronacharya group of institutions.
Overview Logistics Last lecture Today HW5 due today
Hardware Description Languages: Verilog
Sequential statements (1) process
Combinational logic circuit
Systems Architecture Lab: Introduction to VHDL
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL Code.
ENG2410 Digital Design “Combinational Logic Design”
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
Dataflow Style Combinational Design with VHDL
Sequential Statements (Lecture 2)
Hardware Description Languages: Verilog
Dr. Clincy Professor of CS
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
IAS 0600 Digital Systems Design
Behavioral Modeling in Verilog
Data Flow Modeling of Combinational Logic
CS Chapter 3 (3A and ) Part 3 of 8
Concurrent vs Sequential
CS Chapter 3 (3A and ) – Part 2 of 5
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Data Flow Description of Combinational-Circuit Building Blocks
VHDL Programming (08 Marks)
Combinational Circuits
Data Flow Description of Combinational-Circuit Building Blocks
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL code ECE 448 – FPGA and ASIC Design.
Introduction to Verilog – Part-2 Procedural Statements
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
EEL4712 Digital Design (VHDL Tutorial).
Presentation transcript:

RTL Hardware Design Chapter 41

1. Combinational versus sequential circuit 2. Simple signal assignment statement 3. Conditional signal assignment statement 4. Selected signal assignment statement 5. Conditional vs. selected signal assignment RTL Hardware Design Chapter 42

 Combinational circuit: ◦ No internal state ◦ Output is a function of inputs only ◦ No latches/FFs or closed feedback loop  Sequential circuit: ◦ With internal state ◦ Output is a function of inputs and internal state  Sequential circuit to be discussed later RTL Hardware Design Chapter 43

RTL Hardware Design Chapter 44

 Simple signal assignment is a special case of conditional signal assignment  Syntax: signal_name <= projected_waveform;  E.g., y <= a + b + 1 after 10 ns;  Timing info ignored in synthesis and δ-delay is used: signal_name <= value_expression RTL Hardware Design Chapter 45

 E.g., status <= '1'; even <= (p1 and p2) or (p3 and p4); arith_out <= a + b + c - 1;  Implementation of last statement RTL Hardware DesignChapter 46

 a signal appears in both sides of a concurrent assignment statement  E.g., q <= ((not q) and (not en)) or (d and en);  Syntactically correct  Form a closed feedback loop  Should be avoided RTL Hardware Design Chapter 47

 Syntax  Examples  Conceptual implementation  Detailed implementation examples RTL Hardware Design Chapter 48

 Simplified syntax: signal_name <= value_expr_1 when boolean_expr_1 else value_expr_2 when boolean_expr_2 else value_expr_3 when boolean_expr_3 else... value_expr_n RTL Hardware Design Chapter 49

 Function table: RTL Hardware DesignChapter 410

RTL Hardware Design Chapter 411

 Function table: RTL Hardware DesignChapter 412

RTL Hardware Design Chapter 413

 Function table: RTL Hardware DesignChapter 414

RTL Hardware Design Chapter 415

 Function table: RTL Hardware DesignChapter 416

RTL Hardware Design Chapter 417

 Syntax: signal_name <= value_expr_1 when boolean_expr_1 else value_expr_2 when boolean_expr_2 else value_expr_3 when boolean_expr_3 else... value_expr_n;  Evaluation in ascending order  Achieved by “priority-routing network”  Top value expression has a “higher priority” RTL Hardware Design Chapter 418

 sel has a data type of boolean  If sel is true, the input from “T” port is connected to output.  If sel is false, the input from “F” port is connected to output. RTL Hardware DesignChapter 419

RTL Hardware Design Chapter 420

RTL Hardware Design Chapter 421

RTL Hardware Design Chapter 422

RTL Hardware Design Chapter to-1 mux

 E.g., RTL Hardware DesignChapter 424

RTL Hardware Design Chapter 425 E.g.,

RTL Hardware Design Chapter 426

RTL Hardware Design Chapter 427 E.g.,

 Syntax  Examples  Conceptual implementation  Detailed implementation examples RTL Hardware Design Chapter 428

 Simplified syntax: with select_expression select signal_name <= value_expr_1 when choice_1, value_expr_2 when choice_2, value_expr_3 when choice_3,... value_expr_n when choice_n; RTL Hardware Design Chapter 429

 select_expression ◦ Discrete type or 1-D array ◦ With finite possible values  choice_i ◦ A value of the data type  Choices must be ◦ mutually exclusive ◦ all inclusive ◦ others can be used as last choice_i RTL Hardware Design Chapter 430

RTL Hardware DesignChapter 431

 Can “11” be used to replace others? RTL Hardware DesignChapter 432

RTL Hardware Design Chapter 433

RTL Hardware Design Chapter 434

 Can we use ‘-’? RTL Hardware DesignChapter 435

RTL Hardware DesignChapter 436

RTL Hardware DesignChapter 437

 Achieved by a multiplexing circuit  Abstract (k+1)-to-1 multiplexer ◦ sel is with a data type of (k+1) values: c0, c1, c2,..., ck RTL Hardware DesignChapter 438

– select_expression is with a data type of 5 values: c0, c1, c2, c3, c4 RTL Hardware DesignChapter 439

RTL Hardware Design Chapter 440

RTL Hardware Design Chapter 441 Detailed implementation examples 4-to-1 mux

RTL Hardware Design Chapter 442  E.g.,

 Conversion between conditional vs. selected signal assignment  Comparison RTL Hardware Design Chapter 443

RTL Hardware Design Chapter 444

RTL Hardware DesignChapter 445

RTL Hardware Design Chapter 446  Selected signal assignment: ◦ good match for a circuit described by a functional table ◦ E.g., binary decoder, multiplexer ◦ Less effective when an input pattern is given a preferential treatment

 Conditional signal assignment: ◦ good match for a circuit a circuit that needs to give preferential treatment for certain conditions or to prioritize the operations ◦ E.g., priority encoder ◦ Can handle complicated conditions. e.g., RTL Hardware DesignChapter 447

RTL Hardware Design Chapter 448 ◦ May “over-specify” for a functional table based circuit. ◦ E.g., mux