Math2mat
Public Member Functions

m2m.backend.buildingblocks.blocks.Mult2PipeWired64 Class Reference

Inheritance diagram for m2m.backend.buildingblocks.blocks.Mult2PipeWired64:
Inheritance graph
[legend]
Collaboration diagram for m2m.backend.buildingblocks.blocks.Mult2PipeWired64:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

Definition at line 7 of file Mult2PipeWired64.java.


Member Function Documentation

String m2m.backend.buildingblocks.blocks.Mult2PipeWired64.author ( ) [virtual]

Returns the author of the VHDL file.

Returns:
the author name

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 50 of file Mult2PipeWired64.java.

int m2m.backend.buildingblocks.blocks.Mult2PipeWired64.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.

Returns:
the cycle time

Reimplemented from m2m.backend.buildingblocks.BuildingBlock.

Definition at line 25 of file Mult2PipeWired64.java.

ArrayList<String> m2m.backend.buildingblocks.blocks.Mult2PipeWired64.dependentFiles ( ) [virtual]

Returns the names of the VHDL files the block needs.

Returns:
Names of dependent VHDL files.

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 65 of file Mult2PipeWired64.java.

String m2m.backend.buildingblocks.blocks.Mult2PipeWired64.description ( ) [virtual]

Returns a description of the building block. It can then be exploited to display a list of available components.

Returns:
a description of the block

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 60 of file Mult2PipeWired64.java.

String m2m.backend.buildingblocks.blocks.Mult2PipeWired64.entityName ( ) [virtual]

Returns the name of the VHDL entity describing the block.

Returns:
the name of the VHDL entity

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 45 of file Mult2PipeWired64.java.

String m2m.backend.buildingblocks.blocks.Mult2PipeWired64.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:

  • multiplication: mult
  • division: div
  • addition: add
  • subtraction: sub
  • square root: sqrt
  • exponential: exp

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.

Returns:
the name of the function calculated by the block

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 40 of file Mult2PipeWired64.java.

ImplType m2m.backend.buildingblocks.blocks.Mult2PipeWired64.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.

Returns:
The implementation type

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 15 of file Mult2PipeWired64.java.

int m2m.backend.buildingblocks.blocks.Mult2PipeWired64.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.

Returns:
the latency time

Reimplemented from m2m.backend.buildingblocks.BuildingBlock.

Definition at line 20 of file Mult2PipeWired64.java.

int m2m.backend.buildingblocks.blocks.Mult2PipeWired64.period ( ) [virtual]

Indicates the minimum period at which the block is functional. This value is relative to the other building blocks.

Returns:
an evaluation of the minumum period required

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 35 of file Mult2PipeWired64.java.

int m2m.backend.buildingblocks.blocks.Mult2PipeWired64.resources ( ) [virtual]

Indicates a hardware resources evaluation of the block. This value is relative to the other building blocks.

Returns:
an evaluation of the hardware resources required

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 30 of file Mult2PipeWired64.java.

int m2m.backend.buildingblocks.blocks.Mult2PipeWired64.version ( ) [virtual]

Returns the version number of the building block.

Returns:
the version number, as an integer

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 55 of file Mult2PipeWired64.java.

String m2m.backend.buildingblocks.blocks.Mult2PipeWired64.vhdlFileName ( ) [virtual]

Returns the name of the VHDL file in which the block is described.

Returns:
the name of the VHDL file

Implements m2m.backend.buildingblocks.BuildingBlock.

Definition at line 10 of file Mult2PipeWired64.java.


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