Skip to content

Commit

Permalink
Fixes in systolic and mrxl
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanmohan committed Aug 16, 2023
1 parent 9d210cd commit 278f86a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontends/mrxl/mrxl/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def expr_to_port(expr: ast.BaseExpr):
f"mul_{suffix}", Stdlib.op("mult_pipe", 32, signed=False)
)
else:
operation = comp.add(f"add_{suffix}", 32)
operation = comp.add(32, f"add_{suffix}")
# ANCHOR_END: map_op

assert (
Expand Down
2 changes: 1 addition & 1 deletion frontends/systolic-lang/gen-systolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def instantiate_idx_cond_groups(comp: cb.ComponentBuilder, leaky_relu):
# operations are finished yet
if not leaky_relu:
iter_limit = comp.get_cell("iter_limit")
lt_iter_limit = comp.lt("lt_iter_limit", BITWIDTH)
lt_iter_limit = comp.lt(BITWIDTH, "lt_iter_limit")
with comp.static_group("lt_iter_limit_group", 1):
lt_iter_limit.left = add.out
lt_iter_limit.right = iter_limit.out
Expand Down

0 comments on commit 278f86a

Please sign in to comment.