Posted on Wednesday, October 28, 2009 at 9:21 PM
Design Style is the way of arranging internal description of circuit architecture.
Different design styles of coding are listed as follows,
c) Data flow
Each of them is explained in detail in below sections.
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.
ENTITY logic_high IS
in_a : IN STD_LOGIC;
in_b : IN STD_LOGIC;
out_d : OUT STD_LOGIC