HLL-to-VHDL Conversion Templates

From REuP Project

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

← Previous diff
Current revision
Kprzygod (Talk | contribs)

Line 1: Line 1:
-{| border="1"+{| border="1"
-|align="center"|'''HLL Expression'''+|style="background: #f9f9f9" align="center"|'''HLL Expression'''
-|align="center"|'''VHDL Expression'''+|style="background: #f9f9f9" align="center"|'''VHDL Expression'''
-|align="center"|'''Remarks'''+|style="background: #f9f9f9" align="center"|'''Remarks'''
|+ |+
-|align="center"|'''variables representation'''+|style="background: #f9f9f9" align="center"|'''variables representation'''
| |
| |
|+ |+
-|align="right"|''unsigned integer variable''+|style="background: #f9f9f9" align="right"|''unsigned integer variable''
| |
{| {|
Line 17: Line 17:
| |
|+ |+
-|align="right"|''signed integer variable''+|style="background: #f9f9f9" align="right"|''signed integer variable''
| |
{| {|
Line 26: Line 26:
| |
|+ |+
-|align="right"|''floating point variable''+|style="background: #f9f9f9" align="right"|''floating point variable''
| |
{| {|
Line 35: Line 35:
| |
|+ |+
-|align="center"|'''integer arithmetic operations'''+|style="background: #f9f9f9" align="center"|'''integer arithmetic operations'''
| |
| |
|+ |+
-|align="center"|'''floating point arithmetic operations'''+|style="background: #f9f9f9" align="center"|'''floating point arithmetic operations'''
| |
| |
|+ |+
|} |}
 +
 +[[Media:Float_ug.pdf|floating point library specification]]

Current revision

HLL Expression VHDL Expression Remarks
variables representation
unsigned integer variable
generic (DATA_SIZE: natural := 32);
signal : std_logic_vector (DATA_SIZE-1 downto 0);
signed integer variable
generic (DATA_SIZE: natural := 32);
??
floating point variable
generic (DATA_SIZE: natural := 32);
??
integer arithmetic operations
floating point arithmetic operations

floating point library specification

Personal tools