squishy.gateware.platform.mixins

The following are mixins that are used to add additional features to Amaranth platforms without any extra setup work for the platform itself.

class squishy.gateware.platform.mixins.SquishyCacheMixin(*args, **kwargs)

Squishy Platform Cache mixin.

This mixin overrides the amaranth.build.plat.Platform. build method to inject FPGA bitstream caching via the squishy.core.cache.SquishyBitstreamCache. which handles all bitstream and build caching based on the elaborated designs digest.

This shortens build times, and removes the need to re-build unchanged applets.