HLL-to-VHDL Conversion Templates
From REuP Project
(Difference between revisions)
| Revision as of 10:25, 20 January 2011 Apiotro (Talk | contribs) ← Previous diff |
Revision as of 10:28, 20 January 2011 Apiotro (Talk | contribs) Next diff → |
||
| Line 1: | Line 1: | ||
| - | =HLL to VHDL Conversion Templates= | ||
| {| border="1" | {| border="1" | ||
| |align="center"|'''HLL Expression''' | |align="center"|'''HLL Expression''' | ||
| Line 5: | Line 4: | ||
| |align="center"|'''Remarks''' | |align="center"|'''Remarks''' | ||
| |+ | |+ | ||
| - | |align="center"|''variables representation'' | + | |align="center"|'''variables representation''' |
| | | | | ||
| | | | | ||
| |+ | |+ | ||
| - | |''integer variable'' | + | |align="right"|''unsigned integer variable'' |
| | | | | ||
| {| | {| | ||
| Line 18: | Line 17: | ||
| | | | | ||
| |+ | |+ | ||
| - | |floating point variable | + | |align="right"|''signed integer variable'' |
| + | | | ||
| + | {| | ||
| + | |''generic'' (DATA_SIZE: natural := 32); | ||
| + | |+ | ||
| + | |''??'' | ||
| + | |} | ||
| + | | | ||
| + | |+ | ||
| + | |align="right"|''floating point variable'' | ||
| + | | | ||
| + | {| | ||
| + | |''generic'' (DATA_SIZE: natural := 32); | ||
| + | |+ | ||
| + | |''??'' | ||
| + | |} | ||
| + | | | ||
| + | |+ | ||
| + | |align="center"|'''integer arithmetic operations''' | ||
| + | | | ||
| + | | | ||
| + | |+ | ||
| + | |align="center"|'''floating point arithmetic operations''' | ||
| | | | | ||
| | | | | ||
| |+ | |+ | ||
| |} | |} | ||
Revision as of 10:28, 20 January 2011
| HLL Expression | VHDL Expression | Remarks | variables representation | unsigned integer variable |
| signed integer variable |
| floating point variable |
| integer arithmetic operations | floating point arithmetic operations |
