Login
You're viewing the techdon.dev public feed.
  • Sep 5, 2026, 5:24 PM

    I'm using one of the Yosys-and-friends toolchain's COOLEST FEATURES here, which is: initializing block RAMs to a random bit pattern, and then _replacing their contents_ after place and route with the Forth system image. (The icebram/ecpbram tools, if you're looking for docs.)

    Most proprietary synthesis flows can't do this. It rocks.

    Unfortunately, despite Swim/Spade being very tight with Yosys, there's no obvious way to do this within Swim. So I wrote a Makefile wrapper and do it by hand.

    (It's possible this is the first SoC computer written in Spade? That would explain this _and_ the lack of initialized RAMs. But search engines suck now so how would I even find out.)

    💬 0🔄 1⭐ 1