Skip to content

Commit

Permalink
fixed issue in icarus framework preventing exit on done main algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Jul 10, 2024
1 parent bb57455 commit bc14bb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion frameworks/boards/icarus/icarus.v
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ M_main __main(
);

always @* begin
if (done_main && ~rst_n) $finish;
if (done_main && rst_n) $finish;
end

endmodule
2 changes: 0 additions & 2 deletions projects/divstd_bare/main.si
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,4 @@ algorithm main(output uint8 leds)
// display results
__display("division A: %d / %d = %d", divA.inum, divA.iden, divA.ret);
__display("division B: %d / %d = %d", num, den, divB.ret);

__finish();
}

0 comments on commit bc14bb5

Please sign in to comment.