]> git.nickg.me.uk Git - nvc.git/log
nvc.git
20 months agoRestore signal handler model
Nick Gasson [Mon, 22 Aug 2022 21:00:27 +0000 (22:00 +0100)]
Restore signal handler

20 months agoFix init bugs
Nick Gasson [Mon, 22 Aug 2022 20:36:09 +0000 (21:36 +0100)]
Fix init bugs

20 months agoMore cleanup
Nick Gasson [Sun, 21 Aug 2022 08:13:18 +0000 (09:13 +0100)]
More cleanup

20 months agoCleanup
Nick Gasson [Sat, 20 Aug 2022 12:03:46 +0000 (13:03 +0100)]
Cleanup

20 months agoFix coverage
Nick Gasson [Sat, 20 Aug 2022 11:30:53 +0000 (12:30 +0100)]
Fix coverage

20 months agoVHPI fixes
Nick Gasson [Sat, 20 Aug 2022 11:05:23 +0000 (12:05 +0100)]
VHPI fixes

20 months agoWave fixes
Nick Gasson [Sat, 20 Aug 2022 10:54:25 +0000 (11:54 +0100)]
Wave fixes

20 months agoFixup after rebase
Nick Gasson [Mon, 15 Aug 2022 14:11:58 +0000 (15:11 +0100)]
Fixup after rebase

Fixup after rebase

20 months agoMore cleanup
Nick Gasson [Mon, 15 Aug 2022 13:47:25 +0000 (14:47 +0100)]
More cleanup

20 months agosignal_expand, etc.
Nick Gasson [Mon, 15 Aug 2022 13:23:39 +0000 (14:23 +0100)]
signal_expand, etc.

20 months agoMap const
Nick Gasson [Mon, 15 Aug 2022 13:09:52 +0000 (14:09 +0100)]
Map const

20 months agoForce / release
Nick Gasson [Mon, 15 Aug 2022 12:49:57 +0000 (13:49 +0100)]
Force / release

20 months agoDisconnect
Nick Gasson [Mon, 15 Aug 2022 12:42:16 +0000 (13:42 +0100)]
Disconnect

20 months agoImplicit signal
Nick Gasson [Mon, 15 Aug 2022 12:40:19 +0000 (13:40 +0100)]
Implicit signal

20 months agoForce signal
Nick Gasson [Mon, 15 Aug 2022 12:36:31 +0000 (13:36 +0100)]
Force signal

20 months agoRefactor VHPI stuff
Nick Gasson [Mon, 15 Aug 2022 12:26:22 +0000 (13:26 +0100)]
Refactor VHPI stuff

20 months agoDriving / driving value
Nick Gasson [Mon, 15 Aug 2022 10:43:59 +0000 (11:43 +0100)]
Driving / driving value

20 months agoPush/pop scope
Nick Gasson [Mon, 15 Aug 2022 10:38:29 +0000 (11:38 +0100)]
Push/pop scope

20 months agoMore stuff
Nick Gasson [Mon, 15 Aug 2022 10:36:21 +0000 (11:36 +0100)]
More stuff

20 months agoLast event and last active
Nick Gasson [Mon, 15 Aug 2022 10:26:03 +0000 (11:26 +0100)]
Last event and last active

20 months agoMore __nvc_tlab over
Nick Gasson [Mon, 15 Aug 2022 10:15:56 +0000 (11:15 +0100)]
More __nvc_tlab over

20 months agoFix unit test
Nick Gasson [Sun, 14 Aug 2022 11:33:00 +0000 (12:33 +0100)]
Fix unit test

20 months agoMove assert and report over
Nick Gasson [Sat, 13 Aug 2022 20:27:17 +0000 (21:27 +0100)]
Move assert and report over

20 months agoAnd some more
Nick Gasson [Sat, 13 Aug 2022 19:56:43 +0000 (20:56 +0100)]
And some more

20 months agoCopy more code over
Nick Gasson [Sat, 13 Aug 2022 19:45:01 +0000 (20:45 +0100)]
Copy more code over

20 months agoPort more code
Nick Gasson [Sat, 13 Aug 2022 14:08:02 +0000 (15:08 +0100)]
Port more code

20 months agoMove some more functions to jit-exits
Nick Gasson [Sat, 13 Aug 2022 12:27:03 +0000 (13:27 +0100)]
Move some more functions to jit-exits

20 months agoWIP add rt_model_t
Nick Gasson [Sun, 31 Jul 2022 14:15:45 +0000 (15:15 +0100)]
WIP add rt_model_t

Move most runtime structs to structs.h

Add model tests

Hack into rtkern

Model reset

Add JIT opcode for init signal

Copy over more code

Drive signal in model

Sched waveform

Copy more code from rtkern

Thread-local model

20 months agoMove some STD.STANDARD functions to a separate file
Nick Gasson [Mon, 15 Aug 2022 13:56:51 +0000 (14:56 +0100)]
Move some STD.STANDARD functions to a separate file

20 months agoStart replacing some deprecated LLVM functions
Nick Gasson [Sun, 21 Aug 2022 09:37:14 +0000 (10:37 +0100)]
Start replacing some deprecated LLVM functions

20 months agoBump minimum LLVM version to 8.0
Nick Gasson [Sun, 21 Aug 2022 09:22:30 +0000 (10:22 +0100)]
Bump minimum LLVM version to 8.0

20 months agoOnly check file modification time once
Nick Gasson [Sat, 20 Aug 2022 20:42:53 +0000 (21:42 +0100)]
Only check file modification time once

20 months agoAdd opcodes for scalar to string conversion
Nick Gasson [Sat, 20 Aug 2022 19:55:29 +0000 (20:55 +0100)]
Add opcodes for scalar to string conversion

20 months agoDedicated vcode opcodes for string conversions
Nick Gasson [Sat, 20 Aug 2022 17:22:52 +0000 (18:22 +0100)]
Dedicated vcode opcodes for string conversions

20 months agoIncorrect behaviour of resolution functions with nested records. Issue #516
Nick Gasson [Wed, 17 Aug 2022 18:11:39 +0000 (19:11 +0100)]
Incorrect behaviour of resolution functions with nested records. Issue #516

20 months agoAvoid unnecessary copy on output of resolution function
Nick Gasson [Sat, 20 Aug 2022 09:32:35 +0000 (10:32 +0100)]
Avoid unnecessary copy on output of resolution function

20 months agoFix build with old versions of Glibc
Nick Gasson [Sat, 20 Aug 2022 07:47:39 +0000 (08:47 +0100)]
Fix build with old versions of Glibc

20 months agoIncorrect code generation with array type declared in function
Nick Gasson [Fri, 19 Aug 2022 21:23:53 +0000 (22:23 +0100)]
Incorrect code generation with array type declared in function

20 months agoAlways build VITAL on Windows
Nick Gasson [Fri, 19 Aug 2022 20:03:18 +0000 (21:03 +0100)]
Always build VITAL on Windows

20 months agoUpdate Vivado compile script to use new --install framework
Nick Gasson [Fri, 19 Aug 2022 20:02:33 +0000 (21:02 +0100)]
Update Vivado compile script to use new --install framework

20 months agoImplement working directory functions from VHDL-2019
Nick Gasson [Thu, 18 Aug 2022 21:15:23 +0000 (22:15 +0100)]
Implement working directory functions from VHDL-2019

21 months agoExternal names with record signals. Fixes #520
Nick Gasson [Thu, 18 Aug 2022 13:22:36 +0000 (14:22 +0100)]
External names with record signals. Fixes #520

21 months agoBug in simplification of wait until statement with no sensitivity list
Nick Gasson [Wed, 17 Aug 2022 17:24:05 +0000 (18:24 +0100)]
Bug in simplification of wait until statement with no sensitivity list

21 months agoFix crash with expressions like X'DELAYED'STABLE. Issue #517
Nick Gasson [Wed, 17 Aug 2022 16:54:20 +0000 (17:54 +0100)]
Fix crash with expressions like X'DELAYED'STABLE. Issue #517

21 months agoIncrease default delta cycle limit to 10000. Issue #521
Nick Gasson [Wed, 17 Aug 2022 12:52:45 +0000 (13:52 +0100)]
Increase default delta cycle limit to 10000. Issue #521

21 months agoCrash with type conversion in generic map. Fixes #518
Nick Gasson [Tue, 16 Aug 2022 20:47:48 +0000 (21:47 +0100)]
Crash with type conversion in generic map. Fixes #518

21 months agoFix regression of ctrl-C interrupt handling
Nick Gasson [Tue, 16 Aug 2022 20:40:14 +0000 (21:40 +0100)]
Fix regression of ctrl-C interrupt handling

21 months agoFix crash after out-of-memory. Issue #515
Nick Gasson [Tue, 16 Aug 2022 20:12:28 +0000 (21:12 +0100)]
Fix crash after out-of-memory. Issue #515

21 months agoImprove dumping for qualified expressions
Nick Gasson [Tue, 16 Aug 2022 20:11:40 +0000 (21:11 +0100)]
Improve dumping for qualified expressions

21 months agoBasic support for partial record association in parameter map. Issue #511
Nick Gasson [Tue, 16 Aug 2022 10:15:19 +0000 (11:15 +0100)]
Basic support for partial record association in parameter map. Issue #511

21 months agoRefactor subprogram call argument checking
Nick Gasson [Mon, 15 Aug 2022 20:55:57 +0000 (21:55 +0100)]
Refactor subprogram call argument checking

21 months agoMove some STD.STANDARD functions to a separate file
Nick Gasson [Mon, 15 Aug 2022 13:56:51 +0000 (14:56 +0100)]
Move some STD.STANDARD functions to a separate file

21 months agoFix memory leak when forcing signals
Nick Gasson [Mon, 15 Aug 2022 13:49:22 +0000 (14:49 +0100)]
Fix memory leak when forcing signals

21 months agoImprove folding of for-generate expressions. Issue #514
Nick Gasson [Sun, 14 Aug 2022 13:05:02 +0000 (14:05 +0100)]
Improve folding of for-generate expressions. Issue #514

21 months agoMove some runtime error handlers to src/jit
Nick Gasson [Sat, 13 Aug 2022 15:03:22 +0000 (16:03 +0100)]
Move some runtime error handlers to src/jit

21 months agoMove some generic runtime helpers to src/jit
Nick Gasson [Sun, 7 Aug 2022 19:27:35 +0000 (20:27 +0100)]
Move some generic runtime helpers to src/jit

21 months agoFix crash reading resolved value of record signal. Issue #502
Nick Gasson [Sat, 13 Aug 2022 08:20:18 +0000 (09:20 +0100)]
Fix crash reading resolved value of record signal. Issue #502

21 months agoImplement STD.ENV.GMTIME
Nick Gasson [Fri, 12 Aug 2022 21:02:38 +0000 (22:02 +0100)]
Implement STD.ENV.GMTIME

21 months agoAdd support for else and elsif in generate statements. Issue #510
Nick Gasson [Fri, 12 Aug 2022 20:45:43 +0000 (21:45 +0100)]
Add support for else and elsif in generate statements. Issue #510

21 months agoRefactoring before adding else-generate
Nick Gasson [Fri, 12 Aug 2022 20:01:38 +0000 (21:01 +0100)]
Refactoring before adding else-generate

21 months agoMissing dependency of IEEE.STD_LOGIC_MISC on SYNOPSYS.ATTRIBUTES
Nick Gasson [Fri, 12 Aug 2022 18:21:32 +0000 (19:21 +0100)]
Missing dependency of IEEE.STD_LOGIC_MISC on SYNOPSYS.ATTRIBUTES

21 months agoLowering for 'ELEMENT attribute. Fixes #508
Nick Gasson [Fri, 12 Aug 2022 07:45:06 +0000 (08:45 +0100)]
Lowering for 'ELEMENT attribute. Fixes #508

21 months agoAdd --no-save option to not persist elaborated design. Issue 507
Nick Gasson [Thu, 11 Aug 2022 21:00:42 +0000 (22:00 +0100)]
Add --no-save option to not persist elaborated design. Issue 507

21 months agoFix crash with recursive entity instantiation. Issue #502
Nick Gasson [Thu, 11 Aug 2022 20:23:44 +0000 (21:23 +0100)]
Fix crash with recursive entity instantiation. Issue #502

21 months agoRegenerate dependencies for STD.ENV
Nick Gasson [Thu, 11 Aug 2022 08:16:10 +0000 (09:16 +0100)]
Regenerate dependencies for STD.ENV

21 months agoRefactor lower_context_for_call. Issue #502
Nick Gasson [Wed, 10 Aug 2022 21:49:59 +0000 (22:49 +0100)]
Refactor lower_context_for_call. Issue #502

21 months agoFix off by one for FreeBSD/powerpc* (#504)
pkubaj [Wed, 10 Aug 2022 21:45:14 +0000 (21:45 +0000)]
Fix off by one for FreeBSD/powerpc* (#504)

There are actually 32 GPR on POWER architecture.

21 months agoImplement fill_cpu_state for FreeBSD/i386. Issue #501
Nick Gasson [Wed, 10 Aug 2022 18:26:46 +0000 (19:26 +0100)]
Implement fill_cpu_state for FreeBSD/i386. Issue #501

21 months agoImplement EPOCH and LOCALTIME
Nick Gasson [Wed, 10 Aug 2022 08:07:52 +0000 (09:07 +0100)]
Implement EPOCH and LOCALTIME

21 months agoAdd support for FreeBSD/powerpc* (#503)
pkubaj [Wed, 10 Aug 2022 17:14:36 +0000 (17:14 +0000)]
Add support for FreeBSD/powerpc* (#503)

21 months agoImplement some more miscellaneous STD.ENV functions
Nick Gasson [Mon, 8 Aug 2022 22:24:18 +0000 (23:24 +0100)]
Implement some more miscellaneous STD.ENV functions

21 months agoImplement GETENV function
Nick Gasson [Mon, 8 Aug 2022 22:08:25 +0000 (23:08 +0100)]
Implement GETENV function

21 months agoAllow function parameters with variable class in VHDL-2019
Nick Gasson [Mon, 8 Aug 2022 20:34:19 +0000 (21:34 +0100)]
Allow function parameters with variable class in VHDL-2019

21 months agoStub out VHDL-2019 STD.ENV body
Nick Gasson [Mon, 8 Aug 2022 20:33:16 +0000 (21:33 +0100)]
Stub out VHDL-2019 STD.ENV body

21 months agoMissing textio WRITE [LINE, REAL, STRING] in VHDL-2008
Nick Gasson [Mon, 8 Aug 2022 17:59:44 +0000 (18:59 +0100)]
Missing textio WRITE [LINE, REAL, STRING] in VHDL-2008

21 months agoBuild VHDL-2019 libraries
Nick Gasson [Mon, 8 Aug 2022 17:53:19 +0000 (18:53 +0100)]
Build VHDL-2019 libraries

21 months agoPrint dependencies in sorted order
Nick Gasson [Mon, 8 Aug 2022 17:50:02 +0000 (18:50 +0100)]
Print dependencies in sorted order

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>