Soumil Jain
11/22/2022, 4:24 PMSPDX COMPLIANCE FILE UNICODE DECODE EXCEPTION
on doing a precheck locally, for resubmission to mpw-7, which gives me a {{SPDX COMPLIANCE CHECK FAILED}}
message. I have attached the precheck.log and spdx_compliance_report.log for more details.
I was also seeing a warning: HIERARCHY CHECK FAILED: Module user_analog_project_wrapper isn't instantiated in caravan
. I have a user_analog_project_wrapper.spice file in my GitHub repo, which instantiates the user_analog_project wrapper, in case that could be the issue.
I saw these error messages on precheck on the efabless side as well (screenshot attached) for precheck id: 0e178b7f-e795-4431-8a8c-a961effcde9c
.
@Abhinav UppalMitch Bailey
11/22/2022, 4:43 PM/Volumes/export/isn/soumil/efabless/caravan_reram_crossbar/mag/.swp
/Volumes/export/isn/soumil/efabless/caravan_reram_crossbar/precheck_results/22_NOV_2022___01_00_23/logs/.precheck.log.swp
/Volumes/export/isn/soumil/efabless/caravan_reram_crossbar/precheck_results/22_NOV_2022___01_00_23/logs/.spdx_compliance_report.log.swp
/Volumes/export/isn/soumil/efabless/caravan_reram_crossbar/verilog/rtl/.user_defines.v.swo
/Volumes/export/isn/soumil/efabless/caravan_reram_crossbar/verilog/rtl/.user_defines.v.swp
You could try adding .*swp
to .gitignore
.
As for the hierarchy check, I’ll look into it a bit more, but is your user_analog_project_wrapper.spice
in the netgen
directory?Soumil Jain
11/22/2022, 4:46 PMuser_analog_project_wrapper.spice
should be in the netgen
directory.Jorge Marin
11/22/2022, 8:10 PMSoumil Jain
11/22/2022, 11:38 PMuser_defines.v
, .spiceinit
, sky130B_setup.tcl
. I attached screenshots of the latest precheck I ran on the efabless side (precheck id: 070f7fb7-2401-4465-9533-14a080f510b7
).Mitch Bailey
11/22/2022, 11:58 PM.gitignore
file.
Do not delete files that do not begin with .
, as these may be necessary (Makefile
, user_defines.v
).Mitch Bailey
11/23/2022, 12:02 AMSoumil Jain
11/23/2022, 12:22 AM.gitignore
as well. I think the [ERROR] - SPDX COMPLIANCE FILE UNICODE DECODE EXCEPTION
is because of the other necessary files (user_defines.v
, Makefile
, etc).
The documentation for SPDX Compliance failed
on mpw_precheck github mentions we should add SPDX header
in the beginning of the files, but I am unsure of how to go about this..Mitch Bailey
11/23/2022, 12:42 AMMakefile
, etc should have the SPDX header
# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# <http://www.apache.org/licenses/LICENSE-2.0>
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
You shouldn’t have UNICODE exceptions in your files - are you using a language other than English?Soumil Jain
11/23/2022, 12:43 AMSoumil Jain
11/23/2022, 12:45 AMXiaochen Ni
11/23/2022, 12:58 AMMitch Bailey
11/23/2022, 1:04 AMXiaochen Ni
11/23/2022, 6:36 AMMitch Bailey
11/23/2022, 6:44 AMmpw-7h
tag that will hopefully solve this problem.Mitch Bailey
11/23/2022, 8:19 AMmpw-7h
will probably solve the current consistency check problem, but I think it will cause another. I created a pull-request to mpw_precheck
that should patch things, but it’s kinda kludgy, so I don’t know it will be accepted. Testing and feedback appreciated. https://github.com/efabless/mpw_precheck/pull/164Mitch Bailey
11/23/2022, 3:33 PM05fbcdaa43583f438826e9be2e2a258647515cea
) and rerunning. Please post if there are any remaining problems.Soumil Jain
11/23/2022, 8:00 PMHIERARCHY CHECK FAILED: Module user_analog_project_wrapper isn't instantiated in caravan.
However, I still see [ERROR] - SPDX COMPLIANCE FILE UNICODE DECODE EXCEPTION
error messages.
I am also seeing a XOR CHECK FAILED
warning and the following error message: [ERROR] - XOR CHECK FILE NOT FOUND in /Volumes/export/isn/soumil/efabless/caravan_reram_crossbar/precheck_results/23_NOV_2022___19_51_58/logs/xor_check.total
. My gds passed the xor check before.Soumil Jain
11/23/2022, 8:01 PMMitch Bailey
11/24/2022, 12:47 AMLoading "/Volumes/export/isn/soumil/efabless/mpw_precheck/checks/xor_check/erase_box.tcl" from command line.
"sky130(vendor)" is not one of the CIF input styles Magic knows.
the magic tech file has probably been updated.
Can you log an issue to mpw_precheck
?Mitch Bailey
11/24/2022, 2:37 AMcaravan_reram_crossbar/verilog/rtl/.nfs00000000098f8db5000097a0
Why do you have a file system lock file in your repo?
I’m seeing the same SPDX compliance issues.
Found out why these are being flagged, and it looks like a script error, but don’t know why it’s just for you.Mitch Bailey
11/24/2022, 3:36 AMcaravel_reram_crossbar
you won’t get any errors. 😆Mitch Bailey
11/24/2022, 3:50 AMSoumil Jain
11/25/2022, 1:07 AM05fbcdaa43583f438826e9be2e2a258647515cea
.
I logged an issue regarding the xor check on mpw_precheck
- https://github.com/efabless/mpw_precheck/issues/151#issuecomment-1326921868
Running precheck on the efabless side however still throws the SPDX compliance check failed
warning and a SUBMODULE HOOKS CHECK FAILED: The user power port vccd1 is not connected to the correct power domain in the top level netlist. It is connected to mprj/vccd1 but it should be connected to vccd1_core.
warning (precheck id - 48d8f6c0-4b55-4c7a-a844-613bc7dfb6d2
). Screenshots of precheck.log from the efabless side are attached.Soumil Jain
11/25/2022, 1:10 AMMitch Bailey
11/25/2022, 5:37 PMSoumil Jain
11/25/2022, 6:37 PMSoumil Jain
11/27/2022, 3:24 AMOpen Galaxy
platform, using klayout. However, I was unable to locate the sky130B
tech file. Since my design uses rerams from sky130B
variant, these would show up as an unnamed 201/20
layer in klayout with the default sky130A
tech file loaded.
I hope this is just a matter of finding the right location of sky130B
tech file on the open galaxy
platform, and nothing to do with the final gds having a missing reram layer..