YosysHQ / apicula

Project Apicula 🐝: bitstream documentation for Gowin FPGAs
MIT License
446 stars 64 forks source link

BSRAM. Corrective action. #252

Closed yrabbit closed 3 weeks ago

yrabbit commented 3 weeks ago

Chips that have features in the implementation of BSRAM are marked with special flags, to which nextpnr reacts by adding corrective primitives such as LUTs and DFFs and changing routing if necessary.

Currently this is a fix for WRE-CE signals in Single Port BSRAM and a fix for READ_MODE=1'b1 (pipeline).

A .CST file is also added for the reduced SZFPGA board - it uses a GW1N-9 chip in a 48-pin package versus a “full-fledged” SZFPGA with a GW1NR-9 chip in a 144-pin package.