Commit 76073c9
committed
synth: add canonicalization step before synthesis
This saves hours on larger designs when unecessary macro rebuilds
are avoided and makes the build scripts less brittle.
this will clean out unused modules and produce the a canonical
$(RESULTS_DIR)/1_synth.json file.
This file will not change hash when unrelated changes to the design changes,
such as when non-synthesis(simulation) files are mixed into VERILOG_FILES.
This is particularly useful when doing synthesis on macros out of a folder of
Verilog files and you don't want to carefully groom the list of VERILOG_FILES.
This also allows bazel-orfs to handle actual dependencies for a folder
of .v/.sv files in much the same fashion that CMake can figure out
dependencies given a list of .cpp and header files.
Signed-off-by: Øyvind Harboe <[email protected]>1 parent 0bd1102 commit 76073c9
File tree
3 files changed
+22
-7
lines changed- flow
- scripts
3 files changed
+22
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
| 486 | + | |
| 487 | + | |
487 | 488 | | |
488 | 489 | | |
489 | 490 | | |
| |||
499 | 500 | | |
500 | 501 | | |
501 | 502 | | |
502 | | - | |
| 503 | + | |
503 | 504 | | |
504 | | - | |
| 505 | + | |
| 506 | + | |
505 | 507 | | |
506 | | - | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
507 | 517 | | |
508 | 518 | | |
509 | 519 | | |
| |||
520 | 530 | | |
521 | 531 | | |
522 | 532 | | |
523 | | - | |
| 533 | + | |
524 | 534 | | |
525 | 535 | | |
526 | 536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
0 commit comments