3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-08-10 08:01:14 +00:00
yosys/techlibs
Emil J. Tywoniak 77baad0082 ice40_opt: retire the wrapper's ports before reinterpreting it as $lut
A port's direction is read off the cell type, so assigning
type_impl = $lut while the $__ICE40_CARRY_WRAPPER ports are still
connected makes every following unsetPort consult the wrong type: \B was
an input under the wrapper and is not a port of $lut at all, so the
teardown takes the output branch and trips
`log_assert(w->driverCell_ == this)` in signorm mode (arch/ice40/counter,
arch/ice40/bug1598).

Disconnect everything under the old type, switch, then connect \A and \Y
under the new one. Retiring \O first also leaves that wire undriven, so
it comes back as \Y on the same wire rather than behind a freshly
interposed alias.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MQU5XCqDYY8MbivGkNRrDo
2026-07-21 16:52:31 +02:00
..
achronix End of file fix 2026-06-23 07:23:41 +02:00
analogdevices Remove trailing whitespaces 2026-06-23 07:24:59 +02:00
anlogic WIP migration to twine 2026-07-20 12:27:18 +02:00
common WIP 2026-07-20 12:27:17 +02:00
coolrunner2 coolrunner2: twines 2026-07-20 15:01:30 +02:00
easic Migrate build system to CMake 2026-06-03 08:58:10 +00:00
efinix WIP migration to twine 2026-07-20 12:27:18 +02:00
fabulous Remove old techmap. 2026-07-08 12:07:58 +02:00
gatemate WIP migration to twine 2026-07-20 12:27:18 +02:00
gowin gowin: replace positional arguments in cells_sim.v with named 2026-07-17 23:33:02 +02:00
greenpak4 WIP migration to twine 2026-07-20 12:27:18 +02:00
ice40 ice40_opt: retire the wrapper's ports before reinterpreting it as $lut 2026-07-21 16:52:31 +02:00
intel Revert "intel: register bram celltypes" 2026-07-17 23:38:01 +02:00
intel_alm Revert "intel: register bram celltypes" 2026-07-17 23:38:01 +02:00
lattice twines phase-3 build fix: post-fork main files broken by twine migration 2026-07-20 15:01:30 +02:00
microchip WIP migration to twine 2026-07-20 12:27:18 +02:00
nanoxplore techlibs: fix twines 2026-07-20 13:57:10 +02:00
quicklogic techlibs: fix twines 2026-07-20 13:57:10 +02:00
sf2 Remove trailing whitespaces 2026-06-23 07:24:59 +02:00
xilinx WIP migration to twine 2026-07-20 12:27:18 +02:00
CMakeLists.txt Migrate build system to CMake 2026-06-03 08:58:10 +00:00
fix_mod.py Remove trailing whitespaces 2026-06-23 07:24:59 +02:00