Math2mat
|
Public Member Functions | |
String | vhdlFileName () |
ImplType | implType () |
int | latencyTime () |
int | cycleTime () |
int | resources () |
int | period () |
String | functionName () |
String | entityName () |
String | author () |
int | version () |
String | description () |
ArrayList< String > | dependentFiles () |
Definition at line 7 of file Sub2Comb32.java.
String m2m.backend.buildingblocks.blocks.Sub2Comb32.author | ( | ) | [virtual] |
Returns the author of the VHDL file.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 50 of file Sub2Comb32.java.
int m2m.backend.buildingblocks.blocks.Sub2Comb32.cycleTime | ( | ) |
Indicates the cycle time of the building block. For a standard pipeline implementation, it should be 1, as a new calculation can be launched at every clock cycle. For a sequential implementation it should return the number of clock cycles required for a processing, if this is known, 0 else. For a combinatorial implementation, it is not relevant.
Reimplemented from m2m.backend.buildingblocks.BuildingBlock.
Definition at line 25 of file Sub2Comb32.java.
ArrayList<String> m2m.backend.buildingblocks.blocks.Sub2Comb32.dependentFiles | ( | ) | [virtual] |
Returns the names of the VHDL files the block needs.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 65 of file Sub2Comb32.java.
String m2m.backend.buildingblocks.blocks.Sub2Comb32.description | ( | ) | [virtual] |
Returns a description of the building block. It can then be exploited to display a list of available components.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 60 of file Sub2Comb32.java.
String m2m.backend.buildingblocks.blocks.Sub2Comb32.entityName | ( | ) | [virtual] |
Returns the name of the VHDL entity describing the block.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 45 of file Sub2Comb32.java.
String m2m.backend.buildingblocks.blocks.Sub2Comb32.functionName | ( | ) | [virtual] |
Returns the name of the function implemented by the block. All blocks performing the same function should return the same name. It has to be fixed for the operators, and can be user defined for functions.
The basic functions HAVE to respect there names:
Other functions can be added, such as sin, cos, ... The name returned by functionName() should then be the same as the one used in the mathematical source code.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 40 of file Sub2Comb32.java.
ImplType m2m.backend.buildingblocks.blocks.Sub2Comb32.implType | ( | ) | [virtual] |
Returns the implementation type, that can be SEQUENTIAL, PIPELINE, or COMBINATORIAL. It may help the optimizer to choose the most appropriate component for a given application.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 15 of file Sub2Comb32.java.
int m2m.backend.buildingblocks.blocks.Sub2Comb32.latencyTime | ( | ) |
Indicates the latency time of the building block. For a pipeline implementation, it returns the number of pipe stages, while for a sequential implementation it returns the number of clock cycles required for a processing, if this time is known, 0 else. For a combinatorial implementation it returns 1.
Reimplemented from m2m.backend.buildingblocks.BuildingBlock.
Definition at line 20 of file Sub2Comb32.java.
int m2m.backend.buildingblocks.blocks.Sub2Comb32.period | ( | ) | [virtual] |
Indicates the minimum period at which the block is functional. This value is relative to the other building blocks.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 35 of file Sub2Comb32.java.
int m2m.backend.buildingblocks.blocks.Sub2Comb32.resources | ( | ) | [virtual] |
Indicates a hardware resources evaluation of the block. This value is relative to the other building blocks.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 30 of file Sub2Comb32.java.
int m2m.backend.buildingblocks.blocks.Sub2Comb32.version | ( | ) | [virtual] |
Returns the version number of the building block.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 55 of file Sub2Comb32.java.
String m2m.backend.buildingblocks.blocks.Sub2Comb32.vhdlFileName | ( | ) | [virtual] |
Returns the name of the VHDL file in which the block is described.
Implements m2m.backend.buildingblocks.BuildingBlock.
Definition at line 10 of file Sub2Comb32.java.