Skip to content

Commit

Permalink
Fixes observed nondeterminism in synthesis
Browse files Browse the repository at this point in the history
The dff flag passed to abc appears to cause non-determinism in the generated netlist.
  • Loading branch information
QuantamHD authored and mithro committed Dec 19, 2023
1 parent 8c58491 commit c3ee629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synthesis/synth.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ set liberty $::env(LIBERTY)
dfflibmap -liberty $liberty

if { [info exists ::env(CLOCK_PERIOD) ] } {
abc -liberty $liberty -dff -g aig -D $::env(CLOCK_PERIOD) {*}$::env(DONT_USE_ARGS)
abc -liberty $liberty -g aig -D $::env(CLOCK_PERIOD) {*}$::env(DONT_USE_ARGS)
} else {
abc -liberty $liberty -dff -g aig {*}$::env(DONT_USE_ARGS)
abc -liberty $liberty -g aig {*}$::env(DONT_USE_ARGS)
}

# Remove internal only aliases for public nets and then give created instances
Expand Down

0 comments on commit c3ee629

Please sign in to comment.