Posted on Wednesday, October 28, 2009 at 9:21 PM
3.1 Introduction:-
Design Style is the way of arranging internal description of circuit architecture.
Different design styles of coding are listed as follows,
a) Structural
b) Behavioral
c) Data flow
Each of them is explained in detail in below sections.
3.2:Structural:-
Structural way of coding is more like instantiating existing design unit (may be gate or functionality of a design) and connect the ports to get the expected behavior of a requirement. Say our requirement is to get an output as high when the inputs(say two bits) are similar.We are having a "exclusive or" functional unit (Example:-2.1) using that we can meet our requirement.
Note:- Below code is tested in modelsim starter edition for VHDL-93 standard.
Example 3.1:-
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY logic_high IS
PORT(
in_a : IN STD_LOGIC;
in_b : IN STD_LOGIC;
out_d : OUT STD_LOGIC
);
END logic_high;...