lnis-uofu / SOFA

SOFA (Skywater Opensource FPGAs) based on Skywater 130nm PDK and OpenFPGA
https://skywater-openfpga.readthedocs.io/en/latest/
MIT License
128 stars 25 forks source link

How do we change the standard cell library being used here? #128

Open iamkarthikbk opened 2 years ago

iamkarthikbk commented 2 years ago

I want to know if there's way I can do exactly what SOFA is doing but not use skywater standard cells. Is there a way I can just select which standard cell library to use?

ganeshgore commented 2 years ago

Sure, you can do that. You will have to makes changes to a couple of files

  1. ./FPGA1212_QLSOFA_HD_PNR/FPGA1212_QLSOFA_HD_task/arch/openfpga_arch.xml defines the standard cell mapping (sky130_fdsc* for Sky130) change that to your preferred standard cell.
  2. FPGA1212_QLSOFA_HD_PNR/FPGA1212_QLSOFA_HD_task/sc_verilog this directory also has few standard cells defined please change that as well.

With those changes, you should be able to generate a new Verilog netlist with your preferred standard cell library using OpenFPGA.