Data Flow Modeling in VHDL: A Comprehensive Guide for FPGA and ASIC Design, Slides of Digital Systems Design

This is one of best lectures from Digital System Design with VHDL course. These lecture slides include: Data Flow Modeling, Synthesizable Vhdl, Concurrent Statements, Signals, Logic Operators, Implied Structure, Priority of Logic and Relational Operators, Syntax, Conceptual Implementation, Comparison

Typology: Slides

2013/2014

Uploaded on 02/01/2014

savitri_122
savitri_122 🇮🇳

4.6

(14)

184 documents

1 / 51

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Data Flow Modeling
in VHDL
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33

Partial preview of the text

Download Data Flow Modeling in VHDL: A Comprehensive Guide for FPGA and ASIC Design and more Slides Digital Systems Design in PDF only on Docsity!

Data Flow Modelingin VHDL

VHDL Descriptions^ structuraldataflow Components and Concurrentinterconnectsstatements

-^ Testbenches behavioral(sequential) Sequential statementsRegistersState machinesInstruction decoders Subset most suitable for synthesis

Types of VHDL Description

Register Transfer Level (RTL) Design Description^ Combinational

Logic^

CombinationalLogic

Registers

Today ’ s Topic

docsity.com

Data-Flow VHDLsimple concurrent signal assignment(

)

-^ conditional concurrent signal assignment

(when-else)

-^ selected concurrent signal assignment

(with-select-when)

-^ generate scheme for equations Concurrent Statements (for-generate)

Wires and Buses ECE 448 – FPGA and ASIC Design with VHDL

SignalsSIGNAL a : STD_LOGIC;SIGNAL b : STD_LOGIC_VECTOR(7 DOWNTO 0);

a 1 wire b 8 bus

Splitting buses^ SIGNAL^ a:^ STD_LOGIC_VECTOR(

DOWNTO^ 0);

SIGNAL^ b:^ STD_LOGIC_VECTOR(

DOWNTO^ 0);

SIGNAL^ c:^ STD_LOGIC;SIGNAL^ d:^ STD_LOGIC_VECTOR(

DOWNTO^ 0);

a^ <=^ d(9^ downto^ 6);b^ <=^ d(5^ downto^ 1);c^ <=^ d(0);

a 410 db 5 c

Data-flow VHDL: Example^ x y cin

s cout docsity.com

Data-flow VHDL: Example (2) ARCHITECTURE dataflow OF fulladd ISBEGINs <=^ x XOR y XOR cin ;cout <= (x AND y) OR (cin AND x) OR (cin AND y) ;END dataflow ;

Logic Operators• Logic operators^ and^ or^ • Logic operators precedence

nand^ nor^ xor^

not^ xnor not and^ or^ nand^ nor^ xor^ xnor Highest Lowest

only in VHDL-93or later docsity.com

RTL Hardware Design^

Chapter 4^

16

arith_result <= a + b + c – 1;

RTL Hardware Design^

Chapter 4^

17

Signal assignment statement with aclosed feedback loop• a signal appears in both sides of aconcurrent assignment statement• E.g.,^ q^ <= (( not q )^

and^ ( not^ en))^ or

(d^ and^ en);

  • Syntactically correct• Form a closed feedback loop• Should be avoided

Conditional concurrent signal assignment^ target_signal <=^ value1^ when^ condition

else value2^ when^ condition

else

.^.^. valueN-1^ when^ conditionN-

else valueN ; When - Else

Most often implied structure^ target_signal

<=^ value1^ when^ condition

else value2^ when^ condition

else

.^.^. valueN-1^ when^ conditionN-

else valueN ; When - Else Value N^ .…Value N-1 Condition N- Value 2Value 1Condition 2Condition 1

Target Signal

…^

0011 0 1