Repository navigation
Commit b59c1d1
AUTO_MEMORIES: an escaped macro module gets its cost
The cost loop looked each blackboxes.txt name up in the module list as
a Tcl list. yosys lists an escaped module with its leading backslash,
`\1d_ram`, which list parsing reads as an escape, and blackboxes.txt
names it as read_slang takes it, `1d_ram`; the lookup missed, the
module was taken for absent and skipped, and keep_hierarchy -min_cost
stopped with "Missing cost information on instanced blackbox \1d_ram".
The list is now read one name per line, without the backslash.
Checked with read_slang on a design with `ram` and `\1d_ram`
blackboxed: before, the error above; now both get their cost and
keep_hierarchy -min_cost runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent a3305f1 commit b59c1d1
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
277 | 286 | | |
278 | 287 | | |
279 | 288 | | |
| |||
0 commit comments