mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 06:43:14 +02:00
Support vpiDefName (#5572)
This commit is contained in:
@@ -3326,7 +3326,7 @@ VerilatedScope::~VerilatedScope() {
|
||||
}
|
||||
|
||||
void VerilatedScope::configure(VerilatedSyms* symsp, const char* prefixp, const char* suffixp,
|
||||
const char* identifier, int8_t timeunit,
|
||||
const char* identifier, const char* defnamep, int8_t timeunit,
|
||||
const Type& type) VL_MT_UNSAFE {
|
||||
// Slowpath - called once/scope at construction
|
||||
// We don't want the space and reference-count access overhead of strings.
|
||||
@@ -3343,6 +3343,7 @@ void VerilatedScope::configure(VerilatedSyms* symsp, const char* prefixp, const
|
||||
m_namep = namep;
|
||||
}
|
||||
m_identifierp = identifier;
|
||||
m_defnamep = defnamep;
|
||||
Verilated::threadContextp()->impp()->scopeInsert(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user