]> git.nickg.me.uk Git - nvc.git/log
nvc.git
21 months agoRefactor FST type formatting
Nick Gasson [Sun, 24 Jul 2022 11:14:37 +0000 (12:14 +0100)]
Refactor FST type formatting

21 months agoUse lower case for identifiers in waveform dump. Issue #475
Nick Gasson [Sun, 24 Jul 2022 09:44:50 +0000 (10:44 +0100)]
Use lower case for identifiers in waveform dump. Issue #475

21 months agoRemove hash_get_nth
Nick Gasson [Sun, 24 Jul 2022 08:12:51 +0000 (09:12 +0100)]
Remove hash_get_nth

21 months agoRemove replace argument from hash_new
Nick Gasson [Sun, 24 Jul 2022 08:03:06 +0000 (09:03 +0100)]
Remove replace argument from hash_new

21 months agoMinor optimisation to mangle_one_type
Nick Gasson [Sun, 24 Jul 2022 07:59:16 +0000 (08:59 +0100)]
Minor optimisation to mangle_one_type

21 months agoMissing messages with compact format. Fixes #490
Nick Gasson [Fri, 22 Jul 2022 19:52:06 +0000 (20:52 +0100)]
Missing messages with compact format. Fixes #490

21 months agoDo not longjmp out of ctrl-C handler on Windows. Issue #489
Nick Gasson [Fri, 22 Jul 2022 19:48:11 +0000 (20:48 +0100)]
Do not longjmp out of ctrl-C handler on Windows. Issue #489

21 months agoAdd nvc_lock_t based on WTF::Lock
Nick Gasson [Fri, 22 Jul 2022 10:44:41 +0000 (11:44 +0100)]
Add nvc_lock_t based on WTF::Lock

21 months agoMove thread functions to a separate module
Nick Gasson [Fri, 22 Jul 2022 08:51:33 +0000 (09:51 +0100)]
Move thread functions to a separate module

21 months agoError with index of external name. Fixes #488
Nick Gasson [Fri, 22 Jul 2022 18:00:29 +0000 (19:00 +0100)]
Error with index of external name. Fixes #488

21 months agoAllow external names to refer to generate statements. Issue #480
Nick Gasson [Fri, 22 Jul 2022 08:27:20 +0000 (09:27 +0100)]
Allow external names to refer to generate statements. Issue #480

21 months agoMore improvements to external name representation
Nick Gasson [Fri, 22 Jul 2022 08:06:54 +0000 (09:06 +0100)]
More improvements to external name representation

21 months agoFixes for --install command on Windows. Issue #485
Nick Gasson [Thu, 21 Jul 2022 21:22:50 +0000 (22:22 +0100)]
Fixes for --install command on Windows. Issue #485

21 months agoRemove unused variable
Nick Gasson [Thu, 21 Jul 2022 21:22:41 +0000 (22:22 +0100)]
Remove unused variable

21 months agoSymbols truncated to 240 characters on Windows. Fixes #486 #487
Nick Gasson [Thu, 21 Jul 2022 20:50:59 +0000 (21:50 +0100)]
Symbols truncated to 240 characters on Windows. Fixes #486 #487

21 months agoError with record signal in concatenation. Fixes #484
Nick Gasson [Thu, 21 Jul 2022 07:53:36 +0000 (08:53 +0100)]
Error with record signal in concatenation. Fixes #484

21 months agoAllow type alias as prefix of 'IMAGE. Fixes #482
Nick Gasson [Wed, 20 Jul 2022 21:53:26 +0000 (22:53 +0100)]
Allow type alias as prefix of 'IMAGE. Fixes #482

21 months agoRework representation of external names
Nick Gasson [Wed, 20 Jul 2022 21:39:40 +0000 (22:39 +0100)]
Rework representation of external names

21 months agoSeparate tree kind for string literals
Nick Gasson [Wed, 20 Jul 2022 20:12:59 +0000 (21:12 +0100)]
Separate tree kind for string literals

21 months agoRemove unused item kinds
Nick Gasson [Wed, 20 Jul 2022 19:43:46 +0000 (20:43 +0100)]
Remove unused item kinds

21 months agoError calling protected subprogram through alias. Fixes #479
Nick Gasson [Wed, 20 Jul 2022 18:08:29 +0000 (19:08 +0100)]
Error calling protected subprogram through alias. Fixes #479

21 months agoMissing call to solve_types for force expression. Fixes #481
Nick Gasson [Wed, 20 Jul 2022 17:18:13 +0000 (18:18 +0100)]
Missing call to solve_types for force expression. Fixes #481

21 months agoNew symbol table implementation
Nick Gasson [Tue, 19 Jul 2022 21:29:20 +0000 (22:29 +0100)]
New symbol table implementation

21 months agoRemove CLOSELY_RELATED_TCF attribute from std_logic_misc
Nick Gasson [Mon, 18 Jul 2022 18:07:29 +0000 (19:07 +0100)]
Remove CLOSELY_RELATED_TCF attribute from std_logic_misc

21 months agoFix null array with partially constrained subtype. Issue #478
Nick Gasson [Tue, 19 Jul 2022 20:44:18 +0000 (21:44 +0100)]
Fix null array with partially constrained subtype. Issue #478

21 months agoCrash with partially constrained field subtype. Fixes #478
Nick Gasson [Tue, 19 Jul 2022 20:26:09 +0000 (21:26 +0100)]
Crash with partially constrained field subtype. Fixes #478

21 months agoFix release build
Nick Gasson [Tue, 19 Jul 2022 20:24:37 +0000 (21:24 +0100)]
Fix release build

21 months agoFix crash evaluating array with missing elements. Issue #477
Nick Gasson [Tue, 19 Jul 2022 20:03:31 +0000 (21:03 +0100)]
Fix crash evaluating array with missing elements. Issue #477

21 months agoWrong alignment for array of records. Issue #477
Nick Gasson [Tue, 19 Jul 2022 19:54:24 +0000 (20:54 +0100)]
Wrong alignment for array of records. Issue #477

22 months agoIncorrect total length field in fbuf header
Nick Gasson [Sun, 17 Jul 2022 19:17:36 +0000 (20:17 +0100)]
Incorrect total length field in fbuf header

22 months agoMinor optimisation to type_eq
Nick Gasson [Sun, 17 Jul 2022 09:30:32 +0000 (10:30 +0100)]
Minor optimisation to type_eq

22 months agoImprove for-generate elaboration
Nick Gasson [Sat, 16 Jul 2022 13:09:41 +0000 (14:09 +0100)]
Improve for-generate elaboration

22 months agoFix assertion failure during simplification
Nick Gasson [Sat, 16 Jul 2022 12:29:53 +0000 (13:29 +0100)]
Fix assertion failure during simplification

22 months agoFix regression in OpenRIO tests
Nick Gasson [Sat, 16 Jul 2022 11:56:59 +0000 (12:56 +0100)]
Fix regression in OpenRIO tests

22 months agoMissing length check for aggregates with unconstrained elements
Nick Gasson [Sat, 16 Jul 2022 11:29:57 +0000 (12:29 +0100)]
Missing length check for aggregates with unconstrained elements

22 months agoFix regression in UVVM string_methods_pkg
Nick Gasson [Sat, 16 Jul 2022 11:01:08 +0000 (12:01 +0100)]
Fix regression in UVVM string_methods_pkg

22 months agoCode generation refactoring for array constraints
Nick Gasson [Sat, 16 Jul 2022 09:46:11 +0000 (10:46 +0100)]
Code generation refactoring for array constraints

22 months agoSimplify code generation for array constraints
Nick Gasson [Fri, 15 Jul 2022 21:34:43 +0000 (22:34 +0100)]
Simplify code generation for array constraints

22 months agoFix bug parsing nested array/record constraint
Nick Gasson [Thu, 14 Jul 2022 20:59:45 +0000 (21:59 +0100)]
Fix bug parsing nested array/record constraint

22 months agoImprove handling of 'BASE and 'ELEMENT attributes
Nick Gasson [Thu, 14 Jul 2022 20:50:07 +0000 (21:50 +0100)]
Improve handling of 'BASE and 'ELEMENT attributes

22 months agoAdd new T_ELEM_CONSTRAINT tree kind for record element constraints
Nick Gasson [Thu, 14 Jul 2022 20:03:47 +0000 (21:03 +0100)]
Add new T_ELEM_CONSTRAINT tree kind for record element constraints

22 months agoUpdate test cases after changes to longest_static_prefix
Nick Gasson [Thu, 14 Jul 2022 18:02:00 +0000 (19:02 +0100)]
Update test cases after changes to longest_static_prefix

22 months agoCreate FUNDING.yml
Nick Gasson [Thu, 14 Jul 2022 21:02:59 +0000 (22:02 +0100)]
Create FUNDING.yml

22 months agoPrevious commit introduced bug in sensitivity list generation
Nick Gasson [Thu, 14 Jul 2022 07:59:02 +0000 (08:59 +0100)]
Previous commit introduced bug in sensitivity list generation

22 months agoFix bug in longest static prefix calculation
Nick Gasson [Thu, 14 Jul 2022 07:55:03 +0000 (08:55 +0100)]
Fix bug in longest static prefix calculation

22 months agoSpurious error in entity instantiation statement
Nick Gasson [Wed, 13 Jul 2022 19:58:03 +0000 (20:58 +0100)]
Spurious error in entity instantiation statement

22 months agoFix crash with unconstrained array signal in aggregate
Nick Gasson [Tue, 12 Jul 2022 21:43:18 +0000 (22:43 +0100)]
Fix crash with unconstrained array signal in aggregate

22 months agoFix crash with unconstrained record type in port
Nick Gasson [Tue, 12 Jul 2022 20:21:13 +0000 (21:21 +0100)]
Fix crash with unconstrained record type in port

22 months agoFix crash with array of record with unconstrained element
Nick Gasson [Tue, 12 Jul 2022 18:25:24 +0000 (19:25 +0100)]
Fix crash with array of record with unconstrained element

22 months agoImplement get_exe_path on macOS
Nick Gasson [Mon, 11 Jul 2022 20:52:56 +0000 (21:52 +0100)]
Implement get_exe_path on macOS

22 months agoCheck case statement choices are all the same length
Nick Gasson [Mon, 11 Jul 2022 19:52:10 +0000 (20:52 +0100)]
Check case statement choices are all the same length

22 months agoClickable hyperlinks in diagnostic messages
Nick Gasson [Sun, 10 Jul 2022 09:36:30 +0000 (10:36 +0100)]
Clickable hyperlinks in diagnostic messages

22 months agoGarbage data in initial call to resolution function
Nick Gasson [Sat, 9 Jul 2022 20:49:22 +0000 (21:49 +0100)]
Garbage data in initial call to resolution function

22 months agoTweak to diagnostic format
Nick Gasson [Sat, 9 Jul 2022 15:44:25 +0000 (16:44 +0100)]
Tweak to diagnostic format

22 months agoFix code generation failure with constant string in architecture
Nick Gasson [Sat, 9 Jul 2022 12:18:46 +0000 (13:18 +0100)]
Fix code generation failure with constant string in architecture

22 months agoAdd --dest argument to --install
Nick Gasson [Sat, 9 Jul 2022 12:03:57 +0000 (13:03 +0100)]
Add --dest argument to --install

22 months agoEnable more regression tests
Nick Gasson [Sat, 9 Jul 2022 11:14:32 +0000 (12:14 +0100)]
Enable more regression tests

22 months agoAdd --install command to compile third-party libraries
Nick Gasson [Sat, 9 Jul 2022 10:46:29 +0000 (11:46 +0100)]
Add --install command to compile third-party libraries

22 months agoAllow alias to alias of type
Nick Gasson [Sat, 9 Jul 2022 09:27:07 +0000 (10:27 +0100)]
Allow alias to alias of type

22 months agoIncorrect allocator initialisation of record with unconstrained fields
Nick Gasson [Sat, 9 Jul 2022 08:22:57 +0000 (09:22 +0100)]
Incorrect allocator initialisation of record with unconstrained fields

22 months agoImprove error message when type cannot be determined from the context
Nick Gasson [Fri, 8 Jul 2022 21:23:43 +0000 (22:23 +0100)]
Improve error message when type cannot be determined from the context

22 months agoBetter error message for invalid field name
Nick Gasson [Fri, 8 Jul 2022 20:28:10 +0000 (21:28 +0100)]
Better error message for invalid field name

22 months agoDelete unused fields from item_t
Nick Gasson [Fri, 8 Jul 2022 17:07:09 +0000 (18:07 +0100)]
Delete unused fields from item_t

22 months agoFix broken line wrapping after 5612215fc6bb
Nick Gasson [Fri, 8 Jul 2022 17:05:55 +0000 (18:05 +0100)]
Fix broken line wrapping after 5612215fc6bb

22 months agoIncorrect calculation of initial driving/effective values
Nick Gasson [Thu, 7 Jul 2022 20:49:02 +0000 (21:49 +0100)]
Incorrect calculation of initial driving/effective values

22 months agoElaboration loses default value for unconstrained port
Nick Gasson [Thu, 7 Jul 2022 18:07:08 +0000 (19:07 +0100)]
Elaboration loses default value for unconstrained port

22 months agoNew interface for printing identifiers to text_buf_t
Nick Gasson [Wed, 6 Jul 2022 21:15:09 +0000 (22:15 +0100)]
New interface for printing identifiers to text_buf_t

22 months agoMissing subprogram signature from 'INSTANCE_NAME
Nick Gasson [Wed, 6 Jul 2022 20:41:55 +0000 (21:41 +0100)]
Missing subprogram signature from 'INSTANCE_NAME

22 months agoFix crash with alias of record field
Nick Gasson [Wed, 6 Jul 2022 17:48:07 +0000 (18:48 +0100)]
Fix crash with alias of record field

22 months agoRemove safe_symbol_str
Nick Gasson [Tue, 5 Jul 2022 21:48:53 +0000 (22:48 +0100)]
Remove safe_symbol_str

22 months agoControl package initialisation explicitly from vcode
Nick Gasson [Tue, 5 Jul 2022 21:27:33 +0000 (22:27 +0100)]
Control package initialisation explicitly from vcode

22 months agoFix invalid LLVM generated for signal assignment
Nick Gasson [Mon, 4 Jul 2022 20:28:22 +0000 (21:28 +0100)]
Fix invalid LLVM generated for signal assignment

22 months agoFix incorrect code generation for aggregate with 2008-style range association
Nick Gasson [Mon, 4 Jul 2022 20:19:02 +0000 (21:19 +0100)]
Fix incorrect code generation for aggregate with 2008-style range association

22 months agoFix crash deserialising intermediate code
Nick Gasson [Mon, 4 Jul 2022 19:56:58 +0000 (20:56 +0100)]
Fix crash deserialising intermediate code

22 months agoFix error with multidimensional array aggregate
Nick Gasson [Sun, 3 Jul 2022 21:09:27 +0000 (22:09 +0100)]
Fix error with multidimensional array aggregate

22 months agoOverly strict error about use clause with uninstantiated package
Nick Gasson [Sun, 3 Jul 2022 18:21:31 +0000 (19:21 +0100)]
Overly strict error about use clause with uninstantiated package

22 months agoError when a single type is visible through multiple aliases
Nick Gasson [Sun, 3 Jul 2022 18:17:35 +0000 (19:17 +0100)]
Error when a single type is visible through multiple aliases

22 months agoMore incorrect code generation with nested array/record constraints
Nick Gasson [Sun, 3 Jul 2022 15:51:36 +0000 (16:51 +0100)]
More incorrect code generation with nested array/record constraints

22 months agoFix another bug with nested array/record constraints
Nick Gasson [Sun, 3 Jul 2022 13:43:26 +0000 (14:43 +0100)]
Fix another bug with nested array/record constraints

22 months agoCode generation fixes with nested constraints
Nick Gasson [Sun, 3 Jul 2022 13:19:12 +0000 (14:19 +0100)]
Code generation fixes with nested constraints

22 months agoFix parsing error with nested array/record constraints
Nick Gasson [Sun, 3 Jul 2022 10:29:22 +0000 (11:29 +0100)]
Fix parsing error with nested array/record constraints

22 months agoFix bug checking record aggregate with unconstrained fields
Nick Gasson [Sun, 3 Jul 2022 08:43:49 +0000 (09:43 +0100)]
Fix bug checking record aggregate with unconstrained fields

22 months agoIncorrect sensitivity list for concurrent procedure call
Nick Gasson [Sat, 2 Jul 2022 20:47:44 +0000 (21:47 +0100)]
Incorrect sensitivity list for concurrent procedure call

22 months agoFix make bootstrap -j
Nick Gasson [Sat, 2 Jul 2022 20:31:12 +0000 (21:31 +0100)]
Fix make bootstrap -j

22 months agoImprove error message when delta cycle limit reached
Nick Gasson [Fri, 1 Jul 2022 20:59:54 +0000 (21:59 +0100)]
Improve error message when delta cycle limit reached

22 months agoAlways use array metadata where possible
Nick Gasson [Fri, 1 Jul 2022 20:51:18 +0000 (21:51 +0100)]
Always use array metadata where possible

22 months agoIncorrect behaviour of FILE_CLOSE on closed file
Nick Gasson [Fri, 1 Jul 2022 20:06:59 +0000 (21:06 +0100)]
Incorrect behaviour of FILE_CLOSE on closed file

22 months agoFix incorrect error about index range of "others" choice
Nick Gasson [Fri, 1 Jul 2022 18:19:53 +0000 (19:19 +0100)]
Fix incorrect error about index range of "others" choice

22 months agoFix spurious error with overloaded TO_STRING operator
Nick Gasson [Fri, 1 Jul 2022 18:08:42 +0000 (19:08 +0100)]
Fix spurious error with overloaded TO_STRING operator

22 months agoFix check for locally static alias
Nick Gasson [Fri, 1 Jul 2022 18:01:35 +0000 (19:01 +0100)]
Fix check for locally static alias

22 months agoFix intermittent test_mspace failure
Nick Gasson [Fri, 1 Jul 2022 17:40:08 +0000 (18:40 +0100)]
Fix intermittent test_mspace failure

22 months agoUse stack pointer from cpu_state struct in mspace_gc
Nick Gasson [Thu, 30 Jun 2022 21:10:45 +0000 (22:10 +0100)]
Use stack pointer from cpu_state struct in mspace_gc

22 months agoAllow package instantiations in package body declarative item
Nick Gasson [Thu, 30 Jun 2022 21:05:23 +0000 (22:05 +0100)]
Allow package instantiations in package body declarative item

22 months agoTry to reduce volume of cascading of errors
Nick Gasson [Thu, 30 Jun 2022 20:50:19 +0000 (21:50 +0100)]
Try to reduce volume of cascading of errors

22 months agoPrevent some cascading errors after invalid declaration
Nick Gasson [Thu, 30 Jun 2022 20:18:09 +0000 (21:18 +0100)]
Prevent some cascading errors after invalid declaration

22 months agoRefactor CPU register collection into a separate library. Issue #473
Nick Gasson [Thu, 30 Jun 2022 17:04:37 +0000 (18:04 +0100)]
Refactor CPU register collection into a separate library. Issue #473

22 months agoImprove error message when no suitable overload for name
Nick Gasson [Thu, 30 Jun 2022 08:01:47 +0000 (09:01 +0100)]
Improve error message when no suitable overload for name

22 months agoFix crash using 'EVENT on an unconstrained array
Nick Gasson [Wed, 29 Jun 2022 20:40:35 +0000 (21:40 +0100)]
Fix crash using 'EVENT on an unconstrained array

22 months agoFix another crash with unconstrained array elements in UVVM
Nick Gasson [Wed, 29 Jun 2022 20:31:27 +0000 (21:31 +0100)]
Fix another crash with unconstrained array elements in UVVM

22 months agoFix build with address sanitizer enabled
Nick Gasson [Wed, 29 Jun 2022 20:04:16 +0000 (21:04 +0100)]
Fix build with address sanitizer enabled