]> Nick Gasson's Git Repositories - nvc.git/log
nvc.git
2 days agoParse Verilog for loops master github/master sr.ht/master
Nick Gasson [Tue, 14 Jan 2025 20:45:55 +0000 (20:45 +0000)]
Parse Verilog for loops

4 days agoPSL built-in functions are only allowed where Boolean would be
Nick Gasson [Mon, 13 Jan 2025 20:27:54 +0000 (20:27 +0000)]
PSL built-in functions are only allowed where Boolean would be

Issue #1001

4 days agoReplace redundant copy of libraryName with missing copy of modelName (#1132)
Simon Voigt Nesbo [Mon, 13 Jan 2025 08:31:08 +0000 (09:31 +0100)]
Replace redundant copy of libraryName with missing copy of modelName (#1132)

5 days agoFix crash with call with too many named arguments. Issue #1091 (#1130)
NikLeberg [Sun, 12 Jan 2025 09:13:25 +0000 (22:13 +1300)]
Fix crash with call with too many named arguments. Issue #1091 (#1130)

6 days agoBump version to 1.16-devel
Nick Gasson [Sat, 11 Jan 2025 10:53:59 +0000 (10:53 +0000)]
Bump version to 1.16-devel

6 days agoUpdate for 1.15 release v1.15-branch github/v1.15-branch sr.ht/v1.15-branch r1.15.0
Nick Gasson [Sat, 11 Jan 2025 10:44:05 +0000 (10:44 +0000)]
Update for 1.15 release

6 days agoUpdate OSVVM and UVVM versions
Nick Gasson [Sat, 11 Jan 2025 10:32:19 +0000 (10:32 +0000)]
Update OSVVM and UVVM versions

6 days agoFix mis-parsed comment inside PSL directive. Fixes #1129
Nick Gasson [Sat, 11 Jan 2025 09:51:36 +0000 (09:51 +0000)]
Fix mis-parsed comment inside PSL directive. Fixes #1129

6 days agoAvoid heap allocation in type_set_push
Nick Gasson [Sat, 11 Jan 2025 09:29:08 +0000 (09:29 +0000)]
Avoid heap allocation in type_set_push

6 days agoSpurious error when trying to apply condition conversion operator
Nick Gasson [Sat, 11 Jan 2025 09:13:16 +0000 (09:13 +0000)]
Spurious error when trying to apply condition conversion operator

Fixes #1124

8 days agoCorrect VHPI type name for nested array element subtype
Nick Gasson [Thu, 9 Jan 2025 20:15:23 +0000 (20:15 +0000)]
Correct VHPI type name for nested array element subtype

Fixes #1127

8 days agoAdd support for `'*_name` attributes of generate block label (#1126)
NikLeberg [Thu, 9 Jan 2025 19:52:09 +0000 (08:52 +1300)]
Add support for `'*_name` attributes of generate block label (#1126)

Fixes #1125

8 days agoFix crash with invalid range type for aggregate (#1123)
NikLeberg [Thu, 9 Jan 2025 19:48:15 +0000 (08:48 +1300)]
Fix crash with invalid range type for aggregate (#1123)

10 days agoFix crash with invalid aggregate field name (#1121)
NikLeberg [Tue, 7 Jan 2025 20:58:20 +0000 (09:58 +1300)]
Fix crash with invalid aggregate field name (#1121)

12 days agoPSL never properties always fail. Fixes #1117
Nick Gasson [Sun, 5 Jan 2025 16:57:48 +0000 (16:57 +0000)]
PSL never properties always fail. Fixes #1117

12 days agoFix assertion failure after local allocation in property
Nick Gasson [Sun, 5 Jan 2025 16:57:02 +0000 (16:57 +0000)]
Fix assertion failure after local allocation in property

Issue #1117

12 days agoImprove tracing of vhpi_register_cb parameters
Nick Gasson [Sun, 5 Jan 2025 15:29:27 +0000 (15:29 +0000)]
Improve tracing of vhpi_register_cb parameters

Issue #1114

12 days agoFix crash instantiating a subprogram containing a file type
Nick Gasson [Sun, 5 Jan 2025 13:59:45 +0000 (13:59 +0000)]
Fix crash instantiating a subprogram containing a file type

Fixes #1118

12 days agoFix crash with instantiation of unexpected kind (#1120)
NikLeberg [Sun, 5 Jan 2025 13:55:01 +0000 (02:55 +1300)]
Fix crash with instantiation of unexpected kind (#1120)

12 days agoFix crash in overload check of invalid alias declarations (#1119)
NikLeberg [Sun, 5 Jan 2025 13:54:40 +0000 (02:54 +1300)]
Fix crash in overload check of invalid alias declarations (#1119)

2 weeks agoWrong debug output for VHPI callback in vhpiDisable state
Nick Gasson [Thu, 2 Jan 2025 20:48:08 +0000 (20:48 +0000)]
Wrong debug output for VHPI callback in vhpiDisable state

Issue #1114

2 weeks agoFix crash when PSL sequence starts with indexed name. Fixes #1115
Nick Gasson [Thu, 2 Jan 2025 20:47:11 +0000 (20:47 +0000)]
Fix crash when PSL sequence starts with indexed name. Fixes #1115

2 weeks agoCorrect error location after Verilog macro expansion
Nick Gasson [Tue, 31 Dec 2024 22:18:37 +0000 (22:18 +0000)]
Correct error location after Verilog macro expansion

2 weeks agoDefine Verilog preprocessor macros on command line
Nick Gasson [Mon, 30 Dec 2024 20:17:06 +0000 (20:17 +0000)]
Define Verilog preprocessor macros on command line

Based on code from @Blebowski in #1110

2 weeks agoCache external names at use site
Nick Gasson [Sat, 28 Dec 2024 21:22:39 +0000 (21:22 +0000)]
Cache external names at use site

2 weeks agoMove all external name resolution to runtime
Nick Gasson [Sat, 28 Dec 2024 18:56:39 +0000 (18:56 +0000)]
Move all external name resolution to runtime

2 weeks agoAdd intrinsics for unsigned comparison
Nick Gasson [Sat, 28 Dec 2024 15:01:15 +0000 (15:01 +0000)]
Add intrinsics for unsigned comparison

2 weeks agoFix corner case with trigger update order
Nick Gasson [Sat, 28 Dec 2024 13:20:49 +0000 (13:20 +0000)]
Fix corner case with trigger update order

2 weeks agoEnsure thread-local buffer is reset correctly
Nick Gasson [Sat, 28 Dec 2024 12:54:56 +0000 (12:54 +0000)]
Ensure thread-local buffer is reset correctly

2 weeks agoElide driver update in some cases
Nick Gasson [Sat, 28 Dec 2024 10:57:39 +0000 (10:57 +0000)]
Elide driver update in some cases

2 weeks agoDisable output port collapsing
Nick Gasson [Fri, 27 Dec 2024 22:33:32 +0000 (22:33 +0000)]
Disable output port collapsing

2 weeks agoOptimised copy and comparison functions in runtime
Nick Gasson [Fri, 27 Dec 2024 21:54:03 +0000 (21:54 +0000)]
Optimised copy and comparison functions in runtime

2 weeks agoOptimise conversion function memory usage
Nick Gasson [Sun, 22 Dec 2024 15:40:01 +0000 (15:40 +0000)]
Optimise conversion function memory usage

3 weeks agoAdd redzone around runtime static allocations
Nick Gasson [Fri, 27 Dec 2024 11:41:43 +0000 (11:41 +0000)]
Add redzone around runtime static allocations

3 weeks agoFix unused variable warning on release build
Nick Gasson [Thu, 26 Dec 2024 11:23:56 +0000 (11:23 +0000)]
Fix unused variable warning on release build

3 weeks agoFix 'last_active when port has conversion function
Nick Gasson [Wed, 25 Dec 2024 19:35:11 +0000 (19:35 +0000)]
Fix 'last_active when port has conversion function

3 weeks agoRemove remaining uses of ptr_list_t
Nick Gasson [Wed, 25 Dec 2024 17:20:08 +0000 (17:20 +0000)]
Remove remaining uses of ptr_list_t

3 weeks agoRefactor implementation of conversion functions. Fixes #1094
Nick Gasson [Thu, 19 Dec 2024 21:23:02 +0000 (21:23 +0000)]
Refactor implementation of conversion functions. Fixes #1094

3 weeks agoFix 'driving_value when prefix is a record
Nick Gasson [Sat, 21 Dec 2024 10:31:48 +0000 (10:31 +0000)]
Fix 'driving_value when prefix is a record

3 weeks agoFix crash with type interface in function parameters. Issue #1108 (#1111)
NikLeberg [Sun, 22 Dec 2024 12:20:18 +0000 (02:20 -1000)]
Fix crash with type interface in function parameters. Issue #1108 (#1111)

4 weeks agoMake usage of signal initial / driving area more explicit
Nick Gasson [Fri, 20 Dec 2024 18:28:05 +0000 (18:28 +0000)]
Make usage of signal initial / driving area more explicit

4 weeks agoParse Verilog concatenation
Nick Gasson [Thu, 19 Dec 2024 19:28:48 +0000 (19:28 +0000)]
Parse Verilog concatenation

4 weeks agoParse more Verilog datatypes
Nick Gasson [Thu, 19 Dec 2024 08:59:54 +0000 (08:59 +0000)]
Parse more Verilog datatypes

4 weeks agoParse Verilog `begin_keywords and `end_keywords
Nick Gasson [Wed, 18 Dec 2024 22:15:26 +0000 (22:15 +0000)]
Parse Verilog `begin_keywords and `end_keywords

4 weeks agoHandle external name referencing package body
Nick Gasson [Wed, 18 Dec 2024 22:03:52 +0000 (22:03 +0000)]
Handle external name referencing package body

4 weeks agoHandle `undef in Verilog preprocessor
Nick Gasson [Tue, 17 Dec 2024 20:25:35 +0000 (20:25 +0000)]
Handle `undef in Verilog preprocessor

4 weeks agoParse Verilog conditional expression and more binary operators
Nick Gasson [Tue, 17 Dec 2024 20:01:08 +0000 (20:01 +0000)]
Parse Verilog conditional expression and more binary operators

4 weeks agoFix crash when new instance with generics is created. (#1107)
NikLeberg [Tue, 17 Dec 2024 13:06:37 +0000 (03:06 -1000)]
Fix crash when new instance with generics is created. (#1107)

4 weeks agoFix crash with duplicate aliases in name resolution. (#1106)
NikLeberg [Tue, 17 Dec 2024 13:06:05 +0000 (03:06 -1000)]
Fix crash with duplicate aliases in name resolution. (#1106)

4 weeks agoParse Verilog parameter declarations
Nick Gasson [Mon, 16 Dec 2024 21:01:33 +0000 (21:01 +0000)]
Parse Verilog parameter declarations

4 weeks agoFix crash with missing choices in aggregate. (#1104)
NikLeberg [Tue, 17 Dec 2024 08:48:29 +0000 (22:48 -1000)]
Fix crash with missing choices in aggregate. (#1104)

4 weeks agoMark onehot,onehot0 PSL built-ins as implemented. (#1105)
Ondrej Ille [Tue, 17 Dec 2024 08:19:52 +0000 (09:19 +0100)]
Mark onehot,onehot0 PSL built-ins as implemented. (#1105)

Co-authored-by: ondrej.ille <ondrej.ille@tropicsquare.com>
4 weeks agoRefactor driving and effective value calculation
Nick Gasson [Sun, 15 Dec 2024 18:58:08 +0000 (18:58 +0000)]
Refactor driving and effective value calculation

4 weeks agoParse Verilog wait statements
Nick Gasson [Sat, 14 Dec 2024 20:50:12 +0000 (20:50 +0000)]
Parse Verilog wait statements

4 weeks agoVerilog relational operators
Nick Gasson [Sat, 14 Dec 2024 17:53:05 +0000 (17:53 +0000)]
Verilog relational operators

4 weeks agoImprove error when no overload applicable in context
Nick Gasson [Sat, 14 Dec 2024 15:52:07 +0000 (15:52 +0000)]
Improve error when no overload applicable in context

4 weeks agoWarn if VHPI non-object callback has non-NULL obj/value/time fields
Nick Gasson [Sat, 14 Dec 2024 13:01:31 +0000 (13:01 +0000)]
Warn if VHPI non-object callback has non-NULL obj/value/time fields

Fixes #1097

4 weeks agoSet exit code from vhpi_assert (#1060)
Nick Gasson [Sat, 14 Dec 2024 12:31:43 +0000 (12:31 +0000)]
Set exit code from vhpi_assert (#1060)

4 weeks agoJIT support for Windows-on-Arm
Nick Gasson [Sat, 14 Dec 2024 10:49:08 +0000 (10:49 +0000)]
JIT support for Windows-on-Arm

4 weeks agoTentatively re-enable wave tests on Windows
Nick Gasson [Sat, 14 Dec 2024 10:47:41 +0000 (10:47 +0000)]
Tentatively re-enable wave tests on Windows

5 weeks agoLimit object graph traversal in gc_mark_from_root. Issue #1098
Nick Gasson [Fri, 13 Dec 2024 19:59:12 +0000 (19:59 +0000)]
Limit object graph traversal in gc_mark_from_root. Issue #1098

5 weeks agoDo missing object type check only once at startup
Nick Gasson [Fri, 13 Dec 2024 19:40:54 +0000 (19:40 +0000)]
Do missing object type check only once at startup

5 weeks agoUpdate README to include the Surfer waveform viewer (and minor fixes) (#1101)
Oscar Gustafsson [Fri, 13 Dec 2024 09:54:35 +0000 (10:54 +0100)]
Update README to include the Surfer waveform viewer (and minor fixes) (#1101)

5 weeks agoAdd PSL 2010 features breakdown to HTML docs. (#1081)
Ondrej Ille [Thu, 12 Dec 2024 10:41:29 +0000 (11:41 +0100)]
Add PSL 2010 features breakdown to HTML docs. (#1081)

5 weeks agoRaise error when entity aspect is missing in configuration specification. (#1092)
NikLeberg [Thu, 12 Dec 2024 09:22:03 +0000 (23:22 -1000)]
Raise error when entity aspect is missing in configuration specification. (#1092)

5 weeks agoPass Vivado vhdl_analyze_order to nvc -a -f directly. Fixes #1098
Nick Gasson [Wed, 11 Dec 2024 21:47:01 +0000 (21:47 +0000)]
Pass Vivado vhdl_analyze_order to nvc -a -f directly. Fixes #1098

5 weeks agoSlightly improve code generation for object_visit
Nick Gasson [Wed, 11 Dec 2024 21:45:04 +0000 (21:45 +0000)]
Slightly improve code generation for object_visit

5 weeks agoError rather than crash on incremental binding. Issue #1096
Nick Gasson [Wed, 11 Dec 2024 21:20:05 +0000 (21:20 +0000)]
Error rather than crash on incremental binding. Issue #1096

5 weeks agoTweak reporting of invalid formal names
Nick Gasson [Wed, 11 Dec 2024 20:53:27 +0000 (20:53 +0000)]
Tweak reporting of invalid formal names

5 weeks agoRaise error when formal part is illegal. (#1093)
NikLeberg [Wed, 11 Dec 2024 18:49:07 +0000 (08:49 -1000)]
Raise error when formal part is illegal. (#1093)

5 weeks agoAvoid newline in AC_CHECK_FUNCS. Fixes #1095
Nick Gasson [Wed, 11 Dec 2024 10:30:43 +0000 (10:30 +0000)]
Avoid newline in AC_CHECK_FUNCS. Fixes #1095

5 weeks agoFix crash with array-of-record in conversion function. Issue #1094
Nick Gasson [Wed, 11 Dec 2024 10:29:35 +0000 (10:29 +0000)]
Fix crash with array-of-record in conversion function. Issue #1094

5 weeks agoParsing for Verilog task and function declarations
Nick Gasson [Mon, 9 Dec 2024 19:28:54 +0000 (19:28 +0000)]
Parsing for Verilog task and function declarations

5 weeks agoFix crash after circular package reference. Fixes #1090
Nick Gasson [Sat, 7 Dec 2024 20:26:13 +0000 (20:26 +0000)]
Fix crash after circular package reference. Fixes #1090

5 weeks agoHandle expression in Verilog net declarations
Nick Gasson [Sat, 7 Dec 2024 20:02:10 +0000 (20:02 +0000)]
Handle expression in Verilog net declarations

5 weeks agoParse Verilog shift operators
Nick Gasson [Sat, 7 Dec 2024 17:14:39 +0000 (17:14 +0000)]
Parse Verilog shift operators

6 weeks agoFix parser crash after invalid PSL directive. Fixes #1088
Nick Gasson [Thu, 5 Dec 2024 11:28:39 +0000 (11:28 +0000)]
Fix parser crash after invalid PSL directive. Fixes #1088

6 weeks agoRaise error when parameter list contains type interface declaration
Nick Gasson [Thu, 5 Dec 2024 09:14:25 +0000 (09:14 +0000)]
Raise error when parameter list contains type interface declaration

6 weeks agoFix crash on package definition in interface decl. (#1083)
NikLeberg [Thu, 5 Dec 2024 09:08:48 +0000 (23:08 -1000)]
Fix crash on package definition in interface decl. (#1083)

6 weeks agoFix crash on duplicated protected body. (#1087)
NikLeberg [Thu, 5 Dec 2024 09:04:45 +0000 (23:04 -1000)]
Fix crash on duplicated protected body. (#1087)

6 weeks agoFix parser hang for bit string literals. (#1085)
NikLeberg [Tue, 3 Dec 2024 08:53:19 +0000 (19:53 +1100)]
Fix parser hang for bit string literals. (#1085)

6 weeks agoFix crash on invalid subtype indication. (#1082)
NikLeberg [Tue, 3 Dec 2024 08:51:57 +0000 (19:51 +1100)]
Fix crash on invalid subtype indication. (#1082)

Issue #1038

6 weeks agoAdd support for package external names. Fixes #1072
Nick Gasson [Sun, 1 Dec 2024 17:38:16 +0000 (17:38 +0000)]
Add support for package external names. Fixes #1072

6 weeks agoFix error parsing nested compound SERE
Nick Gasson [Sun, 1 Dec 2024 17:05:32 +0000 (17:05 +0000)]
Fix error parsing nested compound SERE

6 weeks agoAdd support for PSL length matching &&. Fixes 996
Nick Gasson [Sun, 1 Dec 2024 11:27:11 +0000 (11:27 +0000)]
Add support for PSL length matching &&. Fixes 996

6 weeks agoFix memory leaks in PSL FSM construction
Nick Gasson [Sat, 30 Nov 2024 17:51:39 +0000 (17:51 +0000)]
Fix memory leaks in PSL FSM construction

6 weeks agoReuse edges when simplifying PSL state graph
Nick Gasson [Sat, 30 Nov 2024 17:22:22 +0000 (17:22 +0000)]
Reuse edges when simplifying PSL state graph

6 weeks agoPrune unreachable states
Nick Gasson [Sat, 30 Nov 2024 17:15:26 +0000 (17:15 +0000)]
Prune unreachable states

6 weeks agoCollapse PSL epsilon edges before lowering
Nick Gasson [Sat, 30 Nov 2024 16:40:49 +0000 (16:40 +0000)]
Collapse PSL epsilon edges before lowering

6 weeks agoAllow combining PSL guards with boolean operators
Nick Gasson [Sat, 30 Nov 2024 15:13:26 +0000 (15:13 +0000)]
Allow combining PSL guards with boolean operators

6 weeks agoAvoid writing intermediate .dot file for PSL graph
Nick Gasson [Sat, 30 Nov 2024 09:20:36 +0000 (09:20 +0000)]
Avoid writing intermediate .dot file for PSL graph

6 weeks agoImprove error recovery in Verilog parser
Nick Gasson [Sun, 24 Nov 2024 20:20:50 +0000 (20:20 +0000)]
Improve error recovery in Verilog parser

6 weeks agoParsing for more Verilog loop structures
Nick Gasson [Sun, 24 Nov 2024 19:52:44 +0000 (19:52 +0000)]
Parsing for more Verilog loop structures

6 weeks agoAdd stub implementation for $monitor
Nick Gasson [Sun, 24 Nov 2024 17:34:52 +0000 (17:34 +0000)]
Add stub implementation for $monitor

6 weeks agoBuild VPI objects for module, nets, and variables
Nick Gasson [Sun, 24 Nov 2024 16:26:24 +0000 (16:26 +0000)]
Build VPI objects for module, nets, and variables

6 weeks agoAdd a utility to dump VPI object model
Nick Gasson [Sun, 24 Nov 2024 12:55:27 +0000 (12:55 +0000)]
Add a utility to dump VPI object model

6 weeks agoFix crash on type mark error for protected func. (#1084)
NikLeberg [Sun, 1 Dec 2024 11:27:53 +0000 (22:27 +1100)]
Fix crash on type mark error for protected func. (#1084)

7 weeks agoSync NEWS.md from 1.14 branch
Nick Gasson [Sat, 23 Nov 2024 10:27:21 +0000 (10:27 +0000)]
Sync NEWS.md from 1.14 branch

7 weeks agoAvoid use of nproc on macOS
Nick Gasson [Sat, 23 Nov 2024 09:28:09 +0000 (09:28 +0000)]
Avoid use of nproc on macOS

8 weeks agoFix crash with subtype in element association range choice
Nick Gasson [Fri, 22 Nov 2024 08:55:24 +0000 (08:55 +0000)]
Fix crash with subtype in element association range choice

Fixes #1080