summaryrefslogtreecommitdiffstats
path: root/src/uscxml/transform/ChartToVHDL.h
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-02-04 00:10:57 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-02-04 00:10:57 (GMT)
commit7afc6a257e193986c9305364701085e65c4ccea5 (patch)
tree4bc967a50d872e0267d5cf970ab9b88d87dee16b /src/uscxml/transform/ChartToVHDL.h
parent0b313e00915b31c8c03980b7225f82ac2e9513e6 (diff)
downloaduscxml-7afc6a257e193986c9305364701085e65c4ccea5.zip
uscxml-7afc6a257e193986c9305364701085e65c4ccea5.tar.gz
uscxml-7afc6a257e193986c9305364701085e65c4ccea5.tar.bz2
Preliminary support for SCXML invocations in generated C machines
Diffstat (limited to 'src/uscxml/transform/ChartToVHDL.h')
-rw-r--r--src/uscxml/transform/ChartToVHDL.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/uscxml/transform/ChartToVHDL.h b/src/uscxml/transform/ChartToVHDL.h
index a2cbac7..64cf444 100644
--- a/src/uscxml/transform/ChartToVHDL.h
+++ b/src/uscxml/transform/ChartToVHDL.h
@@ -44,13 +44,14 @@ public:
protected:
ChartToVHDL(const Interpreter& other);
- void checkDocument();
- void findEvents();
-
+ void checkDocument();
+ void findEvents();
+
void writeIncludes(std::ostream& stream);
void writeTopDown(std::ostream& stream);
void writeTypes(std::ostream& stream);
+ void writeOptimalTransitionSetSelection(std::ostream& stream);
void writeNextStateLogic(std::ostream& stream);
void writeOutputLogic(std::ostream& stream);
void writeSignals(std::ostream& stream);
@@ -59,11 +60,15 @@ protected:
void writeErrorHandler(std::ostream& stream);
void writeFSM(std::ostream& stream);
- void writeTransitionSet(std::ostream & stream);
- void writeExitSet(std::ostream & stream);
- void writeEntrySet(std::ostream & stream);
+ void writeTransitionSet(std::ostream & stream);
+ void writeExitSet(std::ostream & stream);
+ void writeEntrySet(std::ostream & stream);
+
+ Trie _eventTrie;
+
+private:
+ std::string eventNameEscape(const std::string& eventName);
- Trie _eventTrie;
};