Naina
11/23/2023, 10:03 PMNaina
11/23/2023, 10:04 PMMitch Bailey
11/23/2023, 11:23 PM.
Try changing
````define USER_CONFIG_GPIO_15_INIT GPIO_MODE_USER_STD_ANALOG
to
`define USER_CONFIG_GPIO_15_INIT `GPIO_MODE_USER_STD_ANALOG
Naina
11/23/2023, 11:47 PMMitch Bailey
11/24/2023, 12:06 AMDISABLE_LVS
set? echo $DISABLE_LVS
Naina
11/24/2023, 12:23 AMNaina
11/24/2023, 12:25 AMNaina
11/24/2023, 4:15 AMMitch Bailey
11/24/2023, 4:44 AMMakefile
, make precheck
will pull the latest version.Naina
11/26/2023, 8:44 PMMitch Bailey
11/26/2023, 9:39 PMcurl <https://raw.githubusercontent.com/efabless/caravel_user_project/gf180mcu/Makefile> > Makefile
Naina
11/26/2023, 11:38 PMMitch Bailey
11/27/2023, 12:36 AMNaina
11/27/2023, 1:31 AMNaina
11/27/2023, 1:32 AMMitch Bailey
11/27/2023, 1:39 AMLVS_SPICE_FILES_TO_FIX
so try changing
"LVS_SPICE_FILES_TO_FIX": [
],
"LVS_SPICE_FILES": ["/home/zerotoasic/naina/user_analog_project_wrapper/lvs/opamp.spice",
"/home/zerotoasic/naina/user_analog_project_wrapper/lvs/user_analog_project_wrapper.spice"
],
""
to
"LVS_SPICE_FILES": ["/home/zerotoasic/naina/user_analog_project_wrapper/lvs/opamp.spice",
"/home/zerotoasic/naina/user_analog_project_wrapper/lvs/user_analog_project_wrapper.spice"
],
Naina
11/27/2023, 1:54 AMNaina
11/27/2023, 1:57 AMNaina
11/27/2023, 2:02 AMMitch Bailey
11/27/2023, 3:02 AMNaina
11/27/2023, 3:05 AMNaina
11/27/2023, 3:14 AMMitch Bailey
11/27/2023, 3:21 AMMitch Bailey
11/27/2023, 3:23 AMio_out
and io_oeb
connections have been buffered. If you don’t connect them, there’s a possibility of leakage through the buffer nmos and pmos. If you’re not concerned about power consumption, you might be able to ignore that.Naina
11/27/2023, 3:25 AMNaina
11/27/2023, 3:26 AMNaina
11/27/2023, 3:56 AMMitch Bailey
11/27/2023, 4:09 AMuser_analog_project_wrapper
have all the necessary ports? If you’re missing the top ports, LVS won’t extract a top subckt and CVC/OEB won’t run. If you have user_analog_project_wrapper_empty
, that has all the text and pins and you can flatten that.
2. In your lvs_config file, It looks like you have both spice files (extracted from layout?) and verilog files. You probably don’t want both and rarely if ever should use extracted layouts as source for LVS. Do you have schematics created from xschem? These are what you should use for LVS.Naina
11/27/2023, 4:13 AMNaina
11/27/2023, 4:17 AMNaina
11/27/2023, 4:21 AMNaina
11/27/2023, 4:44 AMMitch Bailey
11/27/2023, 4:52 AMprecheck_results/<tag>/tmp/ext/user_analog_project_wrapper.gds.spice
Then, is there no need to write a verilog code file if extracted spice file is used.The purpose of LVS is to check the layout versus the design data. The extracted spice file you shared above should not be used for LVS. Do you have an xschem schematic for
user_analog_project_wrapper
?Naina
11/27/2023, 5:17 AMNaina
11/27/2023, 5:19 AMNaina
11/27/2023, 5:21 AMMitch Bailey
11/27/2023, 1:11 PMWhen I ran LVS locally, using xschem spice file and extracted spice netlist from gdsYou had a gds file (not a mag file) that you loaded into magic and extracted that with a
ext2spice
manually without using an LVS script?Naina
11/27/2023, 8:52 PMNaina
11/27/2023, 8:53 PMNaina
11/27/2023, 8:53 PMMitch Bailey
11/27/2023, 10:14 PMvolare ls
, if not cat $PDK_ROOT/$PDK/SOURCES
).Naina
11/27/2023, 10:18 PMNaina
11/27/2023, 10:20 PMNaina
11/27/2023, 10:30 PMNaina
11/27/2023, 10:37 PMMitch Bailey
11/27/2023, 10:38 PM3af133706e554a740cfe60f21e773d9eaa41838c (2022.11.08)
Looks like that pdk was from last year.
What tool did you use to create the gds?Naina
11/27/2023, 10:41 PMMitch Bailey
11/27/2023, 11:25 PMremove_disconnect.awk
script is used in the soft connection check. The layout is extracted twice, once normally and once with a special rule set that ignores well connections. The well connections from the normally extracted netlist are removed and the netlists are compared. Any mismatches are caused by high resistance well connections. When the well connections are removed, some nets become disconnected. The script removes these disconnected nets.
If you are planning to submit to a shuttle, please be sure that the Makefile
(and thus the PDK) are the correct version.Naina
11/27/2023, 11:39 PMNaina
11/27/2023, 11:49 PMNaina
11/27/2023, 11:51 PMMitch Bailey
11/28/2023, 2:30 AMMakefile
.
curl <https://raw.githubusercontent.com/efabless/caravel_user_project/main/Makefile> > Makefile
env | grep TAG
env | grep COMMIT
env | grep ROOT
and then rerun
make setup
Looks like the post doesn’t have the warning messages you mentioned.Naina
11/28/2023, 3:08 AMNaina
11/28/2023, 3:09 AMNaina
11/28/2023, 3:11 AMMitch Bailey
11/28/2023, 5:24 AMprecheck_results/<tag>/ext/<top_cell>-ext2gds.spice.feedback.txt
Warnings like this are generated for mos capacitors that only have one source/drain.
feedback add "device missing 1 terminal;
Mitch Bailey
11/28/2023, 6:45 AMfeedback save <file_name>
to save the results in <file_name>
.Naina
11/28/2023, 8:41 PMNaina
11/28/2023, 8:41 PMNaina
11/29/2023, 12:28 AMMitch Bailey
11/29/2023, 1:51 AMNaina
11/29/2023, 2:43 AMNaina
11/29/2023, 2:44 AMMitch Bailey
11/29/2023, 2:51 AM