google / globalfoundries-pdk-libs-gf180mcu_fd_pr

Primitives for GF180MCU provided by GlobalFoundries.
https://gf180mcu-pdk.rtfd.io
Apache License 2.0
47 stars 25 forks source link

Improve transistor definitions in xschem lvs export #102

Closed StefanSchippers closed 1 year ago

StefanSchippers commented 1 year ago

Fixes #101

proppy commented 1 year ago

/cc @atorkmabrains FYI

atorkmabrains commented 1 year ago

@StefanSchippers Could you please make sure to add a similar PR on: https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pr

proppy commented 1 year ago

@StefanSchippers Could you please make sure to add a similar PR on: https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pr

Done here: https://github.com/efabless/globalfoundries-pdk-libs-gf180mcu_fd_pr/pull/23

proppy commented 1 year ago

@StefanSchippers can lvs_format also be used to other component used only by simulation from the LVS netlist? (C blocks for lab pin, spice model, etc)

StefanSchippers commented 1 year ago

If you add an lvs_format this takes precedence over format when doing LVS netlists. This can be used to exclude simulation-only devices from LVS netlist, like for example in: lvs_format="* @name @pinlist @value" Notice the '*' at the beginning. This will add just a commented line in the netlist. Just make sure lvs_format is not empty, because in this case the xschem netlister will revert to format attribute. Even a single space will be ok, like in: lvs_format=" "

proppy commented 1 year ago

Just make sure lvs_format is not empty, because in this case the xschem netlister will revert to format attribute. Even a single space will be ok, like in: lvs_format=" "

Yes, I went for lvs_format="*" :) Thanks for the tip!