Ardware Escription: Fpga & Programmation VHDL
Ardware Escription: Fpga & Programmation VHDL
VHDL
Very High-Speed Integrated Circuits
FPGA & Hardware
programmation Description
VHDL Software
Language
Dr. Mustapha BELARBI Programming
Maître de Conférences A
Département de génie électrique please think Language
Université Ibn Khaldoun de Tiaret
Hardware
2018-2019
VHDL Invariants:
developed by the US department of defense in 1980 1. Case Sensitivity
Dout <= A and B;
doUt <= a AnD b;
standardised by IEEE in the standard 1076 in 1987
3. Comments
first significant revision has been released in 1993 Comments in VHDL begin with “--“ (two consecutive
dashes). The VHDL synthesizer ignores anything after the
two minor revision has been released in 2000 and 2002 introducing
two dashes and up to the end of the line in which the
the use of protected type then relaxing the rules related to the ports dashes appear.
entity my_entity is
port (
input_1 : in std_logic ; input_1 output_1
input_2 : in std_logic ; my_entity
input_2 output_2
1
04/11/2018
entity Flip_Flop_D is
A D
C port ( D : in std_logic ;
B AND_2 CLK : in std_logic ; CLK Q
Flip_Flop_D
RST : in std_logic ;
Q : out std_logic ) ; RST
end entity Flip_Flop_D ;
entity AND_2 is
port ( A : in std_logic ;
B : in std_logic ; entity Flip_Flop_D is
C : out std_logic ) ; port ( D, CLK, RST : in std_logic ;
end entity AND_2 ; Q : out std_logic ) ;
end entity Flip_Flop_D ;
2
04/11/2018
Architecture 4 Hybrid
Data Flow RTL: at this level, the entity is Structural: at this level the entity is
designed by specifying the data flow. implemented in terms of logic gate depending
The designer is aware of how data flows on the chosen technology.
between hardware registers and how the data is Design at this level is similar to describing a
processed in the design. design in terms of gate level logic diagram.
RTL (Register Transfer Logic) modelling is quite It is strongly technology dependent.
technology independent description. it is very similar to an assembly language.
3
04/11/2018
Behavioural
Simple Design 1
TOP LEVEL ENTITY
Complex Simple Design 2 Simple Design 1 Simple Design 2
Design
Simple Design 3 Sub-desing 1 Sub-design 3
Simple Design … Sub-design 2 Sub-design 4
4
04/11/2018