Math2mat
Classes | Public Member Functions

m2m.backend.vhdl.VHDLCreator Class Reference

Inheritance diagram for m2m.backend.vhdl.VHDLCreator:
Inheritance graph
[legend]
Collaboration diagram for m2m.backend.vhdl.VHDLCreator:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Create VHDL code from internal structure

Author:
Trolliet Gregory
gregory.trolliet@hesge.ch
Version:
0.1

Definition at line 32 of file VHDLCreator.java.


Constructor & Destructor Documentation

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.

Parameters:
topStructure 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.

Parameters:
topStructure root
significandSignificand size
expExponent size

Definition at line 166 of file VHDLCreator.java.


Member Function Documentation

String m2m.backend.vhdl.VHDLCreator.createVHDL ( String  fileName) throws VHDLException

Create the VHDL code.

Returns:
VHDL code on a string

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.

Parameters:
outFileThe 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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations