]> git.nickg.me.uk Git - nvc.git/log
nvc.git
12 years agoPrint short form of type name in "show -signal" output native
Nick Gasson [Sat, 7 Apr 2012 18:26:00 +0000 (19:26 +0100)]
Print short form of type name in "show -signal" output

12 years agoAdd a separate module for pretty-printing runtime values
Nick Gasson [Sat, 7 Apr 2012 18:20:49 +0000 (19:20 +0100)]
Add a separate module for pretty-printing runtime values

12 years agoVCD formatting for std_ulogic
Nick Gasson [Sat, 31 Mar 2012 09:08:57 +0000 (10:08 +0100)]
VCD formatting for std_ulogic

12 years agoAdd 'INSTANCE_NAME attribute
Nick Gasson [Fri, 30 Mar 2012 18:05:16 +0000 (19:05 +0100)]
Add 'INSTANCE_NAME attribute

12 years agoParsing and elaboration for blocks
Nick Gasson [Fri, 30 Mar 2012 06:56:16 +0000 (07:56 +0100)]
Parsing and elaboration for blocks

12 years agoForgot to quote identifiers for one and zero
Nick Gasson [Thu, 29 Mar 2012 06:48:59 +0000 (07:48 +0100)]
Forgot to quote identifiers for one and zero

12 years agoParse bit string literals
Nick Gasson [Thu, 29 Mar 2012 06:48:05 +0000 (07:48 +0100)]
Parse bit string literals

12 years agoMore improvements to subtype handling
Nick Gasson [Thu, 29 Mar 2012 06:08:18 +0000 (07:08 +0100)]
More improvements to subtype handling

12 years agoImprove handling of subtypes in some places
Nick Gasson [Wed, 28 Mar 2012 07:48:09 +0000 (08:48 +0100)]
Improve handling of subtypes in some places

12 years agoTemporary fix for error compiling std_logic_arith
Nick Gasson [Wed, 28 Mar 2012 07:46:55 +0000 (08:46 +0100)]
Temporary fix for error compiling std_logic_arith

12 years agoImprovements to dumper
Nick Gasson [Tue, 27 Mar 2012 07:41:51 +0000 (08:41 +0100)]
Improvements to dumper

12 years agoKeep going after errors in context
Nick Gasson [Tue, 27 Mar 2012 07:35:12 +0000 (08:35 +0100)]
Keep going after errors in context

12 years agoFix checking of array slices when direction is not known
Nick Gasson [Tue, 27 Mar 2012 07:28:30 +0000 (08:28 +0100)]
Fix checking of array slices when direction is not known

12 years agoTidy up ieee/Makefile.am
Nick Gasson [Tue, 27 Mar 2012 07:24:04 +0000 (08:24 +0100)]
Tidy up ieee/Makefile.am

12 years agoAdd a quick test of the std_logic_arith package
Nick Gasson [Tue, 27 Mar 2012 07:03:33 +0000 (08:03 +0100)]
Add a quick test of the std_logic_arith package

12 years agoBuild and install Synopsys packages
Nick Gasson [Tue, 27 Mar 2012 06:48:31 +0000 (07:48 +0100)]
Build and install Synopsys packages

12 years agoUse type_is_array in a few places
Nick Gasson [Mon, 26 Mar 2012 14:33:56 +0000 (15:33 +0100)]
Use type_is_array in a few places

12 years agoSeparate "element type" from "base type" to improve code clarity
Nick Gasson [Mon, 26 Mar 2012 14:27:04 +0000 (15:27 +0100)]
Separate "element type" from "base type" to improve code clarity

12 years agoFix calculation of concatenation right bound
Nick Gasson [Mon, 26 Mar 2012 13:54:41 +0000 (14:54 +0100)]
Fix calculation of concatenation right bound

12 years agoFix crash caused by previous commit
Nick Gasson [Sun, 25 Mar 2012 16:01:26 +0000 (17:01 +0100)]
Fix crash caused by previous commit

12 years agoMake cgen_const_bounds work for all array types
Nick Gasson [Sun, 25 Mar 2012 15:59:08 +0000 (16:59 +0100)]
Make cgen_const_bounds work for all array types

12 years agoFix silly bug when expanding X'A attributes
Nick Gasson [Sun, 25 Mar 2012 15:45:15 +0000 (16:45 +0100)]
Fix silly bug when expanding X'A attributes

12 years agoConcatenation of array with scalar
Nick Gasson [Sun, 25 Mar 2012 15:34:37 +0000 (16:34 +0100)]
Concatenation of array with scalar

12 years agoMake regression test timeout a bit longer
Nick Gasson [Sat, 24 Mar 2012 16:02:11 +0000 (16:02 +0000)]
Make regression test timeout a bit longer

12 years agoFix array references where type is a subtype
Nick Gasson [Sat, 24 Mar 2012 15:59:27 +0000 (15:59 +0000)]
Fix array references where type is a subtype

12 years agoChecking for slices/references of array subtypes
Nick Gasson [Sat, 24 Mar 2012 15:43:27 +0000 (15:43 +0000)]
Checking for slices/references of array subtypes

12 years agoFix dependencies in ieee Makefile
Nick Gasson [Sat, 24 Mar 2012 09:34:17 +0000 (09:34 +0000)]
Fix dependencies in ieee Makefile

12 years agoImproved range checking for subtypes
Nick Gasson [Sat, 24 Mar 2012 09:18:53 +0000 (09:18 +0000)]
Improved range checking for subtypes

12 years agoOperator names in lower case
Nick Gasson [Sat, 24 Mar 2012 08:59:53 +0000 (08:59 +0000)]
Operator names in lower case

12 years agoLink against LLVM shared library where possible
Nick Gasson [Sat, 24 Mar 2012 08:54:15 +0000 (08:54 +0000)]
Link against LLVM shared library where possible

12 years agoRe-indent ax_llvm_c.m4
Nick Gasson [Sat, 24 Mar 2012 07:36:36 +0000 (07:36 +0000)]
Re-indent ax_llvm_c.m4

12 years agoAdd a few likely/unlikely hints to rtkern
Nick Gasson [Fri, 23 Mar 2012 09:15:45 +0000 (09:15 +0000)]
Add a few likely/unlikely hints to rtkern

12 years agoRemove some useless restrict qualifiers
Nick Gasson [Fri, 23 Mar 2012 08:54:23 +0000 (08:54 +0000)]
Remove some useless restrict qualifiers

12 years agoOptimise rt_tmp_alloc to reduce calls to malloc/free
Nick Gasson [Fri, 23 Mar 2012 08:20:57 +0000 (08:20 +0000)]
Optimise rt_tmp_alloc to reduce calls to malloc/free

12 years agoFix invalid LLVM generation when passing signal to function
Nick Gasson [Fri, 23 Mar 2012 08:01:28 +0000 (08:01 +0000)]
Fix invalid LLVM generation when passing signal to function

12 years agoElaboration for generics
Nick Gasson [Thu, 22 Mar 2012 09:01:38 +0000 (09:01 +0000)]
Elaboration for generics

12 years agoVisibility rules for ports and generics
Nick Gasson [Thu, 22 Mar 2012 07:35:23 +0000 (07:35 +0000)]
Visibility rules for ports and generics

12 years agoAdd absolute value operator
Nick Gasson [Tue, 20 Mar 2012 08:21:41 +0000 (08:21 +0000)]
Add absolute value operator

12 years agoAdd exponentiation operator
Nick Gasson [Tue, 20 Mar 2012 08:10:09 +0000 (08:10 +0000)]
Add exponentiation operator

12 years agoFix sem_default_value for array subtypes
Nick Gasson [Tue, 20 Mar 2012 07:34:33 +0000 (07:34 +0000)]
Fix sem_default_value for array subtypes

12 years agoFix "array subscript has type `char'" warning.
KIMURA Masaru [Mon, 19 Mar 2012 06:50:55 +0000 (14:50 +0800)]
Fix "array subscript has type `char'" warning.

12 years agoSuppress spurious errors after error found in function declaration
Nick Gasson [Mon, 19 Mar 2012 08:23:30 +0000 (08:23 +0000)]
Suppress spurious errors after error found in function declaration

12 years agoUse alloca-ed arrays for function variables
Nick Gasson [Sun, 18 Mar 2012 15:14:55 +0000 (15:14 +0000)]
Use alloca-ed arrays for function variables

12 years agoRemove _array_eq and use generated array relational operator instead
Nick Gasson [Sun, 18 Mar 2012 14:32:43 +0000 (14:32 +0000)]
Remove _array_eq and use generated array relational operator instead

12 years agoFix relational operators with downto arrays
Nick Gasson [Sun, 18 Mar 2012 14:27:37 +0000 (14:27 +0000)]
Fix relational operators with downto arrays

12 years agoBetter solution for recalling trees from packages
Nick Gasson [Sun, 18 Mar 2012 13:34:05 +0000 (13:34 +0000)]
Better solution for recalling trees from packages

12 years agoMake _image work for types other than integer
Nick Gasson [Sat, 17 Mar 2012 07:56:57 +0000 (07:56 +0000)]
Make _image work for types other than integer

12 years agoImproved concat2 test
Nick Gasson [Sun, 11 Mar 2012 13:36:04 +0000 (13:36 +0000)]
Improved concat2 test

12 years agoFix computation of concatenation result bounds
Nick Gasson [Sat, 10 Mar 2012 21:22:45 +0000 (21:22 +0000)]
Fix computation of concatenation result bounds

12 years agoBe consistent about naming builtin functions
Nick Gasson [Sat, 10 Mar 2012 18:06:30 +0000 (18:06 +0000)]
Be consistent about naming builtin functions

12 years agoFix parsing of strings with escaped quotes
Nick Gasson [Sat, 10 Mar 2012 17:03:26 +0000 (17:03 +0000)]
Fix parsing of strings with escaped quotes

12 years agoFix concatenation with 'IMAGE result
Nick Gasson [Sat, 10 Mar 2012 16:45:44 +0000 (16:45 +0000)]
Fix concatenation with 'IMAGE result

12 years agoFix crash when assertion fails in package
Nick Gasson [Fri, 9 Mar 2012 18:48:33 +0000 (18:48 +0000)]
Fix crash when assertion fails in package

12 years agoDo not use eptr after free(tmp).
KIMURA Masaru [Thu, 8 Mar 2012 13:43:42 +0000 (21:43 +0800)]
Do not use eptr after free(tmp).

12 years agoParse based literals
Nick Gasson [Wed, 7 Mar 2012 20:18:35 +0000 (20:18 +0000)]
Parse based literals

12 years agoForgot to shrink type heap after GCing
Nick Gasson [Sun, 4 Mar 2012 18:58:26 +0000 (18:58 +0000)]
Forgot to shrink type heap after GCing

12 years agoTurn off garbage collection messages by default
Nick Gasson [Sun, 4 Mar 2012 18:55:18 +0000 (18:55 +0000)]
Turn off garbage collection messages by default

12 years agoStore trie character list as binary tree
Nick Gasson [Sun, 4 Mar 2012 18:51:55 +0000 (18:51 +0000)]
Store trie character list as binary tree

12 years agoStore trie child list in sorted order
Nick Gasson [Sat, 3 Mar 2012 08:21:39 +0000 (08:21 +0000)]
Store trie child list in sorted order

12 years agoStore string attributes as interned identifiers
Nick Gasson [Sun, 4 Mar 2012 18:33:10 +0000 (18:33 +0000)]
Store string attributes as interned identifiers

12 years agoMore compact serialised representation of identifiers
Nick Gasson [Sun, 4 Mar 2012 17:38:19 +0000 (17:38 +0000)]
More compact serialised representation of identifiers

12 years agoMake ident_read/write take an extra context parameter
Nick Gasson [Sun, 4 Mar 2012 17:04:34 +0000 (17:04 +0000)]
Make ident_read/write take an extra context parameter

12 years agoGenerate default values at sem stage
Nick Gasson [Sun, 4 Mar 2012 14:03:26 +0000 (14:03 +0000)]
Generate default values at sem stage

12 years agoFix memory leak in parser
Nick Gasson [Sun, 4 Mar 2012 10:35:41 +0000 (10:35 +0000)]
Fix memory leak in parser

12 years agoUse garbage collection for types as well as trees
Nick Gasson [Sun, 4 Mar 2012 10:32:21 +0000 (10:32 +0000)]
Use garbage collection for types as well as trees

12 years agoFix memory leak in type_set
Nick Gasson [Sat, 3 Mar 2012 09:03:12 +0000 (09:03 +0000)]
Fix memory leak in type_set

12 years agoMinor optimisation to ident_uniq
Nick Gasson [Sat, 3 Mar 2012 08:35:36 +0000 (08:35 +0000)]
Minor optimisation to ident_uniq

12 years agoNo need to store length with null-terminated identifier
Nick Gasson [Sat, 3 Mar 2012 08:31:15 +0000 (08:31 +0000)]
No need to store length with null-terminated identifier

12 years agoAvoid unnecessary calls to tree_visit_type
Nick Gasson [Sat, 3 Mar 2012 08:27:14 +0000 (08:27 +0000)]
Avoid unnecessary calls to tree_visit_type

12 years agoSmall optimisation to ident_read
Nick Gasson [Sat, 3 Mar 2012 08:07:48 +0000 (08:07 +0000)]
Small optimisation to ident_read

12 years agoAdd quick test of numeric_std package
Nick Gasson [Fri, 2 Mar 2012 21:33:38 +0000 (21:33 +0000)]
Add quick test of numeric_std package

12 years agoInstall numeric_std body and bitcode file
Nick Gasson [Fri, 2 Mar 2012 21:29:14 +0000 (21:29 +0000)]
Install numeric_std body and bitcode file

12 years agoFix basic blocking with missing terminator
Nick Gasson [Fri, 2 Mar 2012 21:17:15 +0000 (21:17 +0000)]
Fix basic blocking with missing terminator

12 years agoFix several more cases of non-constant aggregates
Nick Gasson [Fri, 2 Mar 2012 20:47:45 +0000 (20:47 +0000)]
Fix several more cases of non-constant aggregates

12 years agoFix crash when compiling aggregates with non-constant bounds
Nick Gasson [Fri, 2 Mar 2012 19:17:25 +0000 (19:17 +0000)]
Fix crash when compiling aggregates with non-constant bounds

12 years agoCode generation for relational array operators
Nick Gasson [Thu, 1 Mar 2012 20:24:46 +0000 (20:24 +0000)]
Code generation for relational array operators

12 years agoCode generation for mod operator and type conversion
Nick Gasson [Wed, 29 Feb 2012 19:36:42 +0000 (19:36 +0000)]
Code generation for mod operator and type conversion

12 years agoFix crash when returning an unconstrained array
Nick Gasson [Wed, 29 Feb 2012 19:26:09 +0000 (19:26 +0000)]
Fix crash when returning an unconstrained array

12 years agoFix assignment to unconstrained arrays
Nick Gasson [Wed, 29 Feb 2012 19:23:42 +0000 (19:23 +0000)]
Fix assignment to unconstrained arrays

12 years agoOthers choice not allowed for unconstrained array
Nick Gasson [Wed, 29 Feb 2012 19:15:47 +0000 (19:15 +0000)]
Others choice not allowed for unconstrained array

12 years agoFix passing arrays as `out'
Nick Gasson [Wed, 29 Feb 2012 19:13:34 +0000 (19:13 +0000)]
Fix passing arrays as `out'

12 years agoFix crash assigning to array slice
Nick Gasson [Wed, 29 Feb 2012 18:59:43 +0000 (18:59 +0000)]
Fix crash assigning to array slice

12 years agoMore efficient code generation for slices of aliases
Nick Gasson [Wed, 29 Feb 2012 18:53:55 +0000 (18:53 +0000)]
More efficient code generation for slices of aliases

12 years agoFix another alias/slice related bug
Nick Gasson [Wed, 29 Feb 2012 08:51:31 +0000 (08:51 +0000)]
Fix another alias/slice related bug

12 years agoFix slices of aliases in some cases
Nick Gasson [Tue, 28 Feb 2012 21:30:02 +0000 (21:30 +0000)]
Fix slices of aliases in some cases

12 years agoMerge branch 'master' of ssh://vds/home/nick/git/nvc
Nick Gasson [Tue, 28 Feb 2012 18:13:42 +0000 (18:13 +0000)]
Merge branch 'master' of ssh://vds/home/nick/git/nvc

12 years agoFix build with GCC 4.2.1
Nick Gasson [Tue, 28 Feb 2012 15:55:29 +0000 (15:55 +0000)]
Fix build with GCC 4.2.1

12 years agoSingle call_builtin utility function which caches decls
Nick Gasson [Tue, 28 Feb 2012 08:29:03 +0000 (08:29 +0000)]
Single call_builtin utility function which caches decls

12 years agoFix a crash when using default entity class
Nick Gasson [Sun, 26 Feb 2012 17:13:55 +0000 (17:13 +0000)]
Fix a crash when using default entity class

12 years agoCode generation for simple procedure calls
Nick Gasson [Sun, 26 Feb 2012 13:59:22 +0000 (13:59 +0000)]
Code generation for simple procedure calls

12 years agoFix regression when compiling numeric_std-body.vhdl
Nick Gasson [Sun, 26 Feb 2012 13:30:26 +0000 (13:30 +0000)]
Fix regression when compiling numeric_std-body.vhdl

12 years agoCalculate bounds of aggregates with named choices
Nick Gasson [Sun, 26 Feb 2012 12:52:03 +0000 (12:52 +0000)]
Calculate bounds of aggregates with named choices

12 years agoImproved checking for concatenations
Nick Gasson [Sun, 26 Feb 2012 12:01:16 +0000 (12:01 +0000)]
Improved checking for concatenations

12 years agoBounds check aggregates in simp phase
Nick Gasson [Sun, 26 Feb 2012 11:40:39 +0000 (11:40 +0000)]
Bounds check aggregates in simp phase

12 years agoFurther checks for aggregates
Nick Gasson [Sun, 26 Feb 2012 11:17:13 +0000 (11:17 +0000)]
Further checks for aggregates

12 years agoContext belongs in separate outer scope
Nick Gasson [Sat, 25 Feb 2012 11:09:16 +0000 (11:09 +0000)]
Context belongs in separate outer scope

12 years agoDefault timeout is now 3s.
KIMURA Masaru [Wed, 22 Feb 2012 02:40:50 +0000 (10:40 +0800)]
Default timeout is now 3s.

On cygwin, it has a bit log runtime overhead unlike linux box.
Maybe this timeout depends on machine spec.
For example,

 * 1s for using cygwin on Windows XP SP3, Intel Core2 Duo 2.66GHz
   + 4GB RAM is not enough, 3s looks OK.
 * 1s for Gentoo/PowerPC Mac mini G4 1.5GHz + 512MB RAM is enough.

12 years agoMake is_debugger_running an no-op on anything but Linux and OS X
Nick Gasson [Tue, 21 Feb 2012 19:24:13 +0000 (19:24 +0000)]
Make is_debugger_running an no-op on anything but Linux and OS X

12 years agoChange runtime error reporting mechanism
Nick Gasson [Tue, 21 Feb 2012 19:11:41 +0000 (19:11 +0000)]
Change runtime error reporting mechanism

12 years agoCall LLVMAddGlobalMapping for every run time support function
Nick Gasson [Tue, 21 Feb 2012 08:33:45 +0000 (08:33 +0000)]
Call LLVMAddGlobalMapping for every run time support function