VHDL Description Models VHDL VHDL can be looked at as a model of a - - PowerPoint PPT Presentation

vhdl description models vhdl
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

VHDL – Description Models

slide-2
SLIDE 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

System/module IN OUT Representation of a digital system

slide-3
SLIDE 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)

slide-4
SLIDE 4

Description models Structural Data-flow Behavioral

slide-5
SLIDE 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
slide-6
SLIDE 6

Example of structural model

slide-7
SLIDE 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

slide-8
SLIDE 8

A component is an entity that is used in another entity

Component

entity declaration architecture declaration component component port port port

slide-9
SLIDE 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

slide-10
SLIDE 10

Code structure

Concurrent statements area

slide-11
SLIDE 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

slide-12
SLIDE 12

Code structure

Concurrent statements area process: a concurrent VHDL statemen

slide-13
SLIDE 13

Code structure

Concurrent statements area process: a concurrent VHDL statemen

slide-14
SLIDE 14

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

slide-15
SLIDE 15

LUT DFF

Switch matrix

A B C D clk q y MUX Logic block Combinational logic Synchronous / Sequential logic

Programmable logic block

Boolean logic