chipsalliance / fpga-interchange-schema

https://fpga-interchange-schema.readthedocs.io/
Apache License 2.0
51 stars 21 forks source link

Inverter cell type #14

Open gatecat opened 3 years ago

gatecat commented 3 years ago

The Lattice Nexus devices don't have inversion parameters; instead they use INV cells for inversion (ECP5 would also do this if we copied the vendor tools implementation). I think older ISE-rather-than-Vivado Xilinx parts might have done this sometimes too?

example: https://github.com/YosysHQ/yosys/blob/master/techlibs/nexus/brams_map.v#L56-L65

If we want to support this pattern; then the schema might want to define an inverter cell type (and input/output port names); similar to how it defines constant driver cell types.