








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Its one of the Sequential Logic Design lectures. Its key points are: Structural Design, Structurally, Behaviorally, Text Based Schematic, Manual Instantiation, Another System, Abstract Description of Functionality, Components, Declaration of the System, Architecture
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









Structurally : text based schematic, manual instantiation of another system
Behaviorally : abstract description of functionality
entity xor2 is
port (In1, In2 : in STD_LOGIC; Out1 : out STD_LOGIC);
end entity xor2;
entity or2 is
port (In1, In2 : in STD_LOGIC; Out1 : out STD_LOGIC);
end entity or2;
entity TOP is port (A,B,C : in STD_LOGIC; X : out STD_LOGIC); end entity TOP;
architecture TOP_arch of TOP is
component xor2 -- declaration of xor2 component port (In1, In2 : in STD_LOGIC; Out1 : out STD_LOGIC); end component;
component or2 -- declaration of or2 component port (In1, In2 : in STD_LOGIC; Out1 : out STD_LOGIC); end component;
begin …..
architecture TOP_arch of TOP is
signal signal-name : signal-type; signal signal-name : signal-type;
architecture TOP_arch of TOP is
signal node1 : STD_LOGIC;
component xor2 -- declaration of xor2 component port (In1, In2 : in STD_LOGIC; Out1 : out STD_LOGIC); end component;
component or2 -- declaration of or2 component port (In1, In2 : in STD_LOGIC; Out1 : out STD_LOGIC); end component;
begin …..
end architecture TOP_arch;
node
ex) U1 : xor2 port map (A, B, node1);
ex) U1 : xor2 port map (In1 => A, In2 => B, Out1 => node1);
because
We are NOT writing code, we are describing hardware!!!
syntax: label : for identifier in range generate
component instantiation
end generate;
ex) instantiate 8 inverters assuming X and Y are busses of equal width
begin
Gen1 : for i in 1 to 8 generate
U1 : INV1 port map ( In1=>X(i), In2=>Y(i) );
end generate;