OpenASIP
2.0
|
#include <BlocksALU.hh>
Public Member Functions | |
BlocksALUPair (TTAMachine::Machine &mach, const std::string &name, std::list< std::string > sources, bool usesOut0, bool usesOut1) | |
Public Attributes | |
std::unique_ptr< BlocksALU > | alu0 |
std::unique_ptr< BlocksALU > | alu1 |
std::shared_ptr< TTAMachine::Socket > | in1sock |
std::shared_ptr< TTAMachine::Socket > | in2sock |
std::list< std::string > | sources |
Definition at line 62 of file BlocksALU.hh.
BlocksALUPair::BlocksALUPair | ( | TTAMachine::Machine & | mach, |
const std::string & | name, | ||
std::list< std::string > | sources, | ||
bool | usesOut0, | ||
bool | usesOut1 | ||
) |
Emulates second output port with copy of FU with input port sharing
mach | The TTA machine where the ALU pair needs to be added. |
name | The name of the ALU 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 CGRA. |
usesOut1 | A boolean that indicates whether output port 1 of the FU is used in the CGRA. |
Definition at line 90 of file BlocksALU.cc.
References TTAMachine::Machine::addSocket(), alu0, alu1, in1sock, in2sock, and sources.
std::unique_ptr<BlocksALU> BlocksALUPair::alu0 |
Definition at line 65 of file BlocksALU.hh.
Referenced by BlocksALUPair().
std::unique_ptr<BlocksALU> BlocksALUPair::alu1 |
Definition at line 66 of file BlocksALU.hh.
Referenced by BlocksALUPair().
std::shared_ptr<TTAMachine::Socket> BlocksALUPair::in1sock |
Definition at line 67 of file BlocksALU.hh.
Referenced by BlocksALUPair().
std::shared_ptr<TTAMachine::Socket> BlocksALUPair::in2sock |
Definition at line 68 of file BlocksALU.hh.
Referenced by BlocksALUPair().
std::list<std::string> BlocksALUPair::sources |
Definition at line 69 of file BlocksALU.hh.
Referenced by BlocksALUPair().