#84 sky130_fd_sc_lp syntax issue in: comp_attribut...
# general
g
#84 sky130_fd_sc_lp syntax issue in: comp_attribute power_gating_pin attribute Issue opened by msaligane Expected Behavior correct format:
Copy code
power_gating_pin("power_pin_1", \
			  "1");
Actual Behavior some cells in lp lib have the following attribute in their respective .json file:
"comp_attribute power_gating_pin": "power_pin_1\", \"1”,
For example, this cell:
sky130_fd_sc_lp/v0.0.1/cells/srsdfrtp/sky130_fd_sc_lp__srsdfrtp_1__ss_100C_1v60.lib.json
the \” sign will be converted to “ when generating the libs. But the liberty.py has the following assertion line 838:
Copy code
elif isinstance(l, str):
    print(l, (k, v))
    assert '"' not in l, (k, v)
    o.append('"%s"' % l)
which reports an error when “ is found.
This is a json file issue, I think you need to update the “power_gating_pin” attribute in json files in the lp lib. google/skywater-pdk