Commit Graph

17413 Commits

Author SHA1 Message Date
Emil J. Tywoniak 5672ecf584 ff: fix src_twine 2026-07-13 13:07:37 +02:00
Emil J. Tywoniak 3442960887 json: fix twine escaping 2026-07-13 13:07:23 +02:00
Emil J. Tywoniak 605a0e7de5 rtlil_backend: fix dumping sigsig connections 2026-07-13 13:07:05 +02:00
Emil J. Tywoniak 5a33f45181 sort: fix whitespace 2026-06-26 17:13:47 +02:00
Emil J. Tywoniak 33f341f697 write_verilog: write out src twines as src attributes 2026-06-25 17:52:30 +02:00
Emil J. Tywoniak 1907f417da tests/gatemate: update fsm LUT counts for new proc src mapping
CC_LUT2 1 (was 2), CC_L2T4 max 15 (was 14) reflect the cell mapping
produced after the proc src-location changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 23:55:50 +02:00
Emil J. Tywoniak d5c1875055 techmap: decode derived_name in the map pool, not the target design
derived_name and the template's marker wire are interned in map->twines;
decoding them with design->twines read an out-of-range/foreign pool slot
(garbage, or a crash once pool sizes diverge) in the _TECHMAP_FAIL_ log.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 23:51:05 +02:00
Emil J. Tywoniak 3c0056a4c1 genrtlil: intern action src as verbatim Twine
add(std::string) tags bare strings as public names, so a single-source
concat (which returns the lone ref unchanged) decoded with a spurious
'\' prefix, splitting one source file into two in linecoverage output.
add(Twine{}) stores the location string verbatim like set_src_attr.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 23:51:05 +02:00
Emil J. Tywoniak 58f95dbab8 proc_dff: better error context
(cherry picked from commit 404ce980e4)
2026-06-24 16:48:01 +02:00
Emil J. Tywoniak 0e30f20be3 proc_mux: include switch expression location in $eq src
(cherry picked from commit 383daa1eb3)
2026-06-24 16:45:56 +02:00
Emil J. Tywoniak 4985df71cb kernel: add SwitchRule signal_src
(cherry picked from commit 53585db9f7)
2026-06-24 16:43:14 +02:00
Emil J. Tywoniak cbf9b0b5d4 docs: workaround for warning from dump
(cherry picked from commit 85a17b0366)
2026-06-24 16:39:57 +02:00
Emil J. Tywoniak a6992682bf proc_mux, genrtlil: make use of case_src for better case condition vs block tracking
(cherry picked from commit a24c260998)
2026-06-24 16:39:47 +02:00
Emil J. Tywoniak 5209a116ff rtlil: add case_src to CaseRule
(cherry picked from commit a217a5c716)
2026-06-24 16:33:08 +02:00
Emil J. Tywoniak 55633b1e85 proc_mux: copy switch src to _CMP wire
(cherry picked from commit 502ba3734b)
2026-06-24 16:32:05 +02:00
Emil J. Tywoniak 0d3c218d6b proc_mux: copy mux src to Y port
(cherry picked from commit da65a18f39)
2026-06-24 16:31:20 +02:00
Emil J. Tywoniak bcf3af0a21 proc_mux: add comments
(cherry picked from commit ee800087e8)
2026-06-24 16:29:58 +02:00
Emil J. Tywoniak e5ef56f1e8 proc_mux: optimize source map locality for index density
(cherry picked from commit b3aea1b5d2)
2026-06-24 16:28:16 +02:00
Emil J. Tywoniak 6bd2609f34 proc_dff: add wire src attributes to dff cells
(cherry picked from commit 4072bcfd0b)
2026-06-24 16:26:55 +02:00
Emil J. Tywoniak 88865ef7ab verific: use SyncActions
(cherry picked from commit f4a69805ae)
2026-06-24 16:22:48 +02:00
Emil J. Tywoniak bf0a3b1e72 proc_mux: default to case src when action src is missing
(cherry picked from commit 469083dcaa)
2026-06-24 16:21:26 +02:00
Emil J. Tywoniak 1c7615c7ec proc_mux: add src test
(cherry picked from commit a2e8e352b6)
2026-06-24 16:18:12 +02:00
Emil J. Tywoniak fe1cdbafed docs: word_mux grammar
(cherry picked from commit 985e98935f)
2026-06-24 16:18:12 +02:00
Emil J. Tywoniak 451b1c074c proc_mux: refactor
(cherry picked from commit 778a667a91)
2026-06-24 16:18:04 +02:00
Emil J. Tywoniak 83a15e0038 proc_mux: emit fused action location src attributes on procmuxes
(cherry picked from commit cacd584347)
2026-06-24 15:29:08 +02:00
Emil J. Tywoniak 6646b1dbf9 rtlil: add source tracking to CaseRule actions
(cherry picked from commit c36370f227)
2026-06-24 15:23:12 +02:00
Emil J. Tywoniak 292d44f208 verilog: fix case location
(cherry picked from commit 7713b5a811)
2026-06-24 15:15:13 +02:00
Emil J. Tywoniak 2330860c48 rtlil: replace SigSig actions with new type SyncAction
(cherry picked from commit 94a53e08bc)
2026-06-24 15:14:53 +02:00
Emil J. Tywoniak 0372902ad0 memory_map: don't rebuild TwineSearch 2026-06-24 13:10:10 +02:00
Emil J. Tywoniak 9963b7a81b tests: undo skipping broken 2026-06-24 13:09:54 +02:00
Emil J. Tywoniak a7bf6df2f9 Fix twines 2026-06-24 12:25:43 +02:00
Emil J. Tywoniak 344c2b6a80 Fix twines 2026-06-24 12:25:37 +02:00
Emil J. Tywoniak f5b21ecc68 patch: fix signorm commit broken by twine rename 2026-06-24 12:25:20 +02:00
Emil J. Tywoniak a84a2d9d56 rtlil: options for dumping twines 2026-06-24 12:24:51 +02:00
Emil J. Tywoniak 4cb22ddf2d Makefile: undo skip broken 2026-06-24 12:23:45 +02:00
Emil J. Tywoniak a4e7c5c4e4 hierarchy: fix twines 2026-06-24 11:53:51 +02:00
Emil J. Tywoniak a3e982a5e2 xaiger: fix twines 2026-06-24 11:53:37 +02:00
Emil J. Tywoniak d8e09f4e0c functinoal: twines 2026-06-24 11:53:14 +02:00
Emil J. Tywoniak 5b5e7ce771 functinoal: twines 2026-06-24 11:53:09 +02:00
Emil J. Tywoniak 9d41958e6a coolrunner2: twines 2026-06-24 11:52:53 +02:00
Emil J. Tywoniak e56e8c3818 xprop test: use -readable dump 2026-06-24 11:51:14 +02:00
Emil J. Tywoniak 9ae4717502 unit tests: twines 2026-06-24 11:51:01 +02:00
Emil J. Tywoniak c93f60f6af rtlil_backend: improve stringification flags and defaults 2026-06-24 11:50:03 +02:00
Emil J. Tywoniak 88ed85b4f3 techmap: fix twines 2026-06-23 16:01:53 +02:00
Emil J. Tywoniak 1b271b8aac abc9_ops: fix twines 2026-06-23 16:01:06 +02:00
Emil J. Tywoniak da365c7d20 wreduce: fix twines 2026-06-23 16:00:54 +02:00
Emil J. Tywoniak a281a1e923 aiger2: fix twines 2026-06-23 16:00:43 +02:00
Emil J. Tywoniak eef60cf066 blif: fix twines 2026-06-23 16:00:28 +02:00
Emil J. Tywoniak ecfced8f0d techlibs: fix twines 2026-06-23 16:00:19 +02:00
Emil J. Tywoniak ffde59d21e submod: fix twines 2026-06-23 16:00:08 +02:00