Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix yosys-optimizer using boolean gate mapping with abc -fast mode
Fixes #554 It appears that our custom liberty file was not providing delays for the cells, and that was causing an assertion failure in the ABC library. Since the tfhe-rs boolean gates are a subset of the standard cell library, just restrict the standard cells using `-g CELLTYPE, ...` flags. PiperOrigin-RevId: 619626413
- Loading branch information
Showing
5 changed files
with
24 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,5 @@ filegroup( | |
name = "share_files", | ||
srcs = glob([ | ||
"*.v", | ||
"*.liberty", | ||
]), | ||
) |
260 changes: 0 additions & 260 deletions
260
lib/Transforms/YosysOptimizer/yosys/tfhe-rs_cells.liberty
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters