lnis-uofu / OpenFPGA

An Open-source FPGA IP Generator
https://openfpga.readthedocs.io/en/master/
MIT License
832 stars 162 forks source link

Config cell parameter in "k6_frac_N10_tileable_adder_chain_40nm" in OpenFPGA #1199

Closed Nguyenthehuy1 closed 1 year ago

Nguyenthehuy1 commented 1 year ago

Hello everyone,

I want to find out how to config cell parameter in "k6_frac_N10_tileable_adder_chain_40nm" in OpenFPGA by entering at OpenFPGA root: "vi openfpga_flow/openfpga_arch/k6_frac_N10_adder_chain_40nm_openfpga.xml". But I cannot see any documents about cell parameters in this.

Where can I find it?

Thank you, everyone. Best regard Huy

tangxifan commented 1 year ago

Hi @Nguyenthehuy1 , Can you elaborate what the cell parameters are in these files?

Nguyenthehuy1 commented 1 year ago

Vào Th 4, 14 thg 6, 2023 lúc 06:21 tangxifan @.***> đã viết:

Hi @Nguyenthehuy1 https://github.com/Nguyenthehuy1 , Can you elaborate what the cell parameters are in these files?

— Reply to this email directly, view it on GitHub https://github.com/lnis-uofu/OpenFPGA/issues/1199#issuecomment-1590183728, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZL62A4PW4XWUBFMEIU32RLXLDYWFANCNFSM6AAAAAAY3F4YVQ . You are receiving this because you were mentioned.Message ID: @.***>

  1. I want to change "Technology library" in this architecture xml file. I want to change my own vdd, pn_ratio, min_witdh, chan_length.... ) parameter.

I wonder where the path I needs when i config above parameter? ( i think it need .lib file (standard cell doesn't need .lib file)) ( default: OpenFGPA/ openfpga_flow/tech/PTM_45nm/45nm. pm? )

  1. and the delay_matrix parameter? In .lib five, we usually have 7x7 matrixs, which point it mapping?( nxn ??)

Thank you

tangxifan commented 1 year ago

I believe you can find the answers in #1211

Nguyenthehuy1 commented 1 year ago

Thank you so much for responding to me,

I have replaced some cells with “sky_water_130.v” (illustrated below) in the “K6_frac_N10_adder_chain_40nm_openfpga.xml” file. And I have two questions: “

  1. How can I map “delay_matrix” parameter in “OpenFPGA/yosys-plugins/clockgating plugin/tests/regfile/lib/sky130_fd_sc_hd.lib”.

  2. As you said in #1211, is it means we should remain the initial value in “Technology_library (including pn_ratio, min_width ...)? ( so what do those value means?)”, and how we mapping parameter with “sky_water..” library?


*** code xml is below: `<?xml version="1.0"?>

10e-12 10e-12 10e-12 10e-12 10e-12 10e-12 10e-12 5e-12 5e-12 10e-12 5e-12 5e-12

`

tangxifan commented 1 year ago

See my answer in #1221