Skip to content

Commit e5e0df4

Browse files
committed
rollback if accumulator register is missing in circuit
1 parent f9ed2f3 commit e5e0df4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pmgen.py

+5
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,11 @@ def process_pmgfile(f, filename):
819819
print(" }", file=f)
820820

821821
print("", file=f)
822+
# BEGIN: Code added to original one in order to handle case of Jira-348 (Awais)
823+
if (customize_file):
824+
if ((block["cell"] == "ff") and prefix == "rs_dsp_macc"):
825+
print(" rollback = 1;", file=f)
826+
# END: Code added to original one in order to handle case of Jira-348 (Awais)
822827
print(" {} = nullptr;".format(block["cell"]), file=f)
823828

824829
if block["optional"]:

0 commit comments

Comments
 (0)