Commit Graph

127 Commits

Author SHA1 Message Date
James Cherry 981f44db68 update copyright
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-10 14:57:45 -07:00
James Cherry 83d08b5b5c verilog reader use override
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-10 14:57:45 -07:00
Deepashree Sengupta fbe9da3fb7
Fix for OpenSTA issue 398 and OpenROAD issue 9454 with regression (#401)
* Fix for OpenSTA issue 398 and OpenROAD issue 9454 with regression

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* Incorporated feedbacks from previous version

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* rename tests

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* remove unnecessary newline

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* Updated to use network_->portBitIterator

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

---------

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-10 14:57:21 -07:00
James Cherry 28d94b83fa StdStringSet -> StringSet
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:55:12 -07:00
James Cherry 859982bdc7 StdStringSeq -> StringSeq
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:51:50 -07:00
James Cherry 0c36caa182 rm StdString
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 15:16:00 -07:00
James Cherry 48511e09b1 override
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-08 14:07:40 -07:00
Deepashree Sengupta eb0446d4e2
Write verilog escape (#394)
* Fir for write_verilog issue 3826

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* staToVerilog2 remove escaped_name+=ch

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* updated regression to remove \ from module name

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* Using helpers.tcl function to redirect results

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* add std::string and remove trailing space, update regression name

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

* update regression to reflect correct output verilog name

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>

---------

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
2026-03-02 16:48:15 -08:00
James Cherry 741bf4d561 rm using std::
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-03-02 12:13:13 -08:00
James Cherry 0f8d7cffd3 mv StdStringSeq defs to StringUtil.hh
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-02-28 15:53:23 -08:00
James Cherry d42b821c00 rel 3.0
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2026-01-13 09:36:45 -07:00
James Cherry 0dd7d1bbdc rm write_verilog -sort
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-12-12 09:40:45 -07:00
Matt Liberty 4475f89024
Fix C++20 warning (#337)
warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-11-21 07:02:35 -08:00
Matt Liberty 759348402d
Get the pin count from the Liberty cell not the Cell (#334)
The Cell may come from LEF which doesn't have internal pins that
Liberty does.  This used to work by dumb luck where the extra two
power pins in LEF happened to align to the extra two internal pins
from Liberty.  With the change to pg_pins this no longer works.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-11-18 14:20:00 -08:00
James Cherry 8287aec5f6 Verilog make pins for liberty pg_pins resolves #326
commit b4a89c93965c49a8685fd41cb6aee10635d7a7f3
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Nov 7 11:48:10 2025 -0700

    pg_ -> PwrGnd

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

commit 12ddba4bf220cec8459c15e483a871b13e507bf2
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Nov 7 08:56:02 2025 -0700

    pg_port

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

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-11-07 11:55:43 -07:00
ambd161 36e516924f
Recognize some basic specify blocks and ignore them (#309)
* Add parser support for specify blocks and specparam
Treated like regular parameters, and so ignored

* Add regression test

* Apply PR feedback

* missed the verilog_lang
2025-10-12 14:11:00 -07:00
James Cherry 1cc9df8804 remove using std from headers
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-04-11 16:59:48 -07:00
James Cherry ae12d40828 write_verilog wire dcls for NC w/o liberty resolves #221
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-02-26 16:08:13 -08:00
Christian Costa bee31c7d68
Messages: Generates messages ids during build and stop in case of duplicate and fix duplicate messages ids (#210)
* msg: Turn warnings into errors with more explicit meaning and make script returns an error code.

Signed-off-by: Christian Costa <titan.costa@gmail.com>

* msg: Generate messages.txt during build and stop in case of duplicated message ids.

Signed-off-by: Christian Costa <titan.costa@gmail.com>

* msg: Fix duplicate messages ids.

Signed-off-by: Christian Costa <titan.costa@gmail.com>

* msg: Do not fail build on duplicated ids and turn errors into warnings.

Signed-off-by: Christian Costa <titan.costa@gmail.com>

* msg: Remove messages.txt and use full path to it in gitignore.

Signed-off-by: Christian Costa <titan.costa@gmail.com>

---------

Signed-off-by: Christian Costa <titan.costa@gmail.com>
2025-02-12 09:33:13 -08:00
James Cherry be8dc4fa6e compile error from PR#200
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-02-05 13:54:03 -08:00
Cho Moon e04e9d1145
made module deletion optional in linkNetwork (#200)
* made module deletion optional in linkNetwork

Signed-off-by: Cho Moon <cmoon@precisioninno.com>

* merged with master

Signed-off-by: Cho Moon <cmoon@precisioninno.com>

---------

Signed-off-by: Cho Moon <cmoon@precisioninno.com>
2025-02-05 13:32:08 -08:00
James Cherry 398a22e97d LibExpr/spef/saif c++ parsers
commit a686a6f77e555513adc40228471c1ad1af4646b3
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 18:45:44 2025 -0800

    spef compiles

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

commit 986a3a00c246a927c494066c56bb627e55da8692
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 18:45:32 2025 -0800

    spef compiles

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

commit e8664d21c0b404a82967201c19a087c6680b7177
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 16:36:19 2025 -0800

    saif compiles

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

commit 496569018791bff19e57c534f29ac085520fc520
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 15:25:44 2025 -0800

    mv bison error funcs to .yy

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

commit c1e7638840f94eb0baddee47507e607b000ab858
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 14:19:26 2025 -0800

    parser cledanup

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

commit 22bc72af46114ddb4fc5876655887ef1189f2195
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 14:19:06 2025 -0800

    parser cleanup

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

commit caeedc4c9e2bf8e7a2f4aceb4ee4a5758efd1b36
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 12:52:55 2025 -0800

    LibertyParser stack stream

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

commit e029a01c2fc5ba0ed336978c5853d49095d07d66
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 12:10:35 2025 -0800

    bison 3.2 required

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

commit 2ca9423a2d518f51fdee6c41d41348dbfd548bae
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 12:05:19 2025 -0800

    LibertyExpr -> LibExpr

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

commit d64df413675c2978c0f24d5594cc201032233447
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 11:18:05 2025 -0800

    LibertyExpr -> LibExpr

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

commit 57cfbae240984bd7928862b1d6c3b1047ee5d71f
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 10:25:49 2025 -0800

    comment

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

commit 5249ac32d809ba30ce09437d61beaf4360bc2cd8
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 10:24:35 2025 -0800

    parseError

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

commit 8c5442007f99c06bfb16a496e00862353c82282c
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 10:11:46 2025 -0800

    libecxpr parseError unused

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

commit 67dacf60db2c0d7e3f7ceeae672b4bdaf1e039b7
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 10:09:39 2025 -0800

    reader pvt includes

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

commit 1d7097399b4242833bf5a478c903b5d98afe674b
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 09:33:37 2025 -0800

    libexpr life

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

commit cc85e357463399291cb1e7d7b628e5dd356ac8a9
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 31 09:21:12 2025 -0800

    libexpr no location

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

commit e3ef17a746eb4e8822cce732250ae77261d53cf9
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 30 22:15:50 2025 -0800

    compiles

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

commit 3a34874297a5c82930ee0bd131425bccf48526ce
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 30 20:03:06 2025 -0800

    libexpr parse

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

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-02-01 14:49:30 -08:00
Matt Liberty 41d1d1bb7b
Avoid parallel build conflicts (#198)
The Liberty, Sdf, and Verilog parsers were writing to the same files
causing random failures in parallel builds.  position.hh and stack.hh
are removed by switching to 3.0 to 3.2 in the require statement.
location.hh is renamed per-parser with api.location.file.

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
2025-01-30 19:08:36 -08:00
James Cherry 6907f5b3fe mv VerilogReader.hh to include/sta
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-28 09:11:05 -07:00
James Cherry fb6e7f9fa7 liberty parser c++
commit 1abf72bc3430d34a51d82992f1c753f0274a662a
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Jan 27 08:01:04 2025 -0700

    rm unused lib visitors

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

commit 1e76acfc7829a8ba82f96d369fae6225a7361844
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 21:15:46 2025 -0700

    verilog/sdf stream->is_open

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

commit c4a57c0354ffb6c4edfc3269d56a937c11ad9609
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 19:54:41 2025 -0700

    leak

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

commit b992ed1124a862cb04f0c7617a4575f916c3fe01
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 16:39:16 2025 -0700

    liberty mv string_buf to scanner

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

commit 894cbfa5d5b731738dcc60d492689fad9d13bd40
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 16:29:42 2025 -0700

    liberty use regex to parse include file

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

commit 176225849d3fcac0b2be1a5b623270c386daed3d
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 15:48:09 2025 -0700

    liberty include filename

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

commit 516e12721d7185015d8c29e8b16fa185f0f46983
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 15:31:18 2025 -0700

    liberty include

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

commit 32098a2159798dfbb80140927949bb36f480093d
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 15:01:47 2025 -0700

    liberty include

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

commit 880214e632d756c3199b000fee88fd4fdffac371
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 13:55:02 2025 -0700

    liberty include

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

commit ad1efca842a6d7ee608ffd5a19a69885786b77fa
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 10:11:07 2025 -0700

    liberty passes all but include

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

commit e71cf1f39dd09e81cf2b0e5a12dcf51675f2a6fd
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 26 10:01:08 2025 -0700

    liberty parser use class compiles

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

commit 02dea0ff753b0fa12f280661a46e2c0ef2432357
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 25 19:08:06 2025 -0700

    liberty parser compiles

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

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-27 08:33:35 -07:00
James Cherry fafbcb216e verilog parser
commit aa52884df77545280835532c21cb4d024eda5573
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 25 11:20:33 2025 -0700

    zlib optional

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

commit 5a46e0e5d1d9fe806d290fa34a4ad4aa0a9e4899
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 24 19:19:33 2025 -0700

    verilog prefix

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

commit 1b1fbf41c96f96a4c4b9f8b66f16f27688cb47a8
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 24 17:09:32 2025 -0700

    blank

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

commit 72488094a4696414ce5c37a4ab5bb78f4a9750c1
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 24 16:47:55 2025 -0700

    verilog parse reorg

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

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 11:21:40 -07:00
James Cherry 2a4fd08211 update copyright
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-21 18:54:33 -07:00
James Cherry cade6da64d verilog c++ parser
commit 6fac3fee87a3309132b5bdbb731292ecd6410a86
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Jan 21 18:24:18 2025 -0700

    Sta use VerilogReader class

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

commit 05d4bce4bcfcfaa07392b237a596a82315b895b3
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Jan 21 15:14:29 2025 -0700

    vparse

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

commit e977e89b62191688db5c815131fc389d9ce401c5
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Jan 21 11:30:46 2025 -0700

    write_verilog missing port ddcl

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

commit 1742d5d92533559235ea4c42d9ea4bf2d47fb943
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Jan 21 11:23:48 2025 -0700

    verilog escape constexpr

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

commit 226a23092312a37503100d49ab74d4fb1e5856ef
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Jan 20 09:34:32 2025 -0700

    comment

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

commit 63ca4ac5855710427e1ddfc5c2cba8998452d1f0
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 19 19:45:48 2025 -0700

    leaks

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

commit c1d38aa0cc983204b1bb3f49944709e74c831be7
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 19 13:26:07 2025 -0700

    verilog std::string

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

commit 22607b41b9eb9fc71d53214893150afb757a8a56
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 19 11:36:23 2025 -0700

    verilog std::string

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

commit dba2bc939fc58d465229cc2d474705151cd50d05
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 19 10:01:14 2025 -0700

    verilog std::string

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

commit 7d449041a2b75b874038af377d46130b45195a00
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 19 09:18:55 2025 -0700

    verilog std::string

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

commit d02495222838f037f25d131ce1b270a6121cf16f
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sun Jan 19 08:53:47 2025 -0700

    verilog std::string

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

commit 10c5c1040f26c8ebe295d245a641fc913e0ec9f5
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 21:50:12 2025 -0700

    verlog constant use std::string

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

commit 21943c1b63fd36d12de1e5986905e14fe73ce7be
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 17:41:43 2025 -0700

    verilog std::string

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

commit c0232b71ea5137b37d055d83f3da194341aed7a0
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 17:12:47 2025 -0700

    verilog std::string

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

commit c68fd0329ee35b4877763bcdc82e8fe03a3b16de
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 16:54:10 2025 -0700

    verilog std::string

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

commit 3e2dca2140db42acce390ec1a18f29ee4de3c631
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 16:07:19 2025 -0700

    vparse const

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

commit 210196f9e5a63dfdd5ed45a418388b7ec74ade07
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 12:31:13 2025 -0700

    verilog parse centos7

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

commit b8e1882121ac1763e767d299fd929bdfb07c5ffb
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 10:21:48 2025 -0700

    verilog names string*

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

commit c455723c5801d2d7386e7d1d53a0f9fb501c0c03
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 09:51:47 2025 -0700

    verilog reader names

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

commit 47307b1d8a61abab91195969be8708a7646bbfe3
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 18 09:21:30 2025 -0700

    valgrind

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

commit 0de49ba76cb0d1e06f93868676b73b4cd2ee609e
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 15 16:50:56 2025 -0700

    suppress yynerrs_ warning

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

commit dbe2ba18d99d850ba5ebb1c75a4165bfff2df96d
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 15 16:37:14 2025 -0700

    cmake bison target names

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

commit 388be6c2aa69b839a53be78bafab420216554944
Author: James Cherry <cherry@parallaxsw.com>
Date:   Tue Jan 14 08:57:02 2025 -0700

    network link func rm repor, network args

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

commit f50d5b23aff126e7d396a555f06eae5597ec1354
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Jan 13 19:48:44 2025 -0700

    verilog reader use gzstream

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

commit 8a0c8ce09087cceef36824de3656b5c7cea9f0f0
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Jan 13 18:02:40 2025 -0700

    VerilogScanner::error

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

commit 413093e46e523d90e45a4c56ecaa25e4457998aa
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 10 18:27:53 2025 -0700

    rm verilog_network

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

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

    rm verilog_reader except link

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

commit cfc34aa41a5fe1942867c73061ae483e36c74f54
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 10 17:04:33 2025 -0700

    verilog reader rm line_

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

commit 62dd98b7cb800acc61192b0f326d4a3278e1a72d
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 10 16:26:09 2025 -0700

    verilog parse use location

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

commit ad6c26984526312134d03c0f39d3fcd63617efa4
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 4 11:04:16 2025 -0800

    verilog parse error

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

commit 1bff12c8c49c847de015dd32042cccf7952a2060
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Jan 4 08:00:40 2025 -0800

    attribute -> Attr

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

commit e8372df18a5374b2c9ca8f094a244d06c59a9f4e
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 3 17:57:21 2025 -0800

    verilog rm string_buf

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

commit 785818f10108f689b4ea978a13d0131546f1a4e5
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 3 16:10:10 2025 -0800

    verilog parse use std::string

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

commit 95265fc4ad30325f115eb69d10c77afe3f265701
Author: James Cherry <cherry@parallaxsw.com>
Date:   Fri Jan 3 15:44:31 2025 -0800

    verilog parser const char * -> string*

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

commit b80db6d98057363f90a9497b10073f84c2e7cc3d
Author: James Cherry <cherry@parallaxsw.com>
Date:   Thu Jan 2 08:31:06 2025 -0800

    bison warning

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

commit df3b61bf7d590c241ee513eacfb1c7dff2a450d8
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 1 17:04:17 2025 -0800

    verilog parse works

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

commit 8b5a8fbb7042ceb58fbb24b836664a1da6028c45
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 1 16:15:44 2025 -0800

    rm VerilogParser.hh

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

commit 07bc0cc9c160e9dbe705f4c359973cc35342e05e
Author: James Cherry <cherry@parallaxsw.com>
Date:   Wed Jan 1 15:59:57 2025 -0800

    verlog parse compiles

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

commit 8d32f5f3d5e6a252cdb2020c62742f01b1c66f63
Author: James Cherry <cherry@parallaxsw.com>
Date:   Mon Dec 30 09:14:13 2024 -0800

    verilog parser

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

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-21 18:35:21 -07:00
James Cherry fc92c8411d write_verilog escape cell names resolves #187
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-21 11:00:11 -07:00
James Cherry e1b0aa8c9f network top instance name use cell name
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-15 17:22:22 -07:00
James Cherry adaf73cb3a verilog reader cleanups
commit 1f29e7bd737c70e408d61cd6c55be567a97c2aec
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Dec 28 15:31:41 2024 -0800

    mv unconnected_net_name_  into VerilogReader

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

commit 1824cc9609c6b3d44792ebfa19b550472ff1306d
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Dec 28 14:45:22 2024 -0800

    verilog reader use std::string for filename

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

commit 8d1d4c6639c54efcae85c476d46734e50909854c
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Dec 28 13:49:59 2024 -0800

    attribute_stmts() -> attributeStmts()

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

commit 7e6bb731a279c0827a43dd3f66ab5885aea73014
Author: James Cherry <cherry@parallaxsw.com>
Date:   Sat Dec 28 13:47:15 2024 -0800

    Sta::readerilog

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

Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-12-28 15:48:18 -08:00
James Cherry a2d445b00a write_verilog unconnected wire dcls for non-top level modules
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-21 11:33:11 -07:00
James Cherry 1dbcb32923 write_verilog separate cell search from write
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-21 08:05:17 -07:00
James Cherry 221835137f issue109 write_verilog seg fault
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-10-19 16:30:59 -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 5e855dd989 mv copyright to top in swig files
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-07-24 09:04:08 -07:00
James Cherry d0287e5a47 rel 2.6.0
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-07-24 09:04:08 -07:00
James Cherry 6c1322b6ee write_verilog -include_pwr_gnd
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-06-02 21:15:27 -07:00
James Cherry 2b0d0f9d23 write_verilog wire dcls respect -include_pwr_gnd
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-05-27 19:33:43 -07:00
James Cherry fdca0dff7a write_verilog use inout for power/ground
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-04-24 09:34:21 -07:00
Ethan Mahintorabi 7335731753
Fixes memory leak in verilog attribute code.
There appears to be two leaks one with string handling, and
one with Dcl not freeing the attribute stmt list when it returns
nullptr.

Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-04-22 21:54:12 +00:00
James Cherry b6cdea9566 verilog dup name
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-03-29 16:16:46 -07:00
James Cherry 01f1fc7642 verilog dup name
Signed-off-by: James Cherry <cherry@parallaxsw.com>
2024-03-29 14:39:24 -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 a59adbb019
format yacc file
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-03-10 04:45:55 +00:00
Ethan Mahintorabi 36c1bade14
moving attribute types to std::string
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-03-09 22:02:21 +00:00
Ethan Mahintorabi ad6f4cd3b1
format fixes
Signed-off-by: Ethan Mahintorabi <ethanmoon@google.com>
2024-03-09 22:02:21 +00:00
Ethan Mahintorabi ecd9a34360
update clang format
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