OpenASIP
2.0
|
#include "Machine.hh"
#include "ControlUnit.hh"
#include "MachInfoCmdLineOptions.hh"
#include "OperationPool.hh"
#include "HWOperation.hh"
#include "Operation.hh"
#include "Conversion.hh"
#include "FUPort.hh"
#include <iostream>
#include <fstream>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
TCEString | operandBindingsString (TTAMachine::HWOperation &hwop) |
void | printLatexFunctionUnitDescription (const TTAMachine::Machine &machine, std::ofstream &output) |
void | printLatexAddressSpaceDescription (const TTAMachine::Machine &machine, std::ofstream &output) |
int | main (int argc, char *argv[]) |
Variables | |
static MachInfoCmdLineOptions | options |
MachInfo tool prints out information of a given processor design, for documentation purposes.
Definition in file MachInfo.cc.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 198 of file MachInfo.cc.
References CmdLineParser::argument(), Exception::errorMessage(), TTAMachine::Machine::loadFromADF(), CmdLineParser::numberOfArguments(), options, MachInfoCmdLineOptions::outputFileNameSuffix(), MachInfoCmdLineOptions::outputFormat(), CmdLineOptions::parse(), printLatexAddressSpaceDescription(), and printLatexFunctionUnitDescription().
TCEString operandBindingsString | ( | TTAMachine::HWOperation & | hwop | ) |
Definition at line 49 of file MachInfo.cc.
References NullOperation::instance(), TTAMachine::HWOperation::name(), TTAMachine::Port::name(), Operation::operandCount(), OperationPool::operation(), TTAMachine::HWOperation::port(), and Conversion::toString().
Referenced by printLatexFunctionUnitDescription().
void printLatexAddressSpaceDescription | ( | const TTAMachine::Machine & | machine, |
std::ofstream & | output | ||
) |
Definition at line 149 of file MachInfo.cc.
References TTAMachine::FunctionUnit::addressSpace(), TTAMachine::Machine::addressSpaceNavigator(), TTAMachine::Machine::controlUnit(), TTAMachine::Machine::Navigator< ComponentType >::count(), TTAMachine::AddressSpace::end(), TTAMachine::Machine::Navigator< ComponentType >::item(), machine, TTAMachine::Component::name(), TTAMachine::AddressSpace::numericalIds(), TTAMachine::AddressSpace::start(), and TTAMachine::AddressSpace::width().
Referenced by main().
void printLatexFunctionUnitDescription | ( | const TTAMachine::Machine & | machine, |
std::ofstream & | output | ||
) |
Definition at line 72 of file MachInfo.cc.
References TTAMachine::FunctionUnit::addressSpace(), TTAMachine::Machine::controlUnit(), TTAMachine::Machine::Navigator< ComponentType >::count(), Operation::description(), TTAMachine::Machine::functionUnitNavigator(), TTAMachine::FunctionUnit::hasAddressSpace(), NullOperation::instance(), TTAMachine::Machine::Navigator< ComponentType >::item(), TTAMachine::HWOperation::latency(), machine, TTAMachine::HWOperation::name(), TTAMachine::Component::name(), operandBindingsString(), OperationPool::operation(), TTAMachine::FunctionUnit::operation(), TTAMachine::FunctionUnit::operationCount(), and TCEString::replaceString().
Referenced by main().
|
static |
Definition at line 46 of file MachInfo.cc.
Referenced by ProGe::NetlistGenerator::addIUToNetlist(), GUIOptionsSerializer::addKeyboardShortcut(), llvm::TCEPassConfig::addPreISel(), ProGe::NetlistGenerator::addRFToNetlist(), ProGeTools::checkForGeneratableFU(), Automagic::checkForGeneratableFU(), Automagic::checkForSelectableFU(), ProGeTools::checkForSelectableFU(), Automagic::checkForSelectableIU(), ProGeTools::checkForSelectableIU(), Automagic::checkForSelectableRF(), ProGeTools::checkForSelectableRF(), llvm::LLVMTCEIRBuilder::compileOptimized(), ProDeOptionsSerializer::convertToConfigFileFormat(), GUIOptionsSerializer::convertToConfigFileFormat(), ProDeOptionsSerializer::convertToOptionsObjectFormat(), GUIOptionsSerializer::convertToOptionsObjectFormat(), ProGeTools::createFUGeneratableOperationInfos(), Automagic::createFUGeneratableOperationInfos(), MainFrame::createToolbar(), ProximMainFrame::createToolbar(), DataDependenceGraphBuilder::DataDependenceGraphBuilder(), QuitCmd::Do(), EditOptionsCmd::Do(), SaveOptionsCmd::Do(), ProximOptionsCmd::Do(), ProximQuitCmd::Do(), OSEdModifyBehaviorCmd::Do(), llvm::TCERegisterInfo::eliminateFrameIndex(), ProGe::NetlistGenerator::generate(), ProGe::ProGeUI::generateIDF(), GenerateProcessor::generateProcessor(), ProGe::ProGeUI::generateProcessor(), ProGe::ProcessorGenerator::generateProcessor(), GenerateProcessor::getOutputDir(), llvm::TCERegisterInfo::getReservedRegs(), BBSchedulerController::handleBasicBlock(), FUGen::implement(), llvm::TCETTIImpl::isHardwareLoopProfitable(), llvm::LLVMTCEScheduler::LLVMTCEScheduler(), loadInputs(), loadPluginParameters(), main(), MainFrame::menuAccelerator(), ProximMainFrame::menuAccelerator(), GenerateProcessorDialog::onOK(), ResultDialog::onOpen(), OperationPropertyDialog::onOpen(), OSEdOptionsDialog::onSave(), MainFrame::onToggleToolbar(), CmdLineParser::parse(), Model::pushToStack(), GUIOptionsSerializer::readOptions(), DesignSpaceExplorer::schedule(), Application::setCmdLineOptions(), GUIOptionsSerializer::setToolbarProperties(), GUIOptionsSerializer::setWindowProperties(), SimpleBrokerDirector::SimpleBrokerDirector(), CmdLineParser::storeOptions(), OSEdOptionsDialog::TransferDataToWindow(), MainFrame::updateUI(), GenerateProcessor::validIntegratorParameters(), GUIOptionsSerializer::writeOptions(), and llvm::LLVMTCEIRBuilder::~LLVMTCEIRBuilder().