4 #ifndef ILANG_VTARGET_OUT_ABS_MEM_H__
5 #define ILANG_VTARGET_OUT_ABS_MEM_H__
14 #include <ilang/vtarget-out/absmem.h>
56 static std::set<int> concrete_level_encountered;
73 const std::string& endCond);
75 static void OutputMemFile(std::ostream& os,
bool avoid_issue_stage);
85 #endif // ILANG_VTARGET_OUT_ABS_MEM_H__
type of write port
Definition: verilog_gen.h:57
std::vector< std::string > assumpts
the assumptions it has
Definition: absmem.h:49
static void ClearAbsMemRecord()
reset concrete_level (per-target).
void SetAddrWidth(unsigned w)
SetAddrWidth, if already set, and different -> error.
std::map< unsigned, wport_t > vlg_wports
verilog write ports
Definition: absmem.h:30
std::string ila_map_name
which ila state it is mapped to
Definition: absmem.h:45
std::map< unsigned, rport_t > vlg_rports
verilog read ports
Definition: absmem.h:28
std::map< unsigned, rport_t > ila_rports
ila read ports
Definition: absmem.h:32
std::string mem_name
the name in rfmap
Definition: absmem.h:47
std::string GeneratingMemModuleSignalsInstantiation(VerilogGeneratorBase &gen, const std::string &endCond)
type of read port
Definition: verilog_gen.h:48
std::string MemEQSignalName() const
Get the memeq signal name.
bool read_abstract
whether to abstract the memory read
Definition: absmem.h:37
unsigned addr_width
widths , 0 stands for unknown
Definition: absmem.h:43
std::map< unsigned, wport_t > ila_wports
ila write ports
Definition: absmem.h:34
void SetDataWidth(unsigned w)
SetDataWidth.
Base class of VerilogGenerator.
Definition: verilog_gen.h:31
unsigned concrete_level
how many are considered to be concrete
Definition: absmem.h:39
a struct to store abstract memory
Definition: absmem.h:19
unsigned data_width
widths , 0 stands for unknown
Definition: absmem.h:41
static bool hasAbsMem()
Return true if there are abs mem used (strategy : ALL -> AUTO)
static void OutputMemFile(std::ostream &os, bool avoid_issue_stage)
Output the memory module to the stream.