]> git.nickg.me.uk Git - nvc.git/log
nvc.git
8 years agoAdd missing tools/Makemodule.am v1.0-branch github/v1.0-branch sr.ht/v1.0-branch
Nick Gasson [Sun, 1 May 2016 16:04:03 +0000 (17:04 +0100)]
Add missing tools/Makemodule.am

8 years agoRelease 1.0.0 r1.0.0
Nick Gasson [Sun, 1 May 2016 13:36:16 +0000 (14:36 +0100)]
Release 1.0.0

8 years agoDistribution fixes
Nick Gasson [Sun, 1 May 2016 13:34:51 +0000 (14:34 +0100)]
Distribution fixes

8 years agoMore efficient grouping for record and multi-dimensional array signals. Fixes #250
Nick Gasson [Sun, 1 May 2016 12:51:44 +0000 (13:51 +0100)]
More efficient grouping for record and multi-dimensional array signals. Fixes #250

8 years agoRevert "use travis"
Nick Gasson [Sat, 30 Apr 2016 18:22:42 +0000 (19:22 +0100)]
Revert "use travis"

This reverts commit 7fb5768f76592229e6a5521a4c825fb2f8b55b74.

8 years agoTemporary workaround for issue #250
Nick Gasson [Sat, 30 Apr 2016 17:42:00 +0000 (18:42 +0100)]
Temporary workaround for issue #250

8 years agoMerge pull request #288 from peteut/master
Nick Gasson [Sat, 30 Apr 2016 17:24:25 +0000 (18:24 +0100)]
Merge pull request #288 from peteut/master

simplify patterns

8 years agouse travis
Alain Péteut [Sat, 23 Apr 2016 18:37:29 +0000 (20:37 +0200)]
use travis

8 years agosimplify patterns
Alain Péteut [Sat, 23 Apr 2016 13:44:27 +0000 (15:44 +0200)]
simplify patterns

8 years agoMerge pull request #287 from peteut/master
Nick Gasson [Thu, 14 Apr 2016 22:13:20 +0000 (23:13 +0100)]
Merge pull request #287 from peteut/master

Acess Types for Records

8 years agoadd implicit dereference of record types
Alain Péteut [Thu, 14 Apr 2016 21:49:50 +0000 (23:49 +0200)]
add implicit dereference of record types

fixes #288

8 years agoAdd access types for records test
Alain Péteut [Fri, 8 Apr 2016 22:57:57 +0000 (00:57 +0200)]
Add access types for records test

8 years agoFormal names should be locally rather than globally static
Nick Gasson [Mon, 4 Apr 2016 18:55:48 +0000 (19:55 +0100)]
Formal names should be locally rather than globally static

8 years agoFix erroneous error from implicitly generated "reject" clause
Nick Gasson [Sat, 2 Apr 2016 15:29:33 +0000 (16:29 +0100)]
Fix erroneous error from implicitly generated "reject" clause

8 years agoMerge pull request #285 from mitchsm/master
Nick Gasson [Mon, 21 Mar 2016 04:49:39 +0000 (23:49 -0500)]
Merge pull request #285 from mitchsm/master

allow file in package body. fixes issue 284

8 years agoallow file in package body. fixes issue 284
mitchsm [Sun, 20 Mar 2016 13:34:23 +0000 (09:34 -0400)]
allow file in package body. fixes issue 284

8 years agoMerge pull request #282 from hiyuh/cpids
Nick Gasson [Wed, 16 Mar 2016 15:39:36 +0000 (15:39 +0000)]
Merge pull request #282 from hiyuh/cpids

Fix for issue #280.

8 years agoFix for issue #280.
KIMURA Masaru [Wed, 16 Mar 2016 15:31:23 +0000 (00:31 +0900)]
Fix for issue #280.

8 years agoMerge pull request #281 from hiyuh/iso-c-zsa
Nick Gasson [Wed, 16 Mar 2016 15:27:09 +0000 (15:27 +0000)]
Merge pull request #281 from hiyuh/iso-c-zsa

Fix for issue #279.

8 years agoFix for issue #279.
KIMURA Masaru [Wed, 16 Mar 2016 15:22:43 +0000 (00:22 +0900)]
Fix for issue #279.

8 years agoMerge pull request #278 from hiyuh/iso-c-array
Nick Gasson [Wed, 16 Mar 2016 10:08:25 +0000 (10:08 +0000)]
Merge pull request #278 from hiyuh/iso-c-array

Fix for following warnings.

8 years agoMerge pull request #277 from hiyuh/ieee-typo
Nick Gasson [Wed, 16 Mar 2016 10:07:38 +0000 (10:07 +0000)]
Merge pull request #277 from hiyuh/ieee-typo

Fix a typo.

8 years agoFix for following warnings.
KIMURA Masaru [Wed, 16 Mar 2016 07:10:39 +0000 (16:10 +0900)]
Fix for following warnings.

In file included from src/cgen.c:23:0:
src/array.h:92:23: warning: ISO C does not allow extra \e$B!F\e(B;\e$B!G\e(B outside of a function [-Wpedantic]
    DECLARE_ARRAY(what);                \
                       ^
src/cgen.c:58:1: note: in expansion of macro \e$B!F\e(BDECLARE_AND_DEFINE_ARRAY\e$B!G\e(B
 DECLARE_AND_DEFINE_ARRAY(size_list);
 ^
src/cgen.c:58:36: warning: ISO C does not allow extra \e$B!F\e(B;\e$B!G\e(B outside of a function [-Wpedantic]
 DECLARE_AND_DEFINE_ARRAY(size_list);
                                    ^

8 years agoFix a typo.
KIMURA Masaru [Wed, 16 Mar 2016 06:59:15 +0000 (15:59 +0900)]
Fix a typo.

8 years agoEarlier bounds checking during elaboration. Fixes #251
Nick Gasson [Wed, 17 Feb 2016 20:41:27 +0000 (20:41 +0000)]
Earlier bounds checking during elaboration. Fixes #251

8 years agoFix work library visibility bug. Fixes #276
Nick Gasson [Sun, 31 Jan 2016 19:13:22 +0000 (19:13 +0000)]
Fix work library visibility bug. Fixes #276

8 years agoAdd --syntax option to check file syntax only. Fixes #266
Nick Gasson [Fri, 29 Jan 2016 19:42:12 +0000 (19:42 +0000)]
Add --syntax option to check file syntax only. Fixes #266

8 years agoDo not generate duplicate code for case statement alternatives. Fixes #262
Nick Gasson [Sun, 10 Jan 2016 17:11:28 +0000 (17:11 +0000)]
Do not generate duplicate code for case statement alternatives. Fixes #262

8 years agoImplement a few more VHPI properties and functions. Issue #64
Nick Gasson [Sun, 3 Jan 2016 14:44:59 +0000 (14:44 +0000)]
Implement a few more VHPI properties and functions. Issue #64

8 years agoFix LLVM link error with use clause in block or generate. Fixes #225
Nick Gasson [Wed, 16 Dec 2015 21:33:30 +0000 (21:33 +0000)]
Fix LLVM link error with use clause in block or generate. Fixes #225

8 years agoRemove dead code in sem_check_ref
Nick Gasson [Wed, 9 Dec 2015 21:35:03 +0000 (21:35 +0000)]
Remove dead code in sem_check_ref

8 years agoChange `lib_find` to take an interned string argument
Nick Gasson [Wed, 9 Dec 2015 21:33:28 +0000 (21:33 +0000)]
Change `lib_find` to take an interned string argument

8 years agoMerge pull request #275 from mitchsm/add-vivado-script
Nick Gasson [Mon, 7 Dec 2015 10:34:06 +0000 (10:34 +0000)]
Merge pull request #275 from mitchsm/add-vivado-script

add script to compile libraries for Xilinx Vivado. Issue #273

8 years agoadd unifast library
Michael Mitchener [Mon, 7 Dec 2015 04:19:12 +0000 (23:19 -0500)]
add unifast library

8 years agorename existing xilinx-ise script; update README.md
Michael Mitchener [Mon, 7 Dec 2015 02:27:49 +0000 (21:27 -0500)]
rename existing xilinx-ise script; update README.md

8 years agofix occurrence of "ISE" in new script
Michael Mitchener [Mon, 7 Dec 2015 02:24:45 +0000 (21:24 -0500)]
fix occurrence of "ISE" in new script

8 years agoadd script to compile unisim and unimacro libraries for Xilinx Vivado. Issue #273
Michael Mitchener [Mon, 7 Dec 2015 02:21:42 +0000 (21:21 -0500)]
add script to compile unisim and unimacro libraries for Xilinx Vivado. Issue #273

8 years agoMerge pull request #274 from mitchsm/check-ascending-time
Nick Gasson [Sun, 6 Dec 2015 22:09:44 +0000 (22:09 +0000)]
Merge pull request #274 from mitchsm/check-ascending-time

add check that signal assignments occur in ascending time order

8 years agoadd check that signal assignments occur in ascending time order
Michael Mitchener [Sun, 6 Dec 2015 22:01:31 +0000 (17:01 -0500)]
add check that signal assignments occur in ascending time order

8 years agoImprovements to Xilinx CoreLib build script
Nick Gasson [Sun, 6 Dec 2015 16:00:44 +0000 (16:00 +0000)]
Improvements to Xilinx CoreLib build script

8 years agoFix bug with character literals introduced by previous commit
Nick Gasson [Sun, 6 Dec 2015 15:47:24 +0000 (15:47 +0000)]
Fix bug with character literals introduced by previous commit

8 years agoImprovements to selected name checking. Issues #197 #226
Nick Gasson [Sun, 6 Dec 2015 15:40:23 +0000 (15:40 +0000)]
Improvements to selected name checking. Issues #197 #226

8 years agoMerge pull request #272 from hiyuh/fst-config
Nick Gasson [Sun, 6 Dec 2015 08:02:49 +0000 (08:02 +0000)]
Merge pull request #272 from hiyuh/fst-config

Add more FST configure options.

8 years agoRemove non-sensible ones. Pull request #272
KIMURA Masaru [Sat, 5 Dec 2015 23:43:54 +0000 (08:43 +0900)]
Remove non-sensible ones. Pull request #272

8 years agoImprovements to case statement checking
Nick Gasson [Sat, 5 Dec 2015 21:22:02 +0000 (21:22 +0000)]
Improvements to case statement checking

8 years agoFix crash with concatenation in case statement. Issue #264
Nick Gasson [Sat, 5 Dec 2015 21:01:56 +0000 (21:01 +0000)]
Fix crash with concatenation in case statement. Issue #264

8 years agoAdd more FST configure options.
KIMURA Masaru [Fri, 4 Dec 2015 15:20:56 +0000 (00:20 +0900)]
Add more FST configure options.

8 years agoUse index constraint of base type in array bounds check. Issue #269
Nick Gasson [Thu, 3 Dec 2015 22:01:48 +0000 (22:01 +0000)]
Use index constraint of base type in array bounds check. Issue #269

8 years agoMerge pull request #268 from mitchsm/more-bounds-checking
Nick Gasson [Sun, 29 Nov 2015 23:35:32 +0000 (07:35 +0800)]
Merge pull request #268 from mitchsm/more-bounds-checking

add bounds-check and display functions to make checking more uniform;…

8 years agoadd bounds-check and display functions to make checking more uniform; also resolves...
Michael Mitchener [Sat, 28 Nov 2015 01:39:23 +0000 (20:39 -0500)]
add bounds-check and display functions to make checking more uniform; also resolves TBD about bounds-checking physical types

8 years agoFix non-Windows build. Issue #267
Nick Gasson [Wed, 25 Nov 2015 01:51:12 +0000 (09:51 +0800)]
Fix non-Windows build. Issue #267

8 years agoVHPI fixes for Cygwin. Issue #267
Nick Gasson [Tue, 24 Nov 2015 13:30:24 +0000 (21:30 +0800)]
VHPI fixes for Cygwin. Issue #267

8 years agoAdd configure check for -fPIC. Issue #267
Nick Gasson [Tue, 24 Nov 2015 12:38:48 +0000 (20:38 +0800)]
Add configure check for -fPIC. Issue #267

8 years agoFix crash using qualified for loop variable names
Nick Gasson [Thu, 5 Nov 2015 21:58:34 +0000 (21:58 +0000)]
Fix crash using qualified for loop variable names

8 years agoFix corner case identifying valid conversion functions
Nick Gasson [Thu, 5 Nov 2015 21:49:39 +0000 (21:49 +0000)]
Fix corner case identifying valid conversion functions

8 years agoFix code generation crash with real signals
Nick Gasson [Tue, 27 Oct 2015 20:03:33 +0000 (20:03 +0000)]
Fix code generation crash with real signals

8 years agonvc: Fix compilation error with empty array declaration
Jan Viktorin [Wed, 21 Oct 2015 00:19:26 +0000 (02:19 +0200)]
nvc: Fix compilation error with empty array declaration

src/cgen.c:3485:19: error: zero or negative size array â€˜args’
       LLVMTypeRef args[] = {};

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
8 years agoMerge pull request #261 from mitchsm/add-declaration-semantic-checks
Nick Gasson [Tue, 20 Oct 2015 13:05:07 +0000 (14:05 +0100)]
Merge pull request #261 from mitchsm/add-declaration-semantic-checks

Add declaration semantic checks

8 years agoadd tests for generics and ports of protected type
Michael Mitchener [Sun, 18 Oct 2015 17:43:02 +0000 (13:43 -0400)]
add tests for generics and ports of protected type

8 years agoadd semantic checks to prevent generics and ports of file, access, or protected types
Michael Mitchener [Sun, 18 Oct 2015 17:31:11 +0000 (13:31 -0400)]
add semantic checks to prevent generics and ports of file, access, or protected types

8 years agoadd semantic checks to prevent signals, constants, and attributes from being declared...
Michael Mitchener [Sun, 18 Oct 2015 17:04:32 +0000 (13:04 -0400)]
add semantic checks to prevent signals, constants, and attributes from being declared with file, access, or protected types

8 years agoadd semantic check for subprogram args with composite containing access type
Michael Mitchener [Sun, 18 Oct 2015 16:05:17 +0000 (12:05 -0400)]
add semantic check for subprogram args with composite containing access type

8 years agoMerge pull request #260 from mitchsm/disallow-assignment-to-protected-type
Nick Gasson [Sat, 17 Oct 2015 22:05:54 +0000 (23:05 +0100)]
Merge pull request #260 from mitchsm/disallow-assignment-to-protected-type

add semantic check for variable assignment to protected type

8 years agoadd semantic check for variable assignment to protected type
Michael Mitchener [Sat, 17 Oct 2015 22:00:06 +0000 (18:00 -0400)]
add semantic check for variable assignment to protected type

8 years agoadd semantic checks that composite types don't contain protected or file types
Michael Mitchener [Sat, 17 Oct 2015 21:31:02 +0000 (17:31 -0400)]
add semantic checks that composite types don't contain protected or file types

8 years agonew test for semantic checks using protected type
Michael Mitchener [Sat, 17 Oct 2015 21:12:46 +0000 (17:12 -0400)]
new test for semantic checks using protected type

8 years agoMerge pull request #258 from mitchsm/cleanup-interned-strings
Nick Gasson [Sat, 17 Oct 2015 20:16:31 +0000 (21:16 +0100)]
Merge pull request #258 from mitchsm/cleanup-interned-strings

clean up interned strings

8 years agoadd semantic check that file type is not composite containing subelement of access...
Michael Mitchener [Sat, 17 Oct 2015 18:49:47 +0000 (14:49 -0400)]
add semantic check that file type is not composite containing subelement of access type

8 years agoadd semantic check that file type of array is one-dimensional
Michael Mitchener [Sat, 17 Oct 2015 18:36:43 +0000 (14:36 -0400)]
add semantic check that file type of array is one-dimensional

8 years agoadd semantic check that file type is not of protected type
Michael Mitchener [Sat, 17 Oct 2015 17:17:27 +0000 (13:17 -0400)]
add semantic check that file type is not of protected type

8 years agoMerge pull request #259 from mitchsm/fix-deferred-missing-type
Nick Gasson [Wed, 14 Oct 2015 19:32:41 +0000 (20:32 +0100)]
Merge pull request #259 from mitchsm/fix-deferred-missing-type

Fix that unconstrained deferred constant arrays didn't get their type set

8 years agoadded test for deferred constant array
Michael Mitchener [Wed, 14 Oct 2015 02:57:53 +0000 (22:57 -0400)]
added test for deferred constant array

8 years agofix that the type for unconstrained deferred constant arrays was not set
Michael Mitchener [Wed, 14 Oct 2015 02:24:24 +0000 (22:24 -0400)]
fix that the type for unconstrained deferred constant arrays was not set

8 years agoclean up interned strings
Michael Mitchener [Tue, 13 Oct 2015 23:52:19 +0000 (19:52 -0400)]
clean up interned strings

8 years agoMerge pull request #257 from mitchsm/add-interface-checks
Nick Gasson [Tue, 13 Oct 2015 10:19:09 +0000 (11:19 +0100)]
Merge pull request #257 from mitchsm/add-interface-checks

add more interface checks

8 years agoadd semantic check for FILE parameters
Michael Mitchener [Mon, 12 Oct 2015 23:32:38 +0000 (19:32 -0400)]
add semantic check for FILE parameters

8 years agoadd semantic check that constant parameters must have IN mode
Michael Mitchener [Mon, 12 Oct 2015 23:24:15 +0000 (19:24 -0400)]
add semantic check that constant parameters must have IN mode

8 years agoadd semantic check that procedure arguments are not BUFFER or LINKAGE
Michael Mitchener [Mon, 12 Oct 2015 21:49:08 +0000 (17:49 -0400)]
add semantic check that procedure arguments are not BUFFER or LINKAGE

8 years agoadd semantic check that ports are signal class
Michael Mitchener [Mon, 12 Oct 2015 21:21:28 +0000 (17:21 -0400)]
add semantic check that ports are signal class

8 years agofix that variables and files defined in generic list ended up in port list
Michael Mitchener [Mon, 12 Oct 2015 20:58:27 +0000 (16:58 -0400)]
fix that variables and files defined in generic list ended up in port list

8 years agoMerge pull request #256 from mitchsm/check-default-expressions
Nick Gasson [Mon, 12 Oct 2015 16:13:13 +0000 (17:13 +0100)]
Merge pull request #256 from mitchsm/check-default-expressions

Check default expressions for constants, signals, and variables

8 years agobounds-check port declarations
Michael Mitchener [Mon, 12 Oct 2015 15:57:14 +0000 (11:57 -0400)]
bounds-check port declarations

8 years agomodify assignment so it still tests runtime bounds-checking
Michael Mitchener [Mon, 12 Oct 2015 14:32:18 +0000 (10:32 -0400)]
modify assignment so it still tests runtime bounds-checking

8 years agoRevert "remove now-obsolete regression test. this error is now caught during compilation"
Michael Mitchener [Mon, 12 Oct 2015 14:18:40 +0000 (10:18 -0400)]
Revert "remove now-obsolete regression test. this error is now caught during compilation"

This reverts commit aa3515c5f72d5c0fd59ad2f560469dca73ffc9bf.

8 years agofix indentation in simp.c
Michael Mitchener [Mon, 12 Oct 2015 13:34:44 +0000 (09:34 -0400)]
fix indentation in simp.c

8 years agoMerge pull request #255 from mitchsm/fix-bounds-check-call-args
Nick Gasson [Mon, 12 Oct 2015 08:22:21 +0000 (09:22 +0100)]
Merge pull request #255 from mitchsm/fix-bounds-check-call-args

fix that actual and formal lengths were swapped in bounds_check_call_args()

8 years agoadd tests for bounds-checking default values
Michael Mitchener [Mon, 12 Oct 2015 02:28:55 +0000 (22:28 -0400)]
add tests for bounds-checking default values

8 years agobounds-check real values in assignments
Michael Mitchener [Mon, 12 Oct 2015 02:24:31 +0000 (22:24 -0400)]
bounds-check real values in assignments

8 years agoremove now-obsolete regression test. this error is now caught during compilation
Michael Mitchener [Mon, 12 Oct 2015 02:23:44 +0000 (22:23 -0400)]
remove now-obsolete regression test. this error is now caught during compilation

8 years agobounds-check all scalar values, not just subtypes
Michael Mitchener [Mon, 12 Oct 2015 02:22:56 +0000 (22:22 -0400)]
bounds-check all scalar values, not just subtypes

8 years agobounds-check default values for constants, signals, and variables
Michael Mitchener [Mon, 12 Oct 2015 02:21:43 +0000 (22:21 -0400)]
bounds-check default values for constants, signals, and variables

8 years agofix that implicit X'TRANSACTION() signal had default expression from X rather than BIT
Michael Mitchener [Mon, 12 Oct 2015 02:02:46 +0000 (22:02 -0400)]
fix that implicit X'TRANSACTION() signal had default expression from X rather than BIT

8 years agoenum subtype default value should be from subtype'left, not base type
Michael Mitchener [Mon, 12 Oct 2015 00:44:11 +0000 (20:44 -0400)]
enum subtype default value should be from subtype'left, not base type

8 years agofix that actual and formal lengths were swapped; also refactored to use existing...
Michael Mitchener [Sun, 11 Oct 2015 22:49:31 +0000 (18:49 -0400)]
fix that actual and formal lengths were swapped; also refactored to use existing folded_length() function

8 years agoMerge pull request #254 from mitchsm/bounds-check-delays
Nick Gasson [Sun, 11 Oct 2015 21:45:56 +0000 (22:45 +0100)]
Merge pull request #254 from mitchsm/bounds-check-delays

Bounds check delays

8 years agoMerge pull request #253 from mitchsm/dump-physical-subtype
Nick Gasson [Sun, 11 Oct 2015 21:44:57 +0000 (22:44 +0100)]
Merge pull request #253 from mitchsm/dump-physical-subtype

dump physical subtype range and simplify dumping enum subtype

8 years agoMerge pull request #252 from mitchsm/add-enum-bounds-checking
Nick Gasson [Sun, 11 Oct 2015 21:44:05 +0000 (22:44 +0100)]
Merge pull request #252 from mitchsm/add-enum-bounds-checking

Add enum bounds checking

8 years agobounds-check delay in wait statement
Michael Mitchener [Sun, 11 Oct 2015 21:33:28 +0000 (17:33 -0400)]
bounds-check delay in wait statement

8 years agobounds-check rejection limits and assignment delays
Michael Mitchener [Sun, 11 Oct 2015 21:22:40 +0000 (17:22 -0400)]
bounds-check rejection limits and assignment delays

8 years agodump physical subtype range and simplify dumping enum subtype
Michael Mitchener [Sun, 11 Oct 2015 19:30:10 +0000 (15:30 -0400)]
dump physical subtype range and simplify dumping enum subtype