]> Nick Gasson's Git Repositories - nvc.git/log
nvc.git
6 months agoRefactor lowering of 'instance_name and 'path_name for subprograms
Nick Gasson [Sun, 19 May 2024 21:02:36 +0000 (22:02 +0100)]
Refactor lowering of 'instance_name and 'path_name for subprograms

6 months agoFix rewriting attribute prefix in subprogram instantiation
Nick Gasson [Sun, 19 May 2024 20:09:23 +0000 (21:09 +0100)]
Fix rewriting attribute prefix in subprogram instantiation

6 months agoRemove unused unit_registry_put_all
Nick Gasson [Sun, 19 May 2024 18:56:09 +0000 (19:56 +0100)]
Remove unused unit_registry_put_all

6 months agoParsing for signature in attribute name. Fixes #892
Nick Gasson [Sun, 19 May 2024 16:53:07 +0000 (17:53 +0100)]
Parsing for signature in attribute name. Fixes #892

6 months agoAdd support for packages in VHPI. Issue #891
Nick Gasson [Sat, 18 May 2024 15:43:05 +0000 (16:43 +0100)]
Add support for packages in VHPI. Issue #891

6 months agoImprove checking for relative names in vhpi_handle_by_name
Nick Gasson [Sat, 18 May 2024 10:04:20 +0000 (11:04 +0100)]
Improve checking for relative names in vhpi_handle_by_name

6 months agoFix crash when case? alternative contains multiple choices
Nick Gasson [Fri, 17 May 2024 16:32:34 +0000 (17:32 +0100)]
Fix crash when case? alternative contains multiple choices

Issue #890

6 months agoImprove checking for case expressions with non-locally-static subtypes
Nick Gasson [Thu, 16 May 2024 21:12:12 +0000 (22:12 +0100)]
Improve checking for case expressions with non-locally-static subtypes

6 months agoSync NEWS.md from 1.12 branch
Nick Gasson [Wed, 15 May 2024 21:22:52 +0000 (22:22 +0100)]
Sync NEWS.md from 1.12 branch

6 months agoFix issue #887 for Windows and macOS
Nick Gasson [Wed, 15 May 2024 19:43:11 +0000 (20:43 +0100)]
Fix issue #887 for Windows and macOS

6 months agoDo not assume JIT entry point at start of first ELF section
Nick Gasson [Tue, 14 May 2024 20:37:11 +0000 (21:37 +0100)]
Do not assume JIT entry point at start of first ELF section

Issue #887

6 months agoUse a separate tree node for loops without conditions
Nick Gasson [Tue, 14 May 2024 18:46:09 +0000 (19:46 +0100)]
Use a separate tree node for loops without conditions

6 months agoImprove debug output for JIT code crashes. Issue #887
Nick Gasson [Mon, 13 May 2024 20:58:07 +0000 (21:58 +0100)]
Improve debug output for JIT code crashes. Issue #887

6 months agoUpdate install instructions for Windows users
Nick Gasson [Mon, 13 May 2024 20:38:01 +0000 (21:38 +0100)]
Update install instructions for Windows users

6 months agoImprove error message if inertial port map actual fails bounds check
Nick Gasson [Mon, 13 May 2024 20:33:02 +0000 (21:33 +0100)]
Improve error message if inertial port map actual fails bounds check

Issue #883

6 months agoFix crash when 'transaction is used with a record type
Nick Gasson [Sun, 12 May 2024 21:23:16 +0000 (22:23 +0100)]
Fix crash when 'transaction is used with a record type

6 months agoMore fixes for components with package or type generics. Issue #883
Nick Gasson [Sun, 12 May 2024 20:56:08 +0000 (21:56 +0100)]
More fixes for components with package or type generics. Issue #883

6 months agoSync NEWS.md from 1.12 branch
Nick Gasson [Thu, 9 May 2024 19:27:16 +0000 (20:27 +0100)]
Sync NEWS.md from 1.12 branch

6 months agoAdjust MSI version string for point releases
Nick Gasson [Thu, 9 May 2024 19:23:42 +0000 (20:23 +0100)]
Adjust MSI version string for point releases

6 months agoGeneric actuals do not need to be globally static. Fixes #886
Nick Gasson [Wed, 8 May 2024 20:43:02 +0000 (21:43 +0100)]
Generic actuals do not need to be globally static. Fixes #886

6 months agoFix handling of configurations and components with package generics
Nick Gasson [Sun, 5 May 2024 18:12:30 +0000 (19:12 +0100)]
Fix handling of configurations and components with package generics

6 months agoImprove checking for components with package generics
Nick Gasson [Sun, 5 May 2024 13:53:43 +0000 (14:53 +0100)]
Improve checking for components with package generics

6 months agoFix configurations where components have generic types
Nick Gasson [Sun, 5 May 2024 12:01:10 +0000 (13:01 +0100)]
Fix configurations where components have generic types

6 months agoAllow elaboration of components with type generics
Nick Gasson [Sun, 5 May 2024 10:41:48 +0000 (11:41 +0100)]
Allow elaboration of components with type generics

6 months agoDelay copying of configurations during elaboration
Nick Gasson [Sat, 4 May 2024 14:33:15 +0000 (15:33 +0100)]
Delay copying of configurations during elaboration

6 months agoRefactor elaboration of configurations
Nick Gasson [Fri, 3 May 2024 18:40:18 +0000 (19:40 +0100)]
Refactor elaboration of configurations

6 months agoFix crash printing active drivers at iteration limit. Fixes #885
Nick Gasson [Fri, 3 May 2024 16:49:26 +0000 (17:49 +0100)]
Fix crash printing active drivers at iteration limit. Fixes #885

6 months agoEnsure generic maps are visited before port maps
Nick Gasson [Wed, 1 May 2024 14:24:18 +0000 (15:24 +0100)]
Ensure generic maps are visited before port maps

6 months agoCheck for driver for external signal outside process. Fixes #884
Nick Gasson [Sun, 28 Apr 2024 16:57:25 +0000 (17:57 +0100)]
Check for driver for external signal outside process. Fixes #884

6 months agoImprove duplicate check when generating sensitivity list
Nick Gasson [Thu, 25 Apr 2024 20:42:07 +0000 (21:42 +0100)]
Improve duplicate check when generating sensitivity list

6 months agoFix assertion failure with procedure declared inside process (all)
Nick Gasson [Thu, 25 Apr 2024 20:37:44 +0000 (21:37 +0100)]
Fix assertion failure with procedure declared inside process (all)

Issue #882

6 months agoFix spurious error with generic package types in port list
Nick Gasson [Wed, 24 Apr 2024 19:41:27 +0000 (20:41 +0100)]
Fix spurious error with generic package types in port list

Fixes #881

6 months agoVerilog "forever" loops
Nick Gasson [Tue, 23 Apr 2024 21:46:54 +0000 (22:46 +0100)]
Verilog "forever" loops

6 months agoVerilog unary negation
Nick Gasson [Tue, 23 Apr 2024 19:40:58 +0000 (20:40 +0100)]
Verilog unary negation

7 months agoUse saturating addition for coverage counters. Issue #880
Nick Gasson [Sun, 21 Apr 2024 10:21:16 +0000 (11:21 +0100)]
Use saturating addition for coverage counters. Issue #880

7 months agoLowering for delays in Verilog procedural assignments
Nick Gasson [Sat, 20 Apr 2024 16:34:54 +0000 (17:34 +0100)]
Lowering for delays in Verilog procedural assignments

7 months agoUse deposits for Verilog blocking assignments
Nick Gasson [Thu, 18 Apr 2024 21:51:19 +0000 (22:51 +0100)]
Use deposits for Verilog blocking assignments

7 months agoParsing for delay in Verilog procedural assignments
Nick Gasson [Thu, 18 Apr 2024 20:40:22 +0000 (21:40 +0100)]
Parsing for delay in Verilog procedural assignments

7 months agoPlug several memory leaks
Nick Gasson [Thu, 18 Apr 2024 20:01:28 +0000 (21:01 +0100)]
Plug several memory leaks

7 months agoRevert "If/case statements do not count for statement coverage"
Nick Gasson [Thu, 18 Apr 2024 19:07:17 +0000 (20:07 +0100)]
Revert "If/case statements do not count for statement coverage"

This reverts commit 575349b17bccb07eb104ac9c1287b21455107012.

7 months agoSpeed up lock acquisition in uncontended case
Nick Gasson [Wed, 17 Apr 2024 18:58:21 +0000 (19:58 +0100)]
Speed up lock acquisition in uncontended case

7 months agoRefactor statement coverage emission
Nick Gasson [Sun, 14 Apr 2024 16:11:31 +0000 (17:11 +0100)]
Refactor statement coverage emission

7 months agoIf/case statements do not count for statement coverage
Nick Gasson [Sun, 14 Apr 2024 15:47:36 +0000 (16:47 +0100)]
If/case statements do not count for statement coverage

7 months agoAdd some labels to blocks in cover9 test
Nick Gasson [Sun, 14 Apr 2024 11:30:19 +0000 (12:30 +0100)]
Add some labels to blocks in cover9 test

7 months agoMerge duplicated irgen_op_cover_stmt and irgen_op_cover_branch
Nick Gasson [Sat, 13 Apr 2024 10:18:23 +0000 (11:18 +0100)]
Merge duplicated irgen_op_cover_stmt and irgen_op_cover_branch

7 months agoRefactor branch coverage to use counter rather than bit flags
Nick Gasson [Sat, 13 Apr 2024 09:56:25 +0000 (10:56 +0100)]
Refactor branch coverage to use counter rather than bit flags

Co-authored-by: Blebowski <34539154+Blebowski@users.noreply.github.com>
7 months agoFix crash dumping array-of-array-of-record. Fixes #878
Nick Gasson [Wed, 10 Apr 2024 19:12:17 +0000 (20:12 +0100)]
Fix crash dumping array-of-array-of-record. Fixes #878

7 months agoHandle force/release in all-sensitised process. Fixes #877
Nick Gasson [Tue, 9 Apr 2024 20:41:00 +0000 (21:41 +0100)]
Handle force/release in all-sensitised process. Fixes #877

7 months agoAdd a utility to format time strings
Nick Gasson [Sun, 7 Apr 2024 18:48:48 +0000 (19:48 +0100)]
Add a utility to format time strings

7 months agoBump minimum autoconf and automake versions
Nick Gasson [Sun, 7 Apr 2024 09:31:47 +0000 (10:31 +0100)]
Bump minimum autoconf and automake versions

7 months agoFix regex for Windows installer version
Nick Gasson [Sun, 7 Apr 2024 08:45:43 +0000 (09:45 +0100)]
Fix regex for Windows installer version

7 months agoUpdates for 1.12 release r1.12.0
Nick Gasson [Sun, 7 Apr 2024 08:33:42 +0000 (09:33 +0100)]
Updates for 1.12 release

7 months agoInclude TCL stack trace when --do fails
Nick Gasson [Sun, 7 Apr 2024 08:29:17 +0000 (09:29 +0100)]
Include TCL stack trace when --do fails

7 months agoUpdate manual for VHPI subprograms
Nick Gasson [Sun, 7 Apr 2024 08:29:08 +0000 (09:29 +0100)]
Update manual for VHPI subprograms

7 months agoAdd reusable action for Windows installer
Nick Gasson [Thu, 4 Apr 2024 19:13:21 +0000 (20:13 +0100)]
Add reusable action for Windows installer

7 months agoDo not advertise PSL support since it is not yet complete. Issue #834
Nick Gasson [Thu, 4 Apr 2024 19:07:56 +0000 (20:07 +0100)]
Do not advertise PSL support since it is not yet complete. Issue #834

7 months agoBundle TCL init scripts with Windows installer
Nick Gasson [Tue, 2 Apr 2024 20:54:34 +0000 (21:54 +0100)]
Bundle TCL init scripts with Windows installer

7 months agoDo not use built-in make rules
Nick Gasson [Tue, 2 Apr 2024 20:21:04 +0000 (21:21 +0100)]
Do not use built-in make rules

7 months agoFix several crashes after errors in package generics
Nick Gasson [Tue, 2 Apr 2024 20:18:50 +0000 (21:18 +0100)]
Fix several crashes after errors in package generics

7 months agoImprove error for duplicate declaration due to homograph. Fixes #875
Nick Gasson [Tue, 2 Apr 2024 18:46:18 +0000 (19:46 +0100)]
Improve error for duplicate declaration due to homograph. Fixes #875

7 months agoAdd basic support for VHPI foreign subprograms
Nick Gasson [Mon, 1 Apr 2024 13:57:19 +0000 (14:57 +0100)]
Add basic support for VHPI foreign subprograms

7 months agoFix more corner cases with aggregate subtype calculation. Fixes #874
Nick Gasson [Mon, 1 Apr 2024 10:19:18 +0000 (11:19 +0100)]
Fix more corner cases with aggregate subtype calculation. Fixes #874

7 months agoAdd a separate tree kind for element resolution indication
Nick Gasson [Mon, 1 Apr 2024 09:30:13 +0000 (10:30 +0100)]
Add a separate tree kind for element resolution indication

7 months agoRefactor calculation of aggregate bounds. Fixes #837
Nick Gasson [Fri, 29 Mar 2024 15:22:29 +0000 (15:22 +0000)]
Refactor calculation of aggregate bounds. Fixes #837

7 months agoRemove unused variable in vhpi_build_design_model
Nick Gasson [Fri, 29 Mar 2024 15:27:40 +0000 (15:27 +0000)]
Remove unused variable in vhpi_build_design_model

7 months agoImplement vhpi_get_real
Nick Gasson [Thu, 28 Mar 2024 19:03:20 +0000 (19:03 +0000)]
Implement vhpi_get_real

7 months agoImplement vhpi_get_cb_info
Nick Gasson [Thu, 28 Mar 2024 18:24:27 +0000 (18:24 +0000)]
Implement vhpi_get_cb_info

7 months agoImplement vhpi_get_next_time
Nick Gasson [Thu, 28 Mar 2024 18:18:09 +0000 (18:18 +0000)]
Implement vhpi_get_next_time

7 months agoRemoving pending field from VHPI c_callback
Nick Gasson [Thu, 28 Mar 2024 18:04:41 +0000 (18:04 +0000)]
Removing pending field from VHPI c_callback

7 months agoEnsure VHPI handles are never reused
Nick Gasson [Thu, 28 Mar 2024 15:37:04 +0000 (15:37 +0000)]
Ensure VHPI handles are never reused

7 months agoSimplify disabling VHPI callbacks
Nick Gasson [Thu, 28 Mar 2024 15:10:16 +0000 (15:10 +0000)]
Simplify disabling VHPI callbacks

7 months agoFix some corner cases enabling/disabling VHPI callbacks
Nick Gasson [Thu, 28 Mar 2024 15:00:29 +0000 (15:00 +0000)]
Fix some corner cases enabling/disabling VHPI callbacks

7 months agoEnsure RT_NEXT_TIME_STEP event triggers on the first cycle
Nick Gasson [Thu, 28 Mar 2024 14:10:11 +0000 (14:10 +0000)]
Ensure RT_NEXT_TIME_STEP event triggers on the first cycle

7 months agoReplace vhpiHandleT with a reference counted handle
Nick Gasson [Thu, 28 Mar 2024 11:59:08 +0000 (11:59 +0000)]
Replace vhpiHandleT with a reference counted handle

7 months agoImplement vhpiDesignUnit association for instances
Nick Gasson [Wed, 27 Mar 2024 12:36:34 +0000 (12:36 +0000)]
Implement vhpiDesignUnit association for instances

7 months agoRemove sem_int_lit helper function
Nick Gasson [Wed, 27 Mar 2024 10:09:51 +0000 (10:09 +0000)]
Remove sem_int_lit helper function

7 months agoFix crash in vhpi_iterator with --vhpi-trace
Nick Gasson [Wed, 27 Mar 2024 10:03:47 +0000 (10:03 +0000)]
Fix crash in vhpi_iterator with --vhpi-trace

7 months agoSuppress error for hidden declarations with --relaxed. Fixes #870
Nick Gasson [Tue, 26 Mar 2024 23:05:59 +0000 (23:05 +0000)]
Suppress error for hidden declarations with --relaxed. Fixes #870

7 months agoImprove checking for incomplete type declarations
Nick Gasson [Tue, 26 Mar 2024 22:06:39 +0000 (22:06 +0000)]
Improve checking for incomplete type declarations

7 months agoFix undefined behaviour dumping >32 bit integers to FST. Issue #869
Nick Gasson [Mon, 25 Mar 2024 20:54:53 +0000 (20:54 +0000)]
Fix undefined behaviour dumping >32 bit integers to FST. Issue #869

7 months agoRun all cocotb regression tests in GitHub Actions
Nick Gasson [Mon, 25 Mar 2024 20:43:02 +0000 (20:43 +0000)]
Run all cocotb regression tests in GitHub Actions

7 months agoFix crashes with vhpiDepositPropagate
Nick Gasson [Mon, 25 Mar 2024 20:04:49 +0000 (20:04 +0000)]
Fix crashes with vhpiDepositPropagate

8 months agoBump default standard version to 2008
Nick Gasson [Sat, 23 Mar 2024 13:39:04 +0000 (13:39 +0000)]
Bump default standard version to 2008

8 months agoAlso trace address sanitizer fake stack in mspace_gc
Nick Gasson [Sat, 23 Mar 2024 12:34:47 +0000 (12:34 +0000)]
Also trace address sanitizer fake stack in mspace_gc

8 months agoFix some boundary cases in mask_iter
Nick Gasson [Sat, 23 Mar 2024 09:48:14 +0000 (09:48 +0000)]
Fix some boundary cases in mask_iter

8 months agoAdd some additional allocation benchmarks
Nick Gasson [Sat, 23 Mar 2024 12:16:56 +0000 (12:16 +0000)]
Add some additional allocation benchmarks

8 months agoFix load address for symbols pointing to PE sections
Nick Gasson [Thu, 21 Mar 2024 21:31:50 +0000 (21:31 +0000)]
Fix load address for symbols pointing to PE sections

This reverts commit a16b40026cb4c62704b75fbfd59cc8ffc3ef5ad5.

8 months agoVHPI discovery in for-generate broken since 7dd41. Fixes #868
Nick Gasson [Wed, 20 Mar 2024 21:46:53 +0000 (21:46 +0000)]
VHPI discovery in for-generate broken since 7dd41. Fixes #868

8 months agoMake sure entity is rewritten before architecture. Issue #867
Nick Gasson [Wed, 20 Mar 2024 21:14:30 +0000 (21:14 +0000)]
Make sure entity is rewritten before architecture. Issue #867

8 months agoTemporarily disable JIT mode testing on Windows
Nick Gasson [Wed, 20 Mar 2024 21:48:15 +0000 (21:48 +0000)]
Temporarily disable JIT mode testing on Windows

8 months agoRemove deprecated rt_tlab_alloc
Nick Gasson [Mon, 18 Mar 2024 16:41:36 +0000 (16:41 +0000)]
Remove deprecated rt_tlab_alloc

8 months agoAlso pass -mno-omit-leaf-frame-pointer with --enable-frame-pointer
Nick Gasson [Sun, 17 Mar 2024 10:10:59 +0000 (10:10 +0000)]
Also pass -mno-omit-leaf-frame-pointer with --enable-frame-pointer

8 months agoFix assertion failure in jit_do_mem2reg running OSVVM tests
Nick Gasson [Thu, 14 Mar 2024 22:09:57 +0000 (22:09 +0000)]
Fix assertion failure in jit_do_mem2reg running OSVVM tests

8 months agoSkip over record element constraints when building VHPI model
Nick Gasson [Thu, 14 Mar 2024 19:56:57 +0000 (19:56 +0000)]
Skip over record element constraints when building VHPI model

Issue #866

8 months agoDump arrays-of-records when --dump-arrays is passed. Issue 856
Nick Gasson [Wed, 13 Mar 2024 20:02:03 +0000 (20:02 +0000)]
Dump arrays-of-records when --dump-arrays is passed. Issue 856

8 months agoSimplify implementation of unit_registry_flush
Nick Gasson [Wed, 13 Mar 2024 19:37:53 +0000 (19:37 +0000)]
Simplify implementation of unit_registry_flush

8 months agoCode generation crash with nested package instances. Fixes #858
Nick Gasson [Tue, 12 Mar 2024 22:08:06 +0000 (22:08 +0000)]
Code generation crash with nested package instances. Fixes #858

8 months agoImprove locking benchmark
Nick Gasson [Fri, 8 Mar 2024 16:59:35 +0000 (16:59 +0000)]
Improve locking benchmark

8 months agoFix crash when collapsing unconstrained port. Fixes #859
Nick Gasson [Fri, 8 Mar 2024 15:23:23 +0000 (15:23 +0000)]
Fix crash when collapsing unconstrained port. Fixes #859

8 months agoFix crash after error in external name. Fixes #860
Nick Gasson [Fri, 8 Mar 2024 14:29:59 +0000 (14:29 +0000)]
Fix crash after error in external name. Fixes #860