formatted
This commit is contained in:
parent
e3803e3b9a
commit
22cb70a77d
|
|
@ -463,9 +463,9 @@ void EmitCFunc::emitVarReset(const string& prefix, AstVar* varp, bool constructi
|
|||
// 'constructing' indicates that the object was just constructed, so if it is a string or
|
||||
// something that starts off clear already, no need to clear it again
|
||||
AstNodeDType* const dtypep = varp->dtypep()->skipRefp();
|
||||
const string vlSelf = m_cfuncp && m_cfuncp->isStatic() ?
|
||||
"vlSymsp->TOP__" + m_modp->name() + "." :
|
||||
VSelfPointerText::replaceThis(m_useSelfForThis, "this->");
|
||||
const string vlSelf = m_cfuncp && m_cfuncp->isStatic()
|
||||
? "vlSymsp->TOP__" + m_modp->name() + "."
|
||||
: VSelfPointerText::replaceThis(m_useSelfForThis, "this->");
|
||||
const string varNameProtected
|
||||
= ((VN_IS(m_modp, Class) || varp->isFuncLocal()) || !prefix.empty())
|
||||
? varp->nameProtect()
|
||||
|
|
|
|||
|
|
@ -23,11 +23,11 @@ task loadHEX;
|
|||
readHEX(file, stimuli);
|
||||
endtask
|
||||
|
||||
module tb();
|
||||
module tb ();
|
||||
|
||||
logic [7:0] result[32'h00010000];
|
||||
initial begin
|
||||
loadHEX("dummy");
|
||||
end
|
||||
|
||||
endmodule
|
||||
endmodule
|
||||
|
|
|
|||
Loading…
Reference in New Issue