]> git.nickg.me.uk Git - nvc.git/log
nvc.git
21 months agoFile fixups rt-interp
Nick Gasson [Sun, 7 Aug 2022 20:46:40 +0000 (21:46 +0100)]
File fixups

21 months agoAdd a configure option to disable LLVM
Nick Gasson [Sun, 7 Aug 2022 18:03:16 +0000 (19:03 +0100)]
Add a configure option to disable LLVM

21 months agoFlush, bugs
Nick Gasson [Sun, 7 Aug 2022 17:37:25 +0000 (18:37 +0100)]
Flush, bugs

21 months agoFile read/write/endfile
Nick Gasson [Sun, 7 Aug 2022 17:31:21 +0000 (18:31 +0100)]
File read/write/endfile

21 months agoSome more file functions
Nick Gasson [Sun, 7 Aug 2022 16:19:39 +0000 (17:19 +0100)]
Some more file functions

21 months agoStart moving file io to jit-exits
Nick Gasson [Sun, 7 Aug 2022 15:40:30 +0000 (16:40 +0100)]
Start moving file io to jit-exits

21 months agoFix sched waveform bug
Nick Gasson [Sun, 7 Aug 2022 15:05:42 +0000 (16:05 +0100)]
Fix sched waveform bug

21 months agoAssertion hints
Nick Gasson [Sun, 7 Aug 2022 14:44:38 +0000 (15:44 +0100)]
Assertion hints

21 months agoSched event
Nick Gasson [Sun, 7 Aug 2022 14:27:56 +0000 (15:27 +0100)]
Sched event

21 months agoInit array signals
Nick Gasson [Sun, 7 Aug 2022 14:09:44 +0000 (15:09 +0100)]
Init array signals

21 months agoWrite out all vcode for elaborataion
Nick Gasson [Sun, 7 Aug 2022 14:03:57 +0000 (15:03 +0100)]
Write out all vcode for elaborataion

21 months agoAdd active/event
Nick Gasson [Sun, 7 Aug 2022 12:32:24 +0000 (13:32 +0100)]
Add active/event

21 months agoMore runtime exits
Nick Gasson [Sun, 7 Aug 2022 12:14:37 +0000 (13:14 +0100)]
More runtime exits

21 months agoRemove "_reset" suffix from reset function symbols
Nick Gasson [Sun, 7 Aug 2022 19:27:35 +0000 (20:27 +0100)]
Remove "_reset" suffix from reset function symbols

21 months agoApply #8 from GitLab IEEE-P1076/packages
Nick Gasson [Sun, 7 Aug 2022 20:33:20 +0000 (21:33 +0100)]
Apply #8 from GitLab IEEE-P1076/packages

21 months agoImport VHDL-2019 STD packages
Nick Gasson [Sun, 7 Aug 2022 20:31:19 +0000 (21:31 +0100)]
Import VHDL-2019 STD packages

21 months agoAdd a test of reading/writing arrays of records
Nick Gasson [Sun, 7 Aug 2022 20:23:20 +0000 (21:23 +0100)]
Add a test of reading/writing arrays of records

21 months agoRemove the legacy rt/jit.c
Nick Gasson [Sun, 7 Aug 2022 19:21:23 +0000 (20:21 +0100)]
Remove the legacy rt/jit.c

21 months agoRemove "_reset" suffix from reset function symbols
Nick Gasson [Sun, 7 Aug 2022 19:27:35 +0000 (20:27 +0100)]
Remove "_reset" suffix from reset function symbols

21 months agoAdd more JIT IR generation for signals
Nick Gasson [Sun, 7 Aug 2022 10:37:10 +0000 (11:37 +0100)]
Add more JIT IR generation for signals

21 months agoOptimise fbuf decompression
Nick Gasson [Sun, 17 Jul 2022 19:16:44 +0000 (20:16 +0100)]
Optimise fbuf decompression

21 months agoRemove the unmaintained JSON dumper
Nick Gasson [Sun, 7 Aug 2022 08:48:38 +0000 (09:48 +0100)]
Remove the unmaintained JSON dumper

21 months agoRemove deprecated --disable-opt and --native options
Nick Gasson [Sun, 7 Aug 2022 08:44:10 +0000 (09:44 +0100)]
Remove deprecated --disable-opt and --native options

21 months agoBump version to 1.8-devel
Nick Gasson [Sun, 7 Aug 2022 08:40:45 +0000 (09:40 +0100)]
Bump version to 1.8-devel

21 months agoUpdate for 1.7 release r1.7.0
Nick Gasson [Sun, 7 Aug 2022 08:27:22 +0000 (09:27 +0100)]
Update for 1.7 release

21 months agoUse printf %c instead of %C to print characters
Nick Gasson [Sun, 7 Aug 2022 08:08:44 +0000 (09:08 +0100)]
Use printf %c instead of %C to print characters

Doesn't work with OpenBSD libc

21 months agoAdd register extraction for AArch64 and armv6 on FreeBSD
Nick Gasson [Sun, 7 Aug 2022 08:00:38 +0000 (09:00 +0100)]
Add register extraction for AArch64 and armv6 on FreeBSD

21 months agoSome constant expressions are not fully folded
Nick Gasson [Fri, 5 Aug 2022 19:49:26 +0000 (20:49 +0100)]
Some constant expressions are not fully folded

21 months agoCorrect order of processes/callbacks according to LRM
Nick Gasson [Fri, 5 Aug 2022 17:33:04 +0000 (18:33 +0100)]
Correct order of processes/callbacks according to LRM

21 months agoAdd NEORV32 to regression tests
Nick Gasson [Thu, 4 Aug 2022 21:41:04 +0000 (22:41 +0100)]
Add NEORV32 to regression tests

21 months agoIncorrect calculation of longest static prefix
Nick Gasson [Thu, 4 Aug 2022 21:16:48 +0000 (22:16 +0100)]
Incorrect calculation of longest static prefix

21 months agoStack trace output can show wrong line
Nick Gasson [Thu, 4 Aug 2022 20:52:56 +0000 (21:52 +0100)]
Stack trace output can show wrong line

21 months agoFix crash with 2008-style range choice in aggregate
Nick Gasson [Wed, 3 Aug 2022 20:29:41 +0000 (21:29 +0100)]
Fix crash with 2008-style range choice in aggregate

21 months agoCrash with aggregate of record signals
Nick Gasson [Wed, 3 Aug 2022 19:38:50 +0000 (20:38 +0100)]
Crash with aggregate of record signals

21 months agoFix bug with non-static actuals in port map
Nick Gasson [Wed, 3 Aug 2022 19:28:44 +0000 (20:28 +0100)]
Fix bug with non-static actuals in port map

21 months agoBetter handling of label attributes
Nick Gasson [Wed, 3 Aug 2022 18:55:31 +0000 (19:55 +0100)]
Better handling of label attributes

21 months agoImplicit labeling for statements (#498)
Blebowski [Wed, 3 Aug 2022 16:59:11 +0000 (18:59 +0200)]
Implicit labeling for statements (#498)

Co-authored-by: Ondrej Ille <ondrej.ille@tropicsqaure.com>
21 months agoFix build failures on armv7
Nick Gasson [Tue, 2 Aug 2022 21:50:45 +0000 (22:50 +0100)]
Fix build failures on armv7

21 months agoReduce the size of object_t nodes in memory
Nick Gasson [Tue, 2 Aug 2022 21:45:28 +0000 (22:45 +0100)]
Reduce the size of object_t nodes in memory

21 months agoFix incorrect _nvc_current_delta symbol name
Nick Gasson [Tue, 2 Aug 2022 20:47:04 +0000 (21:47 +0100)]
Fix incorrect _nvc_current_delta symbol name

21 months agoAdd CURRENT_DELTA_CYCLE to query the current delta cycle
Nick Gasson [Tue, 2 Aug 2022 20:39:10 +0000 (21:39 +0100)]
Add CURRENT_DELTA_CYCLE to query the current delta cycle

21 months agoMissing condition conversion in conditional waveforms/expressions
Nick Gasson [Mon, 1 Aug 2022 18:50:16 +0000 (19:50 +0100)]
Missing condition conversion in conditional waveforms/expressions

21 months agoDetect POSIX shell path in configure script. Issue #499
Nick Gasson [Tue, 2 Aug 2022 18:03:21 +0000 (19:03 +0100)]
Detect POSIX shell path in configure script. Issue #499

21 months agoHandle DW_AT_ranges in libdwarf backend
Nick Gasson [Sun, 31 Jul 2022 21:51:24 +0000 (22:51 +0100)]
Handle DW_AT_ranges in libdwarf backend

21 months agoGarbage output on terminal when links are not supported
Nick Gasson [Sun, 31 Jul 2022 16:26:37 +0000 (17:26 +0100)]
Garbage output on terminal when links are not supported

21 months agoGeneric override for physical and real types
Nick Gasson [Sun, 31 Jul 2022 16:20:19 +0000 (17:20 +0100)]
Generic override for physical and real types

21 months agoFix thread.c warnings on release build
Nick Gasson [Sun, 31 Jul 2022 14:26:06 +0000 (15:26 +0100)]
Fix thread.c warnings on release build

21 months agoImprove process JIT test
Nick Gasson [Sun, 31 Jul 2022 12:52:17 +0000 (13:52 +0100)]
Improve process JIT test

21 months agoSimplify type attribute references more eagerly
Nick Gasson [Sun, 31 Jul 2022 12:30:17 +0000 (13:30 +0100)]
Simplify type attribute references more eagerly

21 months agoAvoid unnecessarily copying ports
Nick Gasson [Sun, 31 Jul 2022 11:26:22 +0000 (12:26 +0100)]
Avoid unnecessarily copying ports

21 months agoFix elaboration error with for generate
Nick Gasson [Sun, 31 Jul 2022 10:19:28 +0000 (11:19 +0100)]
Fix elaboration error with for generate

21 months agoJIT IR generation for processes
Nick Gasson [Sun, 31 Jul 2022 08:27:41 +0000 (09:27 +0100)]
JIT IR generation for processes

21 months agoImprove error message with bad type declarations
Nick Gasson [Sat, 30 Jul 2022 11:14:12 +0000 (12:14 +0100)]
Improve error message with bad type declarations

21 months agoFix issue with 'IMAGE of type in generic package
Nick Gasson [Sat, 30 Jul 2022 10:57:03 +0000 (11:57 +0100)]
Fix issue with 'IMAGE of type in generic package

21 months agoGet rid of TREE_F_ELAB_COPY
Nick Gasson [Sat, 30 Jul 2022 08:33:26 +0000 (09:33 +0100)]
Get rid of TREE_F_ELAB_COPY

21 months agoFix regression of the FPHDL tests
Nick Gasson [Sat, 30 Jul 2022 08:11:40 +0000 (09:11 +0100)]
Fix regression of the FPHDL tests

21 months agoImprove handling of constants in generic package instances
Nick Gasson [Fri, 29 Jul 2022 20:55:24 +0000 (21:55 +0100)]
Improve handling of constants in generic package instances

21 months agoProperly handle link package opcode in jit-irgen. Issue #496
Nick Gasson [Thu, 28 Jul 2022 21:07:42 +0000 (22:07 +0100)]
Properly handle link package opcode in jit-irgen. Issue #496

21 months agoAdd caching for implicit signals
Nick Gasson [Thu, 28 Jul 2022 17:45:10 +0000 (18:45 +0100)]
Add caching for implicit signals

21 months agoLowering for 'STABLE and 'QUIET attributes. Issue #495
Nick Gasson [Thu, 28 Jul 2022 17:42:50 +0000 (18:42 +0100)]
Lowering for 'STABLE and 'QUIET attributes. Issue #495

21 months agoCrash with alias of array external name. Fixes #497
Nick Gasson [Wed, 27 Jul 2022 20:30:37 +0000 (21:30 +0100)]
Crash with alias of array external name. Fixes #497

21 months agoHandle signals in irgen_align_of. Issue #496
Nick Gasson [Wed, 27 Jul 2022 20:15:04 +0000 (21:15 +0100)]
Handle signals in irgen_align_of. Issue #496

21 months agoSimplify parsing of type_mark
Nick Gasson [Wed, 27 Jul 2022 19:58:33 +0000 (20:58 +0100)]
Simplify parsing of type_mark

21 months agoDo not emit hyperlinks for missing files
Nick Gasson [Tue, 26 Jul 2022 20:52:28 +0000 (21:52 +0100)]
Do not emit hyperlinks for missing files

21 months agoSupport 'SUBTYPE attribute on record types
Nick Gasson [Tue, 26 Jul 2022 20:42:41 +0000 (21:42 +0100)]
Support 'SUBTYPE attribute on record types

21 months agoImprove error message when no matching subprogram signature
Nick Gasson [Tue, 26 Jul 2022 20:06:33 +0000 (21:06 +0100)]
Improve error message when no matching subprogram signature

21 months agoError when ambiguity between subprogram and enumeration literal
Nick Gasson [Tue, 26 Jul 2022 19:46:39 +0000 (20:46 +0100)]
Error when ambiguity between subprogram and enumeration literal

21 months agoFix incorrect diagnostic sorting
Nick Gasson [Tue, 26 Jul 2022 18:06:31 +0000 (19:06 +0100)]
Fix incorrect diagnostic sorting

21 months agoImprove debugging for FILE_OPEN failures
Nick Gasson [Tue, 26 Jul 2022 17:49:49 +0000 (18:49 +0100)]
Improve debugging for FILE_OPEN failures

21 months agoFix misleading FILE_OPEN error message on Windows. Issue #494
Nick Gasson [Tue, 26 Jul 2022 17:14:55 +0000 (18:14 +0100)]
Fix misleading FILE_OPEN error message on Windows. Issue #494

21 months agoSimplify concatenations of string literals
Nick Gasson [Mon, 25 Jul 2022 20:30:03 +0000 (21:30 +0100)]
Simplify concatenations of string literals

21 months agoElaboration error with default binding. Fixes #493
Nick Gasson [Mon, 25 Jul 2022 18:09:25 +0000 (19:09 +0100)]
Elaboration error with default binding. Fixes #493

21 months agoAdd arena_set_root
Nick Gasson [Sun, 24 Jul 2022 19:41:03 +0000 (20:41 +0100)]
Add arena_set_root

21 months agoUse a hash table for library lookups
Nick Gasson [Sun, 24 Jul 2022 18:09:59 +0000 (19:09 +0100)]
Use a hash table for library lookups

21 months agoAdd --stderr option to control diagnostic destination. Issue #493
Nick Gasson [Sun, 24 Jul 2022 17:41:25 +0000 (18:41 +0100)]
Add --stderr option to control diagnostic destination. Issue #493

21 months agoAllow reading signals during static elaboration in relaxed mode. Issue #483
Nick Gasson [Sun, 24 Jul 2022 13:55:39 +0000 (14:55 +0100)]
Allow reading signals during static elaboration in relaxed mode. Issue #483

21 months agoMake suggestions for typos
Nick Gasson [Sun, 24 Jul 2022 13:52:55 +0000 (14:52 +0100)]
Make suggestions for typos

21 months agoAlso format enumeration literals in lower case
Nick Gasson [Sun, 24 Jul 2022 12:04:49 +0000 (13:04 +0100)]
Also format enumeration literals in lower case

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