Go to the documentation of this file.
57 const std::string& addressWidth,
const std::string& dataWidth,
58 const std::string& memInitFile,
bool isForSimulation)
60 isForSimulation_(isForSimulation) {
66 Parameter(
"ACCESSTRACEFILENAME",
"string",
"\"access_trace\""));
110 const Path& targetBaseDir,
HDL targetLang)
const {
115 std::string tempFile = std::string(
"synch_byte_mask_sram.vhdl");
116 std::string targetDir =
118 : ((targetLang ==
VHDL) ? std::string(
"vhdl")
119 : std::string(
"verilog"));
121 (progeDataDir /
"tb" / tempFile).
string(),
122 (targetBaseDir / targetDir / tempFile).
string());
NetlistPort * addPort(NetlistPort *port)
@ AVALID
Signal types for memory interface with separate valid/ready in address/data.
friend class NetlistPortGroup
@ BYTEMASKED_SRAM_PORT
Signal group type for one port SRAM having read and write capability and bitmask for writing with sep...
@ BIT_VECTOR
Several bits.
void setParameter(const Parameter ¶m)
Convenience class for output bit ports.
void addParameter(const Parameter ¶m)
#define assert(condition)
void addPortGroup(NetlistPortGroup *portGroup)
Convenience class for input ports.
const NetlistPortGroup & memoryPort() const
SinglePortByteMaskSSRAMBlock()=delete
static NetlistPort * clockPort(Direction direction=IN)
void setAccessTraceFile(const std::string filename)
HDL
HDLs supported by ProGe.
NetlistPortGroup * memoryPortGroup_
virtual void write(const Path &targetBaseDir, HDL targetLang=VHDL) const override
void instantiateTemplateFile(const std::string &templateFile, const std::string &dstFile)
Convenience class for input bit ports.
Convenience class for output ports.
static std::string dataDirPath(const std::string &prog)
virtual ~SinglePortByteMaskSSRAMBlock()