vhdl description models vhdl
play

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


  1. VHDL – Description Models

  2. 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 IN OUT System/module Representation of a digital system

  3. • 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)

  4. Description models Structural Data-flow Behavioral

  5. 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

  6. Example of structural model

  7. 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

  8. entity declaration Component architecture declaration port component port A component is an entity that is used in another entity component port

  9. 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

  10. Code structure Concurrent statements area

  11. 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 –

  12. Code structure process: Concurrent a concurrent statements VHDL area statemen

  13. Code structure process: Concurrent a concurrent statements VHDL area statemen

  14. RTL – Register Transfer Level D Q D Q comb. comb. comb. clk logic clk logic logic 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 •

  15. Programmable logic block Combinational logic Logic block Boolean logic LUT A y B MUX C D q DFF clk Switch matrix Synchronous / Sequential logic

Recommend


More recommend