Open
Description
The first argument to connect()
is the module that the connections should be added to, but the documentation doesn't state this clearly. It becomes clear once you understand it (the connections must be added to something, and the documentation shows it later) but it tripped me up since I was mentally primed to other constructs that operate on a Module directly (If
, FSM
, .next
etc).
amaranth/amaranth/lib/wiring.py
Lines 1358 to 1402 in f20f042