@trabucayre @enjoy-digital This breaks Tang nano 9k, as it generates illegal code:
ERROR (EX3637) : Range is not allowed in a prefix("/data/LiteX/litex-boards/litex_boards/targets/build/sipeed_tang_nano_9k/gateware/sipeed_tang_nano_9k.v":2633)
ERROR (EX3878) : 'IO_psram_dq' is not a memory("/data/LiteX/litex-boards/litex_boards/targets/build/sipeed_tang_nano_9k/gateware/sipeed_tang_nano_9k.v":2633
Originally posted by @andelf in https://github.com/enjoy-digital/litex/issues/1833#issuecomment-1807146160