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
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
steve
e24e77660f
Detect and use the nan function.
2007-06-13 01:03:57 +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
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
67b1eee7ce
Better configuration messages (Alan Feldstein)
2007-05-16 23:59:12 +00:00
steve
26f47c26f0
Handle arrayed strength-aware net devices.
2007-04-19 01:19:06 +00:00
steve
401faef5b8
Fix vpi_get_value vpiRealVal of signed constants.
2007-04-18 01:57:07 +00:00
steve
089bdefad1
Fix div/mod calculation that caused a hang for some divisions.
2007-04-15 02:07:24 +00:00
steve
9931e4c013
Finish up part select of array words.
2007-04-14 04:43:01 +00:00
steve
acdb278b97
Handle system functions with no arguments.
2007-04-14 03:27:51 +00:00
steve
fb7ce1d330
Support for vpi_get_value of scaler values. (ravi@bluespec)
2007-04-12 04:45:52 +00:00
steve
8f9738719b
Add support for vpiSize on system task handle. (ravi@bluespec.com)
2007-04-12 04:33:39 +00:00
steve
31914c7fcd
vpip_make_binary_const cannot free the string passed in to it.
2007-04-12 04:25:58 +00:00
steve
65baeaed8f
vpi_free_object doesnot free callback out from under runtime.
2007-04-10 04:32:05 +00:00
steve
5047a3add3
variable arrays generated without writing a record for each word.
2007-04-10 01:26:15 +00:00
steve
611d2c81b3
Spelling fixes from Larry
2007-03-22 16:08:14 +00:00
steve
74ac5dbf58
Cast to remove ambiguities calling pow function.
2007-03-07 03:55:42 +00:00
steve
ae88f5cc68
Lint fixes.
2007-03-07 00:38:15 +00:00
steve
6f810e0dba
Assert that modpath finds a delay.
2007-03-04 06:26:58 +00:00
steve
b68f17483e
UDP schedules its output instead of pushing it.
2007-03-04 06:26:33 +00:00
steve
fc9a90c9e0
Add support for edge sensitive spec paths.
2007-03-02 06:13:22 +00:00
steve
243cf94165
Add support for conditional specify delay paths.
2007-03-01 06:19:38 +00:00
steve
d2ba78559a
Process Verilog escape sequences much earlier.
2007-02-25 23:08:24 +00:00
steve
2c32a81d91
Improved version of pr1639064 patch handles huge values. (larry doolittle)
2007-02-19 01:45:56 +00:00
steve
cd5b1b111c
Fix print of integers as real. <larry Doolittle>
2007-02-18 06:01:25 +00:00
steve
9d4fc92df5
Get page size from sysconf.
2007-02-16 23:30:14 +00:00
steve
4f74d9df98
Add the mov/wr opcode.
2007-02-14 05:58:14 +00:00
steve
7d2d87f7c6
NAND output is inverted once AFTER AND is calculated.
2007-02-12 05:08:27 +00:00
steve
3fd80b09f0
Administrative/Makefile fixes, mostly for windows. (Cary R.)
2007-02-06 05:07:31 +00:00
steve
d958a4a5af
Handle relink of continuous assignment.
2007-02-05 01:08:10 +00:00
steve
6d91be5b19
Use inttypes.h instead of stdint.h for portability.
2007-02-02 04:33:00 +00:00
steve
85ceea7358
Fix missing check for thread bits width in ADDI
2007-01-31 22:28:55 +00:00
steve
8e1c7e2891
More literal implementation of inertial delay model.
2007-01-26 05:15:41 +00:00
steve
17a508047b
Better size error details.
2007-01-20 02:09:54 +00:00
steve
11a83c352d
Add missing array source files to CVS.
2007-01-18 00:24:10 +00:00
steve
91d84e7dc7
Major rework of array handling. Memories are replaced with the
...
more general concept of arrays. The NetMemory and NetEMemory
classes are removed from the ivl core program, and the IVL_LPM_RAM
lpm type is removed from the ivl_target API.
2007-01-16 05:44:14 +00:00
steve
0ae45e5644
Fix build error overloading pow function.
2006-12-10 17:15:48 +00:00
steve
316422d93b
Handle vpiRealVal reads of signals, and real anyedge events.
2006-12-09 19:06:53 +00:00
steve
4f8a7ea84a
Use new vvp_fun_XXX in place of old functor table for NAND/NOR/XNOR/EEQ.
2006-11-28 05:57:20 +00:00
steve
0af4ea7cbe
Better document the .scope record.
2006-11-23 23:02:36 +00:00
steve
2ac30824ac
Fix spurious event from net8 that is forced.
2006-11-22 06:10:05 +00:00
steve
f5a204720d
Support part writes into part select nodes.
2006-11-16 01:11:26 +00:00
steve
841378426f
Updates for Cygwin portability (pr1585922)
2006-10-30 22:45:36 +00:00
steve
26e2e85ffa
Handle non-constant delays on indexed non-blocking assignments.
2006-10-05 01:23:53 +00:00
steve
e1f712356f
Allow rosync events to create new rosync events.
2006-09-29 16:55:04 +00:00
steve
6593b603ad
Modpath delay chooses correct delay for edge.
2006-09-29 03:57:01 +00:00