torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ModuleTransformerUnitTest.cpp File Reference

Unit Test for ModuleTransformer class. More...

#include <boost/test/unit_test.hpp>
#include "torc/physical/ModuleTransformer.hpp"
#include "torc/physical/XdlImporter.hpp"
#include "torc/physical/XdlExporter.hpp"
#include "torc/common/DirectoryTree.hpp"
#include "torc/physical/Factory.hpp"
#include "torc/physical/Design.hpp"
#include <fstream>
+ Include dependency graph for ModuleTransformerUnitTest.cpp:

Go to the source code of this file.

Namespaces

 torc
 Implementation of class to encapsulate micro-bitstream library generation code.
 
 torc::physical
 Namespace for the Torc physical netlist, including the XDL importer, exporter, placer, router, unpacker, and packer.
 

Functions

DesignSharedPtr torc::physical::verifyDesignOpenedSuccessfully (const string &inDesignFileName)
 Verify that the design file opened successfully. More...
 
InstanceSharedPtrVector torc::physical::getInstancesToModularize (DesignSharedPtr inDesignPtr)
 Retrieve the instances to modularize from the design and return them in a vector. More...
 
void torc::physical::preModularizationVerifications (DesignSharedPtr inDesignPtr)
 Perform pre-modularization tests on a design. More...
 
void torc::physical::postModularizationVerifications (DesignSharedPtr inDesignPtr, InstanceSharedPtrVector inInstanceVector, bool inKeepPlacement, bool inKeepRouting)
 Perform post-modularization tests on a design. More...
 
void torc::physical::preFlatteningVerifications (DesignSharedPtr inDesignPtr)
 Perform pre-flattening tests on a design. More...
 
void torc::physical::postFlatteningVerifications (DesignSharedPtr inDesignPtr, bool inKeepPlacement, bool inKeepRouting)
 Perform post-flattening tests on a design. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (ModularizeWithIntraNetUnitTest)
 Unit test for modularizing two instances with intra net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (ModularizeWithInputInterNetUnitTest)
 Unit test for modularizing two instances with input inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (ModularizeWithInputFanoutInterNetUnitTest)
 Unit test for modularizing two instances with input fanout input net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (ModularizeWithOutputInterNetUnitTest)
 Unit test for modularizing two instances with output inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (ModularizeWithOutputFanoutInterNetUnitTest)
 Unit test for modularizing two instances with output fanout inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (ModularizeWithIntraAndInterNetUnitTest)
 Unit test for modularizing two instances with fanout intra and inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (FlattenWithIntraNetUnitTest)
 Unit test for flattening a module with two instances and an intra net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (FlattenWithInputInterNetUnitTest)
 Unit test for flattening two instances with input inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (FlattenWithInputFanoutInterNetUnitTest)
 Unit test for flattening two instances with input fanout input net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (FlattenWithOutputInterNetUnitTest)
 Unit test for flattening two instances with output inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (FlattenWithOutputFanoutInterNetUnitTest)
 Unit test for flattening two instances with output fanout inter net. More...
 
 torc::physical::BOOST_AUTO_TEST_CASE (FlattenWithIntraAndInterNetUnitTest)
 Unit test for flattening two instances with fanout intra and inter net. More...
 

Variables

static const string torc::physical::sInstanceOneName = "c1"
 
static const string torc::physical::sInstanceTwoName = "c2"
 
static const string torc::physical::sModuleDefinition = "aModule"
 
static const string torc::physical::sModuleInstanceName = "aModuleInstance"
 
static const string torc::physical::sHierarchySeparator = "/"
 

Detailed Description

Unit Test for ModuleTransformer class.

Definition in file ModuleTransformerUnitTest.cpp.