Skip to content

Commit

Permalink
Needed to pass option for the optional flag (#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanmohan authored Jul 21, 2023
1 parent 9c7810f commit 6a01b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calyx-py/calyx/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def comp_instance(

def reg(self, name: str, size: int, is_ref=False) -> CellBuilder:
"""Generate a StdReg cell."""
return self.cell(name, ast.Stdlib.register(size), is_ref)
return self.cell(name, ast.Stdlib.register(size), False, is_ref)

def const(self, name: str, width: int, value: int) -> CellBuilder:
"""Generate a StdConstant cell."""
Expand Down

0 comments on commit 6a01b2a

Please sign in to comment.