hayato kimura
08/15/2023, 7:15 PM[ERROR]: 4 errors found by linter
[ERROR]: Step 0 (verilator_lint_check) failed with error:
-code 1 -level 0 -errorcode NONE -errorinfo {
    while executing
"throw_error"
    (procedure "run_verilator" line 60)
    invoked from within
"run_verilator"
    (procedure "run_verilator_step" line 3)
    invoked from within
"run_verilator_step"} -errorline 1# Run openlane to harden user_proj_example
make user_proj_example
# Run openlane to harden user_project_wrapper
make user_project_wrapperMitch Bailey
08/15/2023, 9:39 PMuser_proj_example/runs/user_proj_example/logs/synthesis/linter.loghayato kimura
08/16/2023, 3:03 AM%Error: Cannot find file containing module: /project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v
%Error: This may be because there's no search path specified with -I<dir>.
        ... Looked in:
             /project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v
             /project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v.v
             /project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v.sv
             obj_dir//project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v
             obj_dir//project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v.v
             obj_dir//project/openlane/user_proj_example/runs/user_proj_example/../../caravel/verilog/rtl/defines.v.sv
%Error: Cannot find file containing module: /project/openlane/user_proj_example/runs/user_proj_example/../../verilog/rtl/user_proj_example.v
%Error: Exiting due to 3 error(s)Mitch Bailey
08/16/2023, 3:59 AMcaravel_user_projectavsdbgp_3v3_sky130_v2hayato kimura
08/17/2023, 2:23 PMcaravel_user_projectverilog/rtl/user_proj_example.v[INFO]: Running linter (Verilator) (log: user_proj_example/runs/user_proj_example/logs/synthesis/linter.log)...
[ERROR]: 4 errors found by linter
[ERROR]: Step 0 (verilator_lint_check) failed with error:
-code 1 -level 0 -errorcode NONE -errorinfo {
    while executing
"throw_error"
    (procedure "run_verilator" line 60)
    invoked from within
"run_verilator"
    (procedure "run_verilator_step" line 3)
    invoked from within
"run_verilator_step"} -errorline 1/home/hayato/test/openlane/user_proj_example/runs/23_08_17_23_02/logs/synthesis/linter.log%Warning-EOFNEWLINE: /home/hayato/test/openlane/user_proj_example/../../verilog/rtl/defines.v:66:28: Missing newline at end of file (POSIX 3.206).
                                                                                                   : ... Suggest add newline.
   66 | `endif // __GLOBAL_DEFINE_H
      |                            ^
                     ... For warning description see <https://verilator.org/warn/EOFNEWLINE?v=5.009>
                     ... Use "/* verilator lint_off EOFNEWLINE */" and lint_on around source to disable this message.
%Error: /home/hayato/test/openlane/user_proj_example/../../verilog/rtl/user_proj_example.v:76:7: syntax error, unexpected real
   76 |   reg real VBGP;
      |       ^~~~
%Error: Exiting due to 1 error(s)user_proj_example.vMitch Bailey
08/17/2023, 9:33 PMavsdbgp_3v3_sky130_v2verilog/rtl/avsdbgp_3v3_sky130v2.vmodule avsdbgp_3v3_sky130_v2 #(
    parameter BITS = 32
)(
  input EN,
  output VBGP
);
  reg real VBGP;
  initial begin
     if (EN == 1'b1) begin
        VBGP <= 1.19;
     end else begin
        VBGP <= 0.0;
     end
  end
  always @(EN) begin
     if (EN == 1'b1) begin
        VBGP <= 1.19;
     end else begin
        VBGP <= 0.0;
     end
  end
endmoduleverilog/rtl/user_proj_example.vVERILOG_FILESVERILOG_FILES_BLACKBOXhayato kimura
08/18/2023, 3:14 AMavsdbgp_3v3_sky130_v2.v%Error: /home/hayato/avsdbgp_3v3_sky130_v2/openlane/user_proj_example/../../verilog/rtl/avsdbgp_3v3_sky130_v2.v:10:7: syntax error, unexpected real
   10 |   reg real VBGP;
      |       ^~~~Mitch Bailey
08/18/2023, 4:24 AMconfig.jsonhayato kimura
08/18/2023, 4:34 AMavsdbgp_3v3_sky130_v2.vVERILOG_FILES_BLACKBOXMitch Bailey
08/18/2023, 4:55 AMimage.png,hayato kimura
08/18/2023, 5:09 AMVERILOG_FILES_BLACKBOXVERILOG_FILESMitch Bailey
08/18/2023, 5:24 AMMitch Bailey
08/18/2023, 5:30 AMVERILOG_FILES_BLACKBOXhayato kimura
08/18/2023, 5:49 AMattached file`avsdbgp_3v3_sky130_v2.v` to bothVERILOG_FILES_BLACKBOX.VERILOG_FILES
Mitch Bailey
08/18/2023, 6:36 AMavsdbgp_3v3_sky130_v2.vavsdbgp_3v3_sky130_v2.bb.vreg real VBGP;
  initial begin
     if (EN == 1'b1) begin
        VBGP <= 1.19;
     end else begin
        VBGP <= 0.0;
     end
  end
  always @(EN) begin
     if (EN == 1'b1) begin
        VBGP <= 1.19;
     end else begin
        VBGP <= 0.0;
     end
  endconfig.jsonhayato kimura
08/19/2023, 1:07 AMMitch Bailey
08/19/2023, 2:52 AMavsdbgp_3v3_sky130_v2.bb.vmodule avsdbgp_3v3_sky130_v2 #(
    parameter BITS = 32
)(
  input EN,
  output VBGP
);
endmodulehayato kimura
08/19/2023, 3:00 AMhayato kimura
08/19/2023, 3:09 AM/home/hayato/avsdbgp_3v3_sky130_v2/openlane/user_proj_example/runs/23_08_19_11_55/logs/synthesis/2-sta.log.This is free software, and you are free to change and redistribute it
under certain conditions; type `show_copying' for details. 
This program comes with ABSOLUTELY NO WARRANTY; for details type `show_warranty'.
define_corners Typical
read_liberty -corner Typical /home/hayato/dependencies/pdks/sky130B/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib
Using 1e-12 for capacitance...
Using 1e+03 for resistance...
Using 1e-09 for time...
Using 1e+00 for voltage...
Using 1e-03 for current...
Using 1e-09 for power...
Using 1e-06 for distance...
Reading netlist '/home/hayato/avsdbgp_3v3_sky130_v2/openlane/user_proj_example/runs/23_08_19_11_55/results/synthesis/user_proj_example.v'…
Error while reading /home/hayato/avsdbgp_3v3_sky130_v2/openlane/user_proj_example/../../verilog/rtl/avsdbgp_3v3_sky130_v2.bb.v:
Make sure that this a gate-level netlist not an RTL file
You can add the following comment '/// sta-blackbox' in the file to skip it and blackbox the modules inside if needed.
Error: /home/hayato/avsdbgp_3v3_sky130_v2/openlane/user_proj_example/../../verilog/rtl/avsdbgp_3v3_sky130_v2.bb.v line 1, syntax error, unexpected '#', expecting ';' or '('Mitch Bailey
08/19/2023, 3:10 AM#( parameter BITS = 32 )/// sta-blackboxavsdbgp_3v3_sky130_v2.bb.vMitch Bailey
08/19/2023, 3:14 AMhayato kimura
08/19/2023, 3:29 AMMitch Bailey
08/19/2023, 4:55 AM"EXTRA_LEFS": "dir::../../lef/avsdbgp_3v3_sky130_v2.lef",
"EXTRA_GDS_FILES": "dir::../../gds/avsdbgp_3v3_sky130_v2.gds",hayato kimura
08/19/2023, 5:22 AMavsdbgp_3v3_sky130_v2Mitch Bailey
08/19/2023, 5:40 AMfind -name '*avsbdgp*'Mitch Bailey
08/19/2023, 5:42 AMMitch Bailey
08/19/2023, 5:51 AMMitch Bailey
08/19/2023, 5:52 AMhayato kimura
08/19/2023, 6:01 AMavsdbgp_3v3_sky130_v2/Layoutcaravel/gds/user_analog_project_wrapper_empty.gdsMitch Bailey
08/19/2023, 6:13 AMuser_proj_exampleavsdbgp_3v3_sky130_v2mag/BGR.magavsdbgp_3v3_sky130_v2lef write -tech -hide 100 -toplayer -pinonly 100lefgds write avsdbgp_3v3_sky130_v2.gdsgdshayato kimura
08/19/2023, 6:23 AMVinayaka Karthik
08/23/2023, 7:22 AM