Commit Graph

71 Commits

Author SHA1 Message Date
James Cherry b2646a96d0 power use density instead of activity
commit f9ac0ee51e238b30c4ace2d925344da612ccccee
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 17 13:00:30 2025 -0700

    doc

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 4619c083ef70c19e4cae71b351ccf25190983f11
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 17 10:02:50 2025 -0700

    activity -> density

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit aad7d4c03a9138f0b00a9d7a756bf183760df8eb
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 16 22:14:39 2025 -0700

    power all but 2 regressions

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 2d9465c6e5035d221fc4d3ec32f4997a28aa9877
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 16 16:22:32 2025 -0700

    power activity -> densiity

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 5d3c6ef2c3b178cf8f4958fcc6cdc37ccac4a067
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 16 11:54:05 2025 -0700

    power1 passes

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit f8344e412eb398067d83387fec52b352bbd7eb06
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 16 10:30:04 2025 -0700

    set_power_activity -density

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-17 13:02:13 -07:00
Akash Levy fbb4b8c6e6
Add error/warning suppression with `suppress_msg` and `unsuppress_msg` commands (#157)
* Add error/warning suppression with `suppress_msg` and `unsuppress_msg` commands

* Fixes

* Merge docs

* Fixes

* Remove optional arg from class

* Add where to find message codes

* Update docs

* Requested fixes

* Deal with errors on the TCL side instead of C++ side

* Update ok file

* Add back in C++ side error suppression and have tests for both C++/TCL side suppression

* Requested fixes to ChangeLog and unifying suppression in C++/TCL

* Requested fixes

* Requested test adjustments

* Smallfixes

* Smallfixes

* Another smallfix
2025-01-17 11:20:19 -08:00
Akash Levy 068183a49f
CCSN PR fixes (#178)
* Ignore CCSN groups

* Smallfixes: reduce CCSN lib size, comment

* Reduce size of CCSN testcase

* Remove ooo record_sta_tests
2025-01-16 09:35:38 -08:00
James Cherry e7eebc98a3 read_vcd, report_activity_annotation resolves #162 resolves $158
commit 02be8357f8ba158292faab0e8d8b8d220e69c842
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 15 15:59:20 2025 -0700

    sort regressions

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit b0e1d863d34853b70d342c6bb0baa400a08db207
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 15 15:44:07 2025 -0700

    PowerResult::incf*

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 23ed0ed05d8bbf83cc5b6fa7598f1253cbe2b222
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 12 17:49:24 2025 -0700

    gzip vcd/saif

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit a5a1a7b80e00b2deb51505b2e60312e3c29284fe
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 12 17:12:09 2025 -0700

    report_activity_annotation sort pins

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 6c149cc6d66addda4eee5f56dbe4731876f1efa9
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 12 16:47:02 2025 -0700

    vcd/saif do not annotate internal pins

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit fe8c7c7fc7b2878cb16c7d2a57e1161555f9a36f
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 11 17:09:22 2025 -0700

    report_activity_annotation

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 8a8f87ba05c6c6f31017288d573c23e92cac4f9e
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 10 11:57:22 2025 -0700

    ReadVcdActivies factor VcdCountReader

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit aa70ae987c4a749e53ae2f93c8ff04a3c28b0b08
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 10 09:06:09 2025 -0700

    vcd high time

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 242493e992949ee72493f4f15a0fe92630ad2f03
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 9 17:14:02 2025 -0700

    comment

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 8621a83d7abf5efcf54c24a1a16bba0c8eb5e441
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 9 17:11:22 2025 -0700

    ReadVcdActivities rm sta_

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit fc0327c39c5aef6d09580795f6a13abf9b9f8266
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 9 09:36:30 2025 -0700

    var name

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit a5b6e2ac66cef9355a9a87edcc185b483f5781ce
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 9 08:23:50 2025 -0700

    vcd passes

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit c0f6d268542b3dd431882cfa4e3d131d6d2fb933
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 20:19:27 2025 -0700

    vcd

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 8181e206ee39e4c3fdd69ef1d3463092763c3d2b
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 19:41:59 2025 -0700

    vcd debug

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 652736654b853d1f7fb64545c6a48500e1e3b83f
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 19:17:06 2025 -0700

    vcd bus support

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 03c877512d92b0148fd62cbc636da58ef6fb25ff
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 19:11:21 2025 -0700

    vcd

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 53bbd97a28d619ca87a546f34a3643c227b9df78
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 16:02:47 2025 -0700

    rm Vcd structs, ReadVcdActivities -> VcdReader

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 745efff41221c3b06ba19931e4f8a58e5b0758ae
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 15:46:49 2025 -0700

    vcd skip hpins

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit a9a6177e8b671f0619809611984ed16f2d1a5b7a
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 15:39:41 2025 -0700

    ReadVcdActivies rm vcd_

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 8b51b13b02c257d10385312d246e0da1f11b72f2
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 15:28:31 2025 -0700

    power_vcd1 passes

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 744669797d1a4189c417d9d2f359cbd1f5bc7113
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 8 10:16:35 2025 -0700

    vcd

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 0f0aeac1cd8349302b758ce4b79fd753063565f2
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Jan 6 16:20:13 2025 -0800

    vcd reader

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 01d296ce9b3ad8ac7e6dddf28a41a718b4138869
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 5 16:08:41 2025 -0800

    vcd rm max_var_width

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 9ffdb19074e5c38464b88ead0ec751ae7d3c506c
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 5 16:03:06 2025 -0800

    vcd rm max_var_name_length_

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 5c577143d4a166bd133a9d97d1761b52b8e122dd
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 5 15:58:29 2025 -0800

    ReadVcdActivities isa VcdReader

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 6914405d0799b967a92634fe1aa251aaea4cdfbc
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 4 17:24:57 2025 -0800

    vcd parse rm StaState dependence

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit a0bd7aa5eee2e87c883776bf4840d117335e4a8b
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 4 16:41:55 2025 -0800

    vcd headers

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

commit 4842d19d7a5c47d6ee46f297cb9404ab77fe2662
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 4 15:59:46 2025 -0800

    refactor vcd parser

    Signed-off-by: James Cherry <cherry@parallaxsw.com>

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-15 16:20:21 -07:00
Akash Levy 9c24e1a757
Ignore CCSN groups (#176) 2025-01-15 09:35:40 -08:00
James Cherry 7c2da8ab3d report_json1/2.tcl rm redirection
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-15 09:24:53 -07:00
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
James Cherry c6ea49bd2d docker valgrind
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-11 10:04:11 -07:00
Akash Levy adfafa9b10
Fix for non-standard latches (#151)
* latch_3port

* Smallfixes

* Review amendments

* Smallfix

* Add comments to describe cases
2024-12-19 15:02:03 -08:00
Akash Levy 70d52c2fe0
Make `is_memory` property more sensitive for cells and libcells by also matching on `memory` groups (#129)
* Add `has_memory` property

* Whitespace fixes

* Remove unused argument name

* Review fixes

* Move gf180mcu_sram.lib.gz from examples/ to test/

* Fix tcl script

* Switch to is_memory

* Remove is_memory_cell
2024-11-20 15:10:12 -08:00
Akash Levy 7def9a256e
Add `-of_objects` key to `get_lib_pins` (#128) 2024-11-16 14:05:34 -08:00
James Cherry bb0fb8fbbe regression valgrind
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-11-09 14:51:28 -08:00
James Cherry 900c762ddb regression cleanup .run files
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-19 16:11:18 -07:00
Akash Levy 61fefed647
Add `src_attr` field (#108) 2024-10-15 17:28:52 -07: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
James Cherry b04def2de0 compress example liberty files
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-05 18:12:23 -07:00
Akash Levy 36f13a2d3e Revisions 2024-09-24 21:20:10 -07:00
Akash Levy 3c98be53e4 Add ok file for get_noargs_objrefs 2024-09-21 18:51:53 -07:00
Akash Levy a31a67b7df Allow SDC `get_*` with 0 args and on object references 2024-09-21 18:51:11 -07:00
Akash Levy 4f62e54542 Follow testing guidelines and specify unateness 2024-09-13 00:57:41 -07:00
Akash Levy 28177e93f7
Merge branch 'parallaxsw:master' into libarcs_smallfix 2024-09-13 00:41:49 -07:00
Akash Levy 9c7cfb4efb Use report_edges instead 2024-09-12 18:15:17 -07:00
Akash Levy 13e1dd395a Update docs and make tests self-descriptive 2024-09-12 11:02:12 -07:00
Akash Levy f77647a3e8 Smallfix to get tests consistently passing in regression 2024-09-09 20:16:26 -07:00
Akash Levy 5120bb98e1 Allow boolean attributes to be used in `get_* -filter` expressions without comparison 2024-08-19 15:02:42 -07:00
Akash Levy 93005762b3 Use asap7_small lib for speed 2024-08-12 20:50:21 -07:00
Akash Levy ed1bab9d6c
Merge branch 'parallaxsw:master' into master 2024-08-12 20:45:29 -07:00
James Cherry b59b963c6a test/asap7_small.lib.gz
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-08-12 20:32:42 -07:00
Akash Levy 6bfe592d87 Revisions 2024-08-12 20:16:49 -07:00
Akash Levy 175f68584f Revisions based on feedback 2024-08-12 19:40:49 -07:00
Akash Levy 992b3d1703 Add tests and fixes to get tests passing 2024-08-12 04:08:19 -07:00
Akash Levy f5284ca53d Rename files as requested 2024-08-01 21:14:48 -07:00
Akash Levy 17a2a240cc Improve test case clarity 2024-07-31 21:12:00 -07:00
Akash Levy 504ccb97eb One-to-one mismatched widths: partial timing arc creation 2024-07-31 20:48:36 -07:00
James Cherry 93b13c0533 rm ccs_sim dcalc
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-07-24 09:04:08 -07:00
James Cherry 40f8453dc3 prima delay calc
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-06-30 14:44:31 -07:00
James Cherry 6af5583baf power ok
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-06-11 21:08:58 -07:00
James Cherry e81d3c5d9d issue38 ccs_sim1
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-06-05 10:38:41 -07:00
James Cherry e158ded82e CCS sim delay calc
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-04-19 17:27:21 -07: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
Ethan Mahintorabi 2a379d1b7c
simplifying test cases and adding test for instance attributes
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-03-10 01:57:07 +00:00
Ethan Mahintorabi 1fd97b479f
update ok file attribute_parsing
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-03-09 22:02:21 +00:00
Ethan Mahintorabi 74e41a6d2a
adding ok files for attribute parsing test
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-03-09 22:02:20 +00:00
Ethan Mahintorabi 414e4e44aa
Initial Pass at Attribute parsing 2024-03-09 22:02:19 +00:00
James Cherry e7e29694ab record_sta_tests
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-03-08 10:06:53 -07:00
James Cherry 422a5819bd update copyright
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-01-11 16:34:49 -08:00
James Cherry 5541898464 okfiles
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-01-11 16:27:34 -08:00
James Cherry 086ae4ae3f report_power clock power
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2023-10-20 17:27:09 -07:00
James Cherry 6eb9a5e7f3 read_power_activities use sdc names
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2023-10-19 19:40:21 -07:00