Skip to content

Commit

Permalink
Merge branch 'explicit-fsm-compilation' into regroup-assignments-outs…
Browse files Browse the repository at this point in the history
…ide-fsm
  • Loading branch information
parthsarkar17 authored Dec 18, 2024
2 parents 5197222 + a99bdee commit c779845
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions calyx-backend/src/verilog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ fn emit_fsm<F: io::Write>(fsm: &RRC<ir::FSM>, f: &mut F) -> io::Result<()> {
// dump assignments to enable in this state
emit_fsm_dependent_assignments(fsm, &state_reg, reg_bitwidth, f)?;


// emit fsm in case statement form
writeln!(f, "always @(*) begin")?;
writeln!(f, " case ({})", state_reg)?;
Expand Down

0 comments on commit c779845

Please sign in to comment.