Fix --lib-create with multi-bit clocks (#6759)

This commit is contained in:
Geza Lore
2025-12-05 15:21:35 +00:00
committed by GitHub
parent e2c05ae15e
commit 18dd44e970
3 changed files with 99 additions and 1 deletions
+1 -1
View File
@@ -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));