squishy.gateware.platform.mixins

The following are mixins that are used to add additional features to torii 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 torii.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.