Math2mat
|
Classes | |
class | MultiUseSignals |
Public Member Functions | |
VHDLCreator (Function top, M2MProject project) | |
VHDLCreator (Function top, M2MProject project, int significand, int exp) | |
void | wrapTop (String vhdlPath) throws VHDLException |
String | createVHDL (String fileName) throws VHDLException |
void | wrapComponents (Vector< Element > body) throws VHDLException |
Create VHDL code from internal structure
Definition at line 32 of file VHDLCreator.java.
m2m.backend.vhdl.VHDLCreator.VHDLCreator | ( | Function | top, |
M2MProject | project | ||
) |
Significant size Exponent size Constructor, set the structure root. Format number is standard IEEE 754-2008, 23 bits significand and 8 bits exponent.
top | Structure root |
project |
Definition at line 146 of file VHDLCreator.java.
m2m.backend.vhdl.VHDLCreator.VHDLCreator | ( | Function | top, |
M2MProject | project, | ||
int | significand, | ||
int | exp | ||
) |
Constructor, set the structure root, the significand size and the exponent size.
top | Structure root |
significand | Significand size |
exp | Exponent size |
Definition at line 166 of file VHDLCreator.java.
String m2m.backend.vhdl.VHDLCreator.createVHDL | ( | String | fileName | ) | throws VHDLException |
Create the VHDL code.
Definition at line 755 of file VHDLCreator.java.
void m2m.backend.vhdl.VHDLCreator.wrapComponents | ( | Vector< Element > | body | ) | throws VHDLException |
Add the wrapper around an operator.
outFile | The VHDL function output file. |
Definition at line 801 of file VHDLCreator.java.
void m2m.backend.vhdl.VHDLCreator.wrapTop | ( | String | vhdlPath | ) | throws VHDLException |
Definition at line 486 of file VHDLCreator.java.