ilasynth  1.0
ILASynth: Template-based ILA Synthesis Engine
exportSMT.hpp
Go to the documentation of this file.
1 
2 #ifndef __EXPORT_SMT_DEFINED__
3 #define __EXPORT_SMT_DEFINED__
4 
6 #include <ilasynth/ast.hpp>
7 #include <ilasynth/smt.hpp>
8 #include <iostream>
9 
10 namespace ilasynth {
11 class SMTExport {
12  typedef std::pair<std::string, int> nstage_t;
13  typedef std::vector<nstage_t> nstage_vec_t;
14 
15 public:
16  SMTExport() {}
17  void exportSMT(std::ofstream& out, const Node* n, const std::string& name,
18  int width);
19  int get_width(const Node* n);
20  bool isStageVar(const std::string& inpName, const nstage_vec_t& stageStore);
21 };
22 } // namespace ilasynth
23 
24 #endif
std::pair< std::string, int > nstage_t
Definition: exportSMT.hpp:12
Definition: exportSMT.hpp:11
SMTExport()
Definition: exportSMT.hpp:16
int get_width(const Node *n)
Definition: abstraction.hpp:21
Definition: node.hpp:55
bool isStageVar(const std::string &inpName, const nstage_vec_t &stageStore)
void exportSMT(std::ofstream &out, const Node *n, const std::string &name, int width)
std::vector< nstage_t > nstage_vec_t
Definition: exportSMT.hpp:13