Repository navigation
Commit 0bc1a7d
synth: stop on a SYNTH_KEEP_MODULES name that is not in the design
A SYNTH_KEEP_MODULES name that matched no module was a yosys warning
and nothing else: synthesis went on with that module flattened. A
misspelled name, or a module the RTL has renamed, changed the result
without a word.
That is how asap7/coralnpu's keep list went stale in #4653: the current
RTL renamed DispatchV1, LsuV1 and DBus2AxiV1 to DispatchV2, LsuV3 and
DBus2AxiV2, and a full flow ran with three of its ten units flattened
before anything noticed.
Each name now has to select a module, by either of the two patterns
already used (the name itself, or slang's uniquified name$...);
synthesis stops otherwise, naming it. On asap7/riscv32i a misspelled
name stops synthesis and the real one passes; asap7/chi_async_bridge,
whose kept modules have slang's uniquified names, passes unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 64939f3 commit 0bc1a7d
4 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
| 1106 | + | |
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
| |||
0 commit comments