<#1881 linter fails on standard cells> Issue creat...
# openlane-development
g
#1881 linter fails on standard cells Issue created by mattvenn Description with the new linter (which is a great idea btw), it will fail if a design instantiates a standard cell. Example:
Copy code
sky130_fd_sc_hd__dlrtp_1 latch[WIDTH-1:0] (
        .Q(data),
        .D(data_in_buf),
        .RESET_B(reset_n),
        .GATE(empty)
    );
Linter fails with this:
Copy code
%Error: /work/src/latch_fifo.v:50:30: Can't resolve module reference: 'sky130_fd_sc_hd__dlrtp_1'
   50 |     sky130_fd_sc_hd__dlrtp_1 latch[WIDTH-1:0] (
Expected Behavior should be able to directly instantiate standard cells Environment report
Copy code
Kernel: Linux v5.15.0-75-generic
Distribution: ubuntu 20.04
Python: v3.8.10 (OK)
Container Engine: docker v20.10.21 (OK)
OpenLane Git Version: 3bc9d02d0b34ad032921553e512fbe4bebf1d833
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

3bc9d02 2023-06-26T07:48:24+03:00 Use OpenROAD mirror of `lemon-graph` (#1873) - Kareem Farid -  (grafted, HEAD, tag: 2023.06.26)
---
Git Remotes

origin  <https://github.com/The-OpenROAD-Project/OpenLane.git> (fetch)
origin  <https://github.com/The-OpenROAD-Project/OpenLane.git> (push)
Reproduction material https://github.com/MichaelBell/tt03-fifo/blob/main/src/latch_fifo.v Relevant log output
Copy code
[INFO]: Running linter (Verilator) (log: ../work/runs/wokwi/logs/synthesis/linter.log)...
[ERROR]: 2 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
[INFO]: Saving current set of views in '../work/runs/wokwi/results/final'...
The-OpenROAD-Project/OpenLane