Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于是否兼容MAGICAL数据集问题 #4

Open
caileihh opened this issue Jul 16, 2024 · 2 comments
Open

关于是否兼容MAGICAL数据集问题 #4

caileihh opened this issue Jul 16, 2024 · 2 comments

Comments

@caileihh
Copy link

作者您好,我对您这个布线器十分赞赏,我正在做布局后验证对比实验结果。目前已知情况是,该布线器的模式1是兼容MAGICAL的OTA2电路的,且兼容MAGICAL的TSMC40nm工艺。可是在模式1下,改变输入sp网表和布局json文件,如改成MAGICAL的OTA1电路(MAGICAL-master/examples/ota1/ota1.sp)和OTA3电路(MAGICAL-master/examples/ota3/Telescopic_Three_stage_flow.sp),同时修改.json布局文件,输入进布线器会报错。所以请问作者,这个布线器在模式1的情况下是不是只对MAGICAL的OTA2做了兼容读取处理?如何将MAGICAL的开源数据集用模式1输入进布线器?

@zhywhite
Copy link
Collaborator

理论上都可以支持,./sageroute \
--techfile="../benchmark/mockPDK/lef.json"
--paramfile="../benchmark/ota2/config.json" \
--netlist="../benchmark/ota2/ota2.sp"
--placement="../benchmark/ota2/ota2.json"
--constraints="../benchmark/ota2/elec.json"
--result="../benchmark/ota2/ota2.gds" 但您要注意这些文件都需要提供对应对于ota1/3的版本,lef可以保持一致,另外您可以提供一下具体的报错信息

@caileihh
Copy link
Author

非常感谢您的回复。
我明白了,是由于我更换了ota1.sp文件和ota1.json文件而没有修改elec.json文件导致的。
请问:

  1. elec.json的文件内容含义是什么?目前在elec.json中看到部分线网名称及线网上的对应晶体管某一极名称,但它们在elec.json中对应的数值及含义尚不清楚。config.json文件是布线器参数配置文件这个我是能理解的。
  2. 示例ota2.json中第6、7行
    "origin_x" : 10500,
    "origin_y" : 10000,代表的含义是什么
  3. 另外还有关于PDK的问题我想请教您一下。TSMC40nm我已拿到,仅用于学术研究。但在pdk安装过程中有多种选项选择,我尝试过5种不同的安装选项均未能成功完成对输出结果版图ota2.gds的仿真,网表导入是正常的,后仿LVS和DRC通不过。目前排查到的问题是和pdk相关联。在如下安装时应选择哪种选项才能适配上MAGICAL数据集以及您示例ota2.gds的版图(给出选择即可,LO还是RF,1.1/1.8V还是1.1/2.5V,以及什么样的金属层)?
[IC@IC TSMC40nm]$ ./pdkInstall.pl 
       - TSMC Process Design Kit (PDK) Install Utility -
    This perl script is used to install TSMC PDKs from the directory that
contains the original distribution source files (a super-set of PDKs) to a
specified destination directory according to the user specified options.

*Available process types are: 
   1 - LO
   2 - RF
Please enter your choice: (1,2...)
2
*Available voltages are: 
   1 -  1.1/1.8V 
   2 -  1.1/2.5V 
Please enter your choice: (1,2...)
2
*Available metal options are: 
   1 - 1P10M_7X0Y2Z0R0U_ALRDL *ind_2z
   2 - 1P10M_7X0Y1Z0R1U_ALRDL *ind_1z1u
   3 - 1P9M_7X0Y1Z0R0U_ALRDL *ind_1z
   4 - 1P9M_7X0Y0Z0R1U_ALRDL *ind_1u
   5 - 1P9M_6X0Y2Z0R0U_ALRDL *ind_2z
   6 - 1P9M_6X0Y1Z0R1U_ALRDL *ind_1z1u
   7 - 1P9M_5X1Y1Z0R1U_ALRDL
   8 - 1P8M_6X0Y1Z0R0U_ALRDL *ind_1z    *Cal_RC      *Star_RC
   9 - 1P8M_6X0Y0Z0R1U_ALRDL *ind_1u
   10 - 1P8M_5X0Y2Z0R0U_ALRDL *ind_2z    *Asu_RC      *Cal_RC
   11 - 1P8M_5X0Y1Z0R1U_ALRDL *ind_1z1u
   12 - 1P8M_4X2Y1Z0R0U_ALRDL
   13 - 1P8M_3X2Y2Z0R0U_ALRDL
   14 - 1P7M_5X0Y1Z0R0U_ALRDL *ind_1z
   15 - 1P7M_5X0Y0Z0R1U_ALRDL *ind_1u
   16 - 1P7M_4X0Y2Z0R0U_ALRDL *ind_2z    *Asu_RC
   17 - 1P7M_4X0Y1Z0R1U_ALRDL *ind_1z1u
   18 - 1P6M_4X0Y1Z0R0U_ALRDL *ind_1z    *Asu_RC      *Star_RC
   19 - 1P6M_4X0Y0Z0R1U_ALRDL *ind_1u    *Cal_RC      *Star_RC
   20 - 1P6M_3X0Y2Z0R0U_ALRDL *ind_2z
   21 - 1P6M_3X0Y1Z0R1U_ALRDL *ind_1z1u
   22 - 1P5M_3X1Y0Z0R0U_ALRDL
--------------------------------------------------------------------------------------
-- *ind_2z  : Support inductors in RF Process:
--           spiral_std_m2za_za, spiral_sym_m2za_z, spiral_sym_ct_m2za_z_a
--
-- *ind_1z1u: Support inductors in RF Process:
-- 	         spiral_std_mu_z, spiral_sym_mu_z, spiral_sym_ct_mu_z_x
--		     spiral_sym_ct_mu_z_a
--
-- *ind_1z  : Support inductors in RF Process:
-- 	        spiral_std_mz_a, spiral_sym_mz_a, spiral_sym_ct_mz_a_x
-- 	        spiral_std_mza_a, spiral_sym_mza_a, spiral_sym_ct_mza_a_x
-- 	        spiral_sym_mz_ax, spiral_sym_ct_mz_ax_a
--
-- *ind_1u  : Support inductors in RF Process:
-- 	        spiral_std_mu_x, spiral_sym_mu_x, spiral_sym_ct_mu_x_a, spiral_sym_mu_a 
--		    spiral_sym_ct_mu_a_a, spiral_std_mu_a, spiral_sym_ct_mu_a_x
-- 
-- *Cal_RC: Support Calibre RCX
--
-- *Asu_RC: Support Assura QRC
--
-- *Star_RC: Support Star-RCXT
--
--------------------------------------------------------------------------------------
Please enter your choice: (1,2...)
7
Please confirm with your selction information: 
*********************************************************
*** Select process : RF
*** Select voltage : 1.1/2.5V
*** Select metal option : 1P9M_5X1Y1Z0R1U_ALRDL
*********************************************************
Are these correct (y|n) ?
y
====== Installing pdk library ======

恳请您给予答复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants