migen icon indicating copy to clipboard operation
migen copied to clipboard

[enh] use Misc() properties in trellis' PCF

Open chmousset opened this issue 4 years ago • 1 comments

Currently Misc() properties are ignored when generating the pcf constraint file for trellis.

To keep compatibility with existing platforms, Lattice's Diamond properties are translated to nextpnr's. Only PULLUP has been successfully tested (on icestick), but PULLUP_RESISTOR should be supported aswell, based on document found here (p91)

the IOStandard() properties are not supported by nextpnr, therefore nothing is done with them.

chmousset avatar Oct 04 '20 13:10 chmousset

Hmm, the idea behind Misc() is to allow toolchain-specific attributes that are just passed as-is. How about adding Pullup() instead (and migrating existing code)?

sbourdeauducq avatar Oct 05 '20 03:10 sbourdeauducq