forked from github/verilator
Fix is probably to mark as a clock
This commit is contained in:
parent
db6ecbd57e
commit
120f62fe85
@ -353,7 +353,8 @@ class ProtectVisitor : public AstNVisitor {
|
||||
nodep->v3error("Unsupported: unpacked arrays with protect-lib on "<<nodep->prettyNameQ());
|
||||
}
|
||||
if (nodep->direction() == VDirection::INPUT) {
|
||||
if (nodep->isUsedClock()) {
|
||||
if (nodep->isUsedClock()
|
||||
|| nodep->attrClocker() == VVarAttrClocker::CLOCKER_YES) {
|
||||
handleClock(nodep);
|
||||
} else {
|
||||
handleDataInput(nodep);
|
||||
|
@ -25,7 +25,7 @@ module secret #(parameter GATED_CLK = 0)
|
||||
input [3:0] [31:0] s4x32_in,
|
||||
output logic [3:0] [31:0] s4x32_out,
|
||||
input clk_en,
|
||||
input clk);
|
||||
input clk /*verilator clocker*/);
|
||||
|
||||
logic [31:0] secret_accum_q = 0;
|
||||
logic [31:0] secret_value = 7;
|
||||
|
Loading…
Reference in New Issue
Block a user