Wilson Snyder
c595d67311
Speed up Verilator itself by prefetching pointer-chase
2008-11-22 14:59:22 -05:00
Wilson Snyder
8b77379e2c
Internal coding: Assert that user#() don't overlap.
...
Any use of a user() must now be declared, generally in the Visitor class with
AstUser#InUse arbitrary_object
This lets the code track if there's another request for the same user(),
preventing nasty hard to debug cases where they overlap. This will also
call user#ClearTree(), so a bunch of those were removed, though many
extranious ones still remain.
2008-11-21 15:50:33 -05:00
Wilson Snyder
7ad29c6329
Test driver: Add benchmark option
2008-11-21 14:38:12 -05:00
Wilson Snyder
14756fa131
Internals: Make graph sorting usable in other visitors, in prep for future
...
changes. No functional change.
2008-11-20 09:04:29 -05:00
Wilson Snyder
ddbfc176b6
Internals: Create AstNodeSelItem in prep for future commits.
...
No real functional change, outside of minor debug dump differences.
2008-11-20 07:55:54 -05:00
Wilson Snyder
ab668b066f
Internal cleanup: no functional change.
...
Add cloneTree to each node type so cast not required after use.
Standardize declaring common AstNode functions via a macro.
2008-11-19 20:15:05 -05:00
Wilson Snyder
a4bcb3de4a
Test driver: Use __ to prevent conflicts between similar named tests
2008-11-19 16:44:51 -05:00
Wilson Snyder
211894cb3e
Fix arrayed variables under function not compiling, bug44.
2008-11-19 09:43:03 -05:00
Wilson Snyder
b75ff3652c
Fix internal signal names containing control characters (broke in 3.680).
...
Internally this means for signal names use __0{xdigit}{xdigit} and avoid
__0 in other cases.
2008-11-17 21:02:10 -05:00
Wilson Snyder
13f6c5a934
Fix --output-split-cfuncs to also split trace code.
2008-11-17 17:13:57 -05:00
Wilson Snyder
2e0f6e2b13
Optimize two-level shift and and/or trees.
2008-11-17 11:36:01 -05:00
Wilson Snyder
c5d41ee2d9
Optimize constants up across sub expressions
2008-11-17 10:40:58 -05:00
Wilson Snyder
5f70c1aa68
Add debug dumps of V3Hash state
2008-11-16 20:39:49 -05:00
Wilson Snyder
d2105ba390
Commentary
2008-11-16 20:30:22 -05:00
Wilson Snyder
e46e7bbf99
Fix 'bad select range' warning missing some cases, bug43.
2008-11-12 20:54:58 -05:00
Wilson Snyder
4eeeb72dd5
Version bump
2008-11-12 15:32:22 -05:00
Wilson Snyder
adefa45fb4
After module, clear m_modp as not relevant any longer
2008-11-12 15:32:09 -05:00
Wilson Snyder
f3a4752799
Fix MSVC compile error; bug42.
2008-11-05 10:52:23 -05:00
Wilson Snyder
3d788b4b93
Fix "Missing coverage in PSL" due to "cover property $stop" statements.
...
"cover property" reported hierarchy now includes named begin blocks.
2008-11-05 10:23:03 -05:00
Wilson Snyder
5d2675e38a
Repair of last 2 checkins; dots in wrong place when 2 level deep inline
2008-11-05 09:14:49 -05:00
Wilson Snyder
288d7bd9dc
Commentary
2008-11-05 08:55:52 -05:00
Wilson Snyder
3e8cf26c1a
Fix coverage hierarchy being backwards with inlining.
2008-11-04 17:19:59 -05:00
Wilson Snyder
ce212722ad
Fix 'for' under 'generate-for' causing error; bug38.
2008-10-28 21:38:01 -04:00
Wilson Snyder
e49fc945df
Fix GCC 4.3 compile error; bug35
2008-10-15 10:49:05 -04:00
Wilson Snyder
384807ebbd
Ignore SystemVerilog timeunit and timeprecision
2008-10-14 14:49:54 -04:00
Wilson Snyder
ac619ef3d8
Include Verilog file's directory name in coverage reports.
2008-10-14 14:27:11 -04:00
Wilson Snyder
a348bd3458
Add unique and parallel case
2008-10-10 19:02:27 -04:00
Wilson Snyder
bcc7045fc9
Version bump
2008-10-08 17:08:47 -04:00
Wilson Snyder
3b1929259a
Support negative bit indexes.
...
Allow arbitrary characters in symbols (to make '-' work.)
Final merge from negative_lsb branch.
2008-10-06 09:59:22 -04:00
Wilson Snyder
cdd6ea8e60
Fix genvars causing link error when using --public.
2008-09-30 08:58:07 -04:00
Wilson Snyder
4b8927af75
Expand environment variables in -f input files.
2008-09-29 15:51:45 -04:00
Wilson Snyder
bd6e8d808c
Report error if port declaration is missing; bug32.
2008-09-23 09:35:00 -04:00
Wilson Snyder
11b9a631d4
Remove mis-committed debug print
2008-09-22 20:10:10 -04:00
Wilson Snyder
f197dd29cb
Suppress width warnings between constant strings and wider vectors.
2008-09-22 19:36:08 -04:00
Wilson Snyder
daf7f42138
Version bump
2008-09-19 17:23:15 -04:00
Wilson Snyder
d90071637d
SystemC uint64_t pins are now the default instead of sc_bv<64>.
...
Use --no-pins64 for backward compatibility.
2008-09-18 09:20:16 -04:00
Wilson Snyder
22543f3e19
Support arbitrary characters in identifiers and tracing.
2008-09-17 22:22:46 -04:00
Wilson Snyder
eca6f2ca05
Increase bison max depth to prevent parse error
2008-09-17 11:11:09 -04:00
Wilson Snyder
ef69f36403
More renames of asInt/toUInt where deemed correct
2008-09-04 11:03:46 -04:00
Wilson Snyder
99cf981c2f
Support coverage under SystemPerl 1.285 and newer.
2008-09-04 09:43:53 -04:00
Wilson Snyder
fc7a449f6d
Rename asInt/asQuad to indicate signed/unsigned.
...
Internal code rename, no function change.
2008-09-03 17:40:01 -04:00
Wilson Snyder
b7fafdafaa
Fix never-true compiler warning [John Sanguinetti]
2008-08-22 17:32:29 -04:00
Wilson Snyder
4770fd39d2
Fix stack overflow on large ? : trees.
2008-08-20 15:59:10 -04:00
Wilson Snyder
df107628c6
Fix default clocking syntax; covers go outside the block
2008-08-06 17:51:36 -04:00
Wilson Snyder
3463080a71
Fix extra evaluation of pure combo blocks in SystemC output.
2008-08-06 17:09:33 -04:00
Wilson Snyder
500dc2170f
Support SystemVerilog "cover property" statements.
2008-08-06 12:52:39 -04:00
Wilson Snyder
a76ae67a81
Add bisonpre for simplifing grammar and cleaning output
2008-08-06 12:35:34 -04:00
Wilson Snyder
1d091e49e1
Add VL_TIME_MULTIPLIER to allow sub-timeunit time printing
2008-08-05 14:45:20 -04:00
Wilson Snyder
2b63219cc6
Add IMPERFECTSCH warning, disabled by default.
2008-08-05 13:41:53 -04:00
Wilson Snyder
043ad86482
When warnings are disabled on signals that are flattened out, disable
...
the warnings on the signal(s) that replace it.
2008-08-01 15:30:17 -04:00
Wilson Snyder
34e8de56bc
Version bump
2008-07-23 07:51:32 -04:00
Wilson Snyder
8a7864ebaa
Add --Wfuture-, for improving forward compatibility.
2008-07-22 14:27:34 -04:00
Wilson Snyder
9e5fb5467f
Add CASEZWITHX lint warning and if disabled fix handling of casez with Xs.
2008-07-22 13:07:19 -04:00
Wilson Snyder
fb34bf7222
Fix lvalue errors with public functions; bug25.
2008-07-22 11:15:28 -04:00
Wilson Snyder
4591f35b7c
Add --autoflush option
2008-07-16 14:06:08 -04:00
Wilson Snyder
f0a06182ca
Add --x-assign=fast, and make it the default.
2008-07-16 13:31:21 -04:00
Wilson Snyder
d9e47a6293
Add WIDTH warning to etc file descriptors.
2008-07-14 17:15:26 -04:00
Wilson Snyder
826b997166
Add .
2008-07-14 13:16:05 -04:00
Wilson Snyder
d34bc6f304
Fix missing config_reg.h error when non-author .git repository
2008-07-14 10:48:57 -04:00
Wilson Snyder
5771ea48ef
Fix IMPURE errors due to X-assignment temporary variables.
2008-07-14 10:42:58 -04:00
Wilson Snyder
a4f3199427
Add informational warning when -Og is used
2008-07-02 06:48:50 -04:00
Wilson Snyder
701bd38d01
Add support for , . Bug14.
2008-07-01 14:15:10 -04:00
Wilson Snyder
1a8c8bec0d
Rework $display/$write to go via new VL_WRITE function instead of
...
converting to pure C printf call. This makes the resulting code smaller,
and allows sharing code with future $sprintf support.
2008-06-30 14:31:58 -04:00
Wilson Snyder
20aa21d4b6
Replace stdio.h and stdarg.h with C++ versions
2008-06-30 13:11:25 -04:00
Wilson Snyder
8c6adeb85a
Internals: Convert to use common string convert routine
2008-06-30 07:10:23 -04:00
Wilson Snyder
09b7ba1317
Internal rework, no functionality change.
...
Rework V3EmitC to use a little template language for code to output,
similar to emitVerilog() functions. Change all emitOperator() to
emitC(), elimate emitWordForm().
2008-06-29 20:02:24 -04:00
Wilson Snyder
0703843ac1
Support , .
2008-06-27 20:04:20 -04:00
Wilson Snyder
d962dfe48c
One or two digit octal escapes are legal
2008-06-27 17:52:45 -04:00
Wilson Snyder
d6884db439
Support .
2008-06-27 11:36:25 -04:00
Wilson Snyder
fdcbedef8f
Add support
2008-06-27 08:45:05 -04:00
Wilson Snyder
8afd19648f
Support
2008-06-26 08:52:02 -04:00
Wilson Snyder
3017f12238
Version bump
2008-06-25 07:50:32 -04:00
Wilson Snyder
23ee0342c6
Fix Makefile to find headers/libraries under prefix.
2008-06-24 14:50:34 -04:00
Wilson Snyder
499f98a51c
Fix leading/trailing mixed whitespace
2008-06-12 12:03:47 -04:00
Wilson Snyder
5703377a5f
Fix tracing missing changes on undriven public wires.
2008-06-11 20:33:53 -04:00
Wilson Snyder
5a1a5a7d97
Ignore "// verilator" comments alone on endif lines.
2008-06-11 13:09:36 -04:00
Wilson Snyder
52912c6329
Convert repository to git from svn.
...
- Change .cvsignore to .gitignore
- Remove Id metacomments
- Cleanup whitespace at end of lines
2008-06-09 21:25:10 -04:00
Wilson Snyder
056f72f27f
Fix grammar error exposed with Verilog-Perl rev 55458 ++ -- fix
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1072 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-06-05 20:49:52 +00:00
Wilson Snyder
bb038e86a2
Preproc: Fix error when macro call has commas in concatenate.
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1071 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-06-04 15:39:44 +00:00
Wilson Snyder
de4358f8d8
Preproc: Fix syntax error when include defname is ifdefed.
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1069 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-06-04 14:44:59 +00:00
Wilson Snyder
d6e9c72424
Fix compile errors under Fedora 9, GCC 4.3.0.
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1068 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-28 19:58:18 +00:00
Wilson Snyder
66b8ec8935
Version bump
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1059 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-08 14:38:43 +00:00
Wilson Snyder
0cbab84143
Version bump
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1053 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-07 18:27:23 +00:00
Wilson Snyder
36e84973ec
Fix parallel make running bison twice
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1051 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-06 15:45:41 +00:00
Wilson Snyder
f6c8888ee2
Fix comma separated list of primitives. [by Bryan Brady]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1050 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-06 14:52:53 +00:00
Wilson Snyder
9dade8fbd9
Fix parametrized defines calling define with comma. [Joshua Wise]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1048 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-06 01:11:21 +00:00
Wilson Snyder
d2d38edf06
Fix preprocessor else after series of
elsif. [Mark Nodine]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1047 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-05-06 00:50:47 +00:00
Wilson Snyder
e0abd238e3
Fix compiler warnings under GCC 4.2.1/ SuSE 10.3
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1046 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-29 14:14:20 +00:00
Wilson Snyder
0c73b547f1
Fix bug introduced in 3.661 with parametrized defines.
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1042 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-25 14:01:50 +00:00
Wilson Snyder
73c3d4bb50
Version bump
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1041 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-25 12:17:12 +00:00
Wilson Snyder
8e812058cb
Change website references to veripool.org
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1039 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-25 12:14:27 +00:00
Wilson Snyder
506c36beed
Fix ranges on gate primitive instantiations
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1038 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-25 11:48:18 +00:00
Wilson Snyder
0110f0193e
Allow /**/ comments in -f option files.
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1037 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-24 15:36:46 +00:00
Wilson Snyder
aa2630f837
Ignore old standard(ish) Verilog-XL defines
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1035 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-24 15:04:01 +00:00
Wilson Snyder
e137e93f94
Support optional argument to and .
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1034 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-24 14:32:39 +00:00
Wilson Snyder
956a0a9c99
Add Verilog 2005 () function.
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1032 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-24 13:52:51 +00:00
Wilson Snyder
ab83717b7d
Fix internal error when params get non-constants. [Johan Wouters]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1031 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-17 15:47:16 +00:00
Wilson Snyder
9ca3dbc140
Allow defines terminated in EOF, though against spec. [Stefan Thiede]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1029 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-15 19:12:25 +00:00
Wilson Snyder
a02e2e25bb
Fix "always @ ((a) or (b))" syntax error. [by Niranjan Prabhu]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1028 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-14 21:47:39 +00:00
Wilson Snyder
a9281f2c37
Fix "output reg name=expr;" syntax error. [Martin Scharrer]
...
git-svn-id: file://localhost/svn/verilator/trunk/verilator@1027 77ca24e4-aefa-0310-84f0-b9a241c72d87
2008-04-14 21:10:34 +00:00