skywater-pdk icon indicating copy to clipboard operation
skywater-pdk copied to clipboard

Invalid verilog syntax at sky130_fd_sc_hd__dlxbn.behavioral.pp.v and sky130_fd_sc_hd__dlxbn.behavioral.v

Open Manarabdelaty opened this issue 4 years ago • 3 comments

Expected Behavior

Verilog views shouldn't have any syntax errors.

Actual Behavior

The behavioral model for the sky130_fd_sc_hd__dlxbn has an invalid verilog syntax at wire 1;

The issue exists in the following two files: https://cs.opensource.google/skywater-pdk/sky130_fd_sc_hd/+/master:cells/dlxbn/sky130_fd_sc_hd__dlxbn.behavioral.v;l=62 https://cs.opensource.google/skywater-pdk/sky130_fd_sc_hd/+/master:cells/dlxbn/sky130_fd_sc_hd__dlxbn.behavioral.pp.v;l=64

Steps to Reproduce the Problem

Compiling the verilog files using iverilog will flag a syntax error at wire 1;

  1. iverilog sky130_fd_sc_hd__dlxbn.behavioral.v
  2. iverilog sky130_fd_sc_hd__dlxbn.behavioral.pp.v

Specifications

  • Version:
  • Platform:

Manarabdelaty avatar Jan 26 '21 12:01 Manarabdelaty

this causes problems in gate level simulation. Work-around currently is to comment out the wire 1 lines.

mattvenn avatar Feb 04 '21 13:02 mattvenn

for my version of the PDK (installed by OpenLANE tagged mpw-one-b), the 2 lines are on 49033 & 49175 of sky130A/libs.ref/sky130_fd_sc_hd/verilog/sky130_fd_sc_hd.v

mattvenn avatar Feb 16 '21 15:02 mattvenn

Corrected in pull request #4 to https://github.com/efabless/skywater-pdk-libs-sky130_fd_sc_hd fork, which automatically updates the upstream repos.

RTimothyEdwards avatar Mar 05 '21 14:03 RTimothyEdwards