Go to the documentation of this file.
33 #ifndef TTA_RF_TESTBENCH_GENERATOR_HH
34 #define TTA_RF_TESTBENCH_GENERATOR_HH
81 std::ostringstream& stream,
void createMachineState()
std::vector< std::string > outputOpcodePorts_
TTAMachine::Machine * machine_
std::vector< std::string > inputPorts_
std::vector< std::string > outputPorts_
HDB::RFImplementation * rfImpl_
std::vector< std::string > outputLoadPorts_
HDB::RFArchitecture * rfArch_
RFTestbenchGenerator(HDB::RFEntry *rf)
MemorySystem * memSystem_
void createStimulusArrays(PortDataArray &inputData, PortDataArray &inputOpcode, PortDataArray &inputLoad, PortDataArray &outputData, PortDataArray &outputOpcode, PortDataArray &outputLoad)
static const std::string RF_NAME_
std::vector< std::string > inputOpcodePorts_
TTAMachine::RegisterFile * machRf_
virtual ~RFTestbenchGenerator()
virtual void generateTestbench(std::ofstream &file)
int opcodePortWidth() const
void writeDataArrays(std::ostringstream &stream, PortDataArray &array, int portWidth)
std::map< std::string, std::vector< uint32_t > > PortDataArray
void createTbInstantiation()
std::vector< std::string > inputLoadPorts_