diff options
author | juehv <jens@jensheuschkel.de> | 2016-03-03 11:36:16 (GMT) |
---|---|---|
committer | juehv <jens@jensheuschkel.de> | 2016-03-03 11:36:16 (GMT) |
commit | fe9d9e0c5cd9b7232083805e8fbfbb4c44894253 (patch) | |
tree | bf35ae0615e67b3252350605948d23fbc4b1e81c /src/uscxml/transform/ChartToVHDL.h | |
parent | dd8bc555b043f03cda877593b4240d398e483095 (diff) | |
download | uscxml-fe9d9e0c5cd9b7232083805e8fbfbb4c44894253.zip uscxml-fe9d9e0c5cd9b7232083805e8fbfbb4c44894253.tar.gz uscxml-fe9d9e0c5cd9b7232083805e8fbfbb4c44894253.tar.bz2 |
cleanup code
Diffstat (limited to 'src/uscxml/transform/ChartToVHDL.h')
-rw-r--r-- | src/uscxml/transform/ChartToVHDL.h | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/src/uscxml/transform/ChartToVHDL.h b/src/uscxml/transform/ChartToVHDL.h index 3218b9e..24a1386 100644 --- a/src/uscxml/transform/ChartToVHDL.h +++ b/src/uscxml/transform/ChartToVHDL.h @@ -162,32 +162,35 @@ protected: void checkDocument(); void findEvents(); - void writeIncludes(std::ostream& stream); - void writeTopDown(std::ostream& stream); - void writeTypes(std::ostream& stream); + void writeIncludes(std::ostream& stream); + + // top layer components + void writeFiFo(std::ostream& stream); + void writeEventController(std::ostream & stream); + void writeMicroStepper(std::ostream& stream); + void writeTestbench(std::ostream & stream); + + // system + void writeSignalsAndComponents(std::ostream& stream); + void writeSystemSignalMapping(std::ostream& stream); + void writeModuleInstantiation(std::ostream& stream); + // combinatorial logic void writeOptimalTransitionSetSelection(std::ostream& stream); void writeExitSet(std::ostream & stream); void writeEntrySet(std::ostream & stream); - - void writeNextStateLogic(std::ostream& stream); - void writeOutputLogic(std::ostream& stream); - void writeSignals(std::ostream& stream); - void writeFiFo(std::ostream& stream); - void writeModuleInstantiation(std::ostream& stream); - void writeErrorHandler(std::ostream& stream); - void writeFSM(std::ostream& stream); - void writeTransitionSet(std::ostream & stream); - void writeActiveStateNplusOne(std::ostream & stream); void writeDefaultCompletions(std::ostream & stream); void writeCompleteEntrySet(std::ostream & stream); - void writeSpontaneousHandler(std::ostream & stream); - void writeEventHandler(std::ostream & stream); - + void writeActiveStateNplusOne(std::ostream & stream); - void writeTestbench(std::ostream & stream); + // handler + void writeStateHandler(std::ostream& stream); + void writeResetHandler(std::ostream & stream); + void writeSpontaneousHandler(std::ostream & stream); + void writeInternalEventHandler(std::ostream & stream); + void writeErrorHandler(std::ostream& stream); Trie _eventTrie; |