|
OpenASIP 2.2
|
#include <BlocksMUL.hh>

Public Member Functions | |
| BlocksMULPair (TTAMachine::Machine &mach, const std::string &name, std::list< std::string > sources, bool usesOut0, bool usesOut1) | |
Public Attributes | |
| std::unique_ptr< BlocksMUL > | mul0 |
| std::unique_ptr< BlocksMUL > | mul1 |
| std::shared_ptr< TTAMachine::Socket > | in1sock |
| std::shared_ptr< TTAMachine::Socket > | in2sock |
| std::list< std::string > | sources |
This class is a wrapper for BlocksMUL class to group two units both representing a different output of the same Blocks Unit.
Definition at line 67 of file BlocksMUL.hh.
| BlocksMULPair::BlocksMULPair | ( | TTAMachine::Machine & | mach, |
| const std::string & | name, | ||
| std::list< std::string > | sources, | ||
| bool | usesOut0, | ||
| bool | usesOut1 | ||
| ) |
Constructor BlocksMULPair
| mach | The TTA machine where the MUL pair needs to be added. |
| name | The name of the MUL pair. |
| sources | A list of sources that are attached to this unit's input. |
| usesOut0 | A boolean that indicates whether output port 0 of the FU is used in the Blocks. |
| usesOut1 | A boolean that indicates whether output port 1 of the FU is used in the Blocks. |
Definition at line 73 of file BlocksMUL.cc.
References TTAMachine::Machine::addSocket(), in1sock, in2sock, mul0, mul1, and sources.

| std::shared_ptr<TTAMachine::Socket> BlocksMULPair::in1sock |
Definition at line 72 of file BlocksMUL.hh.
Referenced by BlocksMULPair().
| std::shared_ptr<TTAMachine::Socket> BlocksMULPair::in2sock |
Definition at line 73 of file BlocksMUL.hh.
Referenced by BlocksMULPair().
| std::unique_ptr<BlocksMUL> BlocksMULPair::mul0 |
Definition at line 70 of file BlocksMUL.hh.
Referenced by BlocksMULPair().
| std::unique_ptr<BlocksMUL> BlocksMULPair::mul1 |
Definition at line 71 of file BlocksMUL.hh.
Referenced by BlocksMULPair().
| std::list<std::string> BlocksMULPair::sources |
Definition at line 74 of file BlocksMUL.hh.
Referenced by BlocksMULPair().