HLL-to-VHDL Conversion Templates

From REuP Project

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:17, 20 January 2011
Apiotro (Talk | contribs)

← Previous diff
Revision as of 10:25, 20 January 2011
Apiotro (Talk | contribs)

Next diff →
Line 1: Line 1:
=HLL to VHDL Conversion Templates= =HLL to VHDL Conversion Templates=
 +{| border="1"
 +|align="center"|'''HLL Expression'''
 +|align="center"|'''VHDL Expression'''
 +|align="center"|'''Remarks'''
 +|+
 +|align="center"|''variables representation''
 +|
 +|
 +|+
 +|''integer variable''
 +|
 +{|
 +|''generic'' (DATA_SIZE: natural := 32);
 +|+
 +|''signal'' : std_logic_vector (DATA_SIZE-1 ''downto'' 0);
 +|}
 +|
 +|+
 +|floating point variable
 +|
 +|
 +|+
 +|}

Revision as of 10:25, 20 January 2011

HLL to VHDL Conversion Templates

HLL Expression VHDL Expression Remarks
variables representation
integer variable
generic (DATA_SIZE: natural := 32);
signal : std_logic_vector (DATA_SIZE-1 downto 0);
floating point variable
Personal tools