f4pga / f4pga-arch-defs

FOSS architecture definitions of FPGA hardware useful for doing PnR device generation.
https://f4pga.org
ISC License
270 stars 113 forks source link

Branch : Quicklogic : Primitives for the post-layout simulations #1436

Open rakeshm75 opened 4 years ago

rakeshm75 commented 4 years ago

Which are the primitive files that can be used for post-layout simulations?

Are the files @ /symbiflow-arch-defs/quicklogic/primitives used for post-layout simulations?

If yes, the primitive names in the top_bit.v file does not match with the names in the above files. Ex. logic_cell_macro in top_bit.v file and LOGIC in the above primitive file

If the above primitive files are not used for post-layout simulations then can you please point me to the relevant primitive files used for post-layout simulations.

rakeshm75 commented 4 years ago

There is port miss match in the primitives that are in top_bit.v file and the above mentioned primitive files (@ /symbiflow-arch-defs/quicklogic/primitives).

Can you point me to the primitives files that needs to be used along with top_bit.v (post layout netlist) for running post-layout simulations.

kgugala commented 4 years ago

hi @rakeshm75

please use the cells_sim library from Yosys https://github.com/antmicro/yosys/blob/quicklogic-rebased/techlibs/quicklogic/cells_sim.v

GitHub
antmicro/yosys
Yosys Open SYnthesis Suite. Contribute to antmicro/yosys development by creating an account on GitHub.
tpagarani commented 4 years ago

hi @kgugala ,

primitives in cells_sim.v don't have any provision for timing annotation whereas /symbiflow-arch-defs/quicklogic/primitives has timing constructs emdedded.

Is that work in progress? let us know when would that be available as well as SDF generation.