mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Fix --lib-create with multi-bit clocks (#6759)
This commit is contained in:
@@ -443,7 +443,7 @@ class ProtectVisitor final : public VNVisitor {
|
||||
if (m_hasClk) {
|
||||
const std::string pname = varp->prettyName();
|
||||
m_seqParamsp->add(pname);
|
||||
m_clkSensp->add("posedge " + pname + " or negedge " + pname);
|
||||
m_clkSensp->add(pname);
|
||||
}
|
||||
m_cSeqParamsp->add(varp->dpiArgType(true, false));
|
||||
m_cSeqClksp->add(cInputConnection(varp));
|
||||
|
||||
Reference in New Issue
Block a user