VHDL Description Models VHDL VHDL can be looked at as a model of a - - PowerPoint PPT Presentation
VHDL Description Models VHDL VHDL can be looked at as a model of a - - PowerPoint PPT Presentation
VHDL Description Models VHDL VHDL can be looked at as a model of a digital system Powerful alternative to schematic based design A change (transition) on the input may lead to a new system state and consequently a change of the
VHDL
- VHDL can be looked at as a model of a digital system
– Powerful alternative to schematic based design
- A change (transition) on the input may lead to a new
system state and consequently a change of the output after a given time delay
- Describes and simulates concurrent events
System/module IN OUT Representation of a digital system
- The entity describes the
interface to the outside world (connection pins of package)
- The architecture describes the
functionality of the circuit inside the entity (package)
Description models Structural Data-flow Behavioral
Description models Structural Data-flow Behavioral
- Interconnection of components (black boxes)
- Concurrent execution of statements
- Can be used to create hierarchy in the code
- Keywords: component & port map
Example of structural model
Example of structural model
Can not directly connect together the input/output of a component to another component’s output/input! Must use an internal signal (such as int1 in this example), unless a connection to a port is made
A component is an entity that is used in another entity
Component
entity declaration architecture declaration component component port port port
Description models Structural Data-flow Behavioral
- Non-procedural
- Describes flow of data using concurrent statements
– Concurrent execution of statements – Statement ”activated” by change on input
- No correspondence between the order of elements / statements
in the code
Code structure
Concurrent statements area
Description models Structural Data-flow Behavioral
- Procedural
- Describes circuit in terms of behaviour ( Algorithmic )
- High abstraction level (no details of actual HW implementation)
- Keywords: process
- Execution of a process is equivalent to a single concurrent statement.
– All VHDL processes execute concurrently
Code structure
Concurrent statements area process: a concurrent VHDL statemen
Code structure
Concurrent statements area process: a concurrent VHDL statemen
RTL – Register Transfer Level
Q clk D
comb. logic
Q clk D Design abstraction which models a synchronous digital circuit in terms of
- the flow digital signals (data) between hardware registers,
- And the logical operations performed on those signals
comb. logic comb. logic
LUT DFF
Switch matrix
A B C D clk q y MUX Logic block Combinational logic Synchronous / Sequential logic
Programmable logic block
Boolean logic