Commit Graph

4 Commits

Author SHA1 Message Date
Akash Levy 44e7316da1
Add {`instance`, `cell`, `verilog_src`, `pin`, `net`, `hier_pins`, `capacitance`} fields to `report_checks -format json` for paths (#135)
* Add {`inst`, `cell`, `src`, `nets`} to `report_checks -format json`

* Smallfix

* Improved nets

* Race condition fix

* Fixes

* Small whitespace fix

* Add no paths corner case stuff

* Adjustments to naming of fields

* Requested fixes

* Reintroduce escapeBackslashes, use stringCopy to prevent stack memory warning

* Fix escapeBackslashes to use preferred style

* No backslash escaping

* Make requested fixes
2025-01-13 19:28:04 -08:00
Ethan Mahintorabi 8a46208c4d
Fixes constant integer verilog parsing
Fixes parsing attributes of the form

```systemverilog
  (* bottom_bound = 1'sh0 *)
  sky130_fd_sc_hd__dfrtp_1 _1415_ (
    .CLK(clk),
    .D(in),
    .Q(out),
    .RESET_B(reset)
  );
```

In particular "supporting" the signed indicator.

Co-authored-by: Mike Inouye <mikeinouye@google.com>
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-10-08 20:40:07 +00:00
Akash Levy bbd92a5aef Fix parsing error with >2 attributes 2024-03-27 19:33:58 -07:00
James Cherry 8b5f0caa85 indsentation
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-03-16 09:55:39 -07:00