-
Notifications
You must be signed in to change notification settings - Fork 87
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
Make gives me several errors regarding LEF, CDL, Magic etc.. Cell might have been instanced before they were defined #427
Comments
It looks like you had a successful build. |
ok, thank you! I will proceed with the installation. I have some simple questions though:
Thank you! |
(1) I no longer use the top-level path to the PDK, because it is more convenient to work with the individual libraries separately. However, that might mean that "--enable-sky130-pdk=" does not actually record the but only enables the PDK for installation, in which case my instructions are wrong and need to be corrected. The videos are correct for the version of open_pdks at the time they were made, but are now out of date. Given that the top-level path only exists in the google repository, and only a few libraries are still pulled from the original google repositories (as opposed to the patched efabless forks, which I maintain and update myself), I need to deprecate the use of a top-level source path and flag it as an error. (2) I strongly discourage using any user directory path as the install path, since that makes the whole PDK user-writeable, which is just asking for trouble. At any rate, the value of "prefix" has absolutely no effect on the build until you do "make install", at which point the entire PDK is copied from the staging area in open_pdks to the location specified by "prefix". I suggest running "make veryclean" between builds. I believe that the build will not be affected by files that already exist in the staging area when "make" is run, but I'm not certain. |
Thank you for your reply. I am confused though. When you say your instructions are wrong, you meant your instructions on opencircuitdesign.com or in github? For the latest version of open_pdks, which instructions should I follow? PS: You were right, I was able to run |
The instructions are wrong everywhere they suggest that |
I tried to run make on open_pdk but I am getting several errors.
I made sure I have all prerequisites according to the instructions on open_pdks webpage.
Here is my sky130A_make.log file to show you my errors, they are several.
sky130A_make.log
These are some errors type examples:
Error message output from magic script: Couldn't find label VPB No port found with name VPB. Can't write file named '(UNNAMED)' Annotating files in /home/matiasjhz/open_pdks/sky130/sky130B/libs.ref/sky130_fd_sc_lp/maglef make[3]: Leaving directory '/home/matiasjhz/open_pdks/sky130' make[3]: Leaving directory '/home/matiasjhz/open_pdks/sky130'
`Warning: cell L1M1_CDNS_52468879185306 already existed before reading GDS!
Error message output from magic:
CIF file read warning: CIF style sky130(): units rescaled by factor of 5 / 1
Error while reading cell "sky130_fd_io__overlay_vddio_lvc" (byte position 735778): Boundary is not closed.
Error while reading cell "sky130_fd_io__res250_sub_small" (byte position 328716): NODE elements not supported: skipping.`
Error while reading cell "sky130_fd_io__gpiovrefv2_hv_nor2" (byte position 101846): Warning: cell "nfet_CDNS_52468879185814" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_ctl_lsbank" (byte position 263124): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_ctl" (byte position 303008): Warning: cell "M1M2_CDNS_52468879185967" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_hotswap_latch" (byte position 3551354): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_res_weak" (byte position 5785268): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_ctl_lsbank" (byte position 7076664): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_ctl" (byte position 7116548): Warning: cell "M1M2_CDNS_52468879185967" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_hotswap_latch" (byte position 10785212): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_res_weak" (byte position 16804356): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one.
Error while reading cell "sky130_fd_io__sio_ctl_lsbank" (byte position 85274120): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_ctl" (byte position 85435412): Warning: cell "M1M2_CDNS_52468879185967" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_hotswap_latch" (byte position 88598650): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_fd_io__sio_res_weak" (byte position 90832074): Warning: cell "L1M1_CDNS_5246887918527" placed on top of itself. Ignoring the extra one. Error while reading cell "sky130_ef_io__gpiov2_pad_wrapped" (byte position 23648): Cell "sky130_ef_io__gpiov2_pad" is used but not defined in this file. Error while reading cell "sky130_ef_io__gpiov2_pad_wrapped" (byte position 23648): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__gpiov2_pad_wrapped" (byte position 23648): cell sky130_ef_io__gpiov2_pad was used but not defined. Error while reading cell "sky130_ef_io__simple_pad_and_busses" (byte position 9381712): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__com_pg_esd" (byte position 9381712): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vccd_lvc_clamped3_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssd_lvc_clamped3_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vddio_lvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssio_lvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vddio_hvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vddio_hvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssio_hvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssio_hvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vccd_lvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vdda_hvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssa_hvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssd_lvc_clamped_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssd_hvc_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vssa_lvc_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__corner_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vdda_lvc_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__vccd_hvc_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__gpiov2_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Error while reading cell "sky130_ef_io__gpiov2_pad" (byte position 3852674): Rewinding input. Cells may have been instanced before they were defined. Consider using "gds ordering on". Couldn't find label AMUXBUS_A Couldn't find label AMUXBUS_B Couldn't find label VSSA Couldn't find label VDDA Couldn't find label VSWITCH Couldn't find label VDDIO_Q Couldn't find label VCCHIB Couldn't find label VDDIO Couldn't find label VCCD Couldn't find label VSSIO Couldn't find label VSSD Couldn't find label VSSIO_Q Couldn't find label VCCD_PAD Can't write file named '(UNNAMED)' Compiling LEF library from magic output. Diagnostic: Creating consolidated LEF library sky130_fd_io.lef New file is: /home/matiasjhz/open_pdks/sky130/sky130B/libs.ref/sky130_fd_io/lef/sky130_fd_io.lef Compile-only: Removing individual LEF files Migrating LEF files to layout. Generating conversion script to create magic databases from LEF Running magic to create magic databases from LEF
Cell sky130_ef_io__vccd_hvc_pad in netlist has not been loaded. Cell sky130_ef_io__vccd_lvc_pad in netlist has not been loaded. Cell sky130_ef_io__vdda_lvc_pad in netlist has not been loaded. Cell sky130_ef_io__vdda_hvc_pad in netlist has not been loaded. Cell sky130_ef_io__vddio_lvc_pad in netlist has not been loaded. Cell sky130_ef_io__vddio_hvc_pad in netlist has not been loaded. Cell sky130_ef_io__vssd_lvc_pad in netlist has not been loaded. Cell sky130_ef_io__vssd_hvc_pad in netlist has not been loaded. Cell sky130_ef_io__vssio_lvc_pad in netlist has not been loaded. Cell sky130_ef_io__vssio_hvc_pad in netlist has not been loaded. Cell sky130_ef_io__vssa_lvc_pad in netlist has not been loaded. Cell sky130_ef_io__vssa_hvc_pad in netlist has not been loaded. Cell sky130_ef_io__corner_pad in netlist has not been loaded. Cell sky130_fd_io__com_bus_slice in netlist has not been loaded. Cell sky130_ef_io__com_bus_slice_1um in netlist has not been loaded. Cell sky130_ef_io__com_bus_slice_5um in netlist has not been loaded. Cell sky130_ef_io__com_bus_slice_10um in netlist has not been loaded. Cell sky130_ef_io__com_bus_slice_20um in netlist has not been loaded. Cell sky130_ef_io__connect_vcchib_vccd_and_vswitch_vddio_slice_20um in netlist has not been loaded. Cell sky130_ef_io__disconnect_vdda_slice_5um in netlist has not been loaded. Cell sky130_ef_io__disconnect_vccd_slice_5um in netlist has not been loaded. Cell sky130_ef_io__gpiov2_pad in netlist has not been loaded. Cell sky130_ef_io__gpiov2_pad_wrapped in netlist has not been loaded. Cell sky130_ef_io__vddio_hvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__vssio_hvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__vdda_hvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__vssa_hvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__vccd_lvc_clamped2_pad in netlist has not been loaded. Cell sky130_ef_io__vssd_lvc_clamped2_pad in netlist has not been loaded. Cell sky130_ef_io__vccd_lvc_clamped3_pad in netlist has not been loaded. Cell sky130_ef_io__vssd_lvc_clamped3_pad in netlist has not been loaded. Cell sky130_ef_io__vccd_lvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__vssd_lvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__top_power_hvc in netlist has not been loaded. Cell sky130_ef_io__vddio_lvc_clamped_pad in netlist has not been loaded. Cell sky130_ef_io__vssio_lvc_clamped_pad in netlist has not been loaded
echo "Ended sky130B PDK staging on "
date>> sky130B_make.log No CDL file contains sky130_fd_io device sky130_fd_io__top_lvc_b2b No CDL file contains sky130_fd_io device sky130_fd_io__overlay_gpiov2 No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vccd_lvc No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vddio_lvc No CDL file contains sky130_fd_io device sky130_fd_io__top_amuxsplitv2 No CDL file contains sky130_fd_io device sky130_fd_io__top_pwrdetv2 No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vdda_hvc No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vssa_lvc No CDL file contains sky130_fd_io device sky130_fd_io__top_gpio_ovtv2 No CDL file contains sky130_fd_io device sky130_fd_io__top_ground_lvc_wpad No CDL file contains sky130_fd_io device sky130_fd_io__top_power_hvc_wpadv2 No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vddio_hvc No CDL file contains sky130_fd_io device sky130_fd_io__top_power_hvc_wpad No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vssd_lvc No CDL file contains sky130_fd_io device sky130_fd_io__top_gpiovrefv2 No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vssa_hvc No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vdda_lvc No CDL file contains sky130_fd_io device sky130_fd_io__top_xres4v2 No CDL file contains sky130_fd_io device sky130_fd_io__top_gpiov2 No CDL file contains sky130_fd_io device sky130_fd_io__top_analog_pad No CDL file contains sky130_fd_io device sky130_fd_io__top_lvclamp No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vssd_hvc No CDL file contains sky130_fd_io device sky130_fd_io__hvclampv2 No CDL file contains sky130_fd_io device sky130_fd_io__top_ground_hvc_wpad No CDL file contains sky130_fd_io device sky130_fd_io__top_sio_macro No CDL file contains sky130_fd_io device sky130_fd_io__top_power_lvc_wpad No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vssio_lvc No CDL file contains sky130_fd_io device sky130_ef_io__analog_esd_pad No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vssio_hvc No CDL file contains sky130_fd_io device sky130_fd_io__top_vrefcapv2 No CDL file contains sky130_fd_io device sky130_fd_io__corner_bus_overlay No CDL file contains sky130_fd_io device sky130_fd_io__overlay_vccd_hvc No CDL file contains sky130_fd_io device sky130_fd_io__top_hvclamp
I would appreciate any help. I don't know much about linux, make, scripts, bash and all that stuff. Main reason why I like hardware more than software. This is really overwhelming regarding the things that it does behind the curtain and I don't know what I did wrong or if I am missing something.
So far I've been following these instructions: https://www.youtube.com/watch?v=KgBLByOkJxA
The text was updated successfully, but these errors were encountered: