Stephen Williams
a72977a7ed
Bit select of array word
...
fix support for bit select of array word in behavioral expressions.
2007-07-03 20:17:43 -07:00
Stephen Williams
e75e7131ac
Fix signed compare with minus values
...
If the operands were negative, and not equal, the lt flag
would be set incorrectly.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-07-02 21:33:05 -07:00
Stephen Williams
018f1a6e7f
Handle indexed part select in continuous assign.
...
Non-constant indexed part select in continuous assignment generates
a select node with the correct width. In the process factor out and
share some of the part select calculations with expr part select
handling methods.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-07-02 20:53:02 -07:00
Stephen Williams
88dea0c318
Remove restriction on size of constants
...
Constant strings are now formed in dynamically allocated memory
instead of a fixed array.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-30 20:27:08 -07:00
Stephen Williams
21d6fb6bc6
Fix runtime crash dumping VCD
...
Words of net arrays were incorrectly added to the scope. They should
only be attached to the array, and accessed as a word of the array.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-30 09:34:02 -07:00
Stephen Williams
d7c3a32b06
Fix code generation for real expressions
...
Real value are vector width of 1, fix real literal to reflect this.
fix leaking real registers in code generation for function arguments.
Load of signal should handle conversion from real to vector. Function
arguments, type vector passed a real value, are an example where this
comes up.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-29 21:10:37 -07:00
Stephen Williams
b525a63f50
Do not process back-slash escapes twice.
...
Backslash-escapes are processed early, during elaboration, so that
escaped characters show up in all places with the calculated value.
This means the $display formatting will get processed strings and
should not process back-slashes again.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-28 18:07:22 -07:00
Stephen Williams
4cf9447ad9
Merge branch 'master' of steve-icarus@icarus.com:git/verilog
2007-06-27 22:17:46 -07:00
Stephen Williams
845e74c30e
Evaluate parameter expressions losslessly
...
Make sure parameter expressions are evaluated losslessly, as if
the l-value is unsigned and thus virtually infinite.
2007-06-27 22:05:36 -07:00
Stephen Williams
a6f898a702
Careful not to lose bits parameter add expression
...
Parameter expressions that do not otherwise have a size should
evaluate expressions losslessly, expanding as necessary to prevent
overflow of data.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-27 21:51:31 -07:00
Stephen Williams
59a43ab2ce
Do not match scopes in ident expressions
...
Identifiers in expressions cannot be scope names, even
though the special case of a simple system task argument
expression allows it.
2007-06-25 20:33:40 -07:00
Stephen Williams
ed698deeaa
Add support for collapsed/aliased arrays.
...
Arrays of nets that have all their words collapsed together can become
a collapsed array as a whole. Add support for this case in the vvp code
generator and runtime.
2007-06-24 18:17:37 -07:00
Stephen Williams
396ffd1cdd
Add support for conditional generate. In the process, fix bugs
...
related to generate used multiple times by multiple scopes causing
spurious generation results.
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-21 19:04:48 -07:00
Stephen Williams
9d2dd782c0
Get offsets right for non-zero and reversed part selects.
...
Signed-off-by: Stephen Williams <steve@icarus.com>
2007-06-15 16:59:24 -07:00
steve
87e813766a
Detect and ignore specify edge expressions
2007-06-14 03:50:00 +00:00
steve
e24e77660f
Detect and use the nan function.
2007-06-13 01:03:57 +00:00
steve
8ec6d9983d
Put instantiated modules in the proper generated scope.
2007-06-12 04:05:45 +00:00
steve
ae82eccdc4
handle constant inf values.
2007-06-12 02:36:58 +00:00
steve
fa18d9bc01
Do not propogate until initialized.
2007-06-12 02:25:00 +00:00
steve
16ec4cb685
displan pmos gates.
2007-06-12 02:23:40 +00:00
steve
6f08f92ffc
Prepare for snapshot 20070608
2007-06-09 01:06:51 +00:00
steve
0a38499941
Properly handle signed conversion to real
2007-06-07 03:20:15 +00:00
steve
55f8e5d364
int vs long expressions on 64bit arch (ldoolitt)
2007-06-05 21:52:22 +00:00
steve
b631268f56
Error resiliency (ldoolitt)
2007-06-05 21:35:51 +00:00
steve
1a8ffe2a9c
More standard PLI_BYTE8.
2007-06-05 21:32:30 +00:00
steve
e4bcc87dc1
Upward names may reference modules by module_name.
2007-06-05 04:18:09 +00:00
steve
34111a25cb
Bring in .SFT file automatically if -m used.
2007-06-05 01:56:12 +00:00
steve
8fd42fbf61
Build errors in picky GCC compilers.
2007-06-04 19:14:06 +00:00
steve
129a064e1a
Handle bit/part select of array words in nets.
2007-06-04 02:19:07 +00:00
steve
c7d97f4146
Properly evaluate scope path expressions.
2007-06-02 03:42:12 +00:00
steve
1f9a246c6d
Fix warning (ldolittle)
2007-05-31 18:36:06 +00:00
steve
17fd3bae15
Missing return value to perm_string dump
2007-05-31 18:35:50 +00:00
steve
29aa68302e
Add elsif support (Martin Whitaker)
2007-05-30 23:21:20 +00:00
steve
8dcd09797f
Fix uninitialized lineno variable.
2007-05-25 18:21:39 +00:00
steve
ddd36ecb6c
Rework the heirarchical identifier parse syntax and pform
...
to handle more general combinations of heirarch and bit selects.
2007-05-24 04:07:11 +00:00
steve
67b1eee7ce
Better configuration messages (Alan Feldstein)
2007-05-16 23:59:12 +00:00
steve
629c6e9a40
Fix hname_t use of space for 1 perm_string.
2007-05-16 19:12:33 +00:00
steve
6ea1337be0
Trace file line buffer must be static.
2007-05-08 22:01:26 +00:00
steve
b981c81d37
Rework hname_t to use perm_strings.
2007-04-26 03:06:21 +00:00
steve
210e28e571
Prepare for 20070421 snapshot.
2007-04-22 00:32:07 +00:00
steve
f6ad90f8d3
Rename assign_list to cont_assign_list.
2007-04-21 04:45:36 +00:00
steve
890f592eec
Fix detect of signal that is an array.
2007-04-21 03:20:47 +00:00
steve
f9c1c02f8d
Add support for -v flag in command file.
2007-04-19 02:52:53 +00:00
steve
26f47c26f0
Handle arrayed strength-aware net devices.
2007-04-19 01:19:06 +00:00
steve
c0496ea648
Add support for multiple command files. (Cary R.)
2007-04-18 03:23:38 +00:00
steve
498d8fe6ad
Add support for Gg and Ee formats.
2007-04-18 02:40:20 +00:00
steve
dafc653935
Put to iverilog wiki for further notes.
2007-04-18 02:36:13 +00:00
steve
401faef5b8
Fix vpi_get_value vpiRealVal of signed constants.
2007-04-18 01:57:07 +00:00
steve
22efa9f066
Fix elaboration of multiply of two constants.
2007-04-18 01:40:49 +00:00
steve
583abb7f49
Fix handling calls to tasks in combinational always block
2007-04-17 04:34:23 +00:00