Wilson Snyder
02cb3d17a2
Version bump
2020-11-14 09:50:30 -05:00
Wilson Snyder
c3cfaf55ed
Commentary
2020-11-14 09:26:38 -05:00
Wilson Snyder
3e7013af31
Internal scope cleanup. No functional change.
2020-11-13 21:12:18 -05:00
Wilson Snyder
f7a5883205
Internals: assert not double adding. No functional change intended.
2020-11-13 21:12:03 -05:00
Wilson Snyder
5d3482734a
Fix precision in verilator_gantt.
2020-11-13 18:51:45 -05:00
Yutetsu TAKATSUKASA
e8c03650ae
Fix internal error if always block without begin-end has concat ( #2640 ) ( #2641 )
2020-11-13 09:50:09 -05:00
Wilson Snyder
7eac788306
Add error on using :: with module
2020-11-12 19:45:26 -05:00
Wilson Snyder
6a58e67699
Commentary
2020-11-12 19:31:53 -05:00
Wilson Snyder
b49be06a5a
Tests: Standard wording.
2020-11-12 18:50:05 -05:00
Wilson Snyder
87b2adb6a1
With --debug, turn off address space layout randomization.
2020-11-12 18:49:49 -05:00
Wilson Snyder
5634a18f78
Tests: Smaller t_vpi_var test
2020-11-11 20:57:24 -05:00
Wilson Snyder
b84c9bb4c0
Internals: Show scope debug information.
2020-11-11 19:00:10 -05:00
Wilson Snyder
6dfce882a1
Support $exit as alias of $finish
2020-11-10 22:49:48 -05:00
Wilson Snyder
79d33bf1ee
Use C++11 for loops, from clang-migrate. No functional change intended
2020-11-10 22:10:38 -05:00
Wilson Snyder
44eb362a18
clang-tidy cleanups. No functional change intended.
2020-11-10 21:40:14 -05:00
Wilson Snyder
8664aac225
Fix missing newlines in emit.
2020-11-09 18:29:09 -05:00
Wilson Snyder
6965e138aa
Add clearer unsupported message for inside on array ( #2566 )
2020-11-08 23:26:58 -05:00
Wilson Snyder
fc52fb9093
Fix arrays of modport interfaces ( #2614 ).
2020-11-08 22:43:32 -05:00
Wilson Snyder
cef7708f38
Internals: Fix missed access change. No functional change intended.
2020-11-08 22:02:35 -05:00
Dan Petrisko
438fb01665
Fix exited typo ( #2634 )
2020-11-08 21:55:33 -05:00
Wilson Snyder
67d5b1a11a
Internals: Preserve arrays of modports. Part of #2614 .
2020-11-08 19:15:53 -05:00
Wilson Snyder
d78941885b
Fix cast width propagation ( #2597 ).
2020-11-08 19:07:33 -05:00
Wilson Snyder
6e7b07c794
Internals: Prep for #2597 . No functional change intended
2020-11-08 18:58:31 -05:00
Wilson Snyder
9655e287ab
Tests: Travis regression fix
2020-11-08 17:06:03 -05:00
Wilson Snyder
917ca2bad7
Tests: Add t_const_opt_red ( #2632 ) ( #2633 )
2020-11-08 16:39:28 -05:00
Wilson Snyder
c3f5dd7414
Tests: Try to stabilize cron test.
2020-11-08 11:17:42 -05:00
Wilson Snyder
04c7fd1696
Tests: Add wire-or mux test for future optimization.
2020-11-07 21:57:31 -05:00
Wilson Snyder
152689776d
Report error on typedef referencing self ( #2539 ).
2020-11-07 15:41:37 -05:00
Wilson Snyder
778f133118
Fix dynamic new with init argument ( #2325 ).
2020-11-07 14:28:05 -05:00
Wilson Snyder
ff5465308b
Internals: Tree dump DEFAULT pattern. No functional change.
2020-11-07 11:56:24 -05:00
Wilson Snyder
602750b1ee
Commentary
2020-11-07 10:49:54 -05:00
Wilson Snyder
2a24bb4759
Fix queue poping wrong value when otherwise unused ( #2512 ).
2020-11-07 10:37:55 -05:00
Krzysztof Bieganski
7c4259bc0a
Support static methods and typedefs in classes ( #2615 )
2020-11-06 19:51:21 -05:00
Kaleb Barrett
1c2384cb3d
Fix iteration over mutating list bug in VPI impl ( #2588 )
...
Previously, in any given VPI callback, if the callback body registered
the same callback, that registering would be processed in the currently
executing call to the call*Cbs function. In the worse case, this could
lead to an infinite loop.
2020-11-06 17:56:15 -05:00
Yutetsu TAKATSUKASA and Wilson Snyder
75881754a9
Fix dangling reference (Issue #2622 ) ( #2623 )
...
* collect multiple string literals of "__Vcvt". No functional change is intended.
* temporary variable for DPI-C should be static if its type is string
* Update src/V3EmitC.cpp
Co-authored-by: Wilson Snyder <[email protected] >
Co-authored-by: Wilson Snyder <[email protected] >
2020-11-04 06:08:03 +09:00
Wilson Snyder
0505816d31
Fix C++14 deprecated random_shuffle.
2020-11-03 08:52:47 -05:00
Wilson Snyder
48bcf66ac7
Fix C++14 deprecated random_shuffle.
2020-11-02 20:07:58 -05:00
Wilson Snyder
0145d9d514
Fix C++14 deprecated random_shuffle.
2020-11-02 19:55:01 -05:00
Wilson Snyder
2ce86eddfa
Internal debug. No functional change.
2020-11-01 22:27:27 -05:00
Wilson Snyder
b663d1a230
Rename internal interface references, part of #2614 .
2020-11-01 20:52:21 -05:00
Wilson Snyder
5821048df7
Fix clang warning.
2020-11-01 17:18:06 -05:00
Wilson Snyder
80284c437e
Internals: Refactor some VAssign printing. No functional change.
2020-11-01 16:59:23 -05:00
Wilson Snyder
2aedc91151
Support queue and associative array 'with' statements. ( #2616 )
2020-11-01 10:56:07 -05:00
Wilson Snyder
c1e8337fc1
Support pattern assignment to dynamic arrays.
2020-11-01 10:18:32 -05:00
Wilson Snyder
1858cc8ff1
Fix test stability due to #2618 .
2020-11-01 09:26:55 -05:00
Wilson Snyder
5e6aca59ab
Fix test stability due to #2618 .
2020-11-01 09:14:45 -05:00
Wilson Snyder
726e78fdda
Add 'with' syntax checks.
2020-10-31 10:33:36 -04:00
Wilson Snyder
085e8454b8
Support 'with' into elaboration (only).
2020-10-31 10:00:55 -04:00
Wilson Snyder
85b05366bc
Internals: Misc prep work for 'with' support.
2020-10-31 09:24:16 -04:00
Wilson Snyder
e6b0479b80
Internals: CFunc VL_RESTORER. No functional change intended.
2020-10-31 09:14:47 -04:00
Wilson Snyder
3a53b32a32
Move queue code before assoc, as assoc will eventually use queues. No functional change.
2020-10-30 22:49:55 -04:00
Wilson Snyder
cf7b5c091a
Internals: Track some VAccess that can be ReadOnly. No functional change.
2020-10-30 22:28:51 -04:00
Wilson Snyder
51b0963e61
Internals: Favor const for map keys. No functional change intended.
2020-10-30 18:00:40 -04:00
Wilson Snyder
0c949ceba2
Internals: classOrPackage is a module, from #2615 .
2020-10-30 08:43:20 -04:00
Wilson Snyder
5c070558ae
Internals: Misc cleanups in prep for interface bugfix. No functional change intended.
2020-10-29 21:27:19 -04:00
Wilson Snyder
0c328b6eaf
clang-format of test_regress. No functional change.
2020-10-28 18:42:36 -04:00
Wilson Snyder
f670eccf8c
Tests: $countbits
2020-10-28 07:39:13 -04:00
Wilson Snyder
23140aeff0
Internals: V3Begin code cleanup. No functional change.
2020-10-27 22:39:45 -04:00
Wilson Snyder
d44426b3f3
clang-format. No functional change.
2020-10-27 20:33:45 -04:00
Yutetsu TAKATSUKASA
05ff96bea3
Fix SEGV when $fgets, $sscanf, or $fscanf is used with string ( #2604 )
...
* Add a test to use string for $fgets
* Use dedicated function for $fgets to std::string
* share the implementation of $fgets
* Pass -1 for bitwidth of std::string to distinguish from POD
* add checks for scanf with string
* apply clang-format
2020-10-28 08:37:12 +09:00
Jean Berniolles
77ac9bfcc6
Fix WIFEXITED missing from MinGW/MSYS2 ( #2609 )
...
* WIFEXITED missing from MinGW/MSYS2, added defines
* Found source of the WIFEXITED macro in the binutils-gdb repo. Now with less pointer manipulation.
2020-10-27 13:33:25 -04:00
Marlon James
34b8ed4cf0
Return bool from callValueCbs() ( #2589 ) ( #2605 )
...
* Return bool from callValueCbs()
Returns true if any registered callback was called, else false.
* Add test for callCbs() and callValueCbs()
2020-10-26 21:55:27 -04:00
Wilson Snyder
95d1272269
Support associative array pattern assignments and defaults.
2020-10-25 21:05:22 -04:00
Wilson Snyder
046c0a7aa1
Fix queue assignment with different limits, negative indicies
2020-10-24 22:08:11 -04:00
Wilson Snyder
835905bdae
Convert cast tasks to assertions
2020-10-24 20:30:52 -04:00
Wilson Snyder
51d1235cda
Shorter stringify of empty queues, and better queue tests
2020-10-24 18:00:40 -04:00
Wilson Snyder
2f21b3385a
Tests: Casting.
2020-10-24 17:46:09 -04:00
Wilson Snyder
9d0a7d5e70
Commentary ( #2606 ).
2020-10-23 18:30:10 -04:00
Wilson Snyder
4cec3ff2a0
Fix WIDTH warnings on comparisons with nullptr ( #2602 ).
2020-10-22 17:27:23 -04:00
Wilson Snyder
25593c0ee2
Fix capitalization
2020-10-22 17:13:42 -04:00
Wilson Snyder
5d3dd52f13
Support queue slicing ( #2326 ).
2020-10-18 13:23:39 -04:00
Wilson Snyder
ec36d0d772
Internals: When resolving assignments pass dtype to children.
2020-10-18 12:30:33 -04:00
Wilson Snyder
3d2503f9aa
Tests: Run execute on non-Verilator when unsupported test.
2020-10-17 21:31:58 -04:00
Wilson Snyder
4576644591
Prep for future queue slicing.
2020-10-17 21:09:10 -04:00
Wilson Snyder
d8df216a8d
Fix emit indent of VL_TO_STRING
2020-10-17 20:05:21 -04:00
Wilson Snyder
964dcd5b7c
Tests: Add additional array method tests and error
2020-10-17 19:23:27 -04:00
Wilson Snyder
f62c070d06
Internals: Concat strings only when final; prep for queues.
2020-10-17 18:56:38 -04:00
Wilson Snyder
a56e0a6e89
Internals: Prep for type method. No functional change intended.
2020-10-17 16:48:11 -04:00
Wilson Snyder
451e961e03
Internals: Prep for type method. No functional change intended.
2020-10-17 16:04:29 -04:00
Wilson Snyder
cb550e5357
Remove old MSVC 6 workarounds
2020-10-17 14:21:27 -04:00
Wilson Snyder
829db3eefa
Fix tick style on %p formats.
2020-10-16 19:26:04 -04:00
Wilson Snyder
44f938e507
Use static const for emitted parameter declarations.
2020-10-16 19:05:28 -04:00
Wilson Snyder
4849c0530b
Fix class extends with typedef.
2020-10-16 18:25:32 -04:00
Wilson Snyder
f4ed367850
Internals: Remove verilator_difftree old cleanups.
2020-10-15 21:36:35 -04:00
Wilson Snyder
d4df94d866
Internals: Move static resolution to LinkParse.
2020-10-15 21:08:24 -04:00
Wilson Snyder
5d8019f941
Internals: Only need to applyFTask once. No functional change intended.
2020-10-15 21:02:24 -04:00
Wilson Snyder
48597bebaf
Tests: Better static tests
2020-10-15 20:44:51 -04:00
Wilson Snyder
470859f929
devel release
2020-10-15 08:26:36 -04:00
Wilson Snyder
77553d23fc
Version bump
2020-10-15 08:21:57 -04:00
Wilson Snyder
3b9c8b64f7
Tests: Add unsupported queue method/slice testing.
2020-10-14 21:57:53 -04:00
Wilson Snyder
7e5f562500
Tests: Use internal sed as external croaks on binary.
2020-10-14 09:30:15 -04:00
Wilson Snyder
d4d3ae4dfc
Fix compile error.
2020-10-14 07:31:22 -04:00
Wilson Snyder
79b1b07fcd
Commentary
2020-10-14 07:30:15 -04:00
Wilson Snyder
e3cf5c07e4
Internal coverage improvements. No functional change.
2020-10-13 21:13:52 -04:00
Wilson Snyder
8750352495
Internal coverage: Cleanup some savable errors and coverage.
2020-10-13 19:26:16 -04:00
Wilson Snyder
3d8dc2774b
Fix clang 11 warning. No functional change intended.
2020-10-13 19:22:49 -04:00
Markus Krause
0a9ae154be
introduce define for FST tracing ( #2592 )
...
This is to allow C++ verilator toplevel to support
multiple modes of waveform tracing
VM_TRACE_FST can be used inside a #if VM_TRACE
section to switch between classic .vcd tracing and the
more compact .fst format supported by GTKWAVE
2020-10-10 21:17:39 -04:00
Wilson Snyder
e25a6334cf
Support repeated forward typedefs.
2020-10-10 11:29:10 -04:00
Wilson Snyder
070bead9f9
Internals: Refector typedef call. No functional change intended.
2020-10-10 11:25:44 -04:00
Wilson Snyder
549921be2e
Disable Free BSD under travis. ( #2591 )
2020-10-10 09:49:50 -04:00
Wilson Snyder
7c05033b79
Add verilator_gantt warning when too few cpus ( #2590 )
2020-10-09 21:28:00 -04:00
Wilson Snyder
215d3614c0
Fix preprocessor stringify of undefined macro.
2020-10-09 18:53:09 -04:00
Wilson Snyder
1ebf937a6c
Internals: Favor std method. No functional change intended.
2020-10-09 17:55:58 -04:00
Rafal Kapuscik
7be343fd7c
Support 'this' ( #2585 ).
2020-10-08 07:54:01 -04:00
Wilson Snyder
fb2d78520f
Internals: Remove redundant initial clears. No functional change intended.
2020-10-07 19:43:08 -04:00
Yutetsu TAKATSUKASA
c5da072ff6
Fix performance degradation when --threads is used with --hierarchical (Issue #2562 ) #2581
2020-10-05 08:20:49 +09:00
Wilson Snyder
efbcb094ca
Fix flushCall for backward compatibility ( #2580 ).
2020-10-04 07:47:25 -04:00
Wilson Snyder
5033c906fd
Commentary ( #2577 )
2020-09-30 16:55:26 -04:00
Wilson Snyder
f8ab30d127
Commentary ( #2575 )
2020-09-28 08:45:50 -04:00
Victor Besyakov
222ca4b009
Tests: Add t_stream_integer_type ( #2547 ) ( #2548 ) ( #2573 )
2020-09-27 19:25:53 -04:00
James Pallister
e3a1954e20
Fix hierarchical references used inside a function ( #2267 ) ( #2572 )
2020-09-27 10:10:44 -04:00
Wilson Snyder
4ba2637360
Fix class wide member display ( #2567 ).
2020-09-25 07:37:38 -04:00
Wilson Snyder
6430743b6f
Fix method calls to package class functions ( #2565 ). [Peter Monsson]
2020-09-22 09:09:10 -04:00
Wilson Snyder
0c49cca527
Fix $urandom_range passed variable ( #2563 ).
2020-09-22 08:44:51 -04:00
Wilson Snyder
7a9e79ea79
Fix -G dropping public indication ( #2561 ).
2020-09-21 08:29:57 -04:00
Yutetsu TAKATSUKASA
157948c552
Fix cmake build with --hierarchical option ( #2560 )
...
* hier_block with cmake test doesn't assume prefix now.
* Add space between files
* don't set -Mdir on cmake build as it will be set by DIRECTORY option
* Use top target name instead of prefix
2020-09-20 07:48:05 +09:00
Wilson Snyder
1a127a479c
Internal coverage improvements
2020-09-19 10:30:31 -04:00
Wilson Snyder
87e4a86fbb
Internal coverage improvements
2020-09-18 21:27:36 -04:00
Yutetsu TAKATSUKASA
1c1b95161b
Load source file of the hier_block explicitly ( #2559 )
...
* Add a test to make sure that lib modules (loaded via -y option) can be a hier_block.
* Add HDL file of the hier_block to the source list if the module is loaded via -y option.
(Each hier_block is treated as a top module when processing the hier_block.)
* Use "\n" for delimiter as the other files
2020-09-19 08:13:49 +09:00
Wilson Snyder
66d1754d19
Fix constant x propagation of xor.
2020-09-18 17:47:22 -04:00
Piotr Binkowski
57a53c014d
Internals: Add proper delegation to dump methods ( #2555 )
2020-09-16 21:52:24 -04:00
Yutetsu TAKATSUKASA
e48a859b86
Add timescale directive for hier_block if the original design has it ( #2554 )
...
* add timescale directive to a test to reproduce #2544
* add timescale directive to hierarchy blocks
2020-09-17 06:09:29 +09:00
Wilson Snyder
430238a6b4
Support # as a comment in -f files ( #2497 ).
2020-09-15 20:12:08 -04:00
Wilson Snyder
9a4c5509fc
Internals: Allow make clang-format in src
2020-09-15 07:39:50 -04:00
Wilson Snyder
0765443353
Internals: Remove unneeded constructor.
2020-09-15 07:35:53 -04:00
Yuri Victorovich
d07a6f81e4
Fix cmake-based verilated rebuilds ( #2543 )
2020-09-11 13:07:00 -04:00
Wilson Snyder
fac04521db
Internals: Fix VL_LEAK_CHECK ( #2542 ).
2020-09-11 11:52:30 -04:00
Peter Monsson
d0819f156f
Add support for |=> inside properties ( #1292 ).
2020-09-10 06:49:04 -04:00
Wilson Snyder
b77eab3f83
Fix crash when mismatching queue types.
2020-09-07 21:13:38 -04:00
Wilson Snyder
30f3774134
Support const object new() assignments.
2020-09-07 17:26:53 -04:00
Wilson Snyder
1899a875a4
Internals: Create VAccess class. No functional change intended.
2020-09-07 17:09:25 -04:00
Wilson Snyder
cc134b38ee
Internal coverage: Misc cleanups
2020-09-07 13:11:44 -04:00
Wilson Snyder
993115d30a
Cleanup and test EmitV for internal coverage
2020-09-07 12:58:30 -04:00
Wilson Snyder
c1d35c8622
devel release
2020-09-07 09:42:13 -04:00
Wilson Snyder
16fba59480
Version bump
2020-09-07 09:26:03 -04:00
Wilson Snyder
4266c789ce
Commentary
2020-09-07 09:20:17 -04:00
Peter Monsson
627d83e807
Add support for assume property ( #2531 )
2020-09-03 12:38:48 -04:00
Peter Monsson
80f5738544
Tests: Move t_rose t_fell and t_stable to a single test ( #2530 )
2020-09-03 08:09:47 -04:00
Wilson Snyder
600641b4a1
Tests: Add process test #2527
2020-08-31 19:02:58 -04:00
Yutetsu TAKATSUKASA
70eb99b050
Fix double-free on shared protect-lib ( #2526 )
...
* Add a test to use shared object of protect-lib
* Add a guard to call ctor/dtor just once even when a protec-lib is shared object.
* Pass .a to linker in leaf-last order for older ld.
* Add -flat_namespace for mac
2020-08-31 08:22:31 -04:00
Wilson Snyder
dc1ad16b03
Travis: Try install twice
2020-08-30 17:34:25 -04:00
Wilson Snyder
ba5779c69e
Fix queues as class members ( #2525 ).
2020-08-29 12:56:43 -04:00
Wilson Snyder
069eb97eca
SystemC 2.3.0 or newer (SYSTEMC_VERSION >= 20111121) is now required.
2020-08-29 10:45:47 -04:00
Wilson Snyder
96a959154a
Commentary #2518 .
2020-08-29 10:22:50 -04:00
Yutetsu TAKATSUKASA
4f88ec3518
Fix hier test failure on mac ( #2524 )
...
* No need to link the intermediate .so in hierarchical verilation
* apply clang-format
* run all tests in ci instead of cron. DONT_MERGE
* Add -undefined dynamic_lookup for mac environment when linking a shared protect-lib.
* Let's just check on mac for now. DONT_MERGE
* Revert "Let's just check on mac for now. DONT_MERGE"
This reverts commit 533fac6f9f .
* Revert "run all tests in ci instead of cron. DONT_MERGE"
This reverts commit fb4ac1fb42 .
2020-08-29 07:56:06 -04:00
Patrick Stewart
ef4f91ae5a
CMake: Unconditionally require C++11 or greater ( #2522 )
2020-08-28 00:01:47 -04:00
Wilson Snyder
45eccaecaf
Fix Travis/GCC warnings.
2020-08-27 18:48:26 -04:00
Wilson Snyder
0397e19726
Tests: CMAKE flags fix, #2514 .
2020-08-27 18:48:10 -04:00
Wilson Snyder
687edba969
Make: less verbose archive
2020-08-27 18:47:12 -04:00
Wilson Snyder
02e83da2fa
Fix Travis/GCC warnings.
2020-08-27 08:47:34 -04:00
Yutetsu TAKATSUKASA
ef04ada12b
Fix test failure on FreeBSD ( #2521 )
...
* Don't use thin-archive to merge multiple archives because it is gnu-ar specific.
* remove -time option that may caues -Wunused-command-line-argument warning
2020-08-27 07:52:48 +09:00
Wilson Snyder
bed3101dfc
Internals: Use VL_RESTORER class to save/restore vars. No functional change intended.
2020-08-24 21:13:28 -04:00
Wilson Snyder
4265f9499d
Support dotted references in foreach in early parsing (for UVM)
2020-08-24 19:33:26 -04:00
Yutetsu TAKATSUKASA
6acd5847e7
Fix range check in V3SplitVar to be consistent with #2507 ( #2511 )
...
* test:Add more tests for checking split_var for unpacked array.
* Fix range calculation of SliceSel and change to UASSERT_OBJ because the range check is done in V3Width beforehand.
2020-08-24 19:11:20 -04:00
Wilson Snyder
16547077a1
Remove temporary file.
2020-08-24 18:56:52 -04:00
Wilson Snyder
3ad3944f2c
Fix Travis/GCC warnings. For VPI/DPI still avoid C++11.
2020-08-24 18:49:36 -04:00
Wilson Snyder
be8f1a25c6
Commentary ( #2510 )
2020-08-24 08:58:33 -04:00
Wilson Snyder
f7f3d3fd43
Fix splitting eval functions with --output-split-cfuncs ( #2368 ).
2020-08-23 22:21:40 -04:00
Wilson Snyder
4003e01283
Commentary
2020-08-23 20:58:23 -04:00
Wilson Snyder
917d3b0fb3
Support virtual class
2020-08-23 20:27:25 -04:00
Wilson Snyder
3d073c9534
Fix class extends to use virtual destruction
2020-08-23 20:00:39 -04:00
Wilson Snyder
20206b1e2e
Support simple class extends.
2020-08-23 19:37:56 -04:00
Wilson Snyder
fefe731105
Tests: Better virtual test
2020-08-23 11:50:42 -04:00
Wilson Snyder
1dce6b2500
Support $stable
2020-08-23 11:34:19 -04:00
Wilson Snyder
d2fac4aa2f
Internals: Add --debug-exit-uvm
2020-08-23 09:05:18 -04:00
Wilson Snyder
132cc1d068
Parser: Move timing control unsupported message
2020-08-23 08:56:35 -04:00
Wilson Snyder
f4a72946eb
Support $urandom, $urandom_range without stability.
2020-08-23 08:42:50 -04:00
Wilson Snyder
e10156548d
Fix GCC warnings
2020-08-23 07:19:20 -04:00
Wilson Snyder
4e6d2cfe38
Fix class constructor error on assignments to const.
2020-08-22 22:44:00 -04:00
Wilson Snyder
7f3a73e314
Fix naming of "id : begin" blocks.
2020-08-22 22:21:37 -04:00
Wilson Snyder
143050e034
Fix fwrite GCC warning
2020-08-22 21:34:41 -04:00
Wilson Snyder
8455ee7091
Optimize one-statement fork/join into begin
2020-08-22 20:04:02 -04:00
Wilson Snyder
9702d11657
Support class extern.
2020-08-22 19:46:21 -04:00
Wilson Snyder
decbf79f39
Convert unnamed error to new PKGNODECL error.
2020-08-22 19:42:21 -04:00
Wilson Snyder
2d7d2c5992
Fix false DECLFILENAME on black-boxed modules ( #2430 ).
2020-08-22 16:56:21 -04:00
Wilson Snyder
2abbd5c145
Convert unnamed error to new PKGNODECL error.
2020-08-22 16:37:49 -04:00
Wilson Snyder
583605b218
Parser: Move extern decl unsupported message
2020-08-22 16:24:29 -04:00
Wilson Snyder
67fab0b4fc
Internals: Add missing package null test. No functional change intended.
2020-08-22 10:22:56 -04:00
Wilson Snyder
43213fcdc2
Fix GCC warnings
2020-08-22 07:44:22 -04:00
Yutetsu TAKATSUKASA
f632ea500c
Fix slice of unpacked array calculation (Issue #2506 ) ( #2507 )
...
Fixes Issue #2506 by shifting index as ArraySel does
2020-08-22 15:23:26 +09:00
Wilson Snyder
dbb69412e5
Travis: Use make -k
2020-08-21 08:31:27 -04:00
Wilson Snyder
d7bc0ff5e5
Fix GCC warnings
2020-08-21 08:30:12 -04:00
Wilson Snyder
14604a24d6
Fix GCC warnings
2020-08-20 08:12:06 -04:00
Wilson Snyder
816c5e0dc9
Fix GCC warnings
2020-08-19 08:20:06 -04:00
Rupert Swarbrick
aa39d020d8
Fix build with Bison 3.7 and newer ( #2505 )
2020-08-18 12:12:52 -04:00
Wilson Snyder
b67f1f0e94
Fix GCC warnings
2020-08-18 08:10:44 -04:00
Wilson Snyder
f5546febe8
Fix OSX GCC register warning.
2020-08-18 08:02:50 -04:00
Wilson Snyder
27181d534e
Commentary
2020-08-17 07:57:38 -04:00
Wilson Snyder
698e0fbbd1
configure: Try compiler flags to get to C++11 ( #2502 )
2020-08-17 07:40:07 -04:00
Wilson Snyder
ea9b65fe6d
Hardcode VM_C11 as always need C++11 now
2020-08-16 15:10:43 -04:00
Wilson Snyder
3c1ed075e5
tests: Disable wide line test as breaks user commits.
2020-08-16 14:57:16 -04:00
Wilson Snyder
6013b54f7b
clang-tidy cleanups. No functional change intended.
2020-08-16 14:55:46 -04:00
Wilson Snyder
d75a8624c1
C++11: constexpr replacing defines. No functional change intended.
2020-08-16 14:19:12 -04:00
Wilson Snyder
ac04e85a1c
C++11: More range for. No functional change intended.
2020-08-16 12:54:32 -04:00
Wilson Snyder
78aee6f4e7
C++11: Use sized enums (+4% performance).
2020-08-16 12:05:35 -04:00
Wilson Snyder
ee9d6dd63f
C++11: Favor auto, range for. No functional change intended.
2020-08-16 11:44:06 -04:00
Wilson Snyder
034737d2a8
C++11: Use member declaration initalizations (in nodes). No functional change intended.
2020-08-16 11:44:06 -04:00
Wilson Snyder
72d2cff0a1
C++11: Use member declaration initalizations. No functional change intended.
2020-08-16 11:44:06 -04:00
Wilson Snyder
033e7ac020
C++11: Use member declaration initalizations. No functional change intended.
2020-08-16 11:44:06 -04:00
Wilson Snyder
042d3eed23
C++11: Use override where possible. No functional change.
2020-08-16 11:44:05 -04:00
Wilson Snyder
ea4031cbd3
C++11: Use delegating constructors. No functional change.
2020-08-16 11:44:05 -04:00
Wilson Snyder
c0127599df
C++11: Use nullptr. No functional change.
2020-08-16 11:44:05 -04:00
Wilson Snyder
7c54a451a9
C++11: Remove pre-c11 VL_OVERRIDE etc. No functional change.
2020-08-16 11:44:05 -04:00
Wilson Snyder
2118038cb9
Commentary
2020-08-15 14:22:50 -04:00
Wilson Snyder
9927e8b3ee
clang-format uses C++11 style. No functional change.
2020-08-15 09:48:08 -04:00
Yutetsu TAKATSUKASA
953a442827
Support hierarchical verilation using protect lib ( #2206 )
2020-08-15 09:43:53 -04:00
Wilson Snyder
f3b28c5c74
Remove configure --enable-prec11-final
2020-08-15 09:39:59 -04:00
Wilson Snyder
7a33fe2bf2
devel release
2020-08-15 09:20:50 -04:00
Wilson Snyder
bdecf6c4e1
Version bump
2020-08-15 09:14:36 -04:00
Wilson Snyder
6fcf05e2b6
Commentary
2020-08-15 09:12:36 -04:00
Peter Monsson
4a5e4b04f3
Support $rose and $fell. ( #2148 ) ( #2501 )
2020-08-14 07:37:10 -04:00
Edgar E. Iglesias
5d98035170
Fix sc names ( #2500 )
...
cint.mainInt(nodep) walks the tree and populates m_ctorVarsVec.
Reuse EmitCImp cint for the slow mainImp() emition steps to make sure
we emit constructor calls to setup SystemC sc_module names.
2020-08-13 08:23:02 -04:00
Wilson Snyder
20c906261b
Fix casting non-self-determined subexpressions ( #2493 ).
2020-08-09 20:59:06 -04:00
Wilson Snyder
74754d94c3
Codacy fix
2020-08-06 22:03:00 -04:00
Wilson Snyder
98cd925fda
Fix non-32 bit conversion to float ( #2495 ).
2020-08-06 21:56:43 -04:00
Wilson Snyder
e029ba845e
Travis: Trusty must use default CPAN
2020-08-06 17:50:49 -04:00
Julien Margetts
e53a522662
Fix protect lib VCS warning ( #2479 )
2020-08-04 17:07:40 -04:00
Wilson Snyder
2bc813da4a
Refactor and test VL_MULS_MAX_WORDS
2020-08-03 22:12:24 -04:00
James Hanlon and James Hanlon
555408b5d3
Fix V3Unknown from running with flat XML output ( #2494 )
...
* Prevent V3Unknown pass from being run
Co-authored-by: James Hanlon <[email protected] >
2020-08-03 11:44:47 -04:00
Wilson Snyder
a07f2b3611
Travis: Force CPAN mirror to avoid false failures.
2020-08-02 08:47:27 -04:00
Yutetsu TAKATSUKASA
c85589371a
Fix protect-lib without sequential logic ( #2492 )
...
* add a test for protect-lib without sequential logic that cause the follwoing error.
%Error: obj_vlt/t_prot_lib_comb/secret/secret.sv:78:14: syntax error, unexpected ')'
78 | always @() begin
| ^
* protect-lib wrapper must contain sequential signal related statements
only if the protected design is a sequential logic.
Diff looks big, but actually just add "if (m_hasClk)" condition.
Signed-off-by: Yutetsu TAKATSUKASA <[email protected] >
2020-08-01 07:16:15 -04:00
Peter Monsson
1280070abb
Support $stable ( #2488 )
2020-07-28 18:26:24 -04:00
Wilson Snyder
a52f975bd7
Fix combining different-width parameters ( #2484 ).
2020-07-26 17:54:23 -04:00
Wilson Snyder
0c70f0c786
clang-format
2020-07-26 17:50:31 -04:00
Wilson Snyder
edf6a40f19
Fix VL_CONSTHI truncation ( #2473 )
2020-07-18 17:35:20 -04:00
Piotr Binkowski
58739a0a99
Internals: add isProgram to AstModule ( #2470 )
...
This allows to check which AstModules were created from `program` keyword
2020-07-16 07:31:16 -04:00
Wilson Snyder
1488f9130d
Enable simple function localparams ( #2461 )
2020-07-15 19:31:19 -04:00
Josh Redford
a18d8cbe86
Test for arrayed interfaces ( #2469 ).
2020-07-15 17:58:59 -04:00
Wilson Snyder
bfea4b7f99
Fix arrayed interfaces, broke in 4.038 ( #2468 ).
2020-07-15 17:58:26 -04:00
Wilson Snyder
84b8307938
Ignore .nfs files
2020-07-15 07:50:32 -04:00
Wilson Snyder
ce340658d6
Internals: revert ( #2467 )
2020-07-15 07:50:17 -04:00
Piotr Binkowski
a02c420064
Internals: separate AST class for program ( #2467 )
2020-07-15 07:39:58 -04:00
Marshal Qiao
d55c233427
Fix bad delete in verilated_save.h ( #2462 )
2020-07-14 06:39:00 -04:00
Marshal Qiao
25bbbbd37b
Update Contributors ( #2465 )
2020-07-14 06:36:01 -04:00
Wilson Snyder
fdb4d3a145
Fix coredump with UVM parse, caused by recent commit.
2020-07-11 20:32:27 -04:00
Wilson Snyder
ced1af8cb8
Parser: Move extends param class unsupported message
2020-07-11 19:53:41 -04:00
Wilson Snyder
f0a6e4c2b2
Parser: Move scoped id unsupported messages down out of parser
2020-07-11 19:11:58 -04:00
Wilson Snyder
9e5cd463e5
Parser: Move class parameter unsupported messages down out of parser
2020-07-11 18:39:01 -04:00
Wilson Snyder
bb8899f307
Internals: Rename AstPackageRef as may point to class.
2020-07-11 10:29:15 -04:00
Wilson Snyder
1194dbf19c
devel release
2020-07-11 09:18:40 -04:00
Wilson Snyder
0cd4a57ad9
Version bump
2020-07-11 09:05:24 -04:00
Wilson Snyder
1bd1e21a69
Change --enable-prec11 to --enable-prec11-final and give stronger warning
2020-07-11 08:56:40 -04:00
Wilson Snyder
7e7447812c
Fix modulus exception ( #2460 )
2020-07-11 08:17:16 -04:00
Wilson Snyder
af3ab13012
Tests: Fix 64-bit code coverage, part of last commit
2020-07-10 22:38:08 -04:00
Wilson Snyder
b35b5aacfa
Fix division exception ( #2460 )
2020-07-10 22:28:02 -04:00
Wilson Snyder
9c01665078
Tests: Fix bison stability.
2020-07-10 22:05:51 -04:00
Wilson Snyder
a500140f1d
Fix Bison 3.6 error messages
2020-07-10 21:54:58 -04:00
Wilson Snyder
dced49a804
Internals: Cleanup branch coverage. No functional change.
2020-07-10 19:17:21 -04:00
Wilson Snyder
f8a67b2fe8
Configure: Show bison/flex version.
2020-07-10 18:37:31 -04:00
Wilson Snyder
8cdecd5668
Commentary: Changes update
2020-07-10 18:18:02 -04:00
Wilson Snyder
75d255a3bf
Internals: clang-format
2020-07-10 18:08:04 -04:00
Wilson Snyder
0674267333
Parser: Test and handle semaphore, mailbox and process.
2020-07-09 20:04:22 -04:00
Geza Lore
1632160fb1
Internals: Remove redunand SenItem nodes ( #2457 )
2020-07-05 13:13:03 -04:00
Geza Lore
e609328ebb
Ensure VarRef inherits dtype when varp is set.
...
Inlining used to set some VarRefs to point to new Var nodes, without
updating the dtype of the VarRef to the dtype of the new Var.
AstNode::sameTree does identity comparison on the dtype, so some trees
that were semantically the same did not compare as such with sameTree
because of the dtype. This in turn results in some missed opportunities
for combining equivalent SenTree sensitivities when the clock came from
outside.
2020-07-05 16:09:22 +01:00
Yutetsu TAKATSUKASA
8291ef6537
Internals: Pass FileLine to findDotted() for error location ( #2455 )
...
* Pass FileLine so that findDotted() will be able to tell the error location though it is not used yet.
* reorder the parameter order. No functional change is intended.
2020-07-04 09:35:04 -04:00
Yutetsu TAKATSUKASA
30600bf1a3
Internals: Add const
2020-07-03 14:16:43 -04:00
Wilson Snyder
b968f57711
Suppress unsupported constraint, as implied by unsupported randomize.
2020-07-02 21:10:05 -04:00
Wilson Snyder
ee7b399bf5
Parser: Move 'static' unsupported messages down out of parser.
2020-07-02 21:02:49 -04:00
Wilson Snyder
50c28fa9d3
Parser: Move 'pure virtual' and 'extern' unsupported messages down out of parser.
2020-07-02 08:24:50 -04:00
Geza Lore
a17f51eac0
Improve V3MergeCond
...
- Do try to merge after assignment to condition when possible.
- Do not try to merge reduced form if not the expected statement.
This used to cause a crash.
2020-07-02 13:13:51 +01:00
Yutetsu TAKATSUKASA
cc50126ad3
Internals: Generalize V3Config to be able to set any module pragma. No functional change intended. ( #2451 )
2020-07-02 07:54:37 -04:00
Wilson Snyder
9d1a39a5e4
Parser: Move 'with' block unsupported messages down out of parser
2020-07-02 07:36:15 -04:00
Yutetsu TAKATSUKASA
82cc1a319f
Internals: Simplify condition in V3Dead.cpp. No functional change intended. ( #2454 )
2020-07-02 07:35:55 -04:00
Yutetsu TAKATSUKASA
2fd23458ce
Internals: Factor out making a make cmd string in Verilator.cpp. No functional change intended. ( #2453 )
2020-07-02 07:30:40 -04:00
Yutetsu TAKATSUKASA
271fa5fe3c
Internals: move parseParamLiteral() to AstConst . No functional change intended. ( #2452 )
2020-07-02 07:29:52 -04:00
Fan Shupei
04c96694e6
Add $writememb support ( #2450 )
2020-07-01 17:32:15 -04:00
Wilson Snyder
e7bd44561c
Parse dotted new
2020-07-01 07:39:37 -04:00
Wilson Snyder
4d5e448664
Parser: Move member qualifier unsupporteds out of parser.
2020-07-01 07:31:53 -04:00
Wilson Snyder
236c2141e3
Parser: Move 'with' block unsupported messages down out of parser
2020-06-30 21:37:11 -04:00
Wilson Snyder
788fe3dc27
Tests: Ignore gtkwave spaces.
2020-06-30 21:36:39 -04:00
Wilson Snyder
a2abd361db
gtkwave: Update to match spacing of upstream. No functional change.
2020-06-30 19:16:10 -04:00
Geza Lore
09806d7576
Update fstapi.c to latest (fix undefined thread behaviour)
2020-06-30 19:50:41 +01:00
Geza Lore
a2aa678278
Travis: only use SystemC when not M32
2020-06-30 19:16:28 +01:00
Wilson Snyder
0b09636c58
Support for-loop increments with commas.
2020-06-29 21:18:41 -04:00
Wilson Snyder
af197f2ceb
Parser: Move 'virtual class' block unsupported messages down out of parser
2020-06-29 21:03:14 -04:00
Wilson Snyder
748c818ccb
Parser: Move 'wait' block unsupported messages down out of parser
2020-06-29 20:39:39 -04:00
Wilson Snyder
ad55564905
Parser: Move disable fork and wait fork down into elaborate stage
2020-06-29 20:22:39 -04:00
Wilson Snyder
ad2cb45a14
Parser: Move unsupported error detection of 'this'/'super' down into link stage
2020-06-29 20:02:15 -04:00
Wilson Snyder
277fd9197f
Tests: Add number case for #2432 .
2020-06-29 18:03:16 -04:00
Wilson Snyder
61ff7039b4
Commentary ( #2439 )
2020-06-28 18:37:42 -04:00
Geza Lore
7342cf278a
Travis: Add 32-bit build on focal
2020-06-28 20:11:22 +01:00
Harald Heckmann
958654909f
Added perl-doc to optional apt packages ( #2445 )
2020-06-28 11:00:57 -04:00
Geza Lore
d9be86d69a
Remove Travis FreeBSD debug acces workaround (ENV_HACK)
2020-06-28 15:37:24 +01:00
Geza Lore
378d947702
Travis: Add FreeBSD build + portability fixes
2020-06-28 15:37:24 +01:00
Stephen Henry
98b5417e04
Disable argument template type deduction. ( #2426 )
...
Fixes #2421 , #2435 relating to 32-bit build failures.
2020-06-28 10:54:15 +01:00
Wilson Snyder
0af971292e
Commentary ( #2437 )
2020-06-27 22:35:31 -04:00
Wilson Snyder
43a2fa080a
For maintainers, set fill-column.
2020-06-27 21:44:32 -04:00
Geza Lore
0cdc2e038c
Workaround for Travis OS X dbg exe corruption
2020-06-25 14:12:24 +01:00
Geza Lore
d4a411db6c
Don't use configure default compiler flags
2020-06-24 11:44:25 +01:00
Geza Lore
8d367dc8a3
Fix github links in documentation ( #2443 )
2020-06-24 11:09:49 +01:00
Geza Lore
5a4cc333fb
Travis: Add OS X build ( #2440 )
2020-06-22 10:13:54 +01:00
Ludwig Rogiers
f13fd4478c
Init params in constructor to support pre-c++11 compilers
2020-06-22 09:01:39 +01:00
Geza Lore
23e4a0f784
Improve documentation
2020-06-20 05:17:46 +01:00
Geza Lore
aa595d40de
Do not fold IF with 'bx condition before V3Unknown ( #2438 )
...
Fixes #2425
2020-06-20 04:16:07 +01:00
Wilson Snyder
fa828ac9ba
Commentary ( #2419 )
2020-06-14 10:47:17 -04:00
Wilson Snyder
b1495f0742
Commentary ( #2423 )
2020-06-14 10:44:57 -04:00
Stefan Wallentowitz
8006b5479c
Missing entry in Changes for VPI parameters ( #2417 )
2020-06-13 05:22:12 -04:00
Yutetsu TAKATSUKASA
19c2906a64
Improve code coverage of V3SplitVar.cpp ( #2418 )
2020-06-13 04:45:47 -04:00
Ludwig Rogiers
c367b671b6
Support VPI parameter and localparam ( #2370 )
2020-06-12 18:38:01 -04:00
Wilson Snyder
35226d5e1a
Commentary
2020-06-12 08:12:54 -04:00
Geza Lore
fac89c5d62
Close trace on vl_fatal/vl_finish ( #2414 )
...
This is required to get the last bit of FST trace and close the FST file
properly on $stop or assertion failure.
2020-06-12 07:15:42 +01:00
Conor McCullough
f40f0464e2
Fix replaceMulShift optimization ( #2413 )
2020-06-11 07:42:25 -04:00
Wilson Snyder
262ed9c03a
Tests: Avoid using std. No functional change.
2020-06-10 08:04:34 -04:00
Yutetsu TAKATSUKASA
a7edf13d62
Fix V3SplitVar test stability ( #2408 )
2020-06-09 22:39:10 -04:00
Wilson Snyder
6e57076726
Support --bbox-unsup parsing of nested foreach.
2020-06-09 22:05:06 -04:00
Wilson Snyder
cef56c6fca
Support --bbox-unsup parsing of class extend typedefs
2020-06-09 20:59:45 -04:00
Wilson Snyder
91f30af01f
Fix --bbox-unsup crash from earlier commit.
2020-06-09 19:49:11 -04:00
Wilson Snyder
3c8953fec2
Fix $sformat with non-constant string first argument
2020-06-09 19:40:49 -04:00
Wilson Snyder
6de78d58fa
Add new UNSUPPORTED error code to replace most previous Unsupported: messages.
2020-06-09 19:20:16 -04:00
Wilson Snyder
d42f9c095b
Delay parsing of associative arrays until dtypes known.
2020-06-09 07:13:40 -04:00
Wilson Snyder
46e10173f8
Support --bbox-unsup parsing of class extern function/task.
2020-06-08 22:33:57 -04:00
Wilson Snyder
d84c7df38f
Internals: Reformat V3Options. No functional change.
2020-06-08 22:17:30 -04:00
Wilson Snyder
6e2d8df9e5
Tests: Add --debug-exit-parse
2020-06-08 22:10:55 -04:00
Wilson Snyder
e2b40195b4
Tests: Reference issue #2410 .
2020-06-08 20:58:04 -04:00
Wilson Snyder
541f983dba
Merge tests from issue-2409-timing (but disabled mostly)
2020-06-08 20:36:22 -04:00
Wilson Snyder
5658cd3394
Commentary
2020-06-08 20:11:29 -04:00
Wilson Snyder
3963a50aef
Internals: Refactor param array handling to use subroutine. No functional change intended.
2020-06-08 07:43:07 -04:00
Wilson Snyder
47f040a5fd
Internals: Do data type elaboration always as child node, before movement to symbol table.
2020-06-08 06:47:18 -04:00
Wilson Snyder
7b7a2e99e3
Internals: Misc parser cleanups.
2020-06-07 22:15:19 -04:00
Wilson Snyder
25397e7612
Author site: Don't rebuild revision if VERILATOR_NO_OPT_BUILD
2020-06-07 20:08:19 -04:00
Wilson Snyder
4984d19ae9
Support --bbox-unsup parsing :: referencing typedef in class
2020-06-07 19:59:03 -04:00
Wilson Snyder
305448ea86
Cleanup parser errors to identify packages by :: instead of symbol table
2020-06-07 16:54:25 -04:00
Wilson Snyder
4a1d18f0e9
Internals: Refactor parser pipeline to use deque. No functional change intended.
2020-06-07 15:35:36 -04:00
Wilson Snyder
30482f3eea
Internals: Add parser debug printer.
2020-06-07 14:07:15 -04:00
Wilson Snyder
b469feb44b
Fix some syntax error context by splitting internal parse and lex filelines
2020-06-07 13:45:50 -04:00
Wilson Snyder
466fd56d18
Move XML verilator tag handling into parser.
2020-06-07 13:09:18 -04:00
Wilson Snyder
1aaf3f3424
Internals: Rename parser functions called by lexer. No functional change intended.
2020-06-07 12:18:23 -04:00
Wilson Snyder
b5e4917405
Internals: Pass unconnected drive in parser token stream.
2020-06-07 12:08:12 -04:00
Wilson Snyder
140671300c
Internals: Pass parser celldefine state through FileLine. No functional change intended.
2020-06-07 11:58:53 -04:00
Wilson Snyder
820a4dbbdd
Internals: Pass fileline directly. No functional change intended.
2020-06-07 10:53:21 -04:00
Wilson Snyder
53d8ccd149
Internals: Move yyerror to parser. No functional change intended.
2020-06-07 10:31:42 -04:00
Wilson Snyder
418b36ea71
Internals: Pass fileline directly and avoid yyerror
2020-06-07 10:17:50 -04:00
Wilson Snyder
05e51d0d18
Tests: Excempt some wide files
2020-06-07 09:59:09 -04:00
Wilson Snyder
575c565e77
Internals: Refactor to decouple LinkDot from ParseImp. No functional change intended.
2020-06-07 08:23:01 -04:00
Wilson Snyder
01255082a6
Internals: Refactor to decouple LinkDot from ParseImp. No functional change intended.
2020-06-07 08:21:22 -04:00
Wilson Snyder
0098e67e59
Tests: Use lint in many negative tests to avoid running under both vlt and vltmt
2020-06-07 07:15:07 -04:00
Wilson Snyder
3798a472b5
Commentary: Indicate mid-rule parser actions.
2020-06-06 17:42:10 -04:00
Wilson Snyder
0e322e2e85
Fix segfault after pin unsupported error.
2020-06-06 16:17:41 -04:00
Wilson Snyder
5cd5c05c05
Support --bbox-unsup parsing of event control expressions
2020-06-06 15:54:44 -04:00
Wilson Snyder
933e796cc2
Support $swrite with arbitrary arguments
2020-06-06 14:47:54 -04:00
Wilson Snyder
ae701e014d
Support --bbox-unsup parsing of for with multiple increments
2020-06-06 13:55:15 -04:00
Wilson Snyder
3a0b8c8870
Fix parsing parameter type with assignment and no type keyword.
2020-06-06 13:44:45 -04:00
Geza Lore
dea0e6793f
Simplify V3SenTree.h. No functional change intended.
...
- Remove unused headers
- Simplify container functors
- SenTreeFinder need not be a Visitor
- Update comments
Line coverage should now be 100%
2020-06-06 17:30:32 +01:00
Wilson Snyder
4862916f39
Support --bbox-unsup parsing of 'constraint', 'dist', 'solve'
2020-06-06 12:08:36 -04:00
Wilson Snyder
870ec27b73
Support --bbox-unsup parsing of 'randomize'
2020-06-06 11:22:48 -04:00
Wilson Snyder
a21947d887
Support --bbox-unsup parsing of 'with'
2020-06-06 11:11:23 -04:00
Wilson Snyder
893dee3434
Support --bbox-unsup parsing of forward defed class calls
2020-06-06 10:21:16 -04:00
Wilson Snyder
f083805ab5
Support --bbox-unsup parsing of parameterized classes
2020-06-06 10:06:32 -04:00
Wilson Snyder
7067afde5d
Support --bbox-unsup parsing of foreach(this.foo)
2020-06-06 09:43:13 -04:00
Wilson Snyder
1eaec2aa8a
Support --bbox-unsup of $cast
2020-06-06 09:30:11 -04:00
Wilson Snyder
da01810d98
Internals: Add UNSUP tokens from VParseBison and sort lists. No functional change.
2020-06-06 09:09:26 -04:00
Wilson Snyder
4c7d5a1dc0
Fix --bbox-unsup to bypass more parser unsupported errors.
2020-06-06 08:50:47 -04:00
Wilson Snyder
d15e3d93c4
Internals: Reindent and move parser code. No functional change.
2020-06-06 08:44:44 -04:00
Wilson Snyder
aae2bf872c
devel release
2020-06-06 07:51:54 -04:00
Wilson Snyder
04c0fc8aa7
Version bump
2020-06-06 07:48:47 -04:00
Wilson Snyder
1d8955fea5
Internal: Update fastcov.py from upstream.
2020-06-06 05:48:36 -04:00
Wilson Snyder
48740a0dba
Tests: Add t_param_type
2020-06-05 22:22:44 -04:00
Geza Lore
4a404bd92e
Always mask LSB in V3Merge Cond when mergin AstAnd
2020-06-06 00:17:59 +01:00
Wilson Snyder
ff41701ddc
Fix crash on undeclared packages.
2020-06-05 18:50:06 -04:00
Wilson Snyder
2590c9c4a6
Internal: Update fastcov.py from upstream.
2020-06-05 18:05:49 -04:00
Wilson Snyder
c5d61da5d2
Internal coverage: Fix coverage of tests that abort. No functional change intended.
2020-06-05 08:00:22 -04:00
Wilson Snyder
5a622fd9db
Tests: Temporary fix for ( #2407 )
2020-06-05 07:28:51 -04:00
Wilson Snyder
c83b1478e1
Internals: Ifdef out V3Combine incomplete dead code.
2020-06-04 21:55:00 -04:00
Wilson Snyder
3243651c63
Internals: Fix misc internal coverage holes. No functional change intended.
2020-06-04 21:40:40 -04:00
Wilson Snyder
8d61cd9029
New fastcov internal coverage scheme
2020-06-04 20:59:52 -04:00
Wilson Snyder
7fe49de420
Tests: Tests to fix misc internal coverage holes.
2020-06-04 20:23:55 -04:00
Wilson Snyder
a433096d5a
Internals: Fix misc internal coverage holes. No functional change intended.
2020-06-04 19:49:39 -04:00
Geza Lore
b88e1e6970
Travis: Fix cron (always build focal)
2020-06-04 17:36:53 +01:00
Wilson Snyder
79f228b04f
Remove dead code (bisonreader)
2020-06-03 20:11:09 -04:00
Wilson Snyder
d7cc1e6844
Tests: Use lint in many negative tests to avoid running under both vlt and vltmt
2020-06-03 20:05:13 -04:00
Wilson Snyder
42312101b5
Tests: Add array OOB tests as unsupported ( #792 )
2020-06-03 19:36:50 -04:00
Wilson Snyder
329f5b712a
Tests: Add alias tests as unsupported ( #697 )
2020-06-03 19:27:22 -04:00
Geza Lore
6ddd92c0a1
Travis: Use workspaces and per job persistent ccache ( #2399 )
...
Change the Travis builds to use workspaces and persistent ccache
We proceed in 2 stages (as before, but using workspaces for
persistence):
1. In the 'build' stage, we clone the repo, build it and
save the whole checkout ($TRAVIS_BUILD_DIR) as a workspace
2. In the 'test' stage, rather than cloning the repo, multiple jobs
pull down the same workspace we built to run the tests from
This enables:
- Reuse of the build in multiple test jobs (this is what we used the Travis
cache for before)
- Each job having a separate persistent Travis cache, which now only
contains the ccache. This means all jobs, including 'build' and 'test'
jobs can make maximum use of ccache across runs. This drastically cuts
down build times when the ccache hits, which is very often the case for
'test' jobs. Also, the separate caches only store the objects build by
the particular job that owns the cache, so we can keep the per job
ccache small.
If the commit message contains '[travis ccache clear]', the ccache will
be cleared at the beginning of the build. This can be used to test build
complete within the 50 minute timeout imposed by Travis, even without a
persistent ccache.
2020-06-03 21:10:13 +01:00
Tomasz Gorochowik
277dee109c
Fix Ariane issues with PostAdd nodes ( #2400 )
2020-06-03 12:50:24 -04:00
Wilson Snyder
ef71576825
Fix coredump from increment patch ( #2391 )
2020-06-03 08:30:49 -04:00
Wilson Snyder
c3271aa891
Fix duplicate VLCOVGEN short code
2020-06-02 21:42:24 -04:00
Geza Lore
1cf17b5e78
Fix unused variable.
2020-06-02 22:45:55 +01:00
Ludwig Rogiers
2b6353b36e
Support vpi_handle type vpiLeftRange and vpiRightRange for vpiRange objects ( #2395 )
...
* Implement vpi_handle type vpiLeftRange and vpiRightRange for vpiRange objects
* Change VerilatedVpioConst type to vpiConstant
2020-06-02 08:04:22 -04:00
Wilson Snyder
8b647f0977
Fix error on UNPACKED in parser. ( #1541 )
2020-06-02 08:00:37 -04:00
Wilson Snyder
4c31c5fab5
Fix unused variable.
2020-06-02 07:52:27 -04:00
Wilson Snyder
6ce878cb0d
Fix some clang-tidy warnings
2020-06-01 23:16:17 -04:00
Geza Lore
a67ba04c37
Remove dead code and some unused parameters
...
Found with CLion inspections
2020-06-01 17:49:42 +01:00
Wilson Snyder
ae448e5ef9
Fix older GCC compiler error.
2020-06-01 09:08:50 -04:00
Wilson Snyder
a57826b125
Line Coverage now tracks all statement lines, not just branch lines.
2020-05-31 15:52:17 -04:00
Geza Lore
656c460605
Add --dump-tree-addrids developer option
2020-05-31 20:21:55 +01:00
Geza Lore
95534fa5c5
Remove unused headers ( #2389 )
2020-05-31 20:21:07 +01:00
Wilson Snyder
611e8b10c6
Fix Verilog coverage to pass real column information
2020-05-31 09:05:10 -04:00
Michael Killough
047852eb08
Fix OpenBSD make in tests. ( #2388 )
2020-05-31 09:03:51 -04:00
Geza Lore
6318a08056
Fix --dump-tree with sparse dumps.
...
"No changes since last dump!" is now only printed if the "last" dump was
actually performed and not skipped due to V3Option::dumpTreeLevel
settings.
2020-05-31 13:48:30 +01:00
Wilson Snyder
b60a92eed3
Fix pre-C11 compiler warning.
2020-05-30 21:11:37 -04:00
Geza Lore
fe306a36b8
Add MergeCond pass to combine assignments with ?: on rhs ( #2376 )
...
This provides minor simulation performance benefit, but can provide
large C++ compilation time improvement, notably with Clang (4x).
This patch implements #2366 .
2020-05-30 21:09:05 +01:00
Geza Lore
18870f8b62
Remove remnants of long removed --trace-dups option
...
See #2385
2020-05-30 20:16:40 +01:00
Geza Lore
9712ceedd7
Internals: Remove empty statements. No functional change intended.
...
Remove stray semicolons, mostly by capturing them in macros accurately.
This removes a ton on lint warnings from CLion.
2020-05-30 19:13:18 +01:00
Wilson Snyder
2e32387e5c
Fix GCC false warning on array bounds. ( #2386 )
2020-05-30 13:47:53 -04:00
Wilson Snyder
b66877c9df
Internals: Refactor V3Expand newWordSel. No functional change intended.
2020-05-30 13:47:53 -04:00
Geza Lore
74a6f94e2b
Internals: Remove dead code
2020-05-30 17:20:23 +01:00
Wilson Snyder
35fc8b7259
Debug: Show column numbers in .tree files
2020-05-30 10:08:30 -04:00
Wilson Snyder
e591afd101
Disable over-sensitive debug dump.
2020-05-30 09:35:48 -04:00
Wilson Snyder
a41cdf4cfb
Tests: Add driver_verilator_flags (for verilator_ext_tests)
2020-05-30 08:19:44 -04:00
Wilson Snyder
ef72c42aa7
Commentary
2020-05-29 19:58:59 -04:00
Wilson Snyder
fbc814b54a
Internal code coverage fixes
2020-05-29 19:35:54 -04:00
Wilson Snyder
4cfa3f879a
Internals: Allow VL_DANGLING on pointer const.
2020-05-29 18:31:53 -04:00
Wilson Snyder
4a8c7e869f
Fix coverage issue
2020-05-29 17:59:35 -04:00
Tomasz Gorochowik
a4a1c7a384
Fix swerv issues with Increment nodes ( #2380 )
2020-05-29 13:03:04 -04:00
Ludwig Rogiers
460315128b
Fix vpi_get_value() error message when passing unsupported vpiHandle. ( #2378 )
2020-05-29 08:10:22 -04:00
Wilson Snyder
8ddafb4d9f
Update contributors (from email)
2020-05-28 21:35:38 -04:00
Wilson Snyder
ebda8f866c
Cleanup codacity and missing consts.
2020-05-28 21:04:36 -04:00
Wilson Snyder
5ee4595aa8
Remove dead code (git_untabify), instead use make clang-format
2020-05-28 21:04:17 -04:00
Wilson Snyder
5089ac6119
Remove VL_ULL as ULL now in MSVC & C++11
2020-05-28 20:32:07 -04:00
Wilson Snyder
3f66f846cd
Travis enable SystemC test ( #1601 )
2020-05-28 18:52:03 -04:00
Wilson Snyder
279f21bb5b
Configure now enables SystemC if it is installed as a system headers.
2020-05-28 18:51:46 -04:00
Wilson Snyder
773ed97504
Internals Most VerilatedLockGuard can be const. No functional change intended.
2020-05-28 18:23:46 -04:00
Wilson Snyder
b6d4899d3f
Commentary
2020-05-28 18:09:31 -04:00
Maciej Sobkowski
9d48ff7745
Support pre/postifx incrementation/decrementation in array index ( #2223 )
2020-05-28 18:08:15 -04:00
Stephen Henry
c4aab57c62
Internals: Refactor to introduce VerilatedFdList. ( #2363 )
2020-05-28 17:59:18 -04:00
Maarten De Braekeleer
e8f27be200
Fix Visual Studio compiler issues ( #2375 )
...
* Make sure compiler creates same object file as target of rule
* MSVC requires a string return
* Case ranges are a gnu extension which MSVC does not understand
* _dupenv_s also returns 0 if the var could not be found
See https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/dupenv-s-wdupenv-s?view=vs-2019
2020-05-28 17:39:20 -04:00
Wilson Snyder
15f0f967b3
Fix uninit variable warning
2020-05-28 17:33:44 -04:00
Wilson Snyder
cbafff8a71
Commentary
2020-05-27 21:52:55 -04:00
Wilson Snyder
41e362b580
Tests: Remove some old conditional-fail checks.
2020-05-27 21:44:28 -04:00
Geza Lore
622f59ad65
Set OPT_FAST=-Os as default ( #2374 )
2020-05-28 00:57:49 +01:00
Wilson Snyder
c5da38206e
Fix configure over-disabling warnings.
2020-05-27 08:45:11 -04:00
Geza Lore
d737266f64
Add OPT_GLOBAL to use for run-time library ( #2373 )
...
This allows compiling the run-time library with optimization even when OPT_FAST is not used in order to imporove model build speed, possibly during debug cycles.
2020-05-27 01:52:08 +01:00
Wilson Snyder
978c35995a
Support const cast (ignored since not linting const yet)
2020-05-26 20:44:20 -04:00
Wilson Snyder
2af7f2fa18
Internals: Parser cleanup of cast.
2020-05-26 20:29:54 -04:00
Wilson Snyder
373c9090d3
Update contributors (from email)
2020-05-26 19:12:19 -04:00
Stefan Wallentowitz
723d407a87
[docker] Unify docker files ( #2371 )
...
Unify the actions in the Dockerfiles between the runtime environment
and the run containers.
Fixes #2345
Signed-off-by: Stefan Wallentowitz <[email protected] >
2020-05-26 20:38:43 +02:00
Stefan Wallentowitz
dc90e6c3c3
Generate file with waivers ( #2354 )
...
This adds the flag --generate-waivefile <filename>. This will generate
a verilator config file with the proper lint_off statemens to turn off
warnings emitted during this particular run.
This feature can be used to start with using Verilator as linter and
systematically capture all known lint warning for further
elimination. It hopefully helps people turning of -Wno-fatal or
-Wno-lint and gradually improve their code base.
Signed-off-by: Stefan Wallentowitz <[email protected] >
2020-05-26 20:38:14 +02:00
Stefan Wallentowitz
68a2ed6776
Fix output of loops on waiving ( #2355 )
...
When an unopt loop is waived, we also don't want the loop's example
path being plot.
Signed-off-by: Stefan Wallentowitz <[email protected] >
2020-05-26 08:45:57 +02:00
Wilson Snyder
7f32d4dc45
Internals: Parser cleanup of expressions.
2020-05-25 21:51:05 -04:00
Geza Lore
7b683fe258
Use sane --output-split values by default to help large builds
...
--output-split is now on by default with value 20000.
--output-split-cfuncs and --output-split-ctrace now defaults to the
value of --output-split unless explicitly specified.
2020-05-26 01:22:10 +01:00
Geza Lore
72858175a2
Only emit VM_PARALLEL_BUILDS=1 iff --output-split caused a split.
...
Previously we set VM_PARALLEL_BUILDS=1 if the --output-split option was
provided. Now we only do it iff it actually causes a split.
2020-05-26 01:22:10 +01:00
Geza Lore
9d7086067c
Rework serial/parallel build mode
...
Instead of __ALLfast.cpp and __ALLslow.cpp, we now create only a single
__ALL.cpp and compile it with OPT_FAST, this speeds up small builds
where the C compiler does not dominate. A separate patch will follow
turning VM_PARALLEL_BUILDS on by default at a certain size.
Given this change to the build there is now no point in emitting both
fast and slow routines into the same .cpp file when --output-split is
not set as they will be just included in the same __ALL.cpp file. To
keep things simpler and the output easier to comprehend, V3EmitC has
also been changed to always emit the fast and slow files separately.
Also change verilated.mk to apply OPT_SLOW to all slow files, not just
ones called *__Slow.cpp. This change in particular ensures __Syms.cpp
is build as slow.
Part of #2360 .
2020-05-26 01:22:10 +01:00
Wilson Snyder
5bb1da88ed
Internals: Comment grammar continuations. No functional change.
2020-05-25 19:40:20 -04:00
Wilson Snyder
9969a60b34
Commentary
2020-05-25 18:51:12 -04:00
Wilson Snyder
72402fa91e
Internals: Parser cleanup of parameters, second part.
2020-05-25 18:49:29 -04:00
Wilson Snyder
8255f3f9fe
Internals: Parser cleanup of parameters, first part.
2020-05-25 18:41:47 -04:00
Wilson Snyder
8957f77793
Internals: Refector needHeavy into methods. No functional change intended.
2020-05-25 15:34:24 -04:00
Wilson Snyder
7187b82d1d
Update contributors (from email).
2020-05-25 13:36:24 -04:00
Ahmed El-Mahmoudy
1a92a58720
Fix spelling mistakes ( #2364 )
2020-05-25 12:43:32 -04:00
Wilson Snyder
2351f9b9ad
Update contributors (from email).
2020-05-25 10:54:22 -04:00
Wilson Snyder
abc3c216f8
Internal code coverage: Better support fastcov [still not default].
2020-05-25 10:50:46 -04:00
Wilson Snyder
f1afa667d7
Update contributors.
2020-05-25 09:16:40 -04:00
Wilson Snyder
76d0671952
Travis: Fix cron.
2020-05-25 08:46:46 -04:00
Jan Van Winkel
424769c32b
Fix warning for unused param in VL_RTOIROUND_Q_D ( #2356 )
2020-05-25 08:13:12 -04:00
Wilson Snyder
f7249ad23a
Internals: AstRefDType points to AstTypedef instead of sub-dtype, in prep for future commits.
2020-05-24 14:22:06 -04:00
Wilson Snyder
613d76c578
Travis: Fix cron.
2020-05-24 08:30:59 -04:00
Wilson Snyder
50662751fe
Fix compiler unsigned warnings
2020-05-23 22:38:17 -04:00
Wilson Snyder
c9e59e767a
Tests: Add setenv method.
2020-05-23 22:24:26 -04:00
Vassilis Papaefstathiou
a7432bdea7
Support wide operands in queues and dynamic arrays ( #2352 )
2020-05-23 21:59:56 -04:00
Wilson Snyder
9ffad7f0db
Internal cleanups. No functional change intended
2020-05-23 21:57:08 -04:00
Wilson Snyder
3097d5e093
Commentary
2020-05-23 21:56:56 -04:00
Yuri Victorovich
cff4b5a5ee
Fix WIFEXITED error on FreeBSD. ( #2351 ) ( #2353 )
2020-05-23 16:30:36 -04:00
Wilson Snyder
eda46e3949
Internals: Favor exprOrDataType where possible. No functional change intended.
2020-05-23 13:08:56 -04:00
Wilson Snyder
71651718d4
Internals: Track :: in AstDot parsing. No parsing change intended.
2020-05-23 12:44:15 -04:00
Wilson Snyder
da0cb44954
Internals: Refactor parsing id's up to parent rules. No functional change intended.
2020-05-23 12:19:43 -04:00
Wilson Snyder
57621a93ad
Internals: Move PLI errors into linker, and better test.
2020-05-23 11:55:34 -04:00
Wilson Snyder
6a882f9dc6
Internal code coverage improvements. No functional change intended.
2020-05-23 10:34:58 -04:00
Wilson Snyder
c18b0eb122
Internal coverage: Limit parallelism to core count.
2020-05-23 09:50:04 -04:00
Wilson Snyder
3c28a66acf
Internal coverage: Fix --hashset option. --stop now default.
2020-05-23 09:17:16 -04:00
Wilson Snyder
5c11de1663
Tests: Check queue typedef.
2020-05-22 22:14:26 -04:00
Wilson Snyder
72ea6bf414
Travis: Fix cron.
2020-05-22 08:39:56 -04:00
Ludwig Rogiers
101314a572
Add VPI error reset to vpi_get_time() ( #2347 )
2020-05-22 07:09:47 -04:00
Wilson Snyder
01f3e81a36
Internals: Parse extend/implements/etc using generic identifiers.
2020-05-21 21:31:15 -04:00
Wilson Snyder
3cb3b6c400
clang-format verilog.l. No functional change.
2020-05-21 19:46:21 -04:00
Wilson Snyder
8f58b58853
Internals: Parse using idAny where can to better detect id errors.
2020-05-20 23:29:37 -04:00
Wilson Snyder
b66826169d
Internals: Refactor inherits/extends parse so don't need type vs nontype IDs.
2020-05-20 23:10:45 -04:00
Wilson Snyder
d2a7376f14
Fix spacing. No functional change
2020-05-20 22:33:32 -04:00
Wilson Snyder
c9e8a1cb4d
Commentary
2020-05-20 20:31:57 -04:00
Wilson Snyder
8170f6f03f
Travis: Fix cron.
2020-05-20 17:39:32 -04:00
Stefan Wallentowitz
0abf88823f
Docker upgrade to Ubuntu 20.04 ( #2318 )
...
* [docker] Remove versions from Docker files
There is no dependency on an actual version, it was only there to
silence the linter. Instead the linter is now set to not warn about
it.
Signed-off-by: Stefan Wallentowitz <[email protected] >
* [docker] Update to Ubuntu 20.04
Update to new Ubuntu release:
- Only GCC 9.3 available. Also add clang (10.0) now.
- SystemC is now a package 🎉
Signed-off-by: Stefan Wallentowitz <[email protected] >
2020-05-20 06:58:43 -04:00
Todd Strader
accf5a9a17
Check if Parallel::Forker is new enough ( #2343 )
2020-05-19 14:31:13 -04:00
Wilson Snyder
c64c81b7a3
Workaround missing guard (partial #2333 ).
2020-05-19 08:31:52 -04:00
Wilson Snyder
7834028842
Tests: Skip genhtml if too old
2020-05-19 08:24:21 -04:00
Wilson Snyder
1e0d5eb238
Release examples/Makefiles under CC0.
2020-05-18 22:23:19 -04:00
Wilson Snyder
b5460bd867
Travis-CI fixes
2020-05-18 18:34:26 -04:00
Geza Lore
53cde90c8f
De-constify fields to appease old GCC with broken STL
...
No functional change intended, fixes #2342
2020-05-18 19:01:08 +01:00
Geza Lore
d20a4db773
Fix regression due to early constant folding in +: and -: ( #2338 )
2020-05-18 18:46:00 +01:00
Wilson Snyder
0f7677480f
Commentary
2020-05-18 08:11:56 -04:00
Stephen Henry
ba3930777a
Support display/scan %u/%z ( #2324 ) ( #2332 )
2020-05-18 08:10:32 -04:00
Geza Lore
9c054a5774
Optimize trace activity flags a bit more
...
- Improve flag pruning heuristic
- Set all trace activity flags in slow code. This in turns enables us
to remove checking the slow flag on the fast path.
2020-05-17 19:41:24 +01:00
Stephen Henry
cef0105dfc
Fix requiring C++11 algorithms. ( #2339 ) ( #2340 )
2020-05-17 11:44:42 -04:00
Wilson Snyder
4773a1e77c
Misc internal coverage improvements.
2020-05-17 11:06:14 -04:00
Wilson Snyder
ed4c7038b4
Tracing: Remove dead code. No functional change intended.
2020-05-17 09:53:58 -04:00
Wilson Snyder
c4f31d3bb6
Tracing: Remove dead code. No functional change intended.
2020-05-17 09:52:03 -04:00
Geza Lore
dc25e9b949
Optimize fine grained trace activity flags ( #2336 )
...
Firstly, we always use a byte array for fine grained activity flags
instead of a bit vector (we used to use a byte array only if we had
parallel mtasks). The byte vector can be set more cheaply in eval,
closing about 1/3 of the gap in performance between compiling with
or without --trace on SweRV EH1. The speed of tracing itself is not
measurably different.
Secondly, we prune the activity tracking such that if a set of activity
flag combinations only guard a small number of signals, we will turn
those signals into awayls traced signals. This avoids code which
sometimes tests dozens of activity flags just to subsequently check one
signal and dump it if it's value changed. We can just check the signal
state straight instead, and not bother with the flags. This removes
about 30% of activity flags in SweRV EH1, and makes both single threaded
VCD and FST tracing 8-9% faster.
2020-05-17 13:53:02 +01:00
Wilson Snyder
1f52b01b2c
Travis: Fix cron.
2020-05-17 08:48:31 -04:00
Wilson Snyder
d5fc0fca41
Travis: Fix cron.
2020-05-17 08:19:42 -04:00
Wilson Snyder
212aa332dd
Commentary
2020-05-16 18:53:18 -04:00
Wilson Snyder
17e7da77f0
Misc internal coverage improvements.
2020-05-16 18:02:54 -04:00
Wilson Snyder
201f0d3f5f
Codecov badge
2020-05-16 15:02:22 -04:00
Wilson Snyder
7d0b3b300a
Travis: Setup cron coverage
2020-05-16 14:59:30 -04:00
Wilson Snyder
0b55e205f7
Internal code_coverage: speedup aggregation.
2020-05-16 14:53:22 -04:00
Wilson Snyder
9c0c6439cc
Clean additional objects.
2020-05-16 13:28:03 -04:00
Wilson Snyder
d33d0301f8
Support verilator_coverage --write-info for lcov HTML reports.
2020-05-16 09:18:35 -04:00
Wilson Snyder
6fd7f45cef
Internals: Remove dead needHInlines code
2020-05-16 07:53:27 -04:00
Wilson Snyder
57a937df03
Misc internal coverage cleanups
2020-05-16 07:43:22 -04:00
Wilson Snyder
ffd461dcf8
Tests: Check need -cc message
2020-05-16 07:10:44 -04:00
Wilson Snyder
f77058774e
Add codecov.yml
2020-05-16 06:15:45 -04:00
Wilson Snyder
1d0a726437
Update internal code coverage framework.
2020-05-16 06:15:25 -04:00
Wilson Snyder
29bcbb0417
Suppress impossible code coverage issues
2020-05-15 22:34:29 -04:00
Wilson Snyder
2d11c2cbb3
Tests: Fix driver called with no tests
2020-05-15 22:33:35 -04:00
Wilson Snyder
2edbcce032
Tests: Need only one run of t_trace_c_api.pl
2020-05-15 22:33:20 -04:00
Wilson Snyder
35a53d9adb
Add t_trace_c_api test.
2020-05-15 20:38:08 -04:00
Wilson Snyder
2885c2ce97
Fix coredump on countbits.
2020-05-15 19:29:17 -04:00
Geza Lore
900c023bb5
Refactor trace implementation to allow experimentation
...
The main goal of this patch is to enable splitting the full and
incremental tracing functions into multiple functions, which can then be
run in parallel at a later stage. It also simplifies further
experimentation as all of the interesting trace code construction now
happens in V3Trace. No functional change is intended by this patch, but
there are some implementation changes in the generated code.
Highlights:
- Pass symbol table directly to trace callbacks for simplicity.
- A new traceRegister function is generated which adds each trace
function as an individual callback, which means we can have multiple
callbacks for each trace function type.
- A new traceCleanup function is generated which clears the activity
flags, as the trace callbacks might be implemented as multiple functions.
- Re-worked sub-function handling so there is no separate sub-function
for each trace activity class. Sub-functions are generate when required
by splitting.
- traceFull/traceChg are now created in V3Trace rather than V3TraceDecl,
this requires carrying the trace value tree in TraceDecl until it
reaches V3Trace where the TraceInc nodes are created (previously a
TraceInc was also created in V3TraceDecl which carries the value).
2020-05-15 18:34:29 +01:00
Geza Lore
12b95f6b93
Clean up V3TraceDecl & V3Trace. No functional change intended.
...
- Constify variables
- Remove redundancies
- [Hopefully] make some code a bit more readable
2020-05-15 18:34:29 +01:00
Wilson Snyder
85de3048a5
Tests: Avoid poluting non-obj_ files.
2020-05-14 18:50:49 -04:00
Wilson Snyder
c1a9fe07e9
Support multi channel descriptor I/O ( #2190 )
...
clang-format and Changes update. No functional change.
2020-05-14 18:14:50 -04:00
Stephen Henry
1a0da2e4ec
Support multi-channel descriptor (MCD) I/O ( #2197 )
2020-05-14 18:03:00 -04:00
Wilson Snyder
38d11ecabe
Commentary
2020-05-13 21:06:00 -04:00
Wilson Snyder
148762364b
Tests: Complicated for loops long ago supported.
2020-05-13 20:53:55 -04:00
Huang Rui
68d7596adf
Fix compile error when using bison 3.6.1 ( #2320 )
...
Workaround issue: bison 3.6.1 generated unexpected nested-comment
Closes: https://github.com/verilator/verilator/issues/2320
Signed-off-by: Huang Rui <[email protected] >
2020-05-13 19:18:56 -04:00
Wilson Snyder
f005b7fd87
Support scan %* format
2020-05-11 22:13:59 -04:00
Wilson Snyder
68ed683681
Travis: Run 20.04 for non-cron, more others for cron.
2020-05-11 20:31:37 -04:00
Wilson Snyder
61e41595a2
Fix clang warning
2020-05-11 20:31:37 -04:00
Stephen Henry
484b574cef
Fix crash on self-referential enum type. ( #2319 )
2020-05-11 18:44:28 -04:00
Wilson Snyder
29695adf70
Fix 10s/100s timeunits.
2020-05-11 08:15:52 -04:00
Wilson Snyder
fac43811fd
Commentary
2020-05-10 21:26:09 -04:00
Wilson Snyder
15f63d12d5
Fix message for seeded random.
2020-05-10 21:15:48 -04:00
Wilson Snyder
ba7b3fd60f
Support $display(,,).
2020-05-10 20:48:18 -04:00
Wilson Snyder
897b9ccfe2
Fix display of huge double.
2020-05-10 16:03:46 -04:00
Wilson Snyder
b97e1aa9fe
Support cast to string
2020-05-10 15:42:16 -04:00
Wilson Snyder
d4a631446b
Fix crash in unroller on increment-only while loops.
2020-05-10 15:26:41 -04:00
Wilson Snyder
a2cc053c6f
Tests: Fix t_math_svl.pl
2020-05-10 15:19:38 -04:00
Wilson Snyder
8998ffc4e5
Support reporting some fork syntax errors.
2020-05-10 15:01:43 -04:00
Wilson Snyder
ca162716c6
Internals: clang-format
2020-05-10 14:29:15 -04:00
Wilson Snyder
629dd16714
Tests: Rename t_delay_func_bad
2020-05-10 14:28:42 -04:00
Wilson Snyder
12b903caf4
Improve error on using array.unique method.
2020-05-10 14:28:42 -04:00
Yossi Nivin
f9a0cf0cff
Support $countbits ( #2287 )
2020-05-10 14:27:22 -04:00
Wilson Snyder
070bcddf5a
Support unpacked array .sum and .product.
2020-05-10 12:48:33 -04:00
Wilson Snyder
feb1e2bd48
Commentary
2020-05-10 11:01:57 -04:00
Wilson Snyder
6e7ee23644
Internals: Code cleanups.
2020-05-09 15:00:46 -04:00
Wilson Snyder
c00cc18d37
Optimize dead code after gotos
2020-05-09 15:00:36 -04:00
Wilson Snyder
a7e17a8855
Fix double conversion on half of conditional.
2020-05-08 21:35:45 -04:00
Wilson Snyder
60fa1db731
Tests: Trivial cleanup
2020-05-08 21:35:45 -04:00
Geza Lore
ac09ad3ffd
Minor improvements to DPI open array handling ( #2316 )
...
- Allow arbitrary number of open array dimensions, not just 3. Note
right now this only works with the array querying functions specified
in IEEE 1800-2017 H.12.2
- Issue error when passing dynamic array or queue as DPI open array
(currently unsupported)
- Also tweaked AstVar::vlArgTypeRecurse, which should now error or fail
for unsupported types.
2020-05-08 18:22:44 +01:00
Wilson Snyder
27953e26b6
Backout example change.
2020-05-08 07:35:54 -04:00
Wilson Snyder
9375d9f603
Fix $isunknown with constant Zs.
2020-05-07 21:40:08 -04:00
Wilson Snyder
72bd91c7f1
Support $isunbounded and parameter $. ( #2104 )
2020-05-07 21:12:58 -04:00
Wilson Snyder
8850ca962e
Fix newish error to use standard parens to ref IEEE.
2020-05-07 21:12:58 -04:00
Wilson Snyder
7fd590f855
Commentary
2020-05-07 21:12:58 -04:00
Wilson Snyder
5f7ae1fbce
wip
2020-05-07 21:04:26 -04:00
Wilson Snyder
b56a25e89c
Fix newish error to use standard parens to ref IEEE.
2020-05-07 18:21:11 -04:00
Wilson Snyder
4f32b093e6
Commentary
2020-05-07 18:11:06 -04:00
Geza Lore
6a54fb6f96
Modify std::multimap in V3Combine safely.
...
We used to iterate the m_callMmap std::multimap by getting limit
iterators from equal_range, but we also modify the same map in the loop
which invalidates those limit iterators. Note this only caused actual
problems if the new AstCCall inserted via 'addCall' in the loop had a
memory address (which is used as the key) which fell into the range
returned by equal_range, so was pretty hard to trigger.
2020-05-07 14:31:43 +01:00
Wilson Snyder
546ccd56c4
Internals: Enable future JumpGo to non-end. No functional change intended.
2020-05-06 21:33:05 -04:00
Wilson Snyder
ca77a93214
Add lint check for bad delay locations.
2020-05-06 19:25:13 -04:00
Dan Petrisko
ee1b20e1cd
Adding missing sstream include ( #2312 )
2020-05-06 19:16:41 -04:00
Yutetsu TAKATSUKASA
aa86e0bbc0
Support 'E', 'p', and 'P' when overriding floating point parameter. ( #2310 )
2020-05-06 07:45:07 -04:00
Wilson Snyder
b6b3482010
Internals: Use typ delay by default
2020-05-05 20:42:19 -04:00
Wilson Snyder
05aecd2c0b
Internals: Fix tabs in astgen. No effective functional change.
2020-05-05 20:33:35 -04:00
Wilson Snyder
6ab3d8f3ed
Internals: Refactor to add AstNodeProcedure. No functional change intended.
2020-05-05 19:12:36 -04:00
Wilson Snyder
0fcc7f2987
Fix default pkgconfig version to have no spaces ( #2308 )
2020-05-05 08:46:24 -04:00
Wilson Snyder
7d7e67b49b
Show Verilog reference on V3Number asserts.
2020-05-04 19:57:21 -04:00
Wilson Snyder
a41ea180fa
Fix +: and -: on unpacked arrays. ( #2304 )
2020-05-04 19:40:50 -04:00
Wilson Snyder
98889b3f4e
Tests: Fix permission
2020-05-04 19:35:48 -04:00
Tim Snyder
83fbfa8c71
Fix /usr/bin/env perl in lieu of /usr/bin/perl ( #2307 )
...
Enables scripts to work where perl is not installed at /usr/bin/perl
2020-05-04 19:27:30 -04:00
Tim Snyder
a57262d6e7
Fix use /usr/bin/env perl in lieu of /usr/bin/perl ( #2306 )
...
Enables scripts to work where perl is not installed at /usr/bin/perl
2020-05-04 18:42:15 -04:00
Geza Lore
fe708f045a
Fix Travis oddity
2020-05-04 00:21:07 +01:00
Geza Lore
8afcd67a1f
Fix FST tracing of little endian vectors
2020-05-03 22:39:45 +01:00
Wilson Snyder
16e258eb4c
Commentary: reformat changes, relocate announcements
2020-05-03 16:10:02 -04:00
Wilson Snyder
d6fbbddac9
devel release
2020-05-03 11:18:53 -04:00
Wilson Snyder
9dc65df982
Version bump
2020-05-03 11:14:37 -04:00
Wilson Snyder
8f64e4a76f
Support $root, #2150 .
2020-05-02 08:29:20 -04:00
John Demme
6e9008fb5a
Fix VerilatedVarProps::totalSize missing the first unpacked dim ( #2296 )
2020-05-01 07:42:29 -04:00
Wilson Snyder
5ded80cf79
Fix MacOs Homebrew by removing default LIBS, #2298 .
2020-04-30 19:53:21 -04:00
Wilson Snyder
a6deee2083
Fix clock enables with bit-extends, #2299 .
2020-04-30 19:22:58 -04:00
Wilson Snyder
e1f45dd84a
Commentary
2020-04-30 18:52:32 -04:00
Wilson Snyder
9fd4541069
Fix reduction OR on wide data, broke in v4.026, #2300 .
2020-04-30 17:53:54 -04:00
Geza Lore
849487da23
Modify --build to be a standalone option ( #2294 )
...
- Issue an error when --build is used together with --make
- When given --build, always use GNU Make to perform the build
- Update documentation (examples were good as they were)
- Remove the broken t_flag_build_cmake test
Fixes #2280
2020-04-30 12:54:50 +01:00
Peter Horvath
dc64b43152
Fix xcode clang bug workaround ( #2295 )
2020-04-30 07:20:31 -04:00
Geza Lore
209a585a68
Remove VL_NEGATE_{I,Q,E}, use C native unary '-' instead
...
This is to avoid slowing down -O0 models unnecessarily.
2020-04-30 01:05:52 +01:00
Geza Lore
aa9cde22c8
Use SIMD intrinsics to render VCD traces ( #2289 )
...
Use SIMD intrinsics to render VCD traces.
I have measured 10-40% single threaded performance increase with VCD
tracing on SweRV EH1 and lowRISC Ibex using SSE2 intrinsics to render
the trace. Also helps a tiny bit with FST, but now almost all of the FST
overhead is in the FST library.
I have reworked the tracing routines to use more precisely sized
arguments. The nice thing about this is that the performance without the
intrinsics is pretty much the same as it was before, as we do at most 2x
as much work as necessary, but in exchange there are no data dependent
branches at all.
2020-04-30 00:09:09 +01:00
Wilson Snyder
faf7255e83
Commentary
2020-04-29 18:42:28 -04:00
Wilson Snyder
a6c97cc3bc
Commentary
2020-04-29 18:41:00 -04:00
Wilson Snyder
977ceb404d
Mention -march-native, #2289 .
2020-04-29 18:10:43 -04:00
Wilson Snyder
b44efe7ef7
Use 'suggest' for consistent wording.
2020-04-28 21:19:19 -04:00
Wilson Snyder
15ad3f46be
Fix logical not optimization with empty begin, #2291 .
2020-04-28 21:15:20 -04:00
Wilson Snyder
c6d1a9858a
Use clang-format 10.0.0
2020-04-28 18:47:59 -04:00
Wilson Snyder
77cc335c2d
Commentary
2020-04-28 18:47:49 -04:00
Wilson Snyder
a95eb53684
Commentary ( #2290 ).
2020-04-28 18:46:59 -04:00
Wilson Snyder
910803e6db
Fix error on unpacked connecting to packed, #2288 .
2020-04-27 18:38:54 -04:00
Geza Lore
dd967f7769
Improve trace buffer memory utilization and performance.
...
Convert trace buffer to 32-bit entries, rather than a union containing a
pointer type. Also tweaked trace entry layouts for a bit more
performance. This gains another 10% on SweRV EH1 CoreMark.
2020-04-27 19:00:17 +01:00
Geza Lore
b79ef672e1
Various minor optimizations of VCD trace routines
...
- Change templated trace routines to branch table.
Removed templating from trace chgBus and fullBus and replaced them with
a branch table like the other there is a very small (< 1%) penalty for
this on SwerRV EH1 CoreMark, but this is less than the variability of
disk IO so it's worth it to keep the code simpler and smaller.
- Prefetch VCD suffix buffer at the top of emit*
- Increase ILP in VCD emit* routines
- Use a 64-bit unaligned store to emit the VCD suffix (on x86 only)
The performance difference with these is very small, but the changes
hopefully make this code more performance-portable across various
micro-architectures.
2020-04-27 18:44:53 +01:00
Wilson Snyder
70549e1a64
Internals: Parse lifetime directives; still unsupported.
2020-04-26 12:45:06 -04:00
Wilson Snyder
87e1c36e4a
Support event data type (with some restrictions).
2020-04-25 15:37:46 -04:00
Geza Lore
9991b19610
Another attempt at flushing threaded VCD correctly.
2020-04-25 18:40:09 +01:00
Geza Lore
1381d3dbde
Add -Wno-tautological-bitwise-compare to model build flags ( #2285 )
...
This appeases Clang 10.
2020-04-25 16:29:42 +01:00
Wilson Snyder
5e575f5906
Fix line numbers in tables.
2020-04-24 19:34:26 -04:00
Wilson Snyder
e2cbcd37d8
Commentary
2020-04-24 18:43:02 -04:00
Wilson Snyder
3b37b5b92d
Tests: Check output from some unsupported tests.
2020-04-24 08:22:19 -04:00
Geza Lore
10b4678ee6
Make vgen.pl deterministic
2020-04-24 04:53:33 +01:00
Geza Lore
c1665818b9
Fix missing flush with threaded VCD tracing. ( #2282 )
...
VerilatedVcdC::openNext() failed to flush the tracing thread before
opening the next output file, which caused t_trace_cat.pl to fail
with --vltmt on occasion.
2020-04-24 03:09:26 +01:00
Geza Lore
27f4399c31
Fix tests failing on rerun after passing from clean. ( #2281 )
2020-04-23 21:27:06 -04:00
Wilson Snyder
df52e481fb
Collected minor output code cleanups.
2020-04-23 21:22:47 -04:00
Wilson Snyder
f93ae707e0
Tests: Add bad option test.
2020-04-23 19:56:26 -04:00
Geza Lore
6ed10b7fde
Fix --protect-lib generated library link rules ( #2279 )
...
We used to include a .cpp file on the link line for the shared library,
which was ignored, but generated a .d file for the .so which contained
the header files required by the .cpp file. This then caused a rebuild
where we included the .d in verilated.mk to included in the .h headers
among the prerequisites of the .so, yielding a clang error about treating
.h files as c++-header rather than c-header... Long story short, we don't
do that anymore. This used t cause t_a4_examples to fail on occasion.
Note there is no need for a separate compilation rule for the
<--protect-lib>.cpp, as it will jsut pick up the standard OPT_FAST rule.
2020-04-23 17:30:23 -04:00
Geza Lore
8208fe8a0e
Fix test failures on Ubuntu 20.04 ( #2278 )
...
- Packaged SystemC lives in /usr so needed to update regex in test
driver
- Clang 10 complains about mixed named and positional initializers in
struct definitions.
2020-04-23 17:29:37 -04:00
Wilson Snyder
ace35b3e81
Tests: Add -G test.
2020-04-23 08:05:14 -04:00
Wilson Snyder
2b58e834ee
Tests: Rename IVERILOG define for consistency. No functional change.
2020-04-23 08:05:14 -04:00
Qingyao Sun
14643643c9
Fix compatibility problem with CMake policy CMP0025 ( #2277 )
...
Signed-off-by: Qingyao Sun <[email protected] >
2020-04-23 07:14:20 -04:00
Wilson Snyder
7176aee852
Internals: Parse fork and delays, but then still report unsupported.
2020-04-22 21:31:40 -04:00
Geza Lore
c96a43b452
Fix unused variable in VL_READMEM_N ( #2274 )
2020-04-22 17:25:35 -04:00
Wilson Snyder
77915f78db
Add experimental-only option.
2020-04-21 20:45:23 -04:00
Geza Lore
c52f3349d1
Initial implementation of generic multithreaded tracing ( #2269 )
...
The --trace-threads option can now be used to perform tracing on a
thread separate from the main thread when using VCD tracing (with
--trace-threads 1). For FST tracing --trace-threads can be 1 or 2, and
--trace-fst --trace-threads 1 is the same a what --trace-fst-threads
used to be (which is now deprecated).
Performance numbers on SweRV EH1 CoreMark, clang 6.0.0, Intel i7-3770 @
3.40GHz, IO to ramdisk, with numactl set to schedule threads on different
physical cores. Relative speedup:
--trace -> --trace --trace-threads 1 +22%
--trace-fst -> --trace-fst --trace-threads 1 +38% (as --trace-fst-thread)
--trace-fst -> --trace-fst --trace-threads 2 +93%
Speed relative to --trace with no threaded tracing:
--trace 1.00 x
--trace --trace-threads 1 0.82 x
--trace-fst 1.79 x
--trace-fst --trace-threads 1 1.23 x
--trace-fst --trace-threads 2 0.87 x
This means FST tracing with 2 extra threads is now faster than single
threaded VCD tracing, and is on par with threaded VCD tracing. You do
pay for it in total compute though as --trace-fst --trace-threads 2 uses
about 240% CPU vs 150% for --trace-fst --trace-threads 1, and 155% for
--trace --trace threads 1. Still for interactive use it should be
helpful with large designs.
2020-04-21 23:49:07 +01:00
Wilson Snyder
6ab51de96d
Fix dockerfile
2020-04-21 18:37:53 -04:00
James Hanlon
97cbc10925
Add --flaten for use with --xml-only ( #2270 ).
2020-04-21 18:14:08 -04:00
James Hanlon
65cd4f6047
Fix comment and add to CONTRIBUTORS ( #2270 ).
2020-04-21 18:11:53 -04:00
Wilson Snyder
174fd1bf0e
Codacy cleanups. No functional change.
2020-04-20 22:01:47 -04:00
Wilson Snyder
b12413e42f
Tests: Reenable some tests incorrectly marked unsupported.
2020-04-20 21:55:23 -04:00
Wilson Snyder
7709130d93
Fix Codacy badge
2020-04-20 21:52:29 -04:00
Wilson Snyder
15f7685755
Codacity cleanups. No functional change intended.
2020-04-20 21:43:05 -04:00
Wilson Snyder
83c6e9e821
Commentary commit for Codacity.
2020-04-20 21:13:43 -04:00
Veripool API Bot
1cacb1deab
Commentary commit for Codacity.
2020-04-20 20:01:59 -04:00
Veripool API Bot
03bc8b7480
Commentary commit for Codacity.
2020-04-20 19:54:07 -04:00
Veripool API Bot
7d6668a3bd
Commentary commit for Codacity.
2020-04-20 19:38:21 -04:00
Wilson Snyder
def40fab9b
Internals: Rename VSigning
2020-04-19 21:19:09 -04:00
Wilson Snyder
fceedd9f4d
Tests: Update static test.
2020-04-19 21:18:57 -04:00
Wilson Snyder
4272f2116e
Tests: Update static test.
2020-04-19 20:10:07 -04:00
Geza Lore
39d903375b
Factor out trace implementation common to all formats. ( #2268 )
...
This patch de-duplicates common functionality between the VCD and FST
trace implementation. It also enables adding new trace formats more
easily and consistently.
No functional nor performance change intended.
2020-04-19 23:57:36 +01:00
Wilson Snyder
9164eb03d5
Show that class parameters even if unused are unsupported.
2020-04-19 18:36:55 -04:00
Wilson Snyder
7b789fe02a
Docker: Add ccache and libgoogle-perftools-dev
2020-04-19 12:59:38 -04:00
Wilson Snyder
4ae3d3af71
Fix docker build error
2020-04-19 12:43:20 -04:00
Geza Lore
6a54922044
Set FST timescale correctly. ( #2266 )
...
The FST trace timescale used to be set in the constructor via
set_time_unit, but at that point we haven't normally opened the
file yet so it was just dropped. On top of that, we actually want
to use set_time_resolution... FST trace timescales now match the VCD.
2020-04-19 08:47:22 -04:00
Wilson Snyder
466535abdc
Support direct class member init.
2020-04-18 20:20:17 -04:00
Geza Lore
efacac2e3d
Tests: Ignore SystemC file paths in expected test results ( #2265 )
2020-04-18 18:56:19 -04:00
Geza Lore
74e16d85c5
Fix FST trace initial time stamp. ( #2264 )
...
If the first dump was not at time zero, then the FST trace used
to contain the initial values as if they were set at time zero. Now
they only appear at the time the first dump call is actually made,
and hence match the VCD trace exactly.
2020-04-18 18:54:02 -04:00
Wilson Snyder
39d7cbf412
Fix arrayed instances connecting to slices, #2263 .
2020-04-17 19:30:53 -04:00
Wilson Snyder
8f7e463656
Tests: Fix makeflag test, was failing older makes.
2020-04-16 17:31:41 -04:00
Wilson Snyder
e6f345e45d
Internal: clang-tidy fixes. No functional change.
2020-04-15 21:47:37 -04:00
Wilson Snyder
d4f7f5297a
Support IEEE time units and time precisions, #234 . ( #2253 )
...
Includes `timescale, $printtimescale, $timeformat.
VL_TIME_MULTIPLIER, VL_TIME_PRECISION, VL_TIME_UNIT have been removed
and the time precision must now match the SystemC time precision.
To get closer behavior to older versions, use e.g. --timescale-override
"1ps/1ps".
2020-04-15 19:39:03 -04:00
Wilson Snyder
9b8aebb00c
Commentary on --build
2020-04-15 18:08:37 -04:00
Wilson Snyder
58091edd68
Tests: Fix cmake -j unknown
2020-04-15 18:08:31 -04:00
Yutetsu TAKATSUKASA
18412f9322
Add --build option to call make/cmake as subprocess ( #2249 )
...
* Add --build, -j, -MAKEFLAGS, and --no-verilate options
* Verilator: Can build on both gmake and cmake
2020-04-15 17:44:21 -04:00
Wilson Snyder
1883ab29cb
clang-format 10.0 forward compatibility. No functional change.
2020-04-15 17:36:57 -04:00
Geza Lore
1a64c7d232
Fix run-time formatting of variable wider than 1023 bits ( #2261 )
2020-04-15 17:26:15 -04:00
Wilson Snyder
f3308d236b
clang-format remaining sources. No functional change.
2020-04-15 07:58:34 -04:00
Wilson Snyder
1b94e3b0e2
Internals: clang-format files needed for #2249 .
2020-04-14 19:55:00 -04:00
Geza Lore
08b74e5ab9
Fix crash when formatting constant wider than 1023 bits ( #2260 )
2020-04-14 18:07:09 -04:00
Wilson Snyder
5c966ec510
clang-format many files. No functional change.
...
Use nodist/clang_formatter to reformat files that are now clean.
2020-04-13 22:52:23 -04:00
Geza Lore
dc5c259069
Improve tracing performance. ( #2257 )
...
* Improve tracing performance.
Various tactics used to improve performance of both VCD and FST tracing:
- Both: Change tracing functions to templates to take variable widths as
template parameters. For VCD, subsequently specialize these to the
values used by Verilator. This avoids redundant instructions and hard
to predict branches.
- Both: Check for value changes via direct pointer access into the
previous signal value buffer. This eliminates a lot of simple pointer
arithmetic instructions form the tracing code.
- Both: Verilator provides clean input, no need to mask out used bits.
- VCD: pre-compute identifier codes and use memory copy instead of
re-computing them every time a code is emitted. This saves a lot of
instructions and hard to predict branches. The added D-cache misses
are cheaper than the removed branches/instructions.
- VCD: re-write the routines emitting the changes to be more efficient.
- FST: Use previous signal value buffer the same way as the VCD tracing
code, and only call the FST API when a change is detected.
Performance as measured on SweRV EH1, with the pre-canned CoreMark
benchmark running from DCCM/ICCM, clang 6.0.0, Intel i7-3770 @ 3.40GHz,
and IO to ramdisk:
+--------------+---------------+----------------------+
| VCD | FST | FST separate thread |
| (--trace) | (--trace-fst) | (--trace-fst-thread) |
------------+-----------------------------------------------------+
Before | 30.2 s | 121.1 s | 69.8 s |
============+==============+===============+======================+
After | 24.7 s | 45.7 s | 32.4 s |
------------+--------------+---------------+----------------------+
Speedup | 22 % | 256 % | 215 % |
------------+--------------+---------------+----------------------+
Rel. to VCD | 1 x | 1.85 x | 1.31 x |
------------+--------------+---------------+----------------------+
In addition, FST trace size for the above reduced by 48%.
2020-04-14 00:13:10 +01:00
Wilson Snyder
dc27a179e2
Always define VL_SIG etc; conditional definitions were long removed SystemPerl.
2020-04-13 19:07:56 -04:00
Wilson Snyder
236e6baa76
clang-format: Loops allowed on single line.
2020-04-13 17:44:19 -04:00
Wilson Snyder
dba88bae3c
Support class new.
2020-04-12 18:57:12 -04:00
Wilson Snyder
d4b6e2b2b5
Internals: NodeModule for packages.
2020-04-12 14:53:10 -04:00
Wilson Snyder
1e2d73fc80
Internals: clang-format and refactor taskref pin handling.
2020-04-12 08:26:14 -04:00
Wilson Snyder
ea3acc2d3a
Fix --skip-identical broke recent commit.
2020-04-11 20:22:57 -04:00
Nathan Kohagen
152505e879
Fix make install/uninstall for examples/xml_py, #2252 .
2020-04-11 18:11:53 -04:00
Wilson Snyder
8e6674066f
Tests: Clean before rerunning failing test.
2020-04-11 11:40:15 -04:00
Geza Lore
8b2666cd04
Fix to make trace code allocation dense. ( #2250 )
...
This looks like a bits/bytes bug. The affected m_codeInc member
determines how many 32-bit words to allocate in a buffer used to store
previous values of the signal, but this was off by a factor of 8, so
we used to use too much memory.
SweRV VCD tracing speed +6.5% (excluding IO, clang 6.0), due mainly to
reduced D cache misses.
2020-04-11 16:00:43 +01:00
Wilson Snyder
afa8e4c786
Internals: Favor const_iterator. No functional change.
2020-04-11 10:54:42 -04:00
Wilson Snyder
ef211fc9e0
Make sure SystemC always included in -sc mode to prevent ordering issues.
2020-04-11 10:33:40 -04:00
Wilson Snyder
1a6c2fc55d
Fix class members getting misoptimized away.
2020-04-10 21:10:21 -04:00
Wilson Snyder
15b40a97d9
Support `unconnected_drive
2020-04-09 23:26:03 -04:00
Wilson Snyder
343db78c03
Fix including verilated_sc in Syms to fix compile order problem exposed in #2237 .
2020-04-09 23:03:47 -04:00
Nathan Myers
4c1ae4701a
Add assertion for monotonic dump times #2103 ( #2237 )
2020-04-09 19:00:27 -04:00
Geza Lore
05f213c266
VCD tracing speed improvements ( #2246 )
...
* Don't inline VCD dump functions
Improves model speed with tracing. Measured on SweRW cmark:
- GCC 5.5 ~3% faster
- Clang 6.0 ~12% faster (!)
* Remove redundant test from VCD bit tracing.
Improves model speed with tracing. Measured on SweRW cmark:
- GCC 5.5 ~7.5% faster
- Clang 6.0 ~1.5% faster
2020-04-09 08:19:26 -04:00
Geza Lore
0f617988d4
Compile fast tracing code with OPT_FAST in single compile mode. ( #2245 )
...
When using the __ALL*.cpp based single compile mode (i.e.: without
VM_PARALLEL_BUILDS), the fast path tracing code used to be included in
__Allsup.cpp, which was compiled with OPT_SLOW, severely harming tracing
performance. We now have __ALLfast.cpp and __ALLslow.cpp instead of
__ALLcls.cpp and __ALLsup.cpp, so we can compile the fast support code
with OPT_FAST as well.
2020-04-08 21:05:43 -04:00
Wilson Snyder
1e0b37f4bc
Commentary
2020-04-08 17:55:12 -04:00
Geza Lore
991d8b178b
Fix FST tracing performance by removing std::map from hot path. ( #2244 )
...
This patch eliminates a major piece of inefficiency in FST tracing
support, by using an array to lookup fstHandle values corresponding
to trace codes, instead of a tree based std::map. With this change, FST
tracing is now only about 3x slower than VCD tracing. We do require
more memory to store the symbol lookup table, but the size of that is
still small, for the speed benefit.
2020-04-08 17:54:35 -04:00
Wilson Snyder
608d5a87d1
tests: Avoid assuming a timescale.
2020-04-07 20:55:47 -04:00
Wilson Snyder
914a6edd33
Add error if use SystemC 2.2 and earlier (pre-2011) as is deprecated.
2020-04-07 19:58:17 -04:00
Geza Lore
0cfa828572
Fix DPI import/export to be standard compliant, #2236 .
2020-04-07 19:07:47 -04:00
Wilson Snyder
4556b6c022
Fix clang warning.
2020-04-07 12:17:48 -04:00
Wilson Snyder
cba05480ba
Fix clang warning.
2020-04-06 20:13:24 -04:00
Wilson Snyder
2abbae8dd0
Internals: Remove strncpy to appease codacity.
2020-04-06 19:26:31 -04:00
Wilson Snyder
f13bd1aec4
Fix clang unused warning.
2020-04-06 08:53:19 -04:00
Wilson Snyder
b6c21ad21a
Fix duplicate traces with $dumpfile, part of #2237 .
2020-04-06 08:33:51 -04:00
Wilson Snyder
26301a4133
Commentary
2020-04-06 08:19:32 -04:00
Wilson Snyder
383f9832d4
Tests: Standardize verilog indentation.
2020-04-05 21:53:24 -04:00
Wilson Snyder
50535a1894
Internals: cppcheck 1.90 fixes. No functional change intended.
2020-04-05 18:57:47 -04:00
Wilson Snyder
ff31abe341
Commenary
2020-04-05 17:01:33 -04:00
Wilson Snyder
763f621d4c
Deprecate VL_ULL.
2020-04-05 16:45:53 -04:00
Wilson Snyder
d922cae0a2
Commentary
2020-04-05 16:13:41 -04:00
Wilson Snyder
efaf375887
Configuring with ccache present now defaults to using it; see OBJCACHE in the manual.
2020-04-05 16:10:33 -04:00
Wilson Snyder
5932eae32a
Commentary
2020-04-05 16:09:18 -04:00
Wilson Snyder
a331397954
Fix real conversion from constant with X/Z.
2020-04-05 11:56:15 -04:00
Wilson Snyder
a494ad5ec7
Support $ferror, #1638 .
2020-04-05 11:22:05 -04:00
Wilson Snyder
b617cd5549
Internals: Add V3ERROR_NA_RETURN. No functional change.
2020-04-05 10:26:53 -04:00
Wilson Snyder
e55338f927
Support $fflush without arguments, #1638 .
2020-04-05 10:11:28 -04:00
Wilson Snyder
6eadb8e771
Add simplistic class support with many restrictions, see manual, #377 .
2020-04-05 09:30:23 -04:00
Wilson Snyder
f6048cc9c1
Fix clang warning. No functional change.
2020-04-05 08:22:51 -04:00
Wilson Snyder
9fdb026e95
Add VM_C11 for future need of C++11
2020-04-04 20:48:03 -04:00
Wilson Snyder
bf17bb4648
Fix codacity warnings
2020-04-04 20:08:58 -04:00
Veripool API Bot
4dc1f40856
Update contributors for codacity
2020-04-04 18:02:23 -04:00
Wilson Snyder
5302a9d0e6
Internals: clang-format cleanups. No functional change.
2020-04-04 17:55:37 -04:00
Wilson Snyder
e07e9390f6
Internals: clang-format cleanups. No functional change.
2020-04-04 14:09:21 -04:00
Wilson Snyder
a13eab55f5
Internals: Add missing VL_DO_CLEARs. No functional change.
2020-04-04 13:06:31 -04:00
Wilson Snyder
b2228afd1a
devel release
2020-04-04 08:50:56 -04:00
Wilson Snyder
d3797ade95
Version bump
2020-04-04 08:40:47 -04:00
Wilson Snyder
19b472cf0b
Internals: Cleanup unused nodep in visitors. No functional change intended.
2020-04-04 08:31:14 -04:00
Wilson Snyder
38a31ae168
Cleanup misc clang-tidy warnings. No functional change intended
2020-04-03 22:31:54 -04:00
Wilson Snyder
27516b565d
Commentary
2020-04-03 20:08:24 -04:00
Wilson Snyder
c288a7bfb9
Add GCC10-style line number prefix when showing source text for errors.
2020-04-03 20:07:46 -04:00
Maciej Sobkowski
b44cd57866
Add myself to CONTRIBUTORS, #2223
2020-04-03 18:06:48 -04:00
Wilson Snyder
b88a7f5152
Commentary - sort names.
2020-04-03 17:59:19 -04:00
Marco Widmer
7f9aa057bf
Support split_var in vit files ( #2219 )
2020-04-03 08:08:23 -04:00
Marco Widmer
305b4f3c75
Fix configuration file documentation ( #2221 )
2020-04-02 17:32:06 -04:00
Wilson Snyder
6f4a8fe695
Fix Travis-CI failures.
2020-04-02 09:22:10 -04:00
Wilson Snyder
8aec436b5e
Commentary
2020-04-02 08:26:06 -04:00
Wilson Snyder
aef2b7ea3c
Internals: clang-format cleanup. No functional change.
2020-04-02 08:25:44 -04:00
Wilson Snyder
dcde026bac
With --Wpedantic, report forward typedefs that are unused.
2020-04-02 07:39:14 -04:00
Wilson Snyder
926209706f
Report REALCVT on $display format mistakes.
2020-04-01 20:42:47 -04:00
Wilson Snyder
bd5d4c61c6
Suppress REALCVT for small whole real numbers.
2020-04-01 19:24:07 -04:00
Wilson Snyder
19abce5535
Suppress REALCVT for whole real numbers.
2020-04-01 18:43:53 -04:00
Wilson Snyder
ab058c85bf
Fix clang warning.
2020-04-01 12:40:49 -04:00
Wilson Snyder
4361c4b57a
Add vlsint8_t types.
2020-03-31 21:30:18 -04:00
Wilson Snyder
e6beab4037
Fix implicit conversion of floats to wide integers.
2020-03-31 20:42:07 -04:00
Wilson Snyder
ebeb645539
Commentary
2020-03-30 20:09:55 -04:00
Wilson Snyder
5c72f01598
Fix assertions with unique case inside, #2199 .
2020-03-30 18:13:51 -04:00
Wilson Snyder
0cf44a9c4f
Internals: Refactor InsideRange common code. No functional change intended.
2020-03-30 18:12:50 -04:00
Sean Cross
1fe5d5db79
Fix mingw build ( #2215 )
...
* v3Os: include <windows.h> instead of <winnt.h>
The windows.h header file should be included prior to any other headers,
in order to ensure all definitions are available. By only including
some headers, such as winnt.h, many "undefined symbol" messages are
generated.
Include "windows.h" to fix the build on msys2 under mingw64.
Signed-off-by: Sean Cross <[email protected] >
* configure: check for bcrypt and psapi on windows
These two libraries must be linked in order to have access to
BCryptGenRandom and GetProcessMemoryInfo respectively.
Signed-off-by: Sean Cross <[email protected] >
2020-03-29 12:29:40 -04:00
Sean Cross
a1a2650f1e
Modernize va args ( #2214 )
...
Verilator uses a form of variadic macros that are nonstandard, making it
unable to be compiled under MSVC. Replace the old synax with the
standard syntax. This fixes MSVC usage.
Signed-off-by: Sean Cross <[email protected] >
2020-03-29 10:29:12 -04:00
Wilson Snyder
07d00f26aa
Fix docker exit status when Verilator fails, #2153 .
2020-03-28 19:15:06 -04:00
Wilson Snyder
8d3d185e3b
Fix docker exit status when Verilator fails, #2153 .
2020-03-28 17:25:20 -04:00
Wilson Snyder
81a63b0c7d
Commentary
2020-03-28 17:18:12 -04:00
Matthew Ballance
510be53521
Expose VPI cbNextDeadline via the public API ( #2212 )
...
Signed-off-by: Matthew Ballance <[email protected] >
2020-03-28 13:47:21 -04:00
Wilson Snyder
4145a38c47
Fix duplicate typedefs in generate for, #2205 .
2020-03-26 18:10:20 -04:00
Wilson Snyder
590b1853d0
Fix packages as enum base types, #2202 .
2020-03-24 17:57:12 -04:00
Wilson Snyder
08a51e3e09
Fix VCD open with empty filename, #2198 .
2020-03-24 17:32:47 -04:00
Wilson Snyder
75ebe7a4be
Update gtkwave from upstream.
2020-03-21 21:45:57 -04:00
Wilson Snyder
1e0e51edd3
Fix parameter type redeclaring a type, #2195 .
2020-03-21 12:13:55 -04:00
Wilson Snyder
0ca07e4d58
Tests: Remove t_emit_memb_limit/vltmt as slow
2020-03-21 12:08:38 -04:00
Wilson Snyder
1ce360ed5b
Add SPDX license identifiers. No functional change.
2020-03-21 11:24:24 -04:00
Wilson Snyder
172583eb03
Commentary - fix error regexp, #2191 .
2020-03-17 15:39:50 -04:00
Wilson Snyder
c2b49f0174
Internals: clang-format cleanups. No functional change.
2020-03-15 23:20:33 -04:00
Wilson Snyder
92d62a6568
Internals: clang-format cleanups for V3Inline. No functional change.
2020-03-15 22:30:20 -04:00
Wilson Snyder
5d9d1cc09f
Internals: Favor const_iterator (in a few obvious spots, more needed). No functional change.
2020-03-15 18:34:09 -04:00
Wilson Snyder
57068b95ef
Internals: Move code, no functional change.
2020-03-15 13:39:36 -04:00
Wilson Snyder
5f63b24c50
Change --quiet-exit to also suppress 'Exiting due to N errors'.
2020-03-15 08:09:51 -04:00
Wilson Snyder
81c659957e
Add column numbers to errors and warnings.
2020-03-14 22:02:42 -04:00
Wilson Snyder
ee8dd32c04
Check and document error format, #2191 .
2020-03-14 21:48:26 -04:00
Wilson Snyder
0a755e6ecf
Tests: Favor use of expect_filename. No functional change.
2020-03-14 17:42:15 -04:00
Wilson Snyder
e6c91f59ab
Tests: Allow --numsets 2/2
2020-03-09 17:57:27 -04:00
Wilson Snyder
9f947bcb5f
Internals: Refactor flags in V3Undriven. No functional change intended.
2020-03-08 21:37:07 -04:00
Wilson Snyder
135ccf6595
Tests: Fix ormux on travis.
2020-03-08 09:48:13 -04:00
Wilson Snyder
9a2a3f8db7
Tests: Add t_gate_ormux, #2186 , #2187 .
2020-03-08 09:18:12 -04:00
Wilson Snyder
8ccc17f30b
Add setting VM_PARALLEL_BUILDS=1 when using --output-split, #2185 .
2020-03-08 09:03:29 -04:00
Wilson Snyder
9392eac6a7
devel release
2020-03-08 08:40:33 -04:00
Wilson Snyder
95c4b6aaba
Version bump
2020-03-08 08:38:53 -04:00
Wilson Snyder
1c1319079b
Tests: Add driver --hashset for Travis.
2020-03-07 22:02:03 -05:00
Wilson Snyder
328fef8190
Tests: Add driver --hashset for Travis.
2020-03-07 21:38:44 -05:00
Wilson Snyder
e2dec043a0
Tests: Backout part of previous commit.
2020-03-07 21:01:36 -05:00
Wilson Snyder
bd42e31b2a
Tests: For travis, skip Bit::Vector and show intall dates.
2020-03-07 20:08:41 -05:00
Wilson Snyder
6d73237b27
Travis: Don't cpan test to save time.
2020-03-07 19:24:05 -05:00
Wilson Snyder
6c6d70a5e5
Fix FST when multi-model tracing.
2020-03-07 18:39:58 -05:00
Wilson Snyder
6f49f802b1
Tests: Add fst_identical.
2020-03-07 16:59:46 -05:00
Wilson Snyder
808c958d42
Internals: Add AstNodeCCall and other items towards classes.
2020-03-07 12:52:11 -05:00
Wilson Snyder
961ac49c5c
Internals: Merge parse type from classes branch. No functional change intended.
2020-03-07 11:00:57 -05:00
Wilson Snyder
2d52f525c5
Add --structs-packed for forward compatibility, #1541 .
2020-03-07 10:51:06 -05:00
Wilson Snyder
e70cba77e6
Add support for dynamic arrays, #379 .
2020-03-07 10:24:27 -05:00
Wilson Snyder
8054fc47ea
Internals: Refectoring. No functional change intended.
2020-03-07 08:24:57 -05:00
Wilson Snyder
e673875b3b
Fix clang warning, last commit.
2020-03-06 07:31:56 -05:00
Wilson Snyder
29923b78fd
Internals: Use VL_TO_STRING instead of to_string.
2020-03-05 23:28:41 -05:00
Wilson Snyder
135cbcd79a
Internals: Move 'new' unsupported forward from parse into Ast.
2020-03-05 22:33:31 -05:00
Wilson Snyder
75ecad591a
Implement $displayb/o/h, $writeb/o/h, etc, Closes #1637 .
2020-03-05 21:49:25 -05:00
Wilson Snyder
c108f5def9
Commentary, Closes #2177 .
2020-03-05 19:09:58 -05:00
Wilson Snyder
dab1cb610a
Tests: Allow iv to run SystemVerilog tests
2020-03-05 18:12:10 -05:00
Wilson Snyder
fd656f6cc1
Fix clang asserted missing lock on m_dumping.
2020-03-03 19:20:04 -05:00
Wilson Snyder
a7e65379fa
Ignore $dumpflush, think causes travis thread error.
2020-03-02 17:56:42 -05:00
Wilson Snyder
905067d13f
Fix $dumpvar multithreaded assert, broke last commit.
2020-03-02 07:43:10 -05:00
Wilson Snyder
30a33a6104
Add support for and , #2126 .
2020-03-01 21:39:23 -05:00
Wilson Snyder
0ca0e07354
Internals: Vcd doesn't need code when registering. No functional change intended.
2020-02-29 20:42:52 -05:00
Wilson Snyder
aac02acf92
Tests: Rename
2020-02-29 10:06:52 -05:00
Wilson Snyder
082c9e0b1d
Tests: Add two-design trace tests.
2020-02-29 09:44:51 -05:00
Wilson Snyder
a7bd934fe3
Tests: Cleanup false used as 0. No functional change.
2020-02-29 08:56:49 -05:00
David Stanford
e98a380b44
Tests: Update some tests to skip if prerequisites aren't installed ( #2181 )
2020-02-29 07:20:23 -05:00
Wilson Snyder
4878fe3a1f
Add split_var metacomment to assist UNOPTFLAT fixes, #2066 .
2020-02-28 19:15:08 -05:00
Wilson Snyder
c6b755a12e
Commentary
2020-02-27 19:35:49 -05:00
Wilson Snyder
991d81cd0a
Recommend -Os.
2020-02-27 07:46:34 -05:00
Wilson Snyder
c06a97a221
Remove OBJCACHE_HOSTS; dead code.
2020-02-27 07:18:15 -05:00
Wilson Snyder
6131bcdbb0
Verilator_gantt: Fix CPU count in report.
2020-02-27 07:12:50 -05:00
Wilson Snyder
68b6a0b667
Fix genblk naming with directly nested generate blocks, #2176 .
2020-02-25 22:21:16 -05:00
Wilson Snyder
4c438bbc67
Commentary
2020-02-25 19:01:14 -05:00
Wilson Snyder
5b83484f20
Remove dead genblk code & some cleanups.
2020-02-25 18:57:51 -05:00
Wilson Snyder
93ac79981b
Tests: Rename t_var_dotted. No functional change.
2020-02-24 18:51:44 -05:00
Wilson Snyder
c9b74847d1
Docs: Tighter margins, save 10 pages.
2020-02-24 18:11:56 -05:00
Wilson Snyder
23eb96579c
Fix duplicate __STDC_FORMAT_MACROS definition.
2020-02-24 18:11:41 -05:00
Todd Strader
8319ea6c73
Changes
2020-02-24 06:36:13 -05:00
Todd Strader
60f82961b4
De-tabify
2020-02-24 06:36:13 -05:00
Todd Strader
f7d1c6ca72
emacs verilog-batch-indent
2020-02-24 06:36:13 -05:00
Todd Strader
4b4f10f5e6
Follow other clock gating examples
2020-02-24 06:36:13 -05:00
Todd Strader
120f62fe85
Fix is probably to mark as a clock
2020-02-24 06:36:13 -05:00
Todd Strader
db6ecbd57e
Test for #2169
2020-02-24 06:36:13 -05:00
Wilson Snyder
28e19cef90
Fix undeclared VL_SHIFTR_WWQ, #2114 .
2020-02-23 19:33:37 -05:00
Tobias Wölfel
18f8cd0529
Allow assert disable ( #2168 )
...
* Add +verilator+noassert flag
This allows to disable the assert check per simulation argument.
* Add AssertOn check for assert
Insert the check AssertOn to allow disabling of asserts.
Asserts can be disabled by not using the `--assert` flag or by calling
`AssertOn(false)`, or passing the "+verilator+noassert" runtime flag.
Add tests for this behavior.
Bad tests check that the assert still causes a stop.
Non bad tests check that asserts are properly disabled and cause no stop
of the simulation.
Fixes #2162 .
Signed-off-by: Tobias Wölfel <[email protected] >
* Correct file location
Signed-off-by: Tobias Wölfel <[email protected] >
* Add description for single test execution
Without this description it is not obvious how to run a single test from
the regression test suite.
Signed-off-by: Tobias Wölfel <[email protected] >
2020-02-15 18:17:23 -06:00
Wilson Snyder
02786b3f09
Commentary
2020-02-12 22:46:59 -05:00
Wilson Snyder
70358e8587
Fix compiler warning.
2020-02-08 10:58:07 -05:00
Wilson Snyder
95b66feeb8
devel release
2020-02-08 09:16:35 -05:00
Wilson Snyder
890cecc15b
Version bump
2020-02-08 09:03:51 -05:00
Wilson Snyder
f7bad37e88
Fix GCC 4.4.7 errors.
2020-02-08 07:09:41 -05:00
Wilson Snyder
134b5efd70
Tests: Ignore obj_iv.
2020-02-07 18:00:07 -05:00
Wilson Snyder
0d6ebf21b3
Suggest svSetScope, #2152 .
2020-02-07 17:59:02 -05:00
Wilson Snyder
2d1b804e80
Fix OpenSolaris issues, #2154 .
2020-02-07 17:35:04 -05:00
Todd Strader
77f1b3eef4
Support parameter access from arrays of interfaces, #2155 .
2020-02-06 19:19:23 -05:00
Wilson Snyder
609a5dc26d
Fix cppcheck warnings. No functional change intended.
2020-02-03 23:21:56 -05:00
Wilson Snyder
0aabe6ce00
Internals: Fix cppcheck warning including missing init.
2020-02-03 22:10:29 -05:00
Wilson Snyder
20cc4e57d5
tests: Driver style fix.
2020-02-03 18:43:56 -05:00
Wilson Snyder
f3ebdc40c6
Fix some coverage lost when multithreaded, #2151 .
2020-02-03 18:43:41 -05:00
Wilson Snyder
2ca9f73b31
Internals: Cleanup Emit towards constructor/destructor output.
2020-02-02 21:15:07 -05:00
Wilson Snyder
73f5e3f808
Internals: Add missing const. No functional change.
2020-02-02 10:34:29 -05:00
Wilson Snyder
8d3dad510f
Fix unused variable.
2020-02-02 06:52:28 -05:00
Wilson Snyder
2576c136f6
Fix `pragma pedantic check to work with -E.
2020-02-01 22:03:18 -05:00
Wilson Snyder
a8ad97eef2
Add VL_CACHE_LINE_BYTES and use 64 as defult.
2020-02-01 20:28:03 -05:00
Wilson Snyder
ee7da1e690
Remove .h comments for empty sections.
2020-02-01 20:11:21 -05:00
Wilson Snyder
969a46faf6
Internals: V3Emit refactoring. No functional change intended.
2020-02-01 19:32:04 -05:00
Wilson Snyder
820df28ad9
Internals: V3CUse state refactoring. No functional change intended.
2020-02-01 19:11:19 -05:00
Yutetsu TAKATSUKASA
50fb7fc8b4
Tests: Resolve self assignment in t_unoptflat_simple_2, Closes #2149 .
2020-02-01 19:07:02 -05:00
Wilson Snyder
119162912a
Internals: Determine emit forward declaraions in new pass, towards classes.
2020-02-01 16:51:05 -05:00
Wilson Snyder
80d94891e1
Internals: Allow const & non-member CFuncs for class branch. No functional change.
2020-02-01 10:57:55 -05:00
Geza Lore
f00ff61559
Link Verilator binary partially statically, Closes #2146 .
...
The build is now by default configured to link performance critical
libraries (libgcc, libstdc++, libtcmalloc) statically. This improves
Verilation speed by between 4.5-7% based on my measurements as it
eliminates approx 20% of the mispredicted branches from the execution.
With partial static linking, the size of the .text section in
verilator_bin is increased by about 14%, and the binary is itself only
about 800KB bigger on disk, so hopefully this is not a big issue in
exchange for the faster compilation speed. A configure option
"--disable-partial-static" is provided to restore the old behaviour of
linking everything dynamically.
Note: This patch also changes to use libtcmalloc_minimal, which is all
we really need and itself has fewer dependencies.
2020-01-31 19:13:55 -05:00
Wilson Snyder
2d195ebae5
Cleanup IEEE references.
2020-01-30 20:23:57 -05:00
Wilson Snyder
9a6bc3ddcf
Commentary
2020-01-30 19:52:58 -05:00
Wilson Snyder
d218f1746c
Add warning on genvar in normal for loop, #2143 .
2020-01-29 21:16:44 -05:00
Yutetsu TAKATSUKASA
8d8eb1b9f3
Tests: Resolve racing among initial blocks in t_display_signed.v, #2144 .
2020-01-29 17:07:45 -05:00
Wilson Snyder
d4614c290e
Fix WIDTH warning on </<= of narrower value, #2141 .
2020-01-28 20:10:10 -05:00
Tobias Rosenkranz
027cce35c0
Support enum.next(k) with constant k > 1, #2125 .
2020-01-27 17:25:25 -05:00
Wilson Snyder
9fd81b2c6b
Support string character access via indexing.
2020-01-26 16:38:22 -05:00
Wilson Snyder
5430e4ac9b
Cleanup more errors showing data types.
2020-01-26 15:54:57 -05:00
Wilson Snyder
619214b48f
Support $sampled.
2020-01-26 13:38:15 -05:00
Wilson Snyder
68fa82fb14
Support $typename, and use to cleanup error messages.
2020-01-26 13:21:25 -05:00
Wilson Snyder
cac50282eb
Fix pattern replication without key.
2020-01-26 11:38:34 -05:00
Wilson Snyder
b50ef9ff39
Tests: Disabled test for 5.9.
2020-01-26 11:23:52 -05:00
Wilson Snyder
8a8f1135b7
Support type(expression) operator, #1650 .
2020-01-26 10:28:13 -05:00
Wilson Snyder
f0b2336345
Internals: Fix cell recursion with future module-in-module.
2020-01-25 18:15:55 -05:00
Wilson Snyder
52907e7b02
astgen: Preserve #line, #2138 .
2020-01-25 15:36:37 -05:00
Geza Lore
ef5250f0ca
Internals: Further performance improvement of AstNode type tests, #2138 . No functional change intended.
...
Replace the virtual type() method on AstNode with a non-virtual, inlined
accessor to a const member variable m_type. This means that in order to be
able to use this for type testing, it needs to be initialized based on the
final type of the node. This is achieved by passing the relevant AstType
value back through the constructor call chain. Most of the boilerplate
involved is auto generated by first feeding V3AstNodes.h through astgen to
get V3AstNodes__gen.h, which is then included in V3Ast.h. No client code
needs to be aware and there is no functional change intended.
Eliminating the virtual function call to fetch the node type identifier
results in measured compilation speed improvement of 5-10% as it
eliminates up to 20% of all mispredicted branches from the execution.
2020-01-25 15:29:44 -05:00
Wilson Snyder
eafed88a6e
Internals: Add assertions. No functional change intended.
2020-01-25 10:19:59 -05:00
Wilson Snyder
d64e6b3f9c
Internals: Refactoring towards classes. No functional change intended.
2020-01-25 09:33:43 -05:00
Wilson Snyder
d68ffba8cd
Internals: Rename to prefixNameProtect. No functional change intended.
2020-01-25 09:16:00 -05:00
Wilson Snyder
f0f370490f
Internals: Style cleanups.
2020-01-25 07:59:25 -05:00
Wilson Snyder
708fd36563
Tests: Show entering/exit so goto-error works on compile errors.
2020-01-24 22:40:19 -05:00
Wilson Snyder
a4e8d39932
Spelling fixes
2020-01-24 20:10:44 -05:00
Wilson Snyder
8f0e8e0696
Fix FST tracing of enums inside structs.
2020-01-24 19:46:46 -05:00
Wilson Snyder
11380bc3b2
Merge from upstream gtkwave includes.
2020-01-23 17:48:27 -05:00
Geza Lore
7ab2bdb6bb
Support libgoogle-perftools-dev's libtcmalloc if available. #2137 .
...
As Verilator continuously allocates and releases small objects (e.g.:
AstNode, V3GraphVertex, V3GraphEdge), it spends a significant amount of
time in malloc/free and friends. This patch adds the --enable-tcmalloc
configure option to link Verilator against the high performance malloc
implementation library libtcmalloc. The default is to use libtcmalloc if
available on the system. Note that there are no source code change, we
are simply replacing the standard library memory allocation functions.
Measured major compilation speed improvement of 27% when running
Verilator with -O3 on a large design.
2020-01-23 17:32:19 -05:00
Pieter Kapsenberg
5d037c3c8c
Docs: Add initial XML dovcument description. #2136 .
2020-01-23 07:26:11 -05:00
Geza Lore
c5d04631d1
Internals: More performance efficient AstNode casting. Closes #2133 .
...
dynamic_cast can have large run-time cost, so here we implement type
tests for AstNode instances by checking the unique type() property, which
in turn is a constant generated by astgen. For leaf types in the AstNode
type hierarchy, this is a simple equality check. To handle intermediate
types, we generate the type ids of leaf types in a pre-order traversal of
the type hierarchy. This yields contiguous ranges of ids for sub-type
trees, which means we can check membership of a non-leaf type via 2
comparisons against a low and high id. This single patch makes Verilator
itself 6-13% faster (depending on which optimizations are enabled) on a
large design of over 250k lines of Verilog.
2020-01-22 19:07:48 -05:00
Pieter Kapsenberg
957c1d606b
Add detailed XML location to cell elements, #2134 , #2122 .
...
This was accidentally omitted from the previous PR #2122 .
2020-01-22 07:18:50 -05:00
Wilson Snyder
48dd358c03
Fix clang warnings from override.
2020-01-21 20:22:32 -05:00
Geza Lore
220daa5f33
Internals: Restore AstNode naming property. #2133 .
...
The intention was that all subclasses of AstNode which are
intermediate must be abstract as well and called AstNode*. This was
violated recently by 28b9db1903 . This
patch restores that property by:
- Renaming AstFile to AstNodeFile
- Introducing AstNodeSimpleText as the common base of AstText and
AstTextBlock, rather than AstTextBlock deriving from AstText.
2020-01-21 19:54:14 -05:00
Wilson Snyder
d76b5b7823
Fix C++11 intrusion.
2020-01-21 19:45:44 -05:00
Wilson Snyder
4266d31443
Internals: Add VL_OVERRIDE to includes. No functional change intended.
2020-01-21 18:02:23 -05:00
Yutetsu TAKATSUKASA
fbdf5f2dad
Internals: Mark all visit() with VL_OVERRIDE. Closes #2132 .
...
* Add VL_OVERRIDE macro so that compiler can tell my typo when trying to override a function.
* Mark visit() with VL_OVERRIDE. No functional change intended.
2020-01-21 17:35:56 -05:00
Stefan Wallentowitz
8e26bdd098
Fix vpi scope naming ( #2130 )
...
Dedot and shorten the name so that public modules and interface cells
are accessible too via VPI.
Fixes #2109
2020-01-21 17:03:21 +01:00
Stefan Wallentowitz
22088c907f
Set maximum number width ( #2128 )
...
Adjust the maximum number width to 64K. Add --max-num-width option to
adjust this setting.
Closes #2082
2020-01-21 12:17:31 +01:00
Matthew Ballance
d87648c258
Correct FST-support issue with some GCC versions. Closes #2129 .
2020-01-20 17:33:40 -05:00
Wilson Snyder
abf3850d08
Internals: Misc cleanups for classes.
2020-01-20 16:53:27 -05:00
Pieter Kapsenberg
4a122fd0f2
Add detailed location to XML output ( #2122 )
...
* Add detailed location to XML output
* Fixing build failures
* less cryptic regulary expressions
* correcting typo in test
* Adding file letter to the location attribute, and cleaning up the regular expression in the tests.
* Add remaining test expected output files for XML changes
* spacing fix, adding documentation on changes
2020-01-20 14:08:13 -05:00
Wilson Snyder
0352ceea44
Internals: Refactor some emit code towards classes. No functional change intended.
2020-01-20 14:07:03 -05:00
Wilson Snyder
e8ff191a17
Internals: Prepare for hierarchical NodeModule's. No functional change intended.
2020-01-20 13:27:27 -05:00
Wilson Snyder
5ae09daf5b
Internals: Style cleanup. No functional change.
2020-01-20 11:56:08 -05:00
Wilson Snyder
1acff950d0
Commentary: Add deprecations section to docs. Closes #2081 .
2020-01-20 10:06:45 -05:00
Stefan Wallentowitz
f28d837930
Docker: Tag stable as latest ( #2098 )
2020-01-20 15:53:26 +01:00
Pieter Kapsenberg
1dd9a74b6c
Internals: Move V3Global function definitions to their own files. No functional change intended. Closes #2120 .
2020-01-19 07:23:26 -05:00
Pieter Kapsenberg
165833a97c
Add compile_commands.json to .gitignore ( #2119 )
...
When running make with the "bear" command, the generated
compile_commands.json file shouldn't be considered new source. This file
allows clangd-based code completion tools (e.g. YouCompleteMe) to know
the flags that each file was compiled with.
2020-01-18 22:44:03 -05:00
Wilson Snyder
18e837336a
Internals: Rename MethodCall. No functional change.
2020-01-18 14:11:05 -05:00
Wilson Snyder
835f668aaa
Internals: Refactor statement tracking. No functional change intended.
2020-01-18 13:02:42 -05:00
Wilson Snyder
09199f79a6
Internals: Add VL_DO_CLEAR delete protections. No functional change intended.
2020-01-18 10:29:49 -05:00
Wilson Snyder
2f4954ca68
Commentary
2020-01-18 09:18:57 -05:00
Wilson Snyder
7024ea8cb6
Cleaner tristate error. #2117 .
2020-01-18 07:56:50 -05:00
Wilson Snyder
623c4ec103
Internals: Create VL_DO_DANGLING. No functional change intended.
2020-01-16 20:17:11 -05:00
Wilson Snyder
023526ad4b
Internals: Minor refactoring from class branch.
2020-01-15 20:18:12 -05:00
Wilson Snyder
e2ba1c041f
Commentary
2020-01-15 20:09:19 -05:00
Tobias Rosenkranz
b41b9417b9
Fix sign compare warning. Closes #2112 .
2020-01-15 07:40:22 -05:00
Pieter Kapsenberg
4443ab34fd
Support left justified . Closes #2101 .
2020-01-15 07:32:45 -05:00
Wilson Snyder
e9a309ea8d
Clang warning fix.
2020-01-15 07:27:04 -05:00
Wilson Snyder
81e8127168
Add parameter values in XML. #2110 .
2020-01-14 18:51:20 -05:00
Wilson Snyder
47803c3591
Tests: Better message for contributors.
2020-01-14 17:49:04 -05:00
Wilson Snyder
af38e8d387
Improve error on > 127 char modnames. #2106 .
2020-01-14 07:33:12 -05:00
Wilson Snyder
67bb0c78c8
Codacity fix.
2020-01-14 07:13:35 -05:00
Wilson Snyder
918df2e618
Support / with assoc arrarys. Closes #2100 .
2020-01-14 07:01:17 -05:00
Wilson Snyder
7bed17b14b
Fix clang warning
2020-01-13 19:01:30 -05:00
Stefan Wallentowitz
fad465abf1
Add lint_off -match waivers ( #2102 )
...
* Add more directives to configuration files
Allow to set the same directives in configuration files that can also
be set by comment attributes (such as /* verilator public */ etc).
* Add support for lint messsage waivers
Add configuration file switch '-match' for lint_off. It takes a string
with wildcards allowed and warnings will be matched against it (if
rule and file also match). If it matches, the warning is waived.
Fixes #1649 and #1514
Closes #2072
2020-01-12 10:03:17 +01:00
Wilson Snyder
98fb7ec193
Commentary.
2020-01-11 21:08:20 -05:00
Wilson Snyder
b71eb76252
For / allow 64-bit addressing.
2020-01-11 14:08:07 -05:00
Wilson Snyder
1d2a7b2f41
Style cleanups. No functional change.
2020-01-11 12:36:30 -05:00
Wilson Snyder
cd38e88fb8
For travis, add VERILATOR_AUTHOR_SITE to get -Werror. Closes #2099 .
2020-01-11 10:52:13 -05:00
Todd Strader
a15aa0b82b
Fix clang warning
2020-01-11 09:59:42 -05:00
Wilson Snyder
fe94f9891b
Add error on misused define.
2020-01-11 09:16:26 -05:00
Wilson Snyder
fe9cf9bd42
devel release
2020-01-11 09:08:33 -05:00
Wilson Snyder
0c99bee4b1
Version bump
2020-01-11 06:54:36 -05:00
Wilson Snyder
f66dacd185
Remove some make clean files.
2020-01-11 06:53:52 -05:00
Wilson Snyder
5f9ceb99a7
Cleanup spacing.
2020-01-10 21:37:53 -05:00
Wilson Snyder
2638f9db19
Error cleanups.
2020-01-10 19:18:27 -05:00
Wilson Snyder
8859cbf5bc
Commentary
2020-01-10 19:12:45 -05:00
Wilson Snyder
16bb97687a
Tests: Check for missing newlines at EOF.
2020-01-10 18:49:23 -05:00
Wilson Snyder
1234c83953
Fix some C++11 requirements.
2020-01-10 07:07:21 -05:00
Wilson Snyder
2982336ec2
Commentary
2020-01-09 20:29:36 -05:00
Wilson Snyder
ca211c3b11
Commentary - Codacy badge fix.
2020-01-09 20:28:33 -05:00
Wilson Snyder
87d126de49
Commentary
2020-01-09 20:09:50 -05:00
Philipp Wagner
4a307742c4
Fix typo in help output ( #2096 )
...
The variable is named VM_PARALLEL_BUILDS, not VM_PARALLEL_BUILD.
Signed-off-by: Philipp Wagner <[email protected] >
2020-01-09 20:07:08 -05:00
Wilson Snyder
a2911ed933
Fix shebang breaking some shells. Closes #2067 .
2020-01-09 20:01:12 -05:00
Wilson Snyder
2a50fafef2
Fix %{number}s with strings. #2093 .
2020-01-09 19:39:27 -05:00
Wilson Snyder
029ff69d30
Update .clang-format to allow 6.0.0 to work.
2020-01-09 19:39:14 -05:00
Wilson Snyder
aac02c1ed1
Fix expand optimization slowing --lint-only. Closes #2091 .
2020-01-09 18:04:49 -05:00
Stefan Wallentowitz
525c79bd0a
Add Docker infrastructure ( #2087 )
...
This adds files to build and run two Docker images:
- run: Build a Docker container that can be used as an executable
drop-in for verilator. This can be useful to test behavior of
older versions or a development version. The functionality is
pretty simplistic at the moment for a start.
- buildenv: Everything needed to build and test Verilator. Useful to
run quick tests in the cloud or try other compilers. It can
also serve as basis for further CI integration.
2020-01-09 23:22:15 +01:00
Yutetsu TAKATSUKASA
b5c151863a
Update .clang-format so that recent clang-format such as LLVM-8 works. ( #2092 )
...
Use C++03 because this project needs to compile with the standard.
2020-01-09 10:13:08 -05:00
Wilson Snyder
06247686c5
Codacy cleanups
2020-01-08 19:33:47 -05:00
Wilson Snyder
951a7d867a
Commentary
2020-01-08 19:33:42 -05:00
Wilson Snyder
9978cbfa5c
Fix tracing -1 index arrays. Closes #2090 .
2020-01-08 07:32:31 -05:00
Wilson Snyder
f23fe8fd84
Update copyright year.
2020-01-06 18:05:53 -05:00
Stefan Wallentowitz
37dc33a195
Deprecation ( #2088 )
...
* Add deprecation warning
* Deprecate -msg in configuration files
* Deprecate sc_clock
2020-01-03 17:27:51 +01:00
Stefan Wallentowitz
924fe235a9
No assign alias for unpacked public variables ( #2089 )
...
Public variables are all emitted in the C code and unpacked arrays
arrays are sliced up for this. After inlining public unpacked array
assignments should not be alias assignments but actual assignments, so
that they are sliced and hence emitted properly.
Fixes #2073
2020-01-03 13:44:45 +01:00
Todd Strader
1957b1ebbd
Fix permissions on build_vcddiff.sh
2020-01-02 07:40:15 -05:00
Todd Strader
b70d1c1349
Update gtkwave files
2020-01-02 07:39:24 -05:00
Stefan Wallentowitz
b7665a88db
Rename msg to rule in configuration files ( #2080 )
...
Rename the -msg switch to -rule in configuration files as it is more
clear.
resolves #2068
2019-12-30 19:15:43 +01:00
Kuba Ober
19c8d32263
Fix SystemC link in the documentation. ( #2076 )
2019-12-30 18:56:51 +03:00
Stefan Wallentowitz
7b384f7eb7
XML: Add variable attributes ( #2079 )
2019-12-30 12:55:36 +01:00
Kuba Ober
7bbce51f7b
Add include guard to V3InstrCount.h. ( #2075 )
...
This is needed for cmake unity build to work.
2019-12-30 06:04:03 +03:00
Kuba Ober
ac1cdf7cdf
Implement APIs missing on Windows. ( #12 )
2019-12-28 19:44:24 +03:00
Wilson Snyder
c753904a3f
Internals: Copy into parser Verilog-Perl rules as comments. No functional change.
2019-12-24 16:15:48 -05:00
Wilson Snyder
8bd43d83b1
Internals: bisonpre should ignore commented BISONPRE lines.
2019-12-24 16:15:47 -05:00
Wilson Snyder
ea5b01d9f3
Internals: Rename pexpr. No functional change intended.
2019-12-24 16:04:28 -05:00
Wilson Snyder
f540dead79
Internals: new() support code, and misc stuff.
2019-12-24 12:47:27 -05:00
Wilson Snyder
40a847d613
Internals: Refactor some code. No functional change intended.
2019-12-24 10:23:43 -05:00
Wilson Snyder
37b9f254a2
Internals: Add origNameProtect. No functional change intended.
2019-12-24 08:47:30 -05:00
Wilson Snyder
c8daab3b46
Internals: Refactor some member handling. No functional change intended.
2019-12-23 20:48:23 -05:00
Wilson Snyder
a0d391d695
Tests: Less aggressive contributors check.
2019-12-23 19:01:29 -05:00
Wilson Snyder
5089f997cc
Internals: Use standard function for include guards. No functional change intended.
2019-12-23 19:00:17 -05:00
Wilson Snyder
5c59fde92e
Fix codacy warning
2019-12-23 18:56:08 -05:00
Wilson Snyder
81ee4930fc
Github: Update issue templates
2019-12-23 17:40:50 -05:00
Wilson Snyder
350de3719e
Github: Update issue templates
2019-12-23 17:39:38 -05:00
Wilson Snyder
a37a127ef1
Github: Update issue templates
2019-12-23 17:37:48 -05:00
W Snyder
dc8a0dfd5a
Update issue templates
2019-12-23 17:36:26 -05:00
Wilson Snyder
0ca197ec1b
Github: Add issue templates
2019-12-23 17:34:53 -05:00
Wilson Snyder
f23a7bfdd7
Tests: Check for carriage returns
2019-12-23 17:34:43 -05:00
Peter Monsson
9b998cf6b3
Support implication operator "|->" in assertions, #2069 .
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-23 16:49:18 -05:00
Wilson Snyder
0f0c3d4684
Internals: Copy into parser Verilog-Perl rules as comments. No functional change.
2019-12-23 16:27:07 -05:00
Wilson Snyder
bacbb4cafd
Parse join_any/join_none still as unsupported.
2019-12-23 15:19:22 -05:00
Wilson Snyder
4afde8b478
Test class parsing (intended as part of last commit).
2019-12-23 15:18:55 -05:00
Wilson Snyder
2cbfe99ad5
Parse all class constructs, as still unsupported.
2019-12-23 15:03:04 -05:00
Julien Margetts
c1fb938a61
Fix huge case statement performance. Closes #1644 .
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-23 07:47:57 -05:00
Wilson Snyder
49db4d2b66
Internals: Trivial spacing change to force CI rebuild. No functional change.
2019-12-22 20:02:37 -05:00
Wilson Snyder
b087673254
Fix output endif spacing. No functional change.
2019-12-22 18:21:43 -05:00
Wilson Snyder
5c361efaea
Internals: Minor format cleanups. No functional change.
2019-12-22 18:09:46 -05:00
Peter Monsson
ea979c8f83
Fix disable iff in assertions. Closes #1404 .
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-22 15:49:10 -05:00
Wilson Snyder
3a70bbc70c
Update Changes to reflect github issue numbers.
2019-12-22 15:33:45 -05:00
Kuba Ober
3f0e2f7d9d
Fix argument in AstConst.m_num.width. ( #9 )
2019-12-21 10:25:05 -05:00
Kuba Ober
c9ca390926
Fix missing <algorithm> header. Pull ( #8 )
2019-12-20 20:14:52 -05:00
Kuba Ober
4a31b69f84
Decrease the number of chained if-else blocks to fix MSVC build. Pull ( #7 )
...
MSVC has a limit of 128 blocks in a chain.
2019-12-20 20:07:50 -05:00
Kuba Ober
ee184f3f39
Fix strcasecmp for windows, bug1651.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-20 06:58:05 -05:00
Wilson Snyder
9807025618
Fix infinite loop on some V3Ast internal errors.
2019-12-19 20:07:48 -05:00
Stefan Wallentowitz
9a54b2144b
Fix queue issues, bug1643.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-18 18:17:18 -05:00
Wilson Snyder
0465b6a3b1
Fix example makefiles, 1648.
2019-12-18 17:58:24 -05:00
Julien Margetts
cafb148a62
Commentary
2019-12-17 18:27:47 -05:00
Stefan Wallentowitz
d738501c01
Fix queues as statements, bug1641.
2019-12-17 06:08:41 -05:00
Wilson Snyder
53c6b7df63
Internals: Rename NodeClassDType. No functional change.
2019-12-16 22:46:09 -05:00
Wilson Snyder
f514049c04
Add cleaner error on version control conflicts in sources.
2019-12-16 21:54:20 -05:00
Wilson Snyder
83a1bd0675
Support immediate cover statements & refactor coverage internals.
2019-12-16 21:44:20 -05:00
Yutetsu TAKATSUKASA
8cdc0c4e00
Support string putc, getc, substr, bug1606.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-15 08:09:52 -05:00
Wilson Snyder
460e0541f3
Add error when `resetall inside module
2019-12-14 22:04:58 -05:00
Wilson Snyder
2408de16a0
Support bounded queues.
2019-12-14 21:39:47 -05:00
Wilson Snyder
2a1c57ada6
With -Wpedentic, warn about bad `pragma
2019-12-14 10:13:38 -05:00
Wilson Snyder
7387db506d
GTKWave: Merge from upstream.
2019-12-14 09:25:36 -05:00
Stefan Wallentowitz
3ac6745658
Add vpiTimeUnit and allow to specify time as string, bug1636.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-13 19:11:37 -05:00
Wilson Snyder
39950d16d0
Ignore `uselib to end-of-line, bug1634.
2019-12-12 20:57:48 -05:00
Todd Strader
c62c152048
Commentary
2019-12-12 07:53:08 -05:00
Wilson Snyder
6046b06b17
Tests: Fix no-email contributors.
2019-12-11 18:56:10 -05:00
Julien Margetts
f7a06cb54a
Fix little endian cell ranges, bug1631.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-11 17:15:45 -05:00
Wilson Snyder
521418d832
Update FST trace API for better performance.
2019-12-10 18:55:09 -05:00
Wilson Snyder
1c643916a3
Tests: Add copy_if_golden to harness.
2019-12-10 18:53:35 -05:00
Todd Strader
9cf5acc43e
Install vcddiff for Travis, bug1600.
2019-12-10 05:27:34 -05:00
Yutetsu TAKATSUKASA
c2037ddbc5
Support string compare, icompare, ato* methods, bug1606.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-09 19:17:52 -05:00
Wilson Snyder
ca1b083d5c
Fix clang warning.
2019-12-09 18:53:56 -05:00
Wilson Snyder
c896a76fef
Fix clang warning.
2019-12-09 18:25:59 -05:00
Wilson Snyder
bd0eadb311
Fix handling user-botch of %d to print real.
2019-12-08 22:48:44 -05:00
Wilson Snyder
62b0d15d2e
Add lint check for bad enum 4-state values.
2019-12-08 22:26:54 -05:00
Wilson Snyder
700f2072c0
Framework for WDatas being vectors of 64-bit EDatas, but not supporting this at this time.
2019-12-08 21:36:38 -05:00
Wilson Snyder
cda5c53cf9
Add BOUNDED warning and promote bounded queues to unbounded.
2019-12-08 15:56:49 -05:00
Wilson Snyder
3be0eea995
devel release
2019-12-08 13:50:14 -05:00
Wilson Snyder
44ce83cd8e
Version bump
2019-12-08 07:58:47 -05:00
Wilson Snyder
c199930943
Commentary
2019-12-08 07:34:47 -05:00
Wilson Snyder
81fc1d48a6
Fix gate lvalue optimization error, bug831.
2019-12-07 16:49:11 -05:00
Wilson Snyder
f330f16bf6
Internals: Additional debug dumps.
2019-12-07 16:41:34 -05:00
Wilson Snyder
10a6b566ef
Fix error on unpacked concatenations, bug1627.
2019-12-07 15:53:34 -05:00
Driss Hafdi
cff5485821
Tests: Unsupported test for bug1627.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-07 13:46:50 -05:00
Driss Hafdi
dcbdac1b81
Tests: Unsupported test for bug1626.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-07 13:46:29 -05:00
Driss Hafdi
a59777aa75
Tests: Unsupported test for bug1624.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-07 13:15:46 -05:00
Driss Hafdi
d82b9128d0
Tests: Unsupported test for bug1623.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-07 12:59:00 -05:00
Driss Hafdi
ab4f18c892
Tests: Unsupported test for bug1622.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-07 12:59:00 -05:00
Todd Strader
4480938b25
Fix interface reference tracing, bug1595.
2019-12-07 12:28:19 -05:00
Driss Hafdi
11a1b201a9
Tests: Unsupported on parameters in functions, bug1624.
2019-12-06 18:51:39 -05:00
Wilson Snyder
1a8b192e40
Unsupported on parameters in functions, bug1624.
2019-12-06 18:50:41 -05:00
Driss Hafdi
aee3a32354
Added name to Contributors
2019-12-06 18:49:54 -05:00
Wilson Snyder
35e9489f33
Includes: Allow VCD trace of 64 bit array.
2019-12-05 22:25:30 -05:00
Wilson Snyder
5c6d74cd80
Fix assertion on dotted parameter arrayed function, bug1620.
2019-12-04 19:25:45 -05:00
Wilson Snyder
8611ff230d
GTKWave: Merge from upstream. No functional change.
2019-12-04 05:31:38 -05:00
Wilson Snyder
8ef4097f00
Fix cppcheck warning.
2019-12-03 19:21:36 -05:00
Wilson Snyder
fe684e8733
Allow redefining VL_PRINTF, bug1598.
2019-12-03 19:12:18 -05:00
Garrett Smith
96f8bbd023
Support float and shorts, bug1592, bug1619.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-12-03 18:26:22 -05:00
Wilson Snyder
95ffcad12e
Fix t_queue crash on Trusty due to lifetime issue.
2019-12-03 07:18:59 -05:00
Wilson Snyder
ebed1a9000
Fix 64-bit signed power with -1.
2019-12-03 06:58:38 -05:00
Wilson Snyder
2240f42bfa
Fix 64-bit signed power with -1.
2019-12-03 06:26:17 -05:00
Wilson Snyder
ac4f0da9ee
Tests: Add output wire check.
2019-12-02 20:38:43 -05:00
Wilson Snyder
559852f60b
Add error when number missing value.
2019-12-02 20:21:24 -05:00
Wilson Snyder
b0669f3aca
Fix false unused message on __Vemumtab, msg3180.
2019-12-02 19:03:33 -05:00
Todd Strader
00979ede14
Fix overly aggressive --protect-lib check
2019-12-02 08:33:44 -05:00
Todd Strader
13569ed98b
Stop-gap CI email fix
2019-12-02 08:18:15 -05:00
Wilson Snyder
809a6de9cd
Fix template brackets to avoid C++11, bug1617.
2019-12-02 06:19:33 -05:00
Wilson Snyder
d65d8fda54
Optimize returns at end of functions.
2019-12-01 17:19:18 -05:00
Wilson Snyder
2076b0219d
Fix labels on functions with returns, bug1614.
2019-12-01 17:19:03 -05:00
Wilson Snyder
32f93a8a1e
Commentary, bug1615.
2019-12-01 12:43:41 -05:00
Wilson Snyder
e28175108f
Support queues (excluding {} notation and pattern assignments), bug545.
2019-12-01 12:35:49 -05:00
Wilson Snyder
b81295230a
Support associative arrays.
2019-12-01 11:52:48 -05:00
Wilson Snyder
6ae7f7b152
Last commit: Fix pattern mismatch crash.
2019-12-01 11:43:48 -05:00
Wilson Snyder
03026b63b9
Internals: Refactor huge pattern function. No functional change intended.
2019-12-01 11:03:53 -05:00
Wilson Snyder
38e586fabe
Internals: Misc refectoring for assoc/queues.
2019-12-01 06:09:58 -05:00
Wilson Snyder
3d6e8e9eb0
Add -Wno-context.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-11-23 10:40:32 -05:00
Wilson Snyder
df192f2b61
Support / with warning.
2019-11-23 09:16:06 -05:00
Wilson Snyder
17ad59394f
Support shortreal as real, with a SHORTREAL warning.
2019-11-23 08:34:40 -05:00
Wilson Snyder
682c2a610f
Fix $display("%p") to be closer to IEEE.
2019-11-21 19:29:46 -05:00
Wilson Snyder
59782266b9
Tests: Fix uninitalized data in t_vpi_time tests, bug1612.
2019-11-21 18:42:40 -05:00
Wilson Snyder
4885bcb93c
Tests: Report core dumps on tests.
2019-11-21 18:42:40 -05:00
Todd Strader
d47d3b5162
Fix CI typo
2019-11-21 08:31:18 -05:00
Wilson Snyder
99455a16bf
Fix // in filenames, bug1610.
2019-11-20 21:23:03 -05:00
Wilson Snyder
a86e1953eb
Tests: Fix object order dependence, bug1611.
2019-11-20 06:57:39 -05:00
Matthew Ballance
f63dfd7028
Fix VPI timed callbacks to be one-shot, pull5.
...
Signed-off-by: Matthew Ballance <[email protected] >
Signed-off-by: Wilson Snyder <[email protected] >
2019-11-19 22:44:33 -05:00
Matthew Ballance
7a413a121d
Tests: Fix modelsim driver, pull 5.
...
Signed-off-by: Matthew Ballance <[email protected] >
Signed-off-by: Wilson Snyder <[email protected] >
2019-11-19 21:53:17 -05:00
Wilson Snyder
0f6b625db8
Fix hang on concat error, bug1608.
2019-11-19 19:23:40 -05:00
Wilson Snyder
f134ac4f2f
Black box some additional unsupported constructs.
2019-11-17 09:01:41 -05:00
Wilson Snyder
39eeda50c6
Internals: Rename MethodCall. No functional change.
2019-11-17 08:51:25 -05:00
Wilson Snyder
09ca4ce791
Internals: Assert proper AstArgs in place.
2019-11-17 08:43:04 -05:00
Wilson Snyder
2ff22d9050
Fix earlier +verilated+error+count to do all .
2019-11-17 08:12:39 -05:00
Wilson Snyder
c726ad0142
Commentary
2019-11-17 07:53:30 -05:00
Wilson Snyder
0c0198cf55
Support string.toupper and string.tolower.
2019-11-17 05:05:09 -05:00
Wilson Snyder
d480c2f033
Add +verilator+error+limit to see more assertion errors.
2019-11-16 18:25:47 -05:00
Wilson Snyder
8ebe86e54b
Fix color assertion on empty if, bug1604.
2019-11-16 17:23:51 -05:00
Wilson Snyder
62af9dbed4
Fix member to method error messages.
2019-11-16 15:32:55 -05:00
Wilson Snyder
3eb0ff8aa0
Detect wrong number of args on method calls.
2019-11-16 15:18:57 -05:00
Wilson Snyder
ce5a70fbca
Internals: Split large method function. No functional change.
2019-11-16 14:40:45 -05:00
Wilson Snyder
c36d9a68f5
Support $ungetc.
2019-11-16 12:55:10 -05:00
Wilson Snyder
8c5aa21a11
Support $rewind.
2019-11-16 12:21:35 -05:00
Wilson Snyder
47b5e36e60
Add -Wpedantic for compliance testing.
2019-11-16 11:59:21 -05:00
Wilson Snyder
a481638edb
Add error on redefining preprocessor directives.
2019-11-16 10:19:43 -05:00
Wilson Snyder
de7caad710
Fix signed wildcard comparisons.
2019-11-16 09:58:01 -05:00
Wilson Snyder
b1c14e485a
Fix capital S signed numbers.
2019-11-16 09:39:41 -05:00
Wilson Snyder
66727670f9
Override gtkwave config in upstreamable way. No functional change.
2019-11-16 03:54:05 -05:00
Wilson Snyder
b9322206d7
Update gtkwave files to latest
2019-11-16 03:44:51 -05:00
Wilson Snyder
617424e04a
Internals: Fix cppcheck warning. No functional change.
2019-11-16 03:14:55 -05:00
Wilson Snyder
e9c4ffa04e
Fix for loop missing initializer, bug1605.
2019-11-15 18:24:55 -05:00
Todd Strader
30c2e53f9e
Travis fixes
2019-11-14 17:54:57 -05:00
Sebastien Van Cauwenberghe
a250decfaa
Tests: Fix t_trace_cat when non-English sort.
2019-11-13 06:43:15 -05:00
Wilson Snyder
21a380def0
Rework variable emit to prep for other data types.
2019-11-12 21:52:25 -05:00
Wilson Snyder
77e30d4920
Internals: Remove dead code. No functional change.
2019-11-12 18:55:16 -05:00
Wilson Snyder
98dcbc6b3e
Remove footprint comment when single threaded.
2019-11-11 22:21:37 -05:00
Wilson Snyder
6ce81698e7
devel release
2019-11-10 14:25:54 -05:00
Wilson Snyder
30be381aa8
Version bump
2019-11-10 14:13:46 -05:00
Wilson Snyder
e04bc16ffa
Codacity cleanup
2019-11-10 13:21:05 -05:00
Wilson Snyder
2b26ca2c07
Optimize mask/and above conditionals.
2019-11-10 13:17:29 -05:00
Wilson Snyder
ce178ec987
Optimize modulus by power-of-two constants.
2019-11-10 12:12:57 -05:00
Wilson Snyder
fcb733e8d0
Fix clang warning.
2019-11-09 21:47:27 -05:00
Wilson Snyder
f87107e757
Tests etc: Cleanup some clang-format suggestions. No functional change.
2019-11-09 20:35:12 -05:00
Wilson Snyder
cf9f466f0a
Fix false uninit warning
2019-11-09 18:42:18 -05:00
Wilson Snyder
28cbf39995
Support some unpacked arrays in parameters, bug1315.
2019-11-09 18:31:24 -05:00
Wilson Snyder
4767083a72
Internals: Rework AstInitArray to have O(1) access. No functional change intended.
2019-11-09 17:12:26 -05:00
Wilson Snyder
704f40b1a2
Internals: Prep work for simulation of array parameters, bug1315. No functional change intended.
2019-11-09 15:27:10 -05:00
Wilson Snyder
c5f859c9a3
Internals: Format cleanup. No functional change.
2019-11-09 15:27:10 -05:00
Todd Strader
abe95f3ab3
Add interface port visibility in traces, bug1594.
2019-11-08 08:26:48 -05:00
Wilson Snyder
2eda38c4d1
Update URLs to https://verilator.org
2019-11-07 22:41:34 -05:00
Wilson Snyder
5811ec07e6
Update URLs to https://verilator.org
2019-11-07 22:33:59 -05:00
Wilson Snyder
8a5d13bce2
Commentary
2019-11-07 20:13:00 -05:00
Wilson Snyder
3232bdf016
Commentary
2019-11-07 19:55:11 -05:00
Wilson Snyder
7ef620dc64
Rewrite README and install.adoc
2019-11-07 19:52:56 -05:00
Wilson Snyder
8043a9c666
Tests: Test for bug1593.
2019-11-07 18:15:55 -05:00
Wilson Snyder
f1b10e2b4c
Improve error messages on DIDNOTSETTLE, bug1556.
2019-11-06 19:47:34 -05:00
Wilson Snyder
c1a9ada279
Protect change request filenames.
2019-11-05 21:53:26 -05:00
Wilson Snyder
2aed499e00
Fix detecting missing reg types, bug1570.
2019-11-05 21:15:44 -05:00
Wilson Snyder
b2c5f8e74e
Commentary: No functional change.
2019-11-05 20:42:49 -05:00
Todd Strader
9ef200d5a3
Fix --protect-lib test concurrency issue, bug1580.
2019-11-05 08:49:43 -05:00
Wilson Snyder
8a3227697e
Fix bad-syntax crashes, bug1579.
2019-11-04 22:00:20 -05:00
Wilson Snyder
530ab17c8b
Fix bad-syntax crashes, bug1586, bug1587.
2019-11-04 21:51:20 -05:00
Wilson Snyder
ca8da1f54f
Fix bad-syntax crashes, bug1589.
2019-11-04 21:16:07 -05:00
Wilson Snyder
cc4cb4e006
Avoid internal on unsupported; make tests more stable otherwise on internal.
2019-11-04 21:11:15 -05:00
Wilson Snyder
e40ad4a095
Commentary; part of last commit.
2019-11-04 19:33:21 -05:00
Wilson Snyder
67a0ad02d2
Fix bad-syntax crasses, bug1591.
2019-11-04 19:27:31 -05:00
Wilson Snyder
055a978866
Fix bad-syntax crasses, bug1583, bug1585.
2019-11-04 19:06:55 -05:00
Wilson Snyder
67d52372e5
Fix bad-syntax crashes, bug1582.
2019-11-04 18:48:47 -05:00
Wilson Snyder
a28896d967
Don't have examples require graphviz
2019-11-02 17:44:58 -04:00
Wilson Snyder
9ff5ef4ad5
Fix false CMPCONST/UNSIGNED warnings on inside, bug1581.
2019-11-02 16:56:37 -04:00
Wilson Snyder
25f08b29c6
Add XML examples.
2019-11-02 16:40:59 -04:00
Wilson Snyder
7febeab275
Tests: Use standard verilator.mk rules for tests.
2019-11-02 11:15:58 -04:00
Wilson Snyder
c0c038c887
Remove false unoptimizable warning under debug
2019-11-02 11:15:08 -04:00
Wilson Snyder
8a5b8d5f38
Internals: Fix VFlagBitPacked giving 4-state types.
2019-11-01 20:10:45 -04:00
Wilson Snyder
ff0dd26fe5
Fix --trace-coverage with randReset.
2019-11-01 20:09:57 -04:00
Wilson Snyder
f781085755
Add --xml-output option.
2019-10-31 21:17:05 -04:00
Wilson Snyder
8f6efdaf5c
Allow both -MMD and --no-MMD, and --no/--skip-identical to override default
2019-10-31 20:59:52 -04:00
Wilson Snyder
4b5f0fd173
Tests: Cleanup mis-die's
2019-10-31 20:45:17 -04:00
Wilson Snyder
1224c69126
Tests: Fix bad-syntax crashes, bug1577.
2019-10-31 19:34:13 -04:00
Wilson Snyder
bcb766b4ce
Fix bad-syntax crashes, bug1577.
2019-10-30 21:49:25 -04:00
Wilson Snyder
63373f6f4c
Fix missing error when parameter assigned to type, bug1576.
2019-10-30 18:18:29 -04:00
Wilson Snyder
40bdd85a07
Fix minor output spacing issues.
2019-10-29 23:19:59 -04:00
Wilson Snyder
974bf1d643
Add .clang-format. Note this gets close, but isn't perfect, don't blindly use it.
2019-10-29 22:40:58 -04:00
Wilson Snyder
8ce60e955f
Fix missing error when parameter assigned to type, bug1575.
2019-10-29 18:38:59 -04:00
Wilson Snyder
171960635e
Add recursive define detection, bug1574.
2019-10-28 22:35:31 -04:00
Wilson Snyder
2ab819aef0
Fix bad-syntax crashes, bug1573
2019-10-28 18:46:13 -04:00
Wilson Snyder
647c321437
Suppress 'command failed' on normal errors.
2019-10-27 17:34:04 -04:00
Wilson Snyder
2bbb9dccb1
Less verbose ar messages
2019-10-27 11:30:25 -04:00
Wilson Snyder
bac5d32582
Commentary; fix example here documents.
2019-10-27 11:30:12 -04:00
Wilson Snyder
3ebd6915f3
Commentary
2019-10-27 10:29:19 -04:00
Wilson Snyder
f852ba8a33
Add --trace-coverage.
2019-10-27 09:27:18 -04:00
Wilson Snyder
8f6015aad5
Fix copy-and-paste error in undriven checks.
2019-10-24 22:50:50 -04:00
Wilson Snyder
352adbed74
Codacy/Cppcheck cleanups.
2019-10-24 22:40:15 -04:00
Wilson Snyder
0cbfd29ac5
Codacy/Cppcheck cleanups and badge.
2019-10-24 22:19:46 -04:00
Wilson Snyder
9f977ed419
Codacy/Cppcheck cleanups and badge.
2019-10-24 21:48:45 -04:00
Yves Mathieu
baa6a2c31a
Support quoted arguments in -f files, bug1535.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-24 07:33:19 -04:00
Todd Strader
3b33438e91
Benchmark --protect-lib runtime, bug1519.
2019-10-23 10:03:37 -04:00
Wilson Snyder
17ee8579a4
Internals: Make cleanOut/sizeMatters const. No functional change intended.
2019-10-20 11:58:41 -04:00
Wilson Snyder
94f7133c6f
Internals: make dump const. No functional change intended.
2019-10-20 11:49:41 -04:00
Wilson Snyder
6d58d32a0f
Commentary
2019-10-19 22:37:08 -04:00
Wilson Snyder
c9d000467b
Tests: Allow test-by-test verbose.
2019-10-19 07:14:13 -04:00
Wilson Snyder
e15d3afb7b
Commentary
2019-10-19 07:08:18 -04:00
Ahmed El-Mahmoudy
712bc43a06
Commentary, bug1568.
2019-10-19 06:47:46 -04:00
Wilson Snyder
71fa09a25b
Fix bad-syntax crashes, bug1563.
2019-10-18 21:30:34 -04:00
Wilson Snyder
89c3c5f952
Internals: Style cleanup. No functional change.
2019-10-18 20:28:59 -04:00
Wilson Snyder
7311c84937
Slightly faster FST tracing.
2019-10-18 19:48:27 -04:00
Wilson Snyder
8078fc0965
Commentary
2019-10-18 19:40:48 -04:00
Wilson Snyder
31a6a968cc
Speedup compiler flags for Ubuntu 19.10.
2019-10-17 20:43:45 -04:00
Patrick Stewart
1e4f471049
Add cmake support, bug1363.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-17 19:44:10 -04:00
Wilson Snyder
1232746395
Tests: Keep pass/unsup/skip count on retests.
2019-10-17 19:33:47 -04:00
Wilson Snyder
1852ae1cc8
Tests: Tweak driver to still print status every 15 seconds.
2019-10-16 23:17:31 -04:00
Eric Rippey
77f79f0114
Tests: Add fuzzing infrastructure.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-16 22:18:35 -04:00
Wilson Snyder
6081c262f2
Fix misc bad-syntax crashes, bug1557-1560.
2019-10-16 20:05:29 -04:00
Todd Strader
46ab907f6a
Refactor Verilator building in Travis, bug1547.
2019-10-16 05:32:59 -04:00
Todd Strader
8700564197
Build examples using only their Makefiles.
2019-10-16 05:30:51 -04:00
Todd Strader
af8cc9127f
driver.pl: Report possibly stalled tests.
2019-10-16 05:28:27 -04:00
Wilson Snyder
c73336f8f5
Fix misc bad-syntax crashes, bug1548, bug1550-1553.
2019-10-15 19:06:00 -04:00
Patrick Stewart
4361fb838f
Tests: Minor testbench fixes to prepare for CMake.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-10 19:48:06 -04:00
Wilson Snyder
6b8afe8137
Commentary
2019-10-10 06:46:03 -04:00
Wilson Snyder
a7c2037b7a
Add --generate-key.
2019-10-09 18:53:30 -04:00
Todd Strader
9b09309f51
Commentary: Fix Changes
2019-10-09 08:28:53 -04:00
Todd Strader
da0da9e258
Add --protect-lib to create protected libraries, bug1490.
2019-10-09 06:47:26 -04:00
Wilson Snyder
58a42834a6
Tests: Remove some old makefile rules.
2019-10-08 19:12:33 -04:00
Wilson Snyder
8c836e1222
Fix clang thread lint error.
2019-10-08 12:07:46 -04:00
Wilson Snyder
ce179bd2e3
Fix clang mutex check.
2019-10-08 08:29:53 -04:00
Patrick Stewart
68e5c95b82
Tests: Rename harness flag. No functional change.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-07 22:15:43 -04:00
Patrick Stewart
07db53e54f
Commentary
2019-10-07 22:11:50 -04:00
Patrick Stewart
0ed58a4217
Fix multithreaded yield behavior when no work.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-07 19:27:31 -04:00
Patrick Stewart
8e6d68147c
Support multithreading on Windows.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-07 19:23:06 -04:00
Wilson Snyder
e08b9b84b5
Commentary
2019-10-07 17:31:33 -04:00
Wilson Snyder
2f28c5f5b4
Increase case duplicate/incomplete to 16 bit tables, bug1545.
2019-10-07 07:38:40 -04:00
Wilson Snyder
91f1acd85f
Add --protect-ids to obscure information in objects, bug1521.
2019-10-06 13:24:21 -04:00
Wilson Snyder
ed1e5fb509
Tests: When doing extended tests, run most examples under harness for better parallelism.
2019-10-06 10:58:16 -04:00
Wilson Snyder
99b2ab7540
Rename examples in prep for CMake.
2019-10-06 10:32:49 -04:00
Wilson Snyder
763b9909f1
devel release
2019-10-06 10:04:45 -04:00
Wilson Snyder
dfcd412e5f
Version bump
2019-10-06 09:40:36 -04:00
Wilson Snyder
307549e8a6
Internals: Fix some cppcheck warnings.
2019-10-06 08:20:02 -04:00
Wilson Snyder
09b79a731a
Fix more output spacing issues.
2019-10-05 21:52:33 -04:00
Wilson Snyder
4544a2fd99
Fix extra declaration of trace() in submodules.
2019-10-05 20:16:33 -04:00
Wilson Snyder
e09c918198
Fix indentation broke in 977a767477.
2019-10-05 18:00:45 -04:00
Wilson Snyder
9bf6135f6d
Remove some output tabs.
2019-10-05 17:35:08 -04:00
Wilson Snyder
d472ef63e9
Internals: Cleanup some misnamed classes. No functional change.
2019-10-05 08:17:21 -04:00
Wilson Snyder
f1c04b5d25
Fix extra space in mtask comment. No functional change.
2019-10-04 22:54:57 -04:00
Wilson Snyder
1cf29c4d20
Fix truncation of comments, broke in f133c4d0b3.
2019-10-04 22:54:17 -04:00
Maarten De Braekeleer
977a767477
Avoid tabs in C output.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-04 21:10:53 -04:00
Wilson Snyder
771a301f66
Commentary: Remove newlines, upsets some patches. No functional change.
2019-10-04 20:17:11 -04:00
Wilson Snyder
a9954a71c3
Fix case statements with strings, bug1536.
2019-10-04 19:13:39 -04:00
Wilson Snyder
967dc24fda
Commentary
2019-10-04 17:42:34 -04:00
Wilson Snyder
e1e45cf13c
Internals: Move option checks to notify().
2019-10-03 22:18:29 -04:00
Wilson Snyder
bd89c71694
Internals: Refactor to avoid V3Global requirements in V3String. No functional change intended.
2019-10-02 21:38:16 -04:00
Stefan Wallentowitz
633131b984
Return vpiModule when it is the scope.
...
Return the vpiModule when it is searched for by name and not the vpiScope,
now that we actually have it (one step further to supporting vpiModule in
complete).
Signed-off-by: Stefan Wallentowitz <[email protected] >
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-02 18:47:12 -04:00
Wilson Snyder
99db18b6c3
Commentary
2019-10-02 18:47:06 -04:00
Todd Strader
961a8e190f
Internals: Remove rogue character.
2019-10-02 08:52:26 -04:00
Stefan Wallentowitz
045ff25f80
Support vpiModule, bug1469.
...
Add very basic support for vpiModule. Basically it allows to traverse
the module tree to find a variable etc. It does not support more than
vpi_iterate and vpi_scan for vpiModule along basic operations like
vpi_get_str on vpiModule.
The support is added non-intrusively to non-VPI verilator runs. It
essentially:
- Tracks the creation of cell instances and keeps them alive until
the emit phase. They are there converted to scopes if modules.
- Emits empty (don't add anything during construction)
VerilatedScopes for all inlined modules, only for those inlined
modules that are on the hierarchical path to public variables.
- Adds VerilatedHierarchy as abstraction to structure of the
scopes. It is only created for VPI designs. It allows to traverse
the hierarchy from the top (NULL).
Signed-off-by: Stefan Wallentowitz <[email protected] >
Signed-off-by: Wilson Snyder <[email protected] >
2019-10-01 21:57:45 -04:00
Wilson Snyder
66209d1114
Tests: Less verbose status.
2019-10-01 21:32:38 -04:00
Todd Strader
3f1fe2d18a
Internals: Travis CI environment.
2019-10-01 06:05:11 -04:00
Wilson Snyder
8b6fb26272
Return good exit status on --help.
2019-09-30 23:15:10 -04:00
Wilson Snyder
881362bb04
Fix clang compile warnings.
2019-09-30 21:55:31 -04:00
Wilson Snyder
239ef1ae6d
Fix misc bad-syntax crashes, bug1533.
2019-09-30 20:00:30 -04:00
Wilson Snyder
9eaec3b5c1
Fix misc bad-syntax crashes, bug1530.
2019-09-30 19:48:01 -04:00
Wilson Snyder
dd4aa948ae
Tests: Have driver report ETA.
2019-09-30 19:22:36 -04:00
Wilson Snyder
12fa085b26
Fix misc bad-syntax crashes, bug1529.
2019-09-30 19:22:14 -04:00
Wilson Snyder
9d6b0d7dd6
Tests: Fix broken contributors check.
2019-09-30 18:56:04 -04:00
Wilson Snyder
a1405dac8e
Fix misc bad-syntax crashes, bug1532.
2019-09-30 18:50:27 -04:00
Todd Strader
cb115e1a15
Commentary
2019-09-30 09:33:17 -04:00
Wilson Snyder
1c7eb89df5
Commentary: Update contributing indentation.
2019-09-29 17:11:13 -04:00
Wilson Snyder
6e91f82a7d
Commentary: Fix logo rendering
2019-09-29 17:09:03 -04:00
Wilson Snyder
17123cd0e0
Add contributing document. Convert internals to asciidoc format. Part of last commit.
2019-09-29 17:05:13 -04:00
Wilson Snyder
3f0c5b7550
WIP
2019-09-29 17:03:07 -04:00
Wilson Snyder
f6e0e9adec
Internals: Use SHA256 instead of insecure SHA1.
2019-09-28 13:32:28 -04:00
Wilson Snyder
dea1531f40
Commentary
2019-09-28 11:38:23 -04:00
Wilson Snyder
edcfaa888d
Commentary
2019-09-28 11:13:30 -04:00
Todd Strader
28b9db1903
Add AstVFile and AstTextBlock, towards bug1490.
2019-09-27 04:24:38 -04:00
Todd Strader
9e64be71a7
Add XSim user run flags
2019-09-27 01:12:53 -04:00
Stefan Wallentowitz
99a8845a96
Fix VerilatedVpioVar vpiMemory/vpiReg accessor, bug1528.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-27 00:01:09 -04:00
Wilson Snyder
be4692772c
Ignore MCD fopenw with --bbox-unsup.
2019-09-26 23:37:22 -04:00
Wilson Snyder
4f315d9078
Fix ugly error on interface misuse, bug1525.
2019-09-25 21:53:01 -04:00
Wilson Snyder
f133c4d0b3
Fix mis-indenting AstComments with C++ symbols.
2019-09-24 19:07:22 -04:00
Wilson Snyder
8490046028
Internals: AstComment optional suppression of at. No functional change intended.
2019-09-23 18:44:45 -04:00
Lukasz Dalek
d6ac351dcb
Add --public-flat-rw switch, bug1511.
...
This switch exposes VARs, PORTs and WIREs to C++ code. It must be use
with care as it has a significant performance impact and may result in
mis-simulation of generated clocks. Anyhow, it is prefered over
--public and useful for VPI.
Signed-off-by: Lukasz Dalek <[email protected] >
Signed-off-by: Stefan Wallentowitz <[email protected] >
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-23 07:56:07 -04:00
Stefan Wallentowitz
502bd6cbd6
Tests: Set VM_PREFIX from test script.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-21 08:26:34 -04:00
Philipp Wagner
d7b6b53c4d
Make callCbs() public.
...
VerilatedVpi::callCbs() can be used by the user to signal
simulation-related callbacks, e.g.
VerilatedVpi::callCbs(cbStartOfSimulation).
The information if any callbacks have been called may be important to
drive an evaluation until no further changes are observed.
Signed-off-by: Lukasz Dalek <[email protected] >
Signed-off-by: Philipp Wagner <[email protected] >
Signed-off-by: Stefan Wallentowitz <[email protected] >
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-21 07:43:20 -04:00
Stefan Wallentowitz
96725b3431
Tests: To allow reuse of cpp files, allow to set the PLI filename.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-19 18:46:45 -04:00
Stefan Wallentowitz
8686ed9b00
Fix vpiType accessor, bug1510.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-18 12:24:19 -04:00
Stefan Wallentowitz
32e1207782
Fix vpiType accessor, bug1509.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-09-18 07:22:59 -04:00
Wilson Snyder
900115bb2d
Fix false warning on backward indexing, bug1507.
2019-09-17 15:17:23 -04:00
Wilson Snyder
3469c78153
Fix bad module name.
2019-09-16 21:09:18 -04:00
Wilson Snyder
baa634343b
Fix config_rev revision detection on old versions.
2019-09-13 07:20:26 -04:00
Wilson Snyder
1471f5691a
Fix error on multidimensional cells, bug1505.
2019-09-12 19:06:26 -04:00
Wilson Snyder
e556269692
Commentary - Spelling fixes
2019-09-12 07:22:22 -04:00
Todd Strader
d1af69f91d
Produce man files with 'make all'
2019-09-11 10:01:18 -04:00
Wilson Snyder
fa904f386c
Commentary - Spelling fixes
2019-09-09 07:50:21 -04:00
Todd Strader
a4daae66de
-LDLIBS isn't an option
2019-09-06 13:04:47 -04:00
Todd Strader
c813026566
Make Syms file honor --output-split-cfuncs, bug1499.
2019-09-04 06:15:41 -04:00
Wilson Snyder
314cd92129
Support $fseek, $ftell, $frewind, bug1496.
2019-09-03 21:28:15 -04:00
Wilson Snyder
3bc260c55d
Fix make test with no VERILATOR_ROOT, bug1494.
2019-09-01 11:15:42 -04:00
Wilson Snyder
4c0f95af10
devel release
2019-08-29 19:12:47 -04:00
Wilson Snyder
35fe205fd6
Version bump
2019-08-29 18:58:38 -04:00
Todd Strader
70cf2582d6
Add XSim support to driver.pl, bug1493.
2019-08-29 17:00:49 -04:00
Todd Strader
ec620387af
Add --dpi-hdr-only, bug1491.
2019-08-27 21:36:59 -04:00
Wilson Snyder
e1e4bde125
Remove old V3ClkGater code
2019-08-27 17:51:06 -04:00
Todd Strader
b947391662
Retain widthSized when simulating
2019-08-12 15:38:58 -04:00
Wilson Snyder
edc0f442e4
Tests: Add tests for bug1487.
2019-08-09 05:45:44 -04:00
Wilson Snyder
562b9551bf
Internals: Remove some unused arguments. No functional change intended.
2019-08-09 04:12:49 -04:00
Wilson Snyder
f74af949da
Remove trailing spaces.
2019-08-08 17:53:49 -04:00
Wilson Snyder
81e806e895
Fix elaboration time errors, bug1429.
2019-08-04 22:34:54 -04:00
Wilson Snyder
7d4958264a
Support arbitrary-argument $warning/$info etc
2019-08-04 21:50:08 -04:00
Wilson Snyder
88b87429dc
Tests: Add elaboration info test.
2019-08-04 21:31:06 -04:00
Wilson Snyder
429f463032
Don't check SYSTEMC environment, for part of CMake support, bug1363.
2019-08-04 20:21:58 -04:00
Wilson Snyder
af4a39603c
Makefile: Run hello world before other examples.
2019-08-04 20:20:29 -04:00
Wilson Snyder
a13d230d8c
Tests: Less verbosity
2019-08-04 15:04:34 -04:00
Wilson Snyder
b7bd5956ea
Concats should be unsigned
2019-08-04 14:48:17 -04:00
Wilson Snyder
1a36e05cc6
Fix core dump on v3Number replace'ed assertions.
2019-08-04 14:14:28 -04:00
Wilson Snyder
71265a8ec9
Internals: Rename unsized functions. No functional change.
2019-08-04 12:39:35 -04:00
Wilson Snyder
3a720204c2
Internals: Remove m_logicMap as m_detailedMap covers it. No functional change intended.
2019-08-04 08:16:24 -04:00
Wilson Snyder
a95f58749f
Fix internal error on gate optimization of assign, bug1475.
2019-08-03 21:49:39 -04:00
Wilson Snyder
9e58ede480
Internals: Rename V3Hashed functions for future commit. No functional change.
2019-08-03 19:05:59 -04:00
Wilson Snyder
cf2ac30f66
Fix date.
2019-08-02 21:39:32 -04:00
Wilson Snyder
68b22a4a3d
Tests: Summarize any skips.
2019-07-30 22:20:37 -04:00
Wilson Snyder
875dc9a27e
--debug doesn't take an arg
2019-07-30 18:40:38 -04:00
Maarten De Braekeleer
1332446f2a
Spelling fixes.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-30 18:27:36 -04:00
Wilson Snyder
6b798830c9
Fix spacing
2019-07-29 21:07:37 -04:00
Wilson Snyder
ffa23b59b8
Tests: Add iff test, bug1482.
2019-07-26 19:31:02 -04:00
Maarten De Braekeleer
7d27461054
Spelling fixes.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-26 12:58:13 -04:00
Maarten De Braekeleer
b3f318d8ab
Add contributor certification.
2019-07-26 12:57:42 -04:00
Todd Strader
4a14788c9b
When showing an error, show the instance location
2019-07-26 12:52:38 -04:00
Wilson Snyder
5560da2934
Commentary
2019-07-26 06:24:26 -04:00
Todd Strader
43ce048f9e
Add rr support
2019-07-25 21:34:09 -04:00
Todd Strader
b045111a67
Refactor SimulateVisitor to use AstConst
2019-07-23 13:58:17 -04:00
Todd Strader
654571bd1c
V3Number cleanup
2019-07-22 15:07:08 -04:00
Todd Strader
a3fd105acb
Add more Travis coverage
2019-07-18 05:31:02 -04:00
Wilson Snyder
97561bf064
When showing an error, show source code.
2019-07-14 21:42:03 -04:00
Wilson Snyder
a4820fc700
Misc minor error cleanups from show-source branch.
2019-07-14 20:59:56 -04:00
Wilson Snyder
ee469eedaf
Fix some errors reporting wrong objects.
2019-07-14 15:06:49 -04:00
Wilson Snyder
a49d819437
Tests: Default test_regress to quiet
2019-07-14 15:04:19 -04:00
Wilson Snyder
cbb9288cb1
Fix some errors reporting wrong objects.
2019-07-14 12:21:39 -04:00
Wilson Snyder
173efbc829
Offer suggestions on bad identifier errors.
2019-07-14 10:08:53 -04:00
Wilson Snyder
0fef3b02ec
Fix some parse tokens having wrong fileline.
2019-07-13 12:01:26 -04:00
Wilson Snyder
d1ee6689c4
Internals: Make V3LanguageWords a singleton.
2019-07-13 08:57:42 -04:00
Wilson Snyder
b3eab9d78a
Tests: Move t_math_synmul to extended tests.
2019-07-12 19:35:28 -04:00
Wilson Snyder
defd05bdd7
Tests: Fix driver checking threads/gcc for extended tests.
2019-07-12 19:35:10 -04:00
Wilson Snyder
a7e5cccf33
In errors, single quote signals and other from-user data.
2019-07-11 22:36:32 -04:00
Wilson Snyder
0f857ce423
In errors, single quote signals and other from-user data.
2019-07-11 22:09:30 -04:00
Wilson Snyder
83cf1882de
Quote reserved word messages, and related internal cleanups.
2019-07-11 20:49:35 -04:00
Wilson Snyder
e17543d6d8
Tests: Fill in some missing error coverage holes.
2019-07-11 20:18:36 -04:00
Wilson Snyder
dacf45fea9
Fix error message continuations to avoid linenumber repetition
2019-07-11 19:15:40 -04:00
Wilson Snyder
13a20c5ee9
Internals: Fix inserted tabs.
2019-07-11 07:05:33 -04:00
Wilson Snyder
58dfe9d071
Internals: Detab and fix spacing style issues. No functional change.
...
When diff, recommend using "git diff --ignore-all-space"
When merging, recommend using "git merge -Xignore-all-space"
2019-07-11 06:57:49 -04:00
Wilson Snyder
6c5cc885a6
Internals: Cleanup FileLine constructors. No functional change intended.
2019-07-10 22:04:58 -04:00
Sebastien Van Cauwenberghe
2c44ab61ac
Fix GDB returning wrong error code on Fedora 30
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-10 06:47:20 -04:00
Sebastien Van Cauwenberghe
0847ea57ae
Docs: Add name to contributors
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-10 06:46:28 -04:00
Wilson Snyder
9af84c71f5
Internals: More UASSERT_OBJ conversions. No functional change intended.
2019-07-07 09:01:36 -04:00
Wilson Snyder
4ce77d3e68
Header mentions public use.
2019-07-07 09:00:57 -04:00
Philipp Wagner
3c67791624
docs: Document parse-order-dependency for config files, bug1474
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-06 18:09:23 -04:00
Philipp Wagner
a281c00752
docs: Contributor signoff
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-06 18:08:22 -04:00
Wilson Snyder
2ca418288d
Fix enum values not being sized based on parent, bug1442.
2019-07-06 16:26:44 -04:00
Wilson Snyder
bea34d0ced
Internals: Misc enum cleanups. No functional change.
2019-07-06 15:50:25 -04:00
Wilson Snyder
a5f2ce0dad
Tests: Disable t_leak on Travis-CI.
2019-07-06 13:47:17 -04:00
Gianfranco Costamagna
07ae7146e3
Honour system flags, this makes debug flags being injected correctly.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-07-06 13:02:36 -04:00
Wilson Snyder
8548ecfdac
Internals: Add UASSERT_OBJ macro to replace hand-done ifs. No functional change intended.
...
This makes it easier to filter out correctly zero code-coverage lines.
2019-07-06 12:57:50 -04:00
Wilson Snyder
7e54ff1b37
Additional lcov code coverage.
2019-07-05 22:30:19 -04:00
Wilson Snyder
a4b9745e6e
Fix lifetime opt dropping
2019-07-05 22:30:19 -04:00
Wilson Snyder
8612ba2b8d
Internals: Commentary and fix gate debug glibc warning
2019-07-05 22:30:19 -04:00
Todd Strader
fea6e047e2
Add Travis badge
2019-07-05 05:26:08 -04:00
Wilson Snyder
01ef7122e9
Internals: Add lcov code coverage markers.
2019-06-30 22:37:03 -04:00
Wilson Snyder
ac43e7322b
Internals: Remove dead code.
2019-06-30 22:11:56 -04:00
Wilson Snyder
02a3f2089f
Include filenames in savable error.
2019-06-30 22:01:53 -04:00
Wilson Snyder
33ad834106
Tests: Close some test coverage holes.
2019-06-30 22:00:18 -04:00
Wilson Snyder
efe739c52f
Tests: Cover --error-limit and update docs (found via coverage).
2019-06-30 21:36:57 -04:00
Wilson Snyder
5cd531a5e0
Tests: Fix glib warning
2019-06-30 21:35:55 -04:00
Wilson Snyder
0e8dfdbb71
Tests: Less verbosity.
2019-06-30 17:45:42 -04:00
Wilson Snyder
ec32a9b976
Tests: Close some test coverage holes.
2019-06-30 17:38:41 -04:00
Wilson Snyder
1aae6df669
Internals: Run graph self tests on --debug-self-test
2019-06-30 17:36:58 -04:00
Wilson Snyder
f7641d2ecc
Change MULTITOP to warning to help linting, see manual.
2019-06-30 16:46:48 -04:00
Wilson Snyder
5f27c41ee3
Test driver: Cleanup rerun flags & status.
2019-06-29 21:36:33 -04:00
Wilson Snyder
51df77099a
Test driver: With --quiet print summary every 15sec or Travis barfs.
2019-06-29 15:58:00 -04:00
Wilson Snyder
b8b7e5c978
Test driver: Add --rerun and --quiet options
2019-06-29 15:24:56 -04:00
Wilson Snyder
dddcfeb482
Test driver: Move one_test, no functional change.
2019-06-29 13:37:01 -04:00
Wilson Snyder
8d63f83177
Tests: Reduce verbosity unless use --verbose
2019-06-29 13:11:30 -04:00
Wilson Snyder
d43e9aa2c5
Fix not in array context on non-power-of-two slices, msg2946.
2019-06-29 11:30:38 -04:00
Wilson Snyder
a2c1b7f827
Tests: Fix t_flag_csplit skip on old make.
2019-06-29 08:25:50 -04:00
Wilson Snyder
2fff92fe78
Tests: Add array MDA test.
2019-06-29 08:12:00 -04:00
Wilson Snyder
ba9af4aabf
For internal messages, use <command-line> and <built-in> to match GCC.
2019-06-29 07:39:34 -04:00
Wilson Snyder
ef02678305
tests: Fix default make test, broke earlier commit.
2019-06-29 07:22:19 -04:00
Wilson Snyder
6990db70fa
Avoid unique internal fileline in selftest.
2019-06-28 22:34:01 -04:00
Wilson Snyder
af5616c077
Fix line number in dup vars.
2019-06-28 22:34:01 -04:00
Todd Strader
009f053d6e
Add initial Travis CI config
2019-06-27 11:26:25 -04:00
Wilson Snyder
6903c52ef7
Tests: Add coverage of missing include error.
2019-06-26 19:12:57 -04:00
Wilson Snyder
aa65dfb1bc
Tests: Use only 2 threads for t_gantt.
2019-06-26 19:06:52 -04:00
Wilson Snyder
84a2cd0ec7
Remove some old DIRPROJECT dead code.
2019-06-26 18:50:38 -04:00
Wilson Snyder
8e7559c6c9
Show included-from filenames in warnings, bug1439.
2019-06-22 17:01:39 -04:00
Wilson Snyder
951521320a
Warnings: Suppress dup lines, and use lowercase note: to match gcc
2019-06-22 16:12:17 -04:00
Wilson Snyder
abc0eb92a0
Debug: Show only first line of suppressed warnings
2019-06-22 14:25:31 -04:00
Wilson Snyder
c514bb26e8
Always internal module wrapper TOP.
2019-06-22 13:43:49 -04:00
Wilson Snyder
5cb6474cc6
Fix not reporting some duplicate signals/ports, bug1462.
2019-06-22 12:43:48 -04:00
Wilson Snyder
b8eb6368e9
Tests: Fix up duplicate var declarations.
2019-06-22 12:32:13 -04:00
Wilson Snyder
6239deb1df
Tests: Disable t_flag_csplit with old make.
2019-06-19 08:44:40 -04:00
Wilson Snyder
89c2a6070a
devel release
2019-06-16 10:01:09 -04:00
Wilson Snyder
c53ea10c75
Version bump
2019-06-16 09:30:56 -04:00
Wilson Snyder
8fa54b1c4d
Add .gitattributes
2019-06-15 21:49:49 -04:00
Wilson Snyder
e5fae03364
docs: Move license files back to top out of docs to appease github.
2019-06-15 21:41:38 -04:00
Wilson Snyder
081fd3b789
Rename to LICENSE to appease github
2019-06-15 17:57:40 -04:00
Wilson Snyder
0edd3c9e95
Tests: Support remote test obj_
2019-06-15 16:37:58 -04:00
Wilson Snyder
659c7b78d5
Warn only once if too few CPUs.
2019-06-15 09:17:51 -04:00
Wilson Snyder
34ef3c9c38
Internals: Assert V3Number ops have different pointers.
2019-06-15 08:10:17 -04:00
Wilson Snyder
90af180ec1
Fix constant function return of function var, bug1467.
2019-06-15 08:03:39 -04:00
Wilson Snyder
0d71c1154d
Fix overshift error to have user's source line.
2019-06-15 07:44:03 -04:00
Alex Chadwick
5da5e32e86
Fix --savable invalid C++ on packed arrays, bug1465.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-06-14 18:42:27 -04:00
Wilson Snyder
ea59a39661
Commentary
2019-06-13 20:53:39 -04:00
Wilson Snyder
f5ca1a04cc
Docs: Rewrite README
2019-06-13 20:51:06 -04:00
Wilson Snyder
b6c905dffc
Move files into docs directory.
2019-06-13 07:19:44 -04:00
Wilson Snyder
e4a3f9b38c
Tests: Remove tabs from golden-output tests. No functional change.
2019-06-12 22:41:51 -04:00
Wilson Snyder
b3e2d26e35
Tests: Remove tabs from golden-output tests. No functional change.
2019-06-12 22:22:36 -04:00
Wilson Snyder
79e9fbaeb7
Tests: Add additional .out files instead of expects.
2019-06-12 21:49:40 -04:00
Wilson Snyder
f5f5cd522b
Tests: Make standard lint() to replace inconsistent compile()
2019-06-12 21:05:02 -04:00
Wilson Snyder
e713c8ce57
Fix not reporting some duplicate signals, bug1462.
2019-06-12 19:17:10 -04:00
Wilson Snyder
94ed817897
Fix debug over-verbosity.
2019-06-12 19:11:26 -04:00
Wilson Snyder
ff360738b5
XML: Remove extranious space on dtypes.
2019-06-12 07:19:14 -04:00
Wilson Snyder
f7f73a0825
Internals: Standardize internal FileLine filenames.
2019-06-12 07:00:56 -04:00
Wilson Snyder
2cedd14d43
Fix build error on MinGW, bug1460.
2019-06-11 21:38:17 -04:00
Wilson Snyder
77c2d49d1a
Internals: Move code out of verilog.y. No functional change.
2019-06-11 21:19:44 -04:00
Wilson Snyder
dd8d5ef687
Internals: Move code out of verilog.l. No functional change.
2019-06-11 21:03:03 -04:00
Wilson Snyder
cfb05cd70a
Whitespace cleanup. No functional change.
2019-06-11 20:20:04 -04:00
Todd Strader
6f2f668449
Fix dotted references to type parameter sizes, bug1458.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-06-11 19:00:24 -04:00
Wilson Snyder
6ffbb7cabf
Internals: Remove extra semicolons. No functional change.
2019-06-11 18:31:06 -04:00
Wilson Snyder
6c1782e4de
Add contributors and test.
2019-06-10 20:29:58 -04:00
Todd Strader
10e3cc6e3b
Tests: Better checking for type param hash fix.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-06-06 19:57:31 -04:00
Todd Strader
34424e70d8
Fix sameHash error on type parameters, bug1456.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-06-05 20:39:42 -04:00
Wilson Snyder
38ad8727af
Tests: Remove CRs.
2019-06-04 20:37:16 -04:00
Wilson Snyder
4e115d4b69
Fix performance when mulithreaded on 1 CPU, bug1455.
2019-06-03 19:13:03 -04:00
Wilson Snyder
f6f8073058
Support logical equivalence operator <->.
2019-06-01 19:40:06 -04:00
Wilson Snyder
902ba752a3
Move many unsupported errors from lex to parser so can --bbox-unsup ignore them.
2019-05-31 21:05:50 -04:00
Wilson Snyder
97d9de3dad
Support deferred assertions, bug1449.
2019-05-31 07:33:57 -04:00
Todd Strader
97fef7c60b
Tests: Fix t_dist_whitespace.pl --golden, bug1451
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-30 20:36:13 -04:00
Wilson Snyder
a58e7d94ec
Error continuation lines no longer have %Error prefix.
2019-05-30 20:30:59 -04:00
Wilson Snyder
c0be8bcefb
Internals: Remove some pointless V3Number temporaries. No functional change intended.
2019-05-29 23:18:47 -04:00
Wilson Snyder
8846b365f4
Fix some memory leaks in V3Const/V3Unroll.
2019-05-29 22:43:26 -04:00
Kanad Kanhere
72eb361131
Fix invalid XML output due to special chars, bug1444.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-29 18:41:03 -04:00
Wilson Snyder
b83b606267
Internals: Detab and fix spacing style issues. No functional change.
...
When diff, recommend using "git diff --ignore-all-space"
When merging, recommend using "git merge -Xignore-all-space"
2019-05-19 16:13:13 -04:00
Wilson Snyder
59d7d9e8c3
Fix real parameter assignment, bug1427.
2019-05-17 20:50:57 -04:00
Kanad Kanhere
3411279294
Internals: Relocate quoteNameControls, part of bug1444.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-16 21:44:01 -04:00
Wilson Snyder
8d6bea8975
nodist: Fix git_untabify --narrow.
2019-05-16 21:32:50 -04:00
Wilson Snyder
01725f662f
Fix $display with string without %s, bug1441.
2019-05-16 21:21:38 -04:00
Wilson Snyder
d841e68f4f
Fix parameter function string returns, bug1441.
2019-05-16 21:16:20 -04:00
Wilson Snyder
13ecb8e177
Fix fault on with %t, bug1443.
2019-05-16 19:35:10 -04:00
Todd Strader
26436cf4dd
Tests: Fix files ignored by t_dist_manifest, bug1438.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-15 19:02:17 -04:00
Wilson Snyder
96c70ea2df
Internals: Fix some long lines in include files. No functional change.
...
When merging, recommend using "git merge -Xignore-all-space"
2019-05-14 22:49:32 -04:00
Wilson Snyder
c8849094fc
Fix spacing of last commit.
2019-05-14 22:05:37 -04:00
Wilson Snyder
afea6d84e3
Mark infrequently called functions with GCC cold attribute.
2019-05-14 22:03:50 -04:00
Wilson Snyder
1fb0af7fba
Internals: Fix some -Wsuggest-attribute=const suggestions.
2019-05-14 21:46:19 -04:00
Wilson Snyder
8ad1a68420
Fix OSX compile issue with -Winvalid-noreturn, bug1440.
2019-05-14 20:51:28 -04:00
Wilson Snyder
6ef7d5f0fd
Internals: Fix spacing of last commit
2019-05-14 06:56:20 -04:00
Todd Strader
d0fbdfac07
Add --quiet-exit, bug1436.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-14 06:47:51 -04:00
Sergey Kvachonok
16997d153f
Fix sign-compare warning in verilated.cpp, bug1437.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-14 06:07:16 -04:00
Wilson Snyder
7777d10e9b
Tests: Check for and remove trailing newlines
2019-05-13 19:47:52 -04:00
Wilson Snyder
00214f738f
Tests: New scope-relevant tests, towards bug1305.
2019-05-13 19:31:24 -04:00
Wilson Snyder
07e6bc17db
Fix error message showing pointer
2019-05-13 19:31:00 -04:00
Wilson Snyder
afdfa4df87
Support VerilatedFstC set_time_unit, bug1433.
2019-05-12 08:19:49 -04:00
Wilson Snyder
1f714c6813
Commentary: Spelling fixes.
2019-05-11 18:42:27 -04:00
Wilson Snyder
5df3032b11
gtkwave: Merge from upstream.
2019-05-09 20:38:48 -04:00
Todd Strader
eac3458647
Internals: V3Number tracks node information, part of bug1305.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-09 20:03:19 -04:00
Wilson Snyder
00efa05b50
devel release
2019-05-08 21:39:23 -04:00
Wilson Snyder
cc1d380864
Version bump
2019-05-08 21:15:56 -04:00
Wilson Snyder
f96942a526
Internals: Detab and fix spacing style issues in include files. No functional change.
...
When merging, recommend using "git merge -Xignore-all-space"
2019-05-08 21:13:38 -04:00
Wilson Snyder
b23fc06388
Internals: Detab and fix spacing style issues in some include files. No functional change.
2019-05-07 23:30:24 -04:00
Wilson Snyder
f818ddc71c
Internals: Detab and fix spacing style issues in tests and scripts. No functional change.
2019-05-07 22:34:09 -04:00
Wilson Snyder
37c8cc82b2
Auto-extend and WIDTH warn on unsized X/Zs, bug1423.
2019-05-07 21:57:38 -04:00
Wilson Snyder
03ebd5554f
Fix table compile error with multiinterfaces, bug1431.
2019-05-06 19:33:54 -04:00
Wilson Snyder
a2a7021914
Reorder VCD codes for better viewer packing.
2019-05-06 18:55:38 -04:00
Wilson Snyder
c6650f88e1
Internals: Remove some uses of AstConst taking V3Number. No functional change intended.
2019-05-03 21:21:18 -04:00
Wilson Snyder
55a25674a2
Add --trace-fst-thread.
2019-05-02 20:33:05 -04:00
Wilson Snyder
05c3d520a6
Test: Ignore tabs on new .out
2019-05-02 20:32:50 -04:00
Wilson Snyder
6b3304320b
For FST tracing use LZ4 compression.
2019-05-02 19:55:16 -04:00
Wilson Snyder
8d15276625
Tests: Use golden_filename consistently.
2019-05-02 19:02:40 -04:00
Todd Strader
354f107fed
Tests: Converting tests to golden files for bug1305.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-02 18:45:32 -04:00
Wilson Snyder
1ff55c20e0
Support "'dx" constants, bug1423.
2019-05-01 20:02:28 -04:00
Todd Strader
9583f0d3cc
Add .git file (not directory) to MANIFEST.SKIP for git worktrees
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-05-01 19:48:27 -04:00
Wilson Snyder
3acb85a005
Fix FST enums not displaying, bug1426.
2019-05-01 19:18:45 -04:00
Wilson Snyder
08d041cb93
Add error when use parameters without value, bug1424.
2019-04-30 19:16:41 -04:00
Wilson Snyder
274b2002c2
Fix GTKWave register warning, bug1421.
2019-04-29 05:28:30 -04:00
Todd Strader
681e91f9d8
Fix FST documentation, bug1419.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-04-28 17:53:58 -04:00
Wilson Snyder
6e333bd9ab
Fix test problems when missing fst2vcd, bug1417.
2019-04-10 20:51:38 -04:00
Larry Lee
6a331e37fc
Fix missing VL_SHIFTL_ errors, bug1412, bug1415.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-04-05 19:32:25 -04:00
Sergey Kvachonok
d8a020905a
Fix MinGW GCC 6 printf formats, bug1413.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-04-02 18:24:36 -04:00
Wilson Snyder
efa6f4cd95
Fix extraction, part of fix missing VL_SHIFTL_QQW error, bug1412.
2019-03-28 19:46:39 -04:00
Larry Lee
ca537dc3ed
Fix missing VL_SHIFTL_QQW error, bug1412.
...
Signed-off-by: Wilson Snyder <[email protected] >
2019-03-28 19:11:46 -04:00
Wilson Snyder
3b64f54cea
Support '#' comments in , bug1411.
2019-03-27 07:40:14 -04:00
Wilson Snyder
32c1e38b84
devel release
2019-03-23 21:14:30 -04:00
Wilson Snyder
a7aa8820e1
Version bump
2019-03-23 21:00:07 -04:00
Wilson Snyder
2582a83376
Unsupported error on select of concatenation
2019-03-13 19:52:23 -04:00
Wilson Snyder
0094cd7a81
Internals: Spacing fixes. No functional change.
2019-03-13 19:47:47 -04:00
Wilson Snyder
d9b33d74a4
Support void' cast on functions called as tasks, bug1383.
2019-03-10 15:12:20 -04:00
Wilson Snyder
539a773ea7
Add IGNOREDRETURN warning.
2019-03-10 14:57:01 -04:00
Wilson Snyder
b1831d7e33
Fix +1364-1995ext flags applying too late, bug1384.
2019-03-10 14:09:22 -04:00
Wilson Snyder
b8ccb7a4c1
Fix maintainer test when no Parallel::Forker, msg2630.
2019-03-10 12:14:58 -04:00
Wilson Snyder
0eb75a41bb
Fix perl 5.38 warning.
2019-03-10 12:14:02 -04:00
Wilson Snyder
4cc47e3297
Tests: Cleanup spacing/style. No functional change.
2019-03-10 09:25:23 -04:00
Wilson Snyder
7bf3366041
Support .
2019-03-07 20:56:53 -05:00
Wilson Snyder
c4b9f4bccf
Tests: Remove old verilator_file_descriptor
2019-03-07 18:29:44 -05:00
Wilson Snyder
455c552132
Fix MSVC compile error, bug1406.
2019-03-04 20:29:01 -05:00
Wilson Snyder
f26fb51509
Commentary, bug1339.
2019-03-01 20:14:48 -05:00
Wilson Snyder
ab3c6576ed
Report PORTSHORT errors on concat constants, bug 1400.
2019-02-27 21:06:07 -05:00
Wilson Snyder
d1bd994113
Commentary, bug1399.
2019-02-26 18:56:13 -05:00
Wilson Snyder
d1548b1161
Commentary
2019-02-26 18:24:46 -05:00
Wilson Snyder
8a43f41ed6
Fix $value$plus$args missing verilated_heavy.h.
2019-02-15 18:33:52 -05:00
Wilson Snyder
42759e4011
Fix VERILATOR_GDB being ignored, msg2860.
2019-02-12 18:20:40 -05:00
Wilson Snyder
27fa19eb94
Add +verilator+seed, bug1396.
2019-02-04 20:28:17 -05:00
Wilson Snyder
426ed8589b
devel release
2019-01-28 07:30:42 -05:00
Wilson Snyder
44e53129a0
Version bump
2019-01-27 21:31:05 -05:00
Wilson Snyder
cf2e8f7a9c
Add sizeof checks on types.
2019-01-25 18:26:14 -05:00
Wilson Snyder
46be6d32c9
Add unsupported for loops error, msg2692.
2019-01-22 19:25:00 -05:00
Wilson Snyder
93d1fd6bb5
Commentary, msg2820
2019-01-22 18:46:47 -05:00
Wilson Snyder
f700a73b3e
Fix cygwin warning on fstapi, msg2770.
2019-01-20 14:16:09 -05:00
Wilson Snyder
abd69167ef
Commentary
2019-01-18 18:15:07 -05:00
Wilson Snyder
60f2f176a2
Fix DPI export void compiler error, bug1391.
2019-01-16 00:38:42 -05:00
Wilson Snyder
3a51e84ebc
For XML, fix extends, bug1372.
2019-01-13 20:59:15 -05:00
Wilson Snyder
a2a09253a2
Internals: Show static funcs.
2019-01-12 09:43:24 -05:00
Wilson Snyder
ef884143d1
Add circular typedef error, bug1388.
2019-01-12 09:33:57 -05:00
Wilson Snyder
62a7d713a7
Fix internal error on xrefs into unrolled functions, bug1387.
2019-01-06 17:38:27 -05:00
Wilson Snyder
aaf5b7c2c0
Fix uninitialized data in unroller, bug1386. [Al Grant]
2019-01-06 16:56:56 -05:00
Wilson Snyder
30aa180211
Internals: Use pushDelete for empty unrolls. Theoretical problem only.
2019-01-05 06:53:26 -05:00
Wilson Snyder
0d4270c979
Turn off temporary debug message.
2019-01-05 06:01:22 -05:00
Wilson Snyder
3505486ec8
Internals: Spacing; fix assertion
2019-01-05 05:46:37 -05:00
Wilson Snyder
9b0f2cce86
Copyright year update
2019-01-05 05:46:23 -05:00
Wilson Snyder
0e1f8db0d1
Fix uninitialized data in verFiles.dat, bug1385.
2019-01-05 04:58:14 -05:00
Wilson Snyder
8a4aeddbb0
Copyright year update.
2019-01-03 19:17:22 -05:00
Wilson Snyder
e8636f987f
Fix missing too many digits warning, bug1380.
2019-01-03 19:03:27 -05:00
Wilson Snyder
0198a2e9f3
Fix error when no modules in , bug1381.
2019-01-02 18:38:49 -05:00
Wilson Snyder
db92ab47ba
For --xml, add additional information, bug1372.
2019-01-02 07:16:37 -05:00
Wilson Snyder
47107a5a36
Fix FST tracing of wide arrays, bug1376.
2018-12-18 20:49:44 -05:00
Wilson Snyder
e01c9df35e
Fix error when pattern assignment has too few elements, bug1378.
2018-12-18 20:41:14 -05:00
Wilson Snyder
8f16557499
Tests: Less verbose
2018-12-12 22:19:33 -05:00
Wilson Snyder
89fb57e54f
For --xml, add additional information, bug1372.
2018-12-12 22:12:31 -05:00
Wilson Snyder
8a3e9748b3
For --xml, add additional information, bug1372.
2018-12-10 19:11:35 -05:00
Wilson Snyder
66b23be746
For --xml, add additional modport information, bug1372.
2018-12-10 07:25:44 -05:00
Wilson Snyder
f0cdae129e
Removed --trace-lxt2, use --trace-fst instead.
2018-12-06 19:06:20 -05:00
Wilson Snyder
ede7236945
For --xml, add additional var information, bug1372.
2018-12-06 07:12:39 -05:00
Wilson Snyder
a226111829
Fix fst_config compile error on MINGW, msg2670.
2018-12-06 07:12:21 -05:00
Wilson Snyder
49edcbc2ac
Internals: Misc cleanup. No functional change.
2018-12-06 06:56:39 -05:00
Wilson Snyder
6050ab311e
Commentary
2018-12-05 20:14:22 -05:00
Wilson Snyder
83b5c981d0
devel release
2018-12-01 15:07:31 -05:00
Wilson Snyder
2685037ca2
Version bump
2018-12-01 14:52:21 -05:00
Wilson Snyder
940dc98c66
Add CONTASSREG error on continuous assignments to regs, bug1369.
2018-12-01 10:12:10 -05:00
Wilson Snyder
49353784fd
Fix __Slow files getting compiled with OPT_FAST, bug1370.
2018-11-29 20:35:21 -05:00
Wilson Snyder
2e5919549c
Tests: Separate make_main flag from verilator_make_gcc flag.
2018-11-29 19:50:09 -05:00
Wilson Snyder
8170391573
Internals: Fix spacing of comments. No functional change.
2018-11-28 19:59:10 -05:00
Wilson Snyder
61e4b0a472
Add IMPORTSTAR warning on import::* inside scope.
2018-11-28 18:25:34 -05:00
Wilson Snyder
15af706286
Fix crash due to cygwin bug in getline, bug1349.
2018-11-26 19:09:08 -05:00
Wilson Snyder
2a43410fa6
Tests: Fix buggy size test.
2018-11-26 18:22:20 -05:00
Wilson Snyder
5cc11839b5
Add PROCASSWIRE error on behavioral assignments to wires, msg2737.
2018-11-26 17:58:18 -05:00
Wilson Snyder
d1bfeae026
Tests: Ignore obj_vcs
2018-11-25 21:08:16 -05:00
Wilson Snyder
e0b2c46664
Internals: Function return values act as vars, not wires.
2018-11-25 19:50:53 -05:00
Wilson Snyder
ea61559ab5
Internals: Cleaner name for var. No functional change.
2018-11-25 19:10:18 -05:00
Wilson Snyder
6a5a2a56d7
Internals: Favor AstNetlist for global thread errors, and allow 0 line number error suppression.
2018-11-16 20:49:17 -05:00
Wilson Snyder
5cbf80918f
Tests: Favor golden files over long regexps. No functional change.
2018-11-03 14:59:04 -04:00
Wilson Snyder
196e3a9712
Tests: Reduce timeout when single-threaded testing.
2018-11-03 09:07:28 -04:00
Wilson Snyder
3798b80091
Tests: Fix test instability.
2018-11-03 09:07:11 -04:00
Wilson Snyder
689e4cf1d3
Tests: Have files_identical fail on error
2018-11-01 21:58:39 -04:00
Wilson Snyder
64f11251b6
Fix verilator_coverage not sorting output
2018-11-01 21:39:37 -04:00
Wilson Snyder
6cd2bd2972
Tests: Add golden_filename.
2018-11-01 21:04:19 -04:00
Wilson Snyder
d396c55e34
In --xml-only show module_files and cells ala Verilog-Perl vhier, msg2716.
2018-11-01 19:53:26 -04:00
Wilson Snyder
45c9939a5e
Fix hang on bad pattern keys, bug1364.
2018-11-01 19:03:52 -04:00
Wilson Snyder
ad2929dff0
Support "ref" and "const ref" pins and functions, bug1360.
2018-10-30 20:50:09 -04:00
Wilson Snyder
d3e1dfd3f5
Tests: Add VERILATOR_MAKE override variable.
2018-10-30 20:28:39 -04:00
Wilson Snyder
14b48140bd
In --xml-only show the original unmodified names, msg2716.
2018-10-30 18:17:37 -04:00
Wilson Snyder
7be1678fb0
Fix --trace-lxt2 compile error on MinGW, msg2711.
2018-10-30 07:35:30 -04:00
Wilson Snyder
d464ce1477
Fix unneeded emit comment. No functional change.
2018-10-29 20:48:50 -04:00
Wilson Snyder
0a04f79576
Commentary
2018-10-28 08:16:19 -04:00
Wilson Snyder
b8098098d8
Internals: Refactor input/output to new class in prep for ref support.
2018-10-27 17:29:00 -04:00
Wilson Snyder
dc26815b1c
Tests: Report wide line numbers.
2018-10-27 17:21:07 -04:00
Wilson Snyder
f2028b60af
Internals: Expand git_untabify lines touched.
2018-10-27 16:48:42 -04:00
Wilson Snyder
06c7d8ce3b
Internals: Fix whitespace issues. No functional change, use -b to diff
2018-10-27 10:03:28 -04:00
Wilson Snyder
160505c5a4
devel release
2018-10-27 08:48:12 -04:00
Wilson Snyder
3df9b4230b
Version bump
2018-10-27 08:27:10 -04:00
Wilson Snyder
13163aef24
make distclean should remove .1 files as not in distribution
2018-10-27 08:26:25 -04:00
Wilson Snyder
5c2b5bd782
Internals: Expand git_untabify lines touched
2018-10-26 19:49:36 -04:00
Wilson Snyder
da1ebcb4e4
Add --pp-comments, msg2700.
2018-10-25 21:17:25 -04:00
Wilson Snyder
8dbfc940ba
Internals: Refactor comment parsing. No functional change intended.
2018-10-25 20:46:23 -04:00
Wilson Snyder
e0654dc218
Add --dump-defines.
2018-10-25 19:47:07 -04:00
Patrick Stewart
74a92e739f
Internals: Fix missing static. No functional change.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-10-24 19:40:07 -04:00
Wilson Snyder
304a24d03a
Internals: Fix many clang-tidy issues. No functional change intended.
2018-10-14 18:39:33 -04:00
Wilson Snyder
5ae1ce90ad
Internals: Refactor into cvtToHex function. No functional change.
2018-10-14 16:25:36 -04:00
Wilson Snyder
d87b9d25ca
Internals: Cleanup and standardize include order. No functional change intended.
2018-10-14 13:59:40 -04:00
Wilson Snyder
9bc8d77f39
Includes: Move version to implementation only.
2018-10-14 11:21:09 -04:00
Wilson Snyder
b7e4083e70
Internals: Cleanup temp string inserts for clang-tidy. No functional change.
2018-10-14 11:10:11 -04:00
Wilson Snyder
595419b370
Internals: Sort includes for clang-tidy. No functional change intended.
2018-10-14 07:04:18 -04:00
Wilson Snyder
442e4f35f0
Internals: Cleanup empty string constructors for clang-tidy. No functional change.
2018-10-13 23:06:36 -04:00
Wilson Snyder
e8b8b33ff6
Internals: Cleanup find with chars for clang-tidy. No functional change.
2018-10-13 22:28:59 -04:00
Wilson Snyder
e4d638c73d
Internals: Cleanup string casts. No functional change.
2018-10-13 22:02:39 -04:00
Wilson Snyder
bccb9f794c
Fix Windows .exe not found, bug1361.
2018-10-12 19:13:50 -04:00
Wilson Snyder
fe0dae74c1
include: Upstream update for GTKWave
2018-10-12 06:55:12 -04:00
Wilson Snyder
b59c23d346
Move some unsupported syntax to parser for cleaner errors.
2018-10-11 21:57:07 -04:00
Wilson Snyder
6047049fc7
Fix --trace-lxt2 compile error on MinGW, msg2684.
2018-10-11 21:03:49 -04:00
Wilson Snyder
08e650a2b4
Commentary
2018-10-11 21:00:29 -04:00
Wilson Snyder
11d4d6562f
Commentary
2018-10-10 17:10:59 -04:00
Wilson Snyder
5c9da65606
Fix --trace-lxt2 compile error on MinGW, msg2667.
2018-10-10 06:54:51 -04:00
Wilson Snyder
97d89cce35
Move some unsupported syntax to parser for cleaner errors.
2018-10-08 22:18:09 -04:00
Wilson Snyder
cc45a3dd72
For --trace-fst, save enum decoding information, bug1358.
2018-10-08 07:21:22 -04:00
Wilson Snyder
870918a788
Tests: Dump and test FST trace attributes.
2018-10-07 22:04:49 -04:00
Wilson Snyder
41be66af95
Indent output C code '= {' blocks.
2018-10-07 21:23:45 -04:00
Wilson Snyder
9ad252be34
For --trace-fst, instead of *.fst.hier, put data into *.fst.
2018-10-07 20:47:26 -04:00
Wilson Snyder
1f344ac99e
Fix whitespace on trace function calls. Output changed, but no functional change.
2018-10-07 18:17:45 -04:00
Wilson Snyder
8b738c0022
Compute struct/union/enum names from surrounding typedefs.
2018-10-07 18:07:42 -04:00
Wilson Snyder
57fbf38fb2
Internals: Don't detabify gtkwave files.
2018-10-07 18:00:04 -04:00
Wilson Snyder
4cd01bc99a
Deprecate --trace-lxt2.
2018-10-06 14:13:38 -04:00
Wilson Snyder
fc0cf00b1d
devel release
2018-10-06 10:12:31 -04:00
Wilson Snyder
4333c201f1
Version bump
2018-10-06 09:51:57 -04:00
Wilson Snyder
1f5913a83c
Internals: V3Simulate refactoring prep for future work. No functional change.
2018-10-05 20:26:54 -04:00
Wilson Snyder
159c653b4b
Internals: V3Simulate refactoring prep for future work. No functional change.
2018-10-05 20:06:08 -04:00
Wilson Snyder
47a2e2aeb9
Commentary
2018-10-05 18:47:46 -04:00
Wilson Snyder
98b0d19363
Tests: Add enum to trace test.
2018-10-05 18:38:52 -04:00
Wilson Snyder
24a0873f6d
Commentary
2018-10-05 06:47:18 -04:00
Wilson Snyder
c5fee7c456
Fix flex warning
2018-10-04 20:51:20 -04:00
Wilson Snyder
d11592cadd
Support signal types in FST dumps, bug1358.
2018-10-04 20:24:41 -04:00
Wilson Snyder
8ef9ac7dba
Support in/out directions in FST dumps, bug1358.
2018-10-03 19:51:05 -04:00
Sergi Granell
a5aa0e2b0a
Add GTKWave FST native tracing, bug1356.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-10-02 18:42:53 -04:00
Wilson Snyder
f8ae08c0c2
Internals: Fix whitespace.
2018-10-02 06:31:11 -04:00
Wilson Snyder
72f5d39ace
Rename include/lxt2 to include/gtkwave.
2018-10-01 18:29:04 -04:00
Sergi Granell
5c9801d42c
Commentary
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-09-30 17:34:47 -04:00
Wilson Snyder
c9ee425ed5
Fix replication of 64-bit signal change detects.
2018-09-28 08:36:37 -04:00
Wilson Snyder
1871e2b541
Commentary
2018-09-27 19:58:17 -04:00
Wilson Snyder
3e39c55a97
Tests: Check mod-prefix subnames.
2018-09-27 19:58:13 -04:00
Wilson Snyder
e4d6fa0e3b
include: Update license from GTKWave upstream.
2018-09-27 19:55:00 -04:00
Wilson Snyder
9f8dbc91f2
Support restrict, bug1350.
2018-09-23 15:20:12 -04:00
Wilson Snyder
0e37747d2c
Support $past.
2018-09-23 15:20:01 -04:00
Wilson Snyder
a8519a7a53
Fix MinGW compile issues, msg2636.
2018-09-20 18:09:19 -04:00
Kevin Kiningham
d4159811d2
configure: Fix test for c++03 etc.
2018-09-17 21:47:35 -04:00
Kevin Kiningham
b2ca4995ab
Fix Mac OSX 10.13.6 / LLVM 9.1 compile issues, bug1348.
2018-09-17 18:35:23 -04:00
Wilson Snyder
7876fe94ad
Fix Mac OSX 10.13.6 / LLVM 9.1 compile issues, bug1348.
2018-09-17 06:39:43 -04:00
Wilson Snyder
cc9f7d1ac3
devel release
2018-09-17 06:24:18 -04:00
Wilson Snyder
94c295f26a
Version bump
2018-09-16 17:02:50 -04:00
Wilson Snyder
8c51b5a980
Docs: Add logo to PDF
2018-09-16 17:01:45 -04:00
Wilson Snyder
4f98f84da9
Fix duplicate symbol error on generate tri, bug1347.
2018-09-14 06:56:59 -04:00
Wilson Snyder
63a429dd64
pod2latex: Cleanup latex build in prep for logo
2018-09-13 20:06:10 -04:00
Wilson Snyder
9c3331927b
Fix man files misinstalling; cleanup mkinstalldirs
2018-09-13 19:09:35 -04:00
Wilson Snyder
3a6edae59d
Fix string ?: conditional type resolution, bug1345.
2018-09-12 19:20:15 -04:00
Wilson Snyder
75794e2eaa
Fix number parsing with newline after radix, bug1340.
2018-09-12 19:19:48 -04:00
Wilson Snyder
24efa6c19a
Fix compile error on tracing of string arrays, bug1338.
2018-09-08 01:16:07 -04:00
Wilson Snyder
7a8c5ecfe1
Disable GCC2017, bug1339.
2018-09-03 08:19:43 -04:00
Wilson Snyder
4684f1d4cc
Include sys/types to make sure __WORDSIZE is set, bug1333.
2018-08-31 06:52:12 -04:00
Wilson Snyder
ef5c31b4c9
Fix first clock edge and --x-initial-edge, bug1327.
2018-08-30 20:05:13 -04:00
Wilson Snyder
9d21c5441b
tests: Fix strange verilated-debug flag
2018-08-30 20:04:55 -04:00
Wilson Snyder
24fe724e0b
Commentary
2018-08-30 18:51:02 -04:00
johnjohnlin
acf4a3fa99
Add GTKWave LXT2 native tracing, bug1333.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-08-28 06:41:17 -04:00
Wilson Snyder
3ed8d968ff
Commentary and spacing. No functional change.
2018-08-28 06:30:30 -04:00
Wilson Snyder
45c09f3fae
Fix LLVM thread_safety function
2018-08-27 18:25:58 -04:00
Wilson Snyder
c93d28050e
Fix mkdir on MSYS2, msg2614.
2018-08-27 18:07:52 -04:00
Wilson Snyder
15abb4d590
Fix OS X compile issues, bug1332.
2018-08-27 06:15:12 -04:00
Wilson Snyder
ae98e87222
Fix OS X compile issues, bug1332.
2018-08-26 19:55:02 -04:00
Wilson Snyder
77f6b8cf5f
Use local algorithm for random, bug1332.
2018-08-26 07:07:01 -04:00
Wilson Snyder
573e79a329
Fix OS X compile issues, bug1332.
2018-08-25 17:54:27 -04:00
Wilson Snyder
aaac5d4685
Support string.atoi and similar methods, bug1289.
2018-08-25 13:49:37 -04:00
Wilson Snyder
b02e353ad1
Internals: Fix VERILATOR_NO_OPT_BUILD, broken in recent commit.
2018-08-25 13:11:28 -04:00
Wilson Snyder
80a269f49a
Tests: Add t_param_array3 test, bug1315
2018-08-25 10:36:31 -04:00
Wilson Snyder
75f28fd446
Internals: Fix spacing of function calls. No functional change.
2018-08-25 09:52:45 -04:00
Wilson Snyder
ec538c02d8
MAJOR: Merge develop-v4 into master
2018-08-25 08:01:15 -04:00
Wilson Snyder
f7b93c8718
Fix install test.
2018-08-25 07:55:48 -04:00
Wilson Snyder
18ae08e14a
Commentary
2018-08-25 07:54:06 -04:00
Wilson Snyder
bffe658026
Commentary
2018-08-25 07:53:17 -04:00
Wilson Snyder
789917cd06
Fix Ubuntu 18 warnings.
2018-08-24 18:47:38 -04:00
Wilson Snyder
8f838433df
Internals: Fix spacing and style of v4 changes. No functional change.
2018-08-23 05:22:34 -04:00
Wilson Snyder
0b84222500
Includes: Fix spacing and style in prep for new LXT2. No functional change.
2018-08-22 19:14:06 -04:00
Wilson Snyder
aad5c3ae75
Merge from master
2018-08-22 18:50:19 -04:00
Wilson Snyder
b586e071fb
devel release
2018-08-22 18:49:30 -04:00
Wilson Snyder
c8e437c45c
Version bump
2018-08-22 18:09:06 -04:00
Wilson Snyder
4d034d774d
Merge from master
2018-08-22 17:58:02 -04:00
Wilson Snyder
4627716aa4
Remove extra space in generated func call.
2018-08-21 18:14:32 -04:00
Wilson Snyder
847dbbbaf0
Fix function inlining inside certain while loops, bug1330.
2018-08-21 18:09:40 -04:00
Wilson Snyder
c011842edf
Commentary: Rewrite TODO
2018-07-24 07:37:39 -04:00
Wilson Snyder
aabb7394c3
Merge from master
2018-07-23 19:05:17 -04:00
Wilson Snyder
d90064eaee
Change MODDUP errors to warnings, msg2588.
2018-07-23 18:57:34 -04:00
Wilson Snyder
ec8dbbffed
MAJOR: Add multithreaded model generation.
2018-07-22 20:54:28 -04:00
Wilson Snyder
0070520edb
Fix cppcheck warnings.
2018-07-22 20:41:46 -04:00
Wilson Snyder
8e646bc55f
configure: Add URL
2018-07-22 19:44:03 -04:00
Wilson Snyder
e97dbf9537
Add UNOPTTHREADS, for threads branch.
2018-07-22 12:09:27 -04:00
Wilson Snyder
0ef3baa87d
Merge from master
2018-07-22 11:53:58 -04:00
Wilson Snyder
3a777c2a37
Verilated: Always define VL_RDTSC, though unused; useful for benchmarking.
2018-07-22 11:53:35 -04:00
Wilson Snyder
237f4806bf
Fix doxygen old dir refs.
2018-07-20 19:45:58 -04:00
Wilson Snyder
8ec8c0ea76
Merge from master
2018-07-18 22:43:22 -04:00
Wilson Snyder
dfe66a2b77
Fix whitespace after functions in generated files.
2018-07-18 22:42:05 -04:00
Wilson Snyder
a18d6c8159
Merge from master
2018-07-18 21:34:38 -04:00
Wilson Snyder
a0b09b6450
Remove tabs inside generated files/quotes.
2018-07-18 21:25:21 -04:00
Wilson Snyder
ca24357611
Fix gcc 4.4.7 compile errors
2018-07-16 20:38:31 -04:00
Wilson Snyder
78c16081a4
Assume most branches in bounds, and use branchpred for instruction estimation.
2018-07-15 22:35:44 -04:00
Wilson Snyder
e37dce9d85
Internals: Add new graph algs for future partitioning.
2018-07-15 22:09:27 -04:00
Wilson Snyder
43694ec87c
Continued... Show file and line info when possible on internal graph errors.
2018-07-14 20:44:43 -04:00
Wilson Snyder
22939d7473
Merge from master
2018-07-14 19:27:51 -04:00
Wilson Snyder
9e3a88c41d
Inability to write a file is typically user, not internal error.
2018-07-14 19:22:50 -04:00
Wilson Snyder
cf4bf9b7a5
Show file and line info when possible on internal graph errors.
2018-07-14 18:45:06 -04:00
Wilson Snyder
d065662afc
Internals: Add new UASSERT. Currently unused. No functional change.
2018-07-14 17:44:55 -04:00
Wilson Snyder
70e2538436
Internals: V3InstrCount now shows critical path only for branch. Still not used in develop-v4.
2018-07-14 17:31:36 -04:00
Wilson Snyder
338ebcd6f0
Internal: Minor style cleanups for next merge. No functional change.
2018-07-14 17:27:05 -04:00
Wilson Snyder
ea8b416e91
Internals: Rename recent template. No functional change.
2018-07-09 21:32:10 -04:00
Wilson Snyder
de81593e98
Internals: Template GraphAlg to allow const. No functional change.
2018-07-09 19:15:46 -04:00
Wilson Snyder
84562f98de
Internals: Add GraphWay methods for future graph algs. No functional change.
2018-07-08 22:01:16 -04:00
Wilson Snyder
5520759d9e
Internals: Track dpi import wrapper creation. No functional change.
2018-07-07 08:02:29 -04:00
Wilson Snyder
9156a0e400
Internals: Allow override of initial value for vl_unordered_set()
2018-07-05 20:39:03 -04:00
John Coiner
736bf75a50
tests: Allow cmdline args to override test args.
2018-07-05 18:52:25 -04:00
Wilson Snyder
81ef9b5dd2
Internals: Add V3InstrCount, for threads branch.
2018-07-04 21:52:15 -04:00
Wilson Snyder
2f18a52118
Ignore automake flags passed by Ubuntu builds
2018-07-04 17:09:59 -04:00
Wilson Snyder
f3ed36840e
Update error, bug1322.
2018-07-04 17:09:59 -04:00
Wilson Snyder
129610821f
Ignore automake flags passed by Ubuntu builds
2018-07-03 21:34:50 -04:00
Wilson Snyder
4cd0310516
Update error, bug1322.
2018-07-02 09:11:20 -04:00
Wilson Snyder
8b245138ee
Merge from master
2018-07-01 21:48:18 -04:00
Wilson Snyder
4f962bddd8
Fix std:: build error, bug1322.
2018-06-28 18:55:36 -04:00
Wilson Snyder
02738ec4ea
Warn if using pre-C++11 so find out who needs it.
2018-06-26 17:57:57 -04:00
Wilson Snyder
e8a23cf8bc
Fix to ignore Unicode UTF-8 BOM sequences, msg2576.
2018-06-26 17:57:57 -04:00
Wilson Snyder
39ecfd9900
Internals: rank() public for future optimizers.
2018-06-26 17:57:57 -04:00
Wilson Snyder
d6a7073a2b
Commentary
2018-06-26 17:57:57 -04:00
Wilson Snyder
45eddfb335
Warn if using pre-C++11 so find out who needs it.
2018-06-26 07:33:55 -04:00
Wilson Snyder
d4b9b5aba6
Fix to ignore Unicode UTF-8 BOM sequences, msg2576.
2018-06-26 07:11:56 -04:00
Wilson Snyder
b1bf742544
Internals: rank() public for future optimizers.
2018-06-24 18:47:08 -04:00
Wilson Snyder
ebab30d864
Fix new reloop misinserting Vars
2018-06-24 11:22:56 -04:00
Wilson Snyder
cdd70ff8fc
Commentary
2018-06-24 08:08:34 -04:00
Wilson Snyder
ad4c8ee955
Add new reloop optimization for repetitive assignment compression.
2018-06-23 17:07:22 -04:00
Wilson Snyder
2edfe7b8a8
Internals: Ordering internals realigned with thread branch.
2018-06-22 23:01:50 -04:00
Wilson Snyder
3444dad9ce
Internals: Refactoring in prep for next commit. No functional change.
2018-06-22 22:56:58 -04:00
Wilson Snyder
b8842f7e55
Fix clocker attributes to not propagate on concats.
2018-06-22 19:46:27 -04:00
Wilson Snyder
86d85412e1
Merge from master
2018-06-22 18:51:02 -04:00
Wilson Snyder
2b56acb39a
Add git_untabify utility
2018-06-22 07:09:21 -04:00
Wilson Snyder
35a40b4930
Commentary
2018-06-22 06:35:27 -04:00
Wilson Snyder
c1f2b2cf93
*Ordering Change*: Separate initial and settle when ordering. From threads branch.
2018-06-21 23:12:11 -04:00
Wilson Snyder
011e9f3b0a
Internals: Reorder some functions in prep for threads. No functional change.
2018-06-21 23:08:56 -04:00
Wilson Snyder
dddc51b75c
Internals: Rename templated types to be T_*. Use Euler hashing.
2018-06-21 21:14:38 -04:00
Wilson Snyder
5187096bf9
Merge from master
2018-06-21 20:29:24 -04:00
Wilson Snyder
ae33a1ceb1
Tests: Add t_gate_tree test
2018-06-21 20:27:33 -04:00
Wilson Snyder
d225e46e4a
Fix define argument stringification, broke since 3.914.
2018-06-21 08:19:59 -04:00
Wilson Snyder
dcf946b437
Rework V3LifePost to be similar to threading algorithm's.
2018-06-20 23:44:58 -04:00
Wilson Snyder
2a5123f318
Internals: Spacing change in prep for LifePost rewrite from branch. No functional change.
2018-06-20 20:24:11 -04:00
John Coiner
43d07235c9
Tests: Fix sc_main compilation errors.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-06-20 19:01:19 -04:00
Wilson Snyder
1fad055286
Internals: Add TSP solver, for future threads branch.
2018-06-17 21:06:41 -04:00
Wilson Snyder
e89cb1b9f7
Internals: For unordered set, add constant accessor. No functional change.
2018-06-17 10:31:27 -04:00
Wilson Snyder
4c7a397dc4
Merge from master
2018-06-16 18:05:26 -04:00
Wilson Snyder
047a08c999
Internals: Clean some UASSERTs. No functional change.
2018-06-16 18:00:21 -04:00
Wilson Snyder
1d74657bbb
Internals: Remove dead code
2018-06-16 17:59:57 -04:00
Wilson Snyder
7085fdbc27
Internals: Refactor var sorting, merge from threads branch.
2018-06-16 07:45:30 -04:00
Wilson Snyder
4c9c39bd08
Merge from master
2018-06-16 07:32:32 -04:00
Wilson Snyder
ec82243ee6
Fix shrinking new unordered_set_map to save memory. No end-result change intended.
2018-06-15 20:57:07 -04:00
Wilson Snyder
65bb93a6c5
Add OBJCACHE envvar support to examples and generated Makefiles.
2018-06-15 07:13:18 -04:00
Wilson Snyder
6e7f28785e
Internals: Cleanup graph includes. No functional change.
2018-06-15 06:54:03 -04:00
Wilson Snyder
35654b5355
Tests: Backward port from threads branch.
2018-06-15 06:28:33 -04:00
Wilson Snyder
efb2801eeb
Internals: Add orderPreRanked. No functional change.
2018-06-14 20:29:54 -04:00
Wilson Snyder
9f5a4c9b22
Fix cppcheck warnings. No functional change intended.
2018-06-14 19:04:52 -04:00
Wilson Snyder
7fc565a1bd
Merge from master
2018-06-14 19:04:36 -04:00
Wilson Snyder
0eb1d0a84e
Fix cppcheck warnings. No functional change intended.
2018-06-14 18:59:24 -04:00
Wilson Snyder
5d26bca55c
Internals: Remove unneeded returns on asserts.
2018-06-13 18:05:00 -04:00
John Coiner
ba69297c33
Merge branch 'develop-v4' of ssh://git-verilator-jcoiner/git/verilator into develop-v4
2018-06-13 08:23:40 -04:00
John Coiner
8b5dc0b678
Fix nasty performance bug in rehash() that could lead to rehashing everything into one giant bucket, but only for tables with >256K elements, so we never saw it in regression.
2018-06-13 08:20:19 -04:00
Wilson Snyder
5988bba9fb
Merge from master
2018-06-12 21:25:26 -04:00
Wilson Snyder
a15e6f68dd
devel release
2018-06-12 21:22:01 -04:00
Wilson Snyder
77e7e2bf1c
Version bump
2018-06-12 21:20:12 -04:00
Wilson Snyder
1c5c9e2435
cppcheck fixes
2018-06-12 21:14:20 -04:00
Wilson Snyder
adfb903469
Merge from master
2018-06-12 05:23:13 -04:00
John Coiner
3e739db7fa
Fix linear searches. bug1316.
2018-06-11 22:05:45 -04:00
John Coiner
c124fe6d0c
Add clones of std::unordered_map and std::unordered_set for pre-C++11 compilers.
2018-06-11 22:05:15 -04:00
James Hutchinson
f0ed4346b2
Fix to be in verilog 2005, bug1319.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-06-08 08:01:22 -04:00
John Coiner
94c8064798
Fix linear search; this is part of the fix for issue 1316.
2018-06-07 12:43:19 -04:00
Wilson Snyder
95da5f90c7
Tests: Fix runflag test stability.
2018-05-29 20:33:04 -04:00
Wilson Snyder
e4a79d643d
Fix error without nodep.
2018-05-29 20:03:58 -04:00
Wilson Snyder
27c7d0c95b
Merge from master
2018-05-29 20:02:07 -04:00
Wilson Snyder
cf0464c263
Internals: Cleanup V3EmitC common code. No functional change. From threads branch.
2018-05-29 19:55:42 -04:00
Wilson Snyder
05a8a9ee28
Remove NULL checks of this, as upsets some compilers.
2018-05-26 08:28:19 -04:00
Wilson Snyder
6268db643c
Commentary
2018-05-25 07:17:38 -04:00
Wilson Snyder
fd98d231e4
Tests: Fix determinism of randomization.
2018-05-25 07:15:29 -04:00
Wilson Snyder
b1ab48b9fc
Include: Fix command line parser hang when threaded.
2018-05-25 07:02:15 -04:00
Wilson Snyder
e4e3294363
Merge from master
2018-05-24 22:18:09 -04:00
Wilson Snyder
92649ba494
includes: Fix VL_RDTSC & misc stuff.
2018-05-24 22:17:44 -04:00
Wilson Snyder
9afa1f7fb9
Commentary
2018-05-20 09:16:37 -04:00
Wilson Snyder
c253b7769e
Merge from master
2018-05-20 09:14:30 -04:00
Wilson Snyder
0efe343494
Renamed --profile-cfuncs to --prof-cfuncs.
2018-05-20 09:12:29 -04:00
Wilson Snyder
f3c9b4fb03
Add runtime arguments.
2018-05-20 08:40:35 -04:00
Wilson Snyder
26c31db75e
Merge from master
2018-05-20 08:37:03 -04:00
Wilson Snyder
84335b9580
Verilated: Cleanup command line parsing. Backport from pending v4 change.
2018-05-20 08:36:39 -04:00
Wilson Snyder
e8b2c57610
Commentary
2018-05-19 14:50:28 -04:00
Wilson Snyder
3d49136e27
Merge from master
2018-05-19 09:32:15 -04:00
Wilson Snyder
5e22ca77ec
Tests: Fix misc multithreaded issues, merge from threads branch.
2018-05-19 09:30:54 -04:00
Wilson Snyder
b6e8133a4d
When tracing, use scalars on single bit arrays to appease vcddiff.
2018-05-19 07:52:07 -04:00
Wilson Snyder
02a22c12ea
Internals: Add missing [] to delete call in verilated_vcd_c.cpp, bug1309
2018-05-17 07:08:11 -04:00
Wilson Snyder
cd4e6b35b3
Internals: Standardize debug() function generation. No functional change intended.
2018-05-14 06:50:47 -04:00
Wilson Snyder
4abf5be9ce
Detect linker requirements for multithreaded runtime.
2018-05-13 19:47:35 -04:00
Wilson Snyder
9ba6fc9279
Merge from master
2018-05-13 19:39:30 -04:00
Wilson Snyder
fe917ba7f4
include: Merge misc thread runtime support.
2018-05-13 19:30:51 -04:00
Wilson Snyder
2c568603f6
Fix latex warning & misc Commentary
2018-05-13 19:21:08 -04:00
Wilson Snyder
05db8ce6c8
Internals: Move iterators to AstNVisitor to avoid null this.
2018-05-10 20:55:37 -04:00
Wilson Snyder
51422e3ee8
Fix parsing error on bad missing #, bug1308.
2018-05-09 18:32:12 -04:00
Wilson Snyder
489f58011b
Merge from master
2018-05-08 21:43:55 -04:00
Wilson Snyder
0ef3c10931
Pull some thread include changes from thread branch.
2018-05-08 21:43:32 -04:00
Wilson Snyder
1759b0826e
Merge from master
2018-05-08 19:43:26 -04:00
Wilson Snyder
35be80f789
Tests: Use vlt_all for any Verilator test.
2018-05-08 19:39:32 -04:00
Wilson Snyder
5f3c9cca11
Merge from master
2018-05-07 20:58:30 -04:00
Wilson Snyder
c29e7619eb
Tests: Support multiple scenario testing.
2018-05-07 20:42:28 -04:00
Wilson Snyder
a265417727
Tests: Cleanup Perl indentations. No functional change.
2018-05-06 22:39:18 -04:00
Wilson Snyder
b69af164f7
Commentary
2018-05-06 20:40:23 -04:00
Wilson Snyder
ff61bb509c
Tests: Fix race and dead code.
2018-05-05 07:44:52 -04:00
Wilson Snyder
f02b99c709
Merge from master
2018-04-30 20:36:26 -04:00
Wilson Snyder
c8ba51581f
Commentary
2018-04-30 20:34:52 -04:00
Wilson Snyder
29f1a9208e
Commentary
2018-04-30 20:00:38 -04:00
John Coiner
542cf9b6e1
Remove errant assert from V3Split
2018-04-13 06:54:53 -04:00
Wilson Snyder
8b954dc381
Additional debug prints
2018-04-12 22:00:34 -04:00
Wilson Snyder
2f7002c5ec
Merge from master
2018-04-10 22:11:49 -04:00
John Coiner
767ac2547d
Misc clang warning fixes.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-04-10 22:05:55 -04:00
Wilson Snyder
a46aa2d62b
Fix verilator_profcfunc on old gprofs.
2018-04-10 22:05:17 -04:00
Todd Strader
9219ddaece
Report interface ports connected to wrong interface, bug1294.
2018-04-04 21:03:43 -04:00
Wilson Snyder
c7c99d8553
Fix parsing "output signed" in V2K port list, msg2540.
2018-03-29 20:10:27 -04:00
John Coiner
422c915c1d
Fix a nondeterminism issue in the new V3Split
2018-03-29 14:03:18 -04:00
Wilson Snyder
1f04d17e77
Merge from master
2018-03-17 12:03:08 -04:00
Wilson Snyder
e3354a0191
devel release
2018-03-17 12:01:59 -04:00
Wilson Snyder
df3d1a4da9
Version bump
2018-03-17 11:56:37 -04:00
Wilson Snyder
3963fe4384
Fix GCC-8 compile error.
2018-03-17 11:33:47 -04:00
Wilson Snyder
38261ac649
Tests: Ignore history file.
2018-03-17 09:25:38 -04:00
Wilson Snyder
e49539fb4c
Internals: Put cell assigns near cell. No functional change intended except statement order.
2018-03-17 08:43:19 -04:00
Wilson Snyder
3cd96cf558
Tests: Print error line in summary file.
2018-03-16 19:54:25 -04:00
Wilson Snyder
02f18fc21b
Merge from master
2018-03-15 23:31:59 -04:00
Wilson Snyder
1bcaaa0f0d
Internals: Cleanup V3Inst unused argument. No functional change intended.
2018-03-15 23:19:43 -04:00
Wilson Snyder
7922a1de28
Internals: Misc cleanups related to V3LinkDot. No functional change intended.
2018-03-15 19:46:05 -04:00
John Coiner
e897c862f2
Tests: t_foreach now checks that all foreach loops get unrolled and evaluated statically.
2018-03-15 19:06:32 -04:00
John Coiner
f55040a38b
Fix severe runtime performance bug in certain foreach loops.
2018-03-15 08:59:52 -04:00
Wilson Snyder
2d580e6939
Support IEEE 1800-2017 as default language.
2018-03-12 22:26:34 -04:00
John Coiner
fc48008c1c
Support
2018-03-12 16:44:01 -04:00
Wilson Snyder
4cf2e4024f
verilator_difftree: Better error.
2018-03-11 16:49:40 -04:00
Wilson Snyder
57c7d77af3
Tests: Future reduction or test.
2018-03-11 16:33:38 -04:00
Wilson Snyder
5652867316
Merge from master
2018-03-11 10:42:44 -04:00
Wilson Snyder
c8cf2afb15
Support assert properties, bug785, bug1290.
2018-03-11 10:37:20 -04:00
Wilson Snyder
d08a91b71e
Fix GCC lint complaint of calling NULL->cloneTree. No functional change intended.
2018-03-10 17:44:17 -05:00
Wilson Snyder
2c30aecc5b
Merge from master
2018-03-10 16:51:34 -05:00
Wilson Snyder
770045676f
Internals: Split some extremely long lines. No functional change.
2018-03-10 16:32:04 -05:00
Wilson Snyder
68cca0e114
Commentary, bug1288
2018-03-10 14:16:37 -05:00
Wilson Snyder
0a1b775ed6
Fix various small node leaks.
2018-03-10 14:10:41 -05:00
Wilson Snyder
54a101acbe
Internals: Fix -DLEAK_CHECKS failing due to visitor destructor being too late.
2018-03-10 12:57:50 -05:00
John Coiner
db1af07d72
On convergence errors, show activity.
2018-03-10 12:52:11 -05:00
John Coiner
ff82f75023
Add --no-debug-leak to reduce memory use under debug.
2018-03-10 12:18:19 -05:00
Wilson Snyder
9ae54786e4
Commentary, bug1288.
2018-03-09 00:04:00 -05:00
Wilson Snyder
22ff760f0b
Support calling system functions as tasks, bug1285.
2018-03-08 23:40:19 -05:00
John Coiner
86fe6ac3a8
Fix quoting of quoted arguments.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-03-08 22:43:29 -05:00
Wilson Snyder
3dccd89c18
Fix missing include for gcc6.4
2018-03-08 21:46:20 -05:00
Tymoteusz Blazejczyk
9f52e23158
Fix verilator_coverage --annotate-min, bug1284.
2018-03-07 19:52:29 -05:00
Wilson Snyder
aed3307214
Enable GCC debug when in debug build
2018-03-03 20:43:14 -05:00
John Coiner
ef3c7bb6a2
Better optimize large always block splitting, bug1244.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-02-28 06:58:41 -05:00
John Coiner
0a887c29f1
Internals: Fix V3LifePost recording assignPre variables.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-02-28 06:57:08 -05:00
Wilson Snyder
e1410775fb
Fix CC warning with flex 2.5.35.
2018-02-28 06:34:03 -05:00
Wilson Snyder
f0ba17a19b
Merge from master.
2018-02-27 07:24:31 -05:00
John Coiner
a7a790416e
Internals: Fix passing bool as int. No functional change.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-02-27 07:16:16 -05:00
Patrick Stewart
fe5c4df079
Support trig functions (() etc), bug1281.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-02-26 04:25:07 -05:00
Wilson Snyder
1376e5de92
Fix pullup/pulldowns on bit selects, bug1274.
2018-02-10 19:08:07 -05:00
Wilson Snyder
7f5b1a402c
Internals: Part of last change, spacing.
2018-02-07 20:29:58 -05:00
Wilson Snyder
22573d238b
Internals: Fix GCC8 cppcheck warnings. No functional change.
2018-02-07 20:16:53 -05:00
Wilson Snyder
32859d9fc2
Fix GCC 8.0 issues
2018-02-07 18:58:21 -05:00
Wilson Snyder
597d28b505
Fix internals to make null-pointer-check clean. Also add more const's. No functional change intended, but likely something will break.
2018-02-01 21:32:58 -05:00
Wilson Snyder
94e8cf1de9
Internals: Use explicit std:: instead of using namespace std. No functional change intended.
2018-02-01 21:24:41 -05:00
Wilson Snyder
33d6205e20
Prepare for version 4 branch
2018-02-01 21:21:21 -05:00
Wilson Snyder
1b12800b8f
devel release
2018-02-01 20:14:40 -05:00
Wilson Snyder
13d11b037a
Version bump
2018-02-01 20:09:58 -05:00
Wilson Snyder
0ca0854cac
Fix compile error with --public and interface bind, bug1264.
2018-02-01 20:07:46 -05:00
Wilson Snyder
1726c71649
Commentary
2018-02-01 19:20:08 -05:00
Wilson Snyder
fd8c29f981
Commentary
2018-02-01 19:18:00 -05:00
Wilson Snyder
e07ee559a0
Tests: Fix gcc7.2 warnings.
2018-01-31 19:27:42 -05:00
Wilson Snyder
097107bd0b
Support 'assume' similar to 'assert', bug1269.
2018-01-31 07:33:10 -05:00
Wilson Snyder
b40b152b87
Fix missing edge type in xml output, msg2480.
2018-01-31 07:29:14 -05:00
Wilson Snyder
3c7fef68c0
Internals: Sort EmitXml visitors. No functional change.
2018-01-31 07:25:10 -05:00
Wilson Snyder
b2322ae873
Fix tracing example file output, bug1268.
2018-01-29 19:07:49 -05:00
Wilson Snyder
e3f137875b
Fix spacing of trace func decls. No functional change.
2018-01-29 19:04:37 -05:00
Wilson Snyder
71fcf45d73
Fix gate optimization out of memory, add --gate-stmts, bug1260.
2018-01-27 15:06:51 -05:00
Wilson Snyder
652b68a5a0
Fix compile error on public real parameters by suppressing, bug1261.
2018-01-24 22:30:30 -05:00
John Coiner
3e0401de1c
Misc harmless cleanups from thread branch.
...
Signed-off-by: Wilson Snyder <[email protected] >
2018-01-24 20:20:26 -05:00
Stefan Wallentowitz
c164024f38
Remove c++filt and fix status code of Makefile, bug1265
...
In the generated Makefile the linker output is piped through c++filt
which was very useful for older linkers. But unfortunately the status
code is lost during the piping. So when the make process is embedded
in a larger setup a failure will not manifest to the outside flow.
As modern linkers do the job of c++filt, this removes it from the
generated Makefile. It will also produce a proper status code then.
Signed-off-by: Wilson Snyder <[email protected] >
2018-01-18 21:25:43 -05:00
Wilson Snyder
bd1f1e8699
Fix compile error on public real parameters by suppressing, bug1261.
2018-01-16 19:53:50 -05:00
Wilson Snyder
7ee6efab74
devel release
2018-01-02 18:13:45 -05:00
Wilson Snyder
3788e90644
Version bump
2018-01-02 18:06:05 -05:00
Wilson Snyder
8e65d93d6d
Copyright year update. No functional change.
2018-01-02 18:05:06 -05:00
Wilson Snyder
4901668f13
Add INFINITELOOP warning, bug1254.
2017-12-26 21:35:08 -05:00
Wilson Snyder
f98940e40a
Fix cppcheck warnings. No functional change.
2017-12-17 18:44:35 -05:00
Wilson Snyder
49fe4d081c
Support DPI open arrays, bug909, bug1245.
2017-12-17 16:28:58 -05:00
Wilson Snyder
3054b36a8d
Internals: Avoid cleaning arrays in prep for openarrays.
2017-12-17 12:53:22 -05:00
Wilson Snyder
b888158907
Fix DPI svGetBitselLogic and svPutPartselLogic.
2017-12-17 12:19:40 -05:00
Tymoteusz Blazejczyk
173f71dca6
Fix SystemC 2.3.2 compile error, bug1251.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-12-17 08:23:22 -05:00
Wilson Snyder
37a931feb4
Internals: Refactor some V3Task code in prep for openarrays. No functional change intended.
2017-12-16 15:46:21 -05:00
Wilson Snyder
79f5c7fbda
Internals: Split verilated_syms.h and rename some methods. No functional change intended.
2017-12-16 10:52:43 -05:00
Wilson Snyder
bf3f111ca4
Internals: Move VLVF flags to common function. No functional change.
2017-12-16 10:07:15 -05:00
Wilson Snyder
9a2a5d3155
Internals: Unroll V3Width task processing, in prep for openarrays. No functional change intended.
2017-12-16 09:36:07 -05:00
Wilson Snyder
2a7c61cd6d
Commentary
2017-12-16 09:35:28 -05:00
Wilson Snyder
51787d68b9
Add error if always_comb has sensitivity list.
2017-12-13 19:49:37 -05:00
Wilson Snyder
33eb0db6f8
Fix resolving inline nested interface names, bug1250.
2017-12-13 19:42:49 -05:00
Wilson Snyder
a0b2727c59
Use power-of-two number of members to align structs
2017-12-11 19:16:49 -05:00
Wilson Snyder
d1b8f53711
Support DPI time and svLogicVal.
...
Note older version incorrectly assumed svBitVal even for logicals.
2017-12-09 20:17:37 -05:00
Wilson Snyder
27b5bfe9b1
DPI: Implement IEEE DPI copy routines.
2017-12-09 17:05:32 -05:00
Wilson Snyder
ea91b10086
Internals: Add charIQWN. Proper capitalization.
2017-12-09 14:44:55 -05:00
Wilson Snyder
08da777b33
Tests: Fix illegal dpi return types, and other cleanups
2017-12-09 14:44:25 -05:00
Wilson Snyder
345657ab32
Workaround GCC/clang bug with huge compile times, bug1248.
2017-12-09 11:52:35 -05:00
Wilson Snyder
1b605ade94
Tests: Fix internal run scripts
2017-12-08 19:40:16 -05:00
Wilson Snyder
b11fa372b1
Fix constant propagation across DPI imports of inout strings.
2017-12-07 20:10:27 -05:00
Wilson Snyder
662ebece71
Support string len() method.
2017-12-07 19:57:11 -05:00
Wilson Snyder
6b6e8dc83e
Use VL_UNCOPYABLE in emitted code. No functional change intended.
2017-12-06 23:26:27 -05:00
Wilson Snyder
d215149c7c
Fix false ALWCOMBORDER on interface references, bug1247.
2017-12-06 21:29:10 -05:00
Wilson Snyder
895fc0911a
Support > 64 bit decimal $display.
2017-12-02 22:10:58 -05:00
Wilson Snyder
754527edfd
verilated internals: Add VL_BITRSHIFT_W. No functional change.
2017-12-02 08:17:20 -05:00
John Coiner
f0217edef1
Internals: Keep a ptr to _eval in AstNetlist, make it easier to find.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-30 18:53:57 -05:00
Wilson Snyder
8f1798cc6f
Fix modport outputs being treated as inputs, bug1246.
2017-11-28 19:11:41 -05:00
John Coiner
631bda395d
Avoid duplicated scans of CFuncs.
...
Trace into non-entry-point functions (most of them) at their call
sites. We'll trace into entry-point functions (like eval) from their parent
scope. We must trace eval_ to reach the tree of calls beneath it.
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-28 18:38:19 -05:00
John Coiner
791d02a753
Internals: Remove dead code. No functional change.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-28 18:29:14 -05:00
Wilson Snyder
54b3f92951
Commentary
2017-11-28 18:21:43 -05:00
Wilson Snyder
45de0599d7
Commentary
2017-11-27 20:11:34 -05:00
John Coiner
331ecdc2e7
Commentary
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-27 19:23:55 -05:00
Wilson Snyder
339a7640a8
devel release
2017-11-27 18:50:14 -05:00
Wilson Snyder
0478dbdd1f
Version bump
2017-11-25 15:42:11 -05:00
Wilson Snyder
38b0e8a777
Fix some clang-analyzer warnings
2017-11-25 15:41:49 -05:00
Wilson Snyder
fe9f1add6f
examples: Fix wide signal overflow, and stop on errors.
2017-11-25 15:14:31 -05:00
Wilson Snyder
ae9179f412
Fix partial slicing with pattern assignments, bug991.
2017-11-23 14:55:32 -05:00
Wilson Snyder
4c35a76cdb
Tests: bug795
2017-11-23 11:38:09 -05:00
Wilson Snyder
8ca3428fb6
Tests: Add split tests, towards bug1244
2017-11-23 11:30:35 -05:00
Wilson Snyder
7369500bb7
Fix cppcheck warnings
2017-11-23 10:43:34 -05:00
Wilson Snyder
45702e319b
Support $size/$bits/etc on type references.
2017-11-23 10:17:56 -05:00
Wilson Snyder
813468bfe6
Work around bison 3.0 bug printing wrong debug token names
2017-11-23 09:50:15 -05:00
Wilson Snyder
78192308e1
Tests: Favor make -C over cd+make. No functional change.
2017-11-23 08:56:13 -05:00
John Coiner
cb72390b57
Internals: Remove dead loop-related code in V3Order.cpp and V3OrderGraph.h
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-23 08:26:36 -05:00
John Coiner
71b2eeef67
Internals: V3GenClk should scan CFunc internals only at the CCall
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-23 08:21:20 -05:00
Wilson Snyder
57c8590b21
When resolving module names, only use defines if no other choice.
2017-11-22 18:44:19 -05:00
Wilson Snyder
f8ad0a0923
Fix false DECLFILENAME on recursive modules.
2017-11-21 22:01:28 -05:00
Wilson Snyder
7c443ab108
Fix error on "unique case" with no cases.
2017-11-21 21:52:37 -05:00
Wilson Snyder
0d645757e7
Less debug verbosity
2017-11-21 21:52:22 -05:00
Wilson Snyder
dd37c2ea86
Support $error/$warning in elaboration time blocks.
2017-11-21 21:10:42 -05:00
Wilson Snyder
d3032bfc21
Fix flex warning.
2017-11-21 21:10:14 -05:00
Wilson Snyder
bd6ecdfa6f
Fix mis-showing debug message.
2017-11-21 20:04:29 -05:00
Wilson Snyder
3558e70722
Commentary
2017-11-18 17:52:06 -05:00
Wilson Snyder
a579e9273b
Support self-recursive modules, bug659.
2017-11-18 17:42:35 -05:00
Wilson Snyder
21369bec95
Internals: Renames in prep for recursion. No functional change.
2017-11-18 17:40:10 -05:00
Wilson Snyder
d119d10569
Add BSSPACE and COLONPLUS lint warnings.
2017-11-15 20:19:12 -05:00
Wilson Snyder
38988c005c
Fix false unused warning on interfaces, bug1241.
2017-11-14 20:10:25 -05:00
Wilson Snyder
8cc4b588b2
Add error when driving input-only modport.
2017-11-14 19:50:31 -05:00
Wilson Snyder
12607abb33
Remove tabs from --xml output.
2017-11-13 18:24:18 -05:00
Wilson Snyder
562f17ea4b
Fix xml tags on typedefs.
2017-11-13 18:04:13 -05:00
Wilson Snyder
0aea9b7709
Update references to coverage.dat, msg2412.
2017-11-13 07:20:36 -05:00
Wilson Snyder
c0afe96b80
Fix addition of data types to --xml.
2017-11-09 18:04:16 -05:00
John Coiner
5c919cd0de
Fix null dereference crash in width process.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-09 07:43:30 -05:00
Wilson Snyder
f555c93c11
Add data types to --xml.
2017-11-08 21:27:15 -05:00
Wilson Snyder
cbb7cd16d0
Detect MSB overflow when under VL_DEBUG, bug1238.
2017-11-05 21:47:55 -05:00
Wilson Snyder
4d074b5414
Commentary
2017-11-05 13:05:50 -05:00
Wilson Snyder
dfd22b2b07
Examples: Add +trace flag at runtime
2017-11-05 06:51:29 -05:00
John Coiner
6edaef9598
Internals: Fix debugging with null logicp() graphs.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-04 18:12:29 -04:00
John Coiner
f63e946f04
Internals: Add consts. No functional change.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-11-02 18:02:11 -04:00
Wilson Snyder
add5cc8b56
Internals: Add VL_UNCOPYABLE to make classes uncopyable. No functional change intended.
2017-11-01 18:51:41 -04:00
John Coiner
2a4e830bee
Tests: Fix over sensitive line number.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-31 21:22:35 -04:00
Wilson Snyder
eb87232472
Fix stats critical fast path calculation.
2017-10-30 22:38:47 -04:00
Wilson Snyder
52c3031a82
Internals: Rename selfTest, no functional change.
2017-10-30 19:01:58 -04:00
John Coiner
df471e87eb
Internals: Break unnecessary dependencies in V3Order.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-28 13:31:04 -04:00
Wilson Snyder
ec6fae5d1a
Internals: Add const to same() methods. No functional change.
2017-10-28 10:26:34 -04:00
Wilson Snyder
cb422a9a02
Internals: Number astgen from 1 as 0p looks like Op. No functional change.
2017-10-28 08:48:24 -04:00
Wilson Snyder
f91bac7b31
Rewrite include libraries to support VL_THREADED towards future threading
2017-10-26 21:51:51 -04:00
Wilson Snyder
d542921ff7
Tests: Detect old GCC and skip unsupported tests.
2017-10-26 21:48:45 -04:00
Wilson Snyder
ad693d67b2
Mark Verilated functions with multithreaded status. No functional change.
2017-10-26 20:05:42 -04:00
Wilson Snyder
350932e9c0
Fix false failure on clang 3.8
2017-10-26 19:14:05 -04:00
John Coiner
4e98d96755
Internals: Add const's. No functional change intended.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-26 18:42:50 -04:00
Wilson Snyder
c17a9eb5f1
Tests: Fix driver when VERILATOR_ROOT not set.
2017-10-26 07:34:02 -04:00
Wilson Snyder
252ed4c1ae
Fix clang warning
2017-10-26 07:27:47 -04:00
Wilson Snyder
f9fd634fae
Internals: Fix VL_DBG_MSGF va_list corruption in last commit.
2017-10-25 23:01:45 -04:00
Wilson Snyder
c17c81254e
Internals: Use = delete via a macro for a bit of C++11 forward compatibility
2017-10-25 20:00:38 -04:00
Wilson Snyder
5ead61dc7b
Unify format of VL_DEBUG print messages
2017-10-24 22:56:58 -04:00
Wilson Snyder
e403db5877
tests: Simplify includes; HARNESS_UPDATE_GOLDEN to whitespace fix
2017-10-24 19:58:52 -04:00
Wilson Snyder
32874fa848
Internals: Misc VCD code cleanups. No functional change.
2017-10-21 17:53:23 -04:00
Wilson Snyder
b90f383cfe
Add --threads option through to makefiles, unadvertised for now.
2017-10-21 16:41:43 -04:00
Wilson Snyder
eb65984368
Tests: Additional display merge tests. No functional change.
2017-10-21 13:50:31 -04:00
Wilson Snyder
10e0d34140
Refactor verilated_vpi.h to move most code to .cpp. No functional change intended.
2017-10-19 21:33:22 -04:00
Wilson Snyder
f4b00d3c64
Call VL_PRINTF/vl_stop/vl_finish/vl_fatal through wrappers as hook for future MT use.
2017-10-19 19:40:51 -04:00
Wilson Snyder
cc0b780412
Internals: More use of unordered_map/set. No functional change intended.
2017-10-18 18:22:58 -04:00
Wilson Snyder
fbbbe4ec87
Commentary
2017-10-18 17:54:39 -04:00
Wilson Snyder
1372d62186
Remove duplicate class forward declarations.
2017-10-18 17:38:10 -04:00
Ahmed El-Mahmoudy
a69936de74
Spelling fixes
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-16 21:58:47 -04:00
Wilson Snyder
f5dfa1e9c3
Fix MacOS portability, bug1232.
2017-10-15 10:36:50 -04:00
Wilson Snyder
5fb21c2159
devel release
2017-10-14 20:47:25 -04:00
Wilson Snyder
132f61e900
Fix version
2017-10-14 16:20:17 -04:00
Wilson Snyder
0e9be8eea0
Version bump
2017-10-14 16:15:07 -04:00
Wilson Snyder
96f5f66c26
Move generated objects into bin/ to match --prefix installations
2017-10-14 16:09:02 -04:00
Wilson Snyder
bbed4d50ab
Fix clang and cppcheck warnings.
2017-10-14 14:51:57 -04:00
Wilson Snyder
4b7ee8267b
Slicing: Fix off-by-one error earlier this version.
2017-10-14 14:04:15 -04:00
Wilson Snyder
f6a745a4c2
Fix clang warnings.
2017-10-14 14:03:12 -04:00
Wilson Snyder
a23a5505c4
configure: Check compiler works.
2017-10-14 13:20:58 -04:00
Wilson Snyder
21030f0a4f
Internals: C++ style casts. No functional change intended.
2017-10-14 13:00:42 -04:00
Wilson Snyder
d21824cbae
Internals: Refactor verilated_vcd to move singleton into only .cpp. No functional change intended.
2017-10-14 13:00:25 -04:00
Wilson Snyder
124786ad1b
Tests: Require newest compiler with thread test.
2017-10-14 12:57:42 -04:00
Wilson Snyder
f81daac9c0
Fix MacOS portability, bug1231.
2017-10-14 12:56:16 -04:00
Wilson Snyder
db8e8392fa
Fix MacOS portability, bug1230.
2017-10-14 09:00:39 -04:00
Wilson Snyder
5bc2f87d3e
Fix --skip-identical to handle closer timestamps looking at ctime.
2017-10-13 20:34:36 -04:00
Wilson Snyder
de35c90847
Fix float-conversion warning, bug1229.
2017-10-11 19:01:37 -04:00
Wilson Snyder
bc813fddcc
tests: Fix examples when VERILATOR_ROOT not set
2017-10-11 19:01:02 -04:00
Wilson Snyder
13c91f5fce
Internals: Refactor VerilatorSerialize to remove intermediate class. No functional change intended.
2017-10-11 18:55:31 -04:00
Wilson Snyder
ac4690d74b
Internals: Add const's. No functional change
2017-10-10 22:22:17 -04:00
Wilson Snyder
a1a8f17617
Internals: Add const's. No functional change
2017-10-10 20:24:10 -04:00
Wilson Snyder
12be852a43
Fix ` expansion of defines, bug1227, bug1228.
2017-10-10 18:44:10 -04:00
Wilson Snyder
440fbef79b
Untabify examples. No functional change.
2017-10-10 07:18:01 -04:00
Wilson Snyder
e1c221a4d5
Tests: Add t_dist_tabs.pl
2017-10-09 22:08:22 -04:00
Wilson Snyder
e1f1c82d4e
Fix -E duplicating output, bug1226.
2017-10-09 21:08:50 -04:00
Wilson Snyder
3c1b82255e
Change VL_THREADED to use C++11, and compute and test related GCC flags automatically
2017-10-07 21:29:57 -04:00
Wilson Snyder
6bd47b54df
Tests: Add t_include_all. Fix GCC warning when DPI with VPI.
2017-10-07 21:21:12 -04:00
Wilson Snyder
3261a45ec1
configure: Add new _MY_CXX_CHECK_SET. No functional change.
2017-10-07 15:25:23 -04:00
Wilson Snyder
0ac116bb4e
Internals: Favor C++ cast style. No functional change intended.
2017-10-07 15:01:19 -04:00
Wilson Snyder
221e4ff6fe
Fix ` expansion of empty defines, bug1225.
2017-10-07 14:09:33 -04:00
Wilson Snyder
fe80499f9c
Internals: Move preproc DEV expansion when in ifndef, cleanup prep for bug1225.
2017-10-07 14:09:31 -04:00
Wilson Snyder
d3d1f3ab60
Internals: Cleanup preproc in prep for bug1225. No functional change.
2017-10-07 14:09:17 -04:00
Chris Randall
264b888ef2
Add /*verilator tag*/ for XML extraction applications.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-06 07:33:52 -04:00
John Coiner
ba270e09a4
Add --no-relative-cfuncs and related default optimization, bug1224.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-05 18:18:11 -04:00
Wilson Snyder
8281ee1520
Optimize arrayed if assignments
2017-10-04 22:10:44 -04:00
Wilson Snyder
75aab4e9d2
Fix conditional slices and add related optimizations.
2017-10-04 21:27:34 -04:00
Wilson Snyder
b532a47e4a
Internals: Prep for V3Slice rewrite. No functional change intended.
2017-10-04 21:15:19 -04:00
Wilson Snyder
77a3d683e3
Fix unnecessary Vdly variables, bug1224 partial.
2017-10-03 21:26:42 -04:00
Wilson Snyder
c132d0e1fe
Fix extra duplicate multiclk blocks when dtypes differ
2017-10-02 22:58:34 -04:00
Wilson Snyder
1a6348f113
Optimize display+display statements.
2017-10-02 20:25:10 -04:00
Wilson Snyder
89ac6ab594
Fix memory leak in VerilatedVcd dumps, bug1222 partial.
2017-10-02 18:49:00 -04:00
Wilson Snyder
3d1012b73b
Allow disabling BLKLOOPINIT (Intentionally undocumented), part of last commit
2017-10-01 23:36:19 -04:00
Wilson Snyder
c98ad79e68
Allow disabling BLKLOOPINIT (Intentionally undocumented)
2017-10-01 23:23:02 -04:00
Wilson Snyder
82460b0da3
Commentary
2017-10-01 23:06:16 -04:00
Wilson Snyder
0bdc57a14a
Fix lost .tree debug file extensions in recent commit.
2017-10-01 22:17:37 -04:00
Wilson Snyder
33780a09df
Add --x-initial option
2017-10-01 21:31:40 -04:00
John Coiner
a9c9d5ca4b
Fix over-aggressive inlining, bug1223.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-01 18:02:58 -04:00
Wilson Snyder
ab07dbdb9d
Fix over-aggressive inlining, bug1223.
2017-10-01 18:00:27 -04:00
Wilson Snyder
6dd6750985
Remove empty _configure_coverage in emitted code.
2017-10-01 16:44:53 -04:00
John Coiner
59aa0f43d5
Tests: In t_dist_whitespace, indicate what line has errant whitespace
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-10-01 16:09:56 -04:00
Wilson Snyder
04ca6a4307
Fix compiler warning when WIDTH warning ignored on large compare.
2017-10-01 10:21:27 -04:00
John Coiner
c7cbe11ba4
Fix Ubuntu 17.10 issues, bug1223 partial.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-09-30 13:33:14 -04:00
Wilson Snyder
4794093aba
Replaced test_c/test_sc with new examples/ directory.
2017-09-23 21:18:07 -04:00
Wilson Snyder
46e300b2c5
Add --getenv option.
2017-09-23 18:03:39 -04:00
Wilson Snyder
c693e52f6c
Fix false unused warning on line coverage objects
2017-09-23 18:00:44 -04:00
Wilson Snyder
4e2ec09f9a
Tests: The internal test_verilated test directory is moved to be part of test_regress.
2017-09-23 10:49:29 -04:00
Wilson Snyder
cdbae456d5
devel release
2017-09-23 10:11:06 -04:00
Wilson Snyder
379177d2f4
Version bump
2017-09-23 10:04:52 -04:00
Wilson Snyder
fb193d6172
Internals: Ignore gmon.out
2017-09-23 09:52:06 -04:00
Wilson Snyder
16234bb713
Tests: Call driver's run instead of private _run.
2017-09-23 08:50:39 -04:00
Wilson Snyder
3f14e649b5
Internals: Use singleton in place of global
2017-09-23 07:44:52 -04:00
Wilson Snyder
c2e8062f84
Verilated headers no longer "use namespace std;"
2017-09-23 07:32:37 -04:00
Wilson Snyder
5d3fef21b0
Cleanup misc spacing and unneeded stuff in emitted headers.
2017-09-22 22:27:03 -04:00
Wilson Snyder
b64e1b4a49
Fix inverted sync/async message.
2017-09-22 18:57:53 -04:00
Wilson Snyder
89f414b185
Less verbosity for IEEE warnings in earlier commit this rev.
2017-09-21 22:07:49 -04:00
Wilson Snyder
47e13cfdf4
Optimize concat/replicate+replicate.
2017-09-21 21:05:42 -04:00
Wilson Snyder
48d3ce46d8
Commenary
2017-09-21 18:39:23 -04:00
Wilson Snyder
89c8449ec0
Support package export, bug1217.
2017-09-20 21:04:59 -04:00
Xavier Delacour
331fcb633e
Update .gitconfig
2017-09-20 07:57:09 -04:00
Wilson Snyder
bffc2233a0
Commentary about IMPERFECTSCH. Add test.
2017-09-19 21:01:03 -04:00
Wilson Snyder
393b5d48b2
Better optimize Shift-And constructs.
2017-09-19 20:56:17 -04:00
Wilson Snyder
6006cdff2c
Fix wide array indices causing compile error.
2017-09-19 20:04:45 -04:00
Wilson Snyder
d6b10465f3
Improve more errors to note IEEE
2017-09-18 23:06:31 -04:00
Wilson Snyder
b3cf5c4f5f
Improve error to note common :: package errors
2017-09-18 22:54:54 -04:00
Wilson Snyder
3862f2f022
Note IEEE in 32 bit decimal oversized
2017-09-18 22:50:26 -04:00
Wilson Snyder
38ab22bf1d
Simplify VL_CONST_W macro generation for faster compiles.
2017-09-18 21:36:18 -04:00
Wilson Snyder
ce16f7689d
Fix clang 3.8 warnings
2017-09-18 20:05:56 -04:00
Wilson Snyder
b06a329466
Fix GCC 4.4 false warning
2017-09-18 08:30:04 -04:00
Wilson Snyder
c5b24f3850
Internals: Remove dead code, bug1215.
2017-09-18 07:13:58 -04:00
Wilson Snyder
103b956581
Default to -O2 for Verilator itself, for 20%+
2017-09-17 23:25:20 -04:00
Wilson Snyder
63361fc56e
Add performance information to --stats file.
2017-09-17 22:52:57 -04:00
Wilson Snyder
1e9e334929
Internals: Name cleanup. No functional change.
2017-09-16 11:06:35 -04:00
Wilson Snyder
f30d71b0c5
Internals: Better prefetching for ~5%.
2017-09-16 07:55:48 -04:00
Wilson Snyder
fee4aba9ec
Internals: Fix GCC constant warnings.
2017-09-15 18:26:09 -04:00
Wilson Snyder
f1960273a0
Internals: Fix over-aggressive debug
2017-09-15 18:25:52 -04:00
Wilson Snyder
778564e63b
Compling: Turn on -Wextra when using --enable-ccwarn
2017-09-14 23:28:02 -04:00
Wilson Snyder
cf6a69da27
Internals: Fix some cast and fallthrough warnings. No functional change
2017-09-14 23:27:06 -04:00
Wilson Snyder
960b2ed023
Internals: Fix some shadow and other warnings. No functional change
2017-09-14 23:26:23 -04:00
Mike Popoloski
74420550e6
Fix .name connections on interfaces, bug1214.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-09-14 21:24:13 -04:00
Mike Popoloski
cb5887b376
Support module port parameters without defaults, bug 1213.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-09-14 21:20:20 -04:00
Wilson Snyder
41b40157d8
Fix non-colon array of interface modports, bug1212.
2017-09-14 21:15:56 -04:00
Wilson Snyder
b11b693c08
Fix constant function default parameters, bug1211.
2017-09-13 19:47:11 -04:00
Wilson Snyder
256eb4bba0
Support or/and/xor array intrinsic methods, bug1210.
2017-09-13 19:37:47 -04:00
Wilson Snyder
77804b4d38
Fix GCC noreturn compile error, bug1209.
2017-09-13 19:27:59 -04:00
Wilson Snyder
8c9ca7a1b3
Fix LITENDIAN warning on arrayed cells, bug1202.
2017-09-13 19:09:49 -04:00
Wilson Snyder
9d055f8c13
Fix ordering of arrayed cell wide connections, bug1202 partial.
2017-09-12 19:34:10 -04:00
Wilson Snyder
3dacd87dfb
Fix enum ranges without colons, bug1204.
2017-09-12 18:53:57 -04:00
Wilson Snyder
691fbb0c42
Tests: Support newer VCS.
2017-09-12 18:42:58 -04:00
Wilson Snyder
c28a6eef3b
Fix whitespace issues, bug1203.
2017-09-11 19:18:58 -04:00
Wilson Snyder
17fed3fedd
devel release
2017-09-07 21:15:48 -04:00
Wilson Snyder
1448cc56fc
Version bump
2017-09-07 21:10:22 -04:00
Wilson Snyder
074689b5de
SystemPerl mode (-sp-deprecated) has been removed.
2017-09-07 21:08:49 -04:00
Wilson Snyder
8dd612a0a0
Commentary, bug1198.
2017-09-06 20:45:21 -04:00
Wilson Snyder
22fdbba0b5
Update keywords for C++11 etc, msg2325
2017-09-02 21:01:50 -04:00
Wilson Snyder
39b787670b
Update keywords for C++11 etc, msg2325
2017-09-02 20:59:03 -04:00
Wilson Snyder
a221278c05
Commentary
2017-08-31 19:45:53 -04:00
Wilson Snyder
5f26b9ec66
Internals: Remove dead putAlign, bug1093.
2017-08-28 23:01:19 -04:00
Wilson Snyder
48778d0a77
devel release
2017-08-28 22:51:53 -04:00
Wilson Snyder
42d2cbad41
Version bump
2017-08-28 22:46:43 -04:00
Wilson Snyder
cb82c42e35
Test for bug1191.
2017-08-28 22:41:38 -04:00
Wilson Snyder
f13fb330ed
Reenable -Wchar-subscripts and sort flag list
2017-08-14 20:15:24 -04:00
Wilson Snyder
d4bae48ca2
Fix GCC7.1 warning on new alignment
2017-08-14 19:59:21 -04:00
Wilson Snyder
590ad964b1
Add assertion on bad formed lvalues, used to debug bug1187.
2017-08-13 18:08:44 -04:00
Wilson Snyder
d4595df8a4
Fix internal error on unconnected inouts, bug1187.
2017-08-13 18:08:24 -04:00
Wilson Snyder
7b642bcbb4
Support packed struct DPI imports, bug1190.
2017-08-11 19:07:47 -04:00
Wilson Snyder
ca26596695
Fix undefined VL_POW_WWI.
2017-07-12 20:08:32 -04:00
Wilson Snyder
88cf5e5d98
Fix realloc leak on out-of-memory
2017-07-12 18:54:27 -04:00
Wilson Snyder
13f790360d
Fix compile error on unused VL_VALUEPLUSARGS_IW, bug1181.
2017-07-07 07:50:45 -04:00
Wilson Snyder
70daadf987
Fix cpp-check warnings; support XML format 2
2017-07-06 20:25:59 -04:00
Wilson Snyder
9d5004db1c
Fix GCC 7 warnings.
2017-07-06 19:49:34 -04:00
Wilson Snyder
ea82bfcced
Fix GCC 6 warnings.
2017-07-06 19:07:23 -04:00
Wilson Snyder
00a502942e
Fix valueplus exceeding array bounds.
2017-07-06 19:01:35 -04:00
Wilson Snyder
2031bc7fc4
Commentary
2017-07-05 19:06:22 -04:00
Wilson Snyder
3adb22e971
Support x in ,
2017-07-05 18:51:06 -04:00
Wilson Snyder
331ea5116f
devel release
2017-06-22 18:36:29 -04:00
Wilson Snyder
1da5a33f88
Version bump
2017-06-22 18:31:22 -04:00
Wilson Snyder
6c87724af8
Support set_time_unit/set_time_precision in C traces, msg2261.
2017-06-20 19:33:58 -04:00
Wilson Snyder
c7a5ff5e82
Tests: Fix broken vgen test, commentary.
2017-06-20 19:10:18 -04:00
Wilson Snyder
abf2fcf820
Fix .* on interface pins, bug1176.
2017-06-20 18:40:18 -04:00
Wilson Snyder
644c22b08f
Fix extract of packed array with non-zero LSB, bug1172.
2017-06-06 20:06:23 -04:00
Wilson Snyder
c54024a5e6
Fix constant shifts by more than 32-bit numbers, bug1174 continued.
2017-06-05 21:15:31 -04:00
Wilson Snyder
97093fdf81
Fix power operator on wide constants, bug761.
2017-06-05 20:30:01 -04:00
Wilson Snyder
50c4f60c68
Internals: Favor preincrement. No functional change.
2017-06-05 20:16:51 -04:00
Wilson Snyder
f0fb3b78d1
Internals: New VL_ZERO_W for faster inline. Prefer WData for wide. No functional change intended.
2017-06-05 20:04:09 -04:00
Wilson Snyder
9b06178f35
Fix shifts by more than 32-bit numbers, bug1174.
2017-06-05 07:56:59 -04:00
Wilson Snyder
a01c96140b
devel release
2017-05-30 22:04:58 -04:00
Wilson Snyder
02530172e7
Version bump
2017-05-30 22:01:21 -04:00
Wilson Snyder
447d803800
Fix internal clang warnings.
2017-05-24 23:51:15 -04:00
Wilson Snyder
6b04901c4d
Fix testplusargs false width warning, bug1165.
2017-05-19 07:20:41 -04:00
Wilson Snyder
7fb29621c3
Fix interface functions returning wrong parameters, bug996.
2017-05-18 22:49:17 -04:00
Wilson Snyder
b032fce962
Support $value$plusargs with variables, bug1165.
2017-05-18 22:41:43 -04:00
Wilson Snyder
ce879122bb
Fix --assert with complex case statements, bug1164.
2017-05-17 20:15:40 -04:00
Todd Strader
2fa16708b7
Fix non-arrayed cells with interface arrays, bug1153.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-05-10 19:05:42 -04:00
Todd Strader
54bc8608e3
Add stack trace when can't optimize function, bug1158.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-05-09 18:54:15 -04:00
Todd Strader
706a7802cc
Fix non-cutable ordering loops on clock arrays, bug1009.
...
Signed-off-by: Wilson Snyder <[email protected] >
2017-05-09 08:05:21 -04:00
Wilson Snyder
9dc01cf540
Support arrayed parameter overrides, bug1153.
2017-05-02 19:16:54 -04:00
Wilson Snyder
8943ad5966
internals: Remove extra newlines on v3fatalSrc. No functional change.
2017-04-28 20:09:27 -04:00
Wilson Snyder
deb7a1c9c0
Fix non-arrayed cells with interface arrays, bug1153.
2017-04-28 20:03:38 -04:00
Wilson Snyder
96a5445d44
Support ports of array of reals, bug1154.
2017-04-28 06:10:14 -04:00
Wilson Snyder
d693065afb
Fix backwards array interface error message
2017-04-27 06:36:14 -04:00
Wilson Snyder
bdeee35669
Add warning on mis-sized literal, bug1156.
2017-04-26 18:34:01 -04:00
Wilson Snyder
62b3deb90d
Tests: Improve vams to attach wire.
2017-04-04 19:15:15 -04:00
Wilson Snyder
9df9ff59e0
Commentary
2017-04-03 20:02:19 -04:00
Wilson Snyder
23a3271c06
devel release
2017-04-02 08:49:31 -04:00
Wilson Snyder
f4a5aa2e94
Version bump
2017-04-02 08:43:53 -04:00
Wilson Snyder
bdd54eed1c
Commentary
2017-04-02 08:39:33 -04:00
Wilson Snyder
c6a20a72f2
Turn off parser debug in optimized build, msg2203
2017-03-31 17:46:15 -04:00
Wilson Snyder
d7a54b3632
Fix nested structure parameter selects, bug1150.
2017-03-30 19:05:55 -04:00
Wilson Snyder
be6a3d0f10
Fix wreal not handling continuous assign, bug1150.
2017-03-30 18:32:37 -04:00
Wilson Snyder
e9125a3a22
Fix error on parameters with dotted references, bug1146.
2017-03-28 19:55:20 -04:00
Wilson Snyder
c27a60658f
Add error on duplicate pattern assignments, bug1145.
2017-03-23 18:15:03 -04:00
Wilson Snyder
8f2bc6e028
Patch to fix for bug1135.
2017-03-22 17:34:47 -04:00
Wilson Snyder
a6b78cbbee
Fix error on improperly widthed default function, bug984.
2017-03-21 19:27:42 -04:00
Wilson Snyder
182a7076fd
Fix missing error on interface size mismatch, bug1143.
2017-03-21 19:19:28 -04:00
Wilson Snyder
17a9b22dce
Fix cell ranges without colons.
2017-03-21 19:17:15 -04:00
Wilson Snyder
f190d12802
Internals: Avoid coredump debugging bug1135.
2017-03-21 18:22:32 -04:00
Wilson Snyder
b12dd526f9
Fix calling sformatf to display, and elab , bug1139.
2017-03-17 18:40:16 -04:00
Wilson Snyder
473d555dc1
Fix ugly interface-to-non-interface errors, bug1112.
2017-03-17 18:35:53 -04:00
Wilson Snyder
fa9208ccdd
Fix ugly interface-to-non-interface errors, bug1112.
2017-03-17 18:33:49 -04:00
Wilson Snyder
4aa088eb2f
Fix realpath compile issue on MSVC++, bug1141.
2017-03-15 20:08:19 -04:00
Wilson Snyder
8f8147d646
Fix internal error on interface arrays, bug1135.
2017-03-15 20:03:53 -04:00
Wilson Snyder
e637dd2390
Fix internal error on initializing parameter array, bug1131.
2017-03-06 07:20:30 -05:00
Wilson Snyder
c90960fc88
Fix LDFLAGS and CFLAGS not preserving order, bug1130.
2017-02-13 18:11:40 -05:00
Wilson Snyder
da86a1c9f2
Fix previous commit warning
2017-02-13 18:11:22 -05:00
Wilson Snyder
0adb789238
Add --relative-includes.
2017-02-09 18:33:18 -05:00
Wilson Snyder
15082a178b
Add -FI option to force includes,msg2146.
2017-02-09 07:44:36 -05:00
Wilson Snyder
4a0db26c36
Commentary
2017-02-04 13:53:08 -05:00
Wilson Snyder
ad3ea636d5
Fix 2009 localparam syntax, msg2139.
2017-01-26 22:41:32 -05:00
Wilson Snyder
6a238b0514
devel release
2017-01-26 22:41:05 -05:00
Wilson Snyder
e6d7e7e329
Version bump
2017-01-15 12:13:13 -05:00
Wilson Snyder
f942aba855
Support old-style (), bug467.
2017-01-09 19:19:21 -05:00
Wilson Snyder
2f34132275
Fix bad code when tracing array of structs, bug1122.
2017-01-06 18:44:37 -05:00
Wilson Snyder
663b2be065
Tests: bug1104, unsupported.
2016-12-21 21:00:40 -05:00
Wilson Snyder
a1e4d676c3
Fix parsing sensitivity with &&, bug934.
2016-12-21 18:23:14 -05:00
Wilson Snyder
6f28d21207
With --bbox-unsup, suppress desassign and mixed edges, bug1120.
2016-12-21 17:43:19 -05:00
Wilson Snyder
9f115e056e
Commentary
2016-12-21 17:21:44 -05:00
Wilson Snyder
8352ba4af4
Commentary, bug1116
2016-12-03 15:01:55 -05:00
Wilson Snyder
9b06310cbe
Fix internal error on unique casez with --assert, bug1117.
2016-12-03 14:49:51 -05:00
Wilson Snyder
77fe33e57f
Fix internal error on double-for loop unrolling, bug1044.
2016-11-29 20:40:58 -05:00
Wilson Snyder
df58eb9bc7
Commentary
2016-11-27 16:37:51 -05:00
Wilson Snyder
2d0084308d
Internals: Convert AstNUser to non-pointer to avoid NULL call. No functional change intended.
2016-11-27 09:40:12 -05:00
Wilson Snyder
7efa40966a
Internals: Remove second argument to visitors. No functional change intended.
2016-11-27 08:11:38 -05:00
Wilson Snyder
6d644dc764
Internals: V3Width now iterates like others, replacing arg passing. No functional change intended.
2016-11-25 16:48:36 -05:00
Wilson Snyder
b0de0b1176
devel release
2016-11-25 10:55:28 -05:00
Wilson Snyder
c72d473e96
Version bump
2016-11-25 10:35:45 -05:00
Wilson Snyder
c8a91bd46f
Commentary
2016-11-18 21:42:06 -05:00
Wilson Snyder
498f19a6a1
Use VERILATOR_INCLUDE in generated files to allow relocation.
2016-11-18 21:13:56 -05:00
Wilson Snyder
c7a2138ece
Commentary
2016-11-18 20:31:41 -05:00
Wilson Snyder
4078902543
Compiling: Fix flexfix adding new warning back in flex 2.5.35
2016-11-18 19:40:39 -05:00
Wilson Snyder
9e38ed9a39
configure: Better prune unknwon gcc -Wno- flags.
2016-11-18 19:27:29 -05:00
Wilson Snyder
183cabc77d
Internals: Have cloning return node's type to avoid casts. No functional change.
2016-11-08 21:16:22 -05:00
Wilson Snyder
b582e481c6
Commentary in Makefile.in
2016-11-08 18:12:05 -05:00
Wilson Snyder
ad39931e87
Internals: Cleanup uses of accept in V3Width. No functional change.
2016-11-07 19:14:45 -05:00
Wilson Snyder
1ae22e1365
Internals: Cleanup some casts. No functional change.
2016-11-06 11:39:09 -05:00
Wilson Snyder
b748ddfe06
Fix flex 2.6.2 bug, bug1103.
2016-11-06 08:14:05 -05:00
Wilson Snyder
e52f5f1b63
Internals: Remove extraneous castNode() calls. No functional change.
2016-11-05 10:06:43 -04:00
Wilson Snyder
bda4b326ab
Internals: Use mixed case for AstType enums. No functional change.
2016-11-05 09:47:56 -04:00
Wilson Snyder
70ddf32719
Fix error on referencing variable in parent, bug1099.
2016-11-05 08:37:18 -04:00
Stefan Wallentowitz
3edba7b662
Fix type parameters with low optimization, bug1101.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-11-04 22:58:21 -04:00
Wilson Snyder
f74ef650ac
Honor --output-split on coverage constructors, bug1098.
2016-10-23 14:27:57 -04:00
Wilson Snyder
f093c3d78b
Fix error on bad interface name, bug1097.
2016-10-22 08:05:27 -04:00
Wilson Snyder
d933f33bdb
devel release
2016-10-14 19:51:30 -04:00
Wilson Snyder
813d62005d
Version bump
2016-10-14 19:42:18 -04:00
Wilson Snyder
411de9bddf
Commentary.
2016-09-30 18:16:56 -04:00
Wilson Snyder
bd28945374
Untabify
2016-09-30 18:14:42 -04:00
Wilson Snyder
1e4c3751e1
Support foreach, bug1078.
2016-09-19 22:00:13 -04:00
Wilson Snyder
5b6f47cd0f
If VM_PARALLEL_BUILDS=1, use OPT_FAST and OPT_SLOW.
2016-09-19 19:31:09 -04:00
Wilson Snyder
bec8c5bf4c
Commentary
2016-09-19 17:55:43 -04:00
Johan Bjork
15495bb200
Improve Verilation performance on trace duplicates, msg2017.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-09-19 17:54:42 -04:00
Wilson Snyder
999f278971
Fix concats with wide width, bug1088 continued.
2016-09-16 18:54:28 -04:00
Wilson Snyder
7ca1d35a4e
New test.
2016-09-16 18:15:32 -04:00
Wilson Snyder
2117fe414e
Fix error on wide numbers that represent shifts, bug1088.
2016-09-14 20:27:20 -04:00
Wilson Snyder
7d8c51181d
With --no-decoration also shrink output code indents.
2016-09-13 22:53:09 -04:00
Wilson Snyder
c30211cb27
Add --no-decoration to remove output comments, msg2015.
2016-09-13 22:28:07 -04:00
Johan Bjork
901da118e5
Internals: Move prettyName invocation to after option checks in trace and coverage
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-09-12 21:52:40 -04:00
Wilson Snyder
f11757e43a
Fix error on wide shift, msg2005.
2016-09-12 18:31:45 -04:00
Wilson Snyder
3f143317a6
Add error on DPI functions > 32 bits, msg1995.
2016-09-10 08:14:17 -04:00
Wilson Snyder
45d7312dfc
Improve Verilation performance on internal strings, msg1975.
2016-09-08 22:04:14 -04:00
Wilson Snyder
26774eb045
Fix error on wide numbers that represent small msb/lsb, msg1991.
2016-09-08 21:30:35 -04:00
Wilson Snyder
6789d247e2
Fix SystemC compiles with VPI, bug1081.
2016-08-23 18:05:29 -04:00
Johan Bjork
462bc3d707
Clean up disabled tests for bugs already fixed.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-08-23 06:45:25 -04:00
Wilson Snyder
e1755ea6a8
devel release
2016-07-30 10:18:52 -04:00
Wilson Snyder
b4a7e4697e
Version bump
2016-07-30 10:10:35 -04:00
Wilson Snyder
cd61b1d045
Usage check.
2016-07-30 10:05:55 -04:00
Wilson Snyder
24dc36ba4c
Fix comparison of unpacked arrays, bug1071.
2016-07-23 16:58:30 -04:00
Wilson Snyder
e8e4f1777d
Internals: Add cloneType method. Unused - for next checkin.
2016-07-23 16:54:36 -04:00
Wilson Snyder
ae38a26af3
Internals: Cleanup some slice code. No functional change.
2016-07-21 23:07:22 -04:00
Wilson Snyder
8ee94dd7aa
Tests: Smaller verilated test.
2016-07-21 23:03:54 -04:00
Wilson Snyder
e741a29d36
Commentary
2016-07-13 22:51:40 -04:00
Wilson Snyder
be1d275151
Fix Ubuntu 16.04 test failures.
2016-07-12 21:43:16 -04:00
David Horton
31c9e26e2e
Fix compiler warning in GCC 6.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-07-09 04:09:34 -04:00
Wilson Snyder
20ed1ada03
Spelling fixes.
2016-07-09 03:31:22 -04:00
Wilson Snyder
891214fa72
Fix enum values of 11-16 bits wide using .next/.prev, bug1062.
2016-06-15 22:46:34 -04:00
Wilson Snyder
e819e285e2
Fix false warnings on non-power-2 enums using .next/.prev.
2016-06-15 20:13:52 -04:00
Wilson Snyder
171c175e54
devel release
2016-05-18 21:15:33 -04:00
Wilson Snyder
675cbce8cb
Version bump
2016-05-18 21:10:56 -04:00
Wilson Snyder
4f1398f773
Add commandArgsAdd, msg1890.
2016-05-16 22:04:21 -04:00
Wilson Snyder
ae89e399a3
Fix to string, msg1890.
2016-05-16 21:57:49 -04:00
Wilson Snyder
2c9716c64c
Try 2. Fix core dump on Arch Linux/GCC 6.1.1, bug1058.
2016-05-16 21:40:49 -04:00
Wilson Snyder
bc58245abf
Fix core dump on Arch Linux/GCC 6.1.1, bug1058.
2016-05-14 17:56:04 -04:00
Johan Bjork
8c4aa8517e
Fix --output-split of constructors, bug1035.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-05-12 07:19:02 -04:00
Johan Bjork
c0b7a54bb9
Fix removal of empty packages, modules and cells, bug1034.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-05-11 21:44:55 -04:00
Wilson Snyder
6b32bb635d
Change --l2-name default to remove 'v' naming.
2016-05-07 14:10:33 -04:00
Wilson Snyder
691de22ae3
Add --l2-name option for controlling 'v' naming, bug1050.
2016-05-07 14:01:02 -04:00
Wilson Snyder
e64b2d3372
Internals: user#inc now has optional increment value.
2016-05-06 22:26:15 -04:00
Johan Bjork
e190af9d87
Avoid extra clean ANDs after CCalls.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-05-06 21:18:48 -04:00
Johan Bjork
8d14463b18
Fix emitting public enumerations.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-05-05 22:48:53 -04:00
Wilson Snyder
04977ef721
Internals: Show clocker in debug dumps. Part of bug1009.
2016-05-05 22:40:19 -04:00
Wilson Snyder
d84e6875c5
Test case
2016-04-06 19:18:59 -04:00
Wilson Snyder
80678ae7bc
Fix clang 3.8.0 warnings.
2016-03-31 22:26:49 -04:00
Stefan Wallentowitz
482bdab0e0
Support command-line -G/+pvalue param overrides, bug1045.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-03-24 19:14:15 -04:00
Stefan Wallentowitz
b2623b9841
Internals: Add success parameter to parseDouble. No functional change intended.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-03-23 07:48:32 -04:00
Wilson Snyder
9ae40d64f0
Support parameter type, bug376.
2016-03-14 21:51:31 -04:00
Wilson Snyder
cef097b7b7
Internals: Refactoring prep for parameter type branch. No functional change intended.
2016-03-12 20:54:52 -05:00
Wilson Snyder
b840334ad2
devel release
2016-03-01 19:14:04 -05:00
Wilson Snyder
acff683e8e
Version bump
2016-03-01 19:12:14 -05:00
Stefan Wallentowitz
c5332de86d
Support SV strings to readmemh, bug1040.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-03-01 18:57:15 -05:00
Wilson Snyder
90ecf14a0a
Fix pattern assignment width propagation, bug1037.
2016-02-21 23:00:21 -05:00
Wilson Snyder
4945282369
Fix slicing mix of big and little-endian, bug1033.
2016-02-09 22:16:12 -05:00
Wilson Snyder
ca532d23f0
Suppress null compares to avoid compile errors until bug1030 fixed
2016-02-08 22:16:05 -05:00
Wilson Snyder
a509b6a21c
Internals: Fix compares to null, ongoing part of bug1030. No functional change intended.
2016-02-08 22:15:44 -05:00
Wilson Snyder
46229473cb
Fix crash on very deep function trees, bug1028.
2016-02-04 20:47:55 -05:00
Johan Bjork
65be2448dc
Fix elaboration-time display warnings, bug1032.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-02-04 18:38:59 -05:00
Johan Bjork
be74806044
Fix read-after-free error detected by valgrind, bug1031.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-02-04 18:34:08 -05:00
Wilson Snyder
b488666c1e
Fix cppcheck 1.71 issues. No functional change intended.
2016-02-04 18:30:21 -05:00
Wilson Snyder
d1acaea611
Internals: Fix compares to null, ongoing part of bug1030. No functional change intended.
2016-02-03 20:44:31 -05:00
Wilson Snyder
db6e5ce7cf
Internals: Misc code cleanups. No functional change.
2016-02-03 20:43:05 -05:00
Wilson Snyder
d56179df17
Internals: Fix compares to null, part of bug1030. No functional change intended.
2016-02-02 21:02:00 -05:00
Wilson Snyder
850100c9c2
Fix compares to null, part of bug1030.
2016-02-02 19:35:44 -05:00
Wilson Snyder
0725999f0a
flexfix: Match Verilog-perl fix for new gcc.
2016-02-02 19:32:17 -05:00
Johan Bjork
cb2d8259f2
Fix stats and debug print, bug1029
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-01-28 22:20:31 -05:00
Johan Bjork
61a1f3d817
Support inlining interfaces, bug1018.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-01-21 19:11:53 -05:00
Johan Bjork
63f111b7f3
Fix unrolling complicated for-loop bounds, bug677.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-01-21 19:00:19 -05:00
Wilson Snyder
e061eb3003
Fix using short parameter names on negative params, bug1022.
2016-01-20 22:09:11 -05:00
Johan Bjork
29daa58222
Fix stats file containing multiple unroll entries, bug1020.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-01-06 20:53:48 -05:00
Johan Bjork
340cc02171
Avoid dynamic_cast for classes with no children, bug1021.
...
Signed-off-by: Wilson Snyder <[email protected] >
2016-01-06 20:47:44 -05:00
Wilson Snyder
b738d1960a
Copyright year update
2016-01-06 20:36:41 -05:00
Wilson Snyder
38f5b780d7
devel release
2016-01-06 20:33:25 -05:00
Wilson Snyder
fa9dac29e8
Version bump
2015-12-19 10:26:14 -05:00
Wilson Snyder
afc432042f
Fix ternary operation with unpacked array, bug1017.
2015-12-18 18:02:25 -05:00
Wilson Snyder
21cb29baf0
Fix arrayed instances to unpacked of same size, bug1015. Fix slices of unpacked arrays with non-zero LSBs.
2015-12-15 22:37:49 -05:00
Wilson Snyder
e8b5001cfe
Fix model restore crash, bug1013.
2015-12-14 19:58:22 -05:00
Wilson Snyder
849c1e46a2
Fix constant propagation, bug1012.
2015-12-08 22:22:42 -05:00
Wilson Snyder
ebad6cde36
Fix error instead of warning on large concat, msg1768.
2015-12-08 21:25:43 -05:00
Johan Bjork
f920b3945e
Fix dotted generated array error, bug1005.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-12-05 19:58:58 -05:00
Wilson Snyder
178028a70a
Commentary; part of last commit
2015-12-05 19:45:45 -05:00
Todd Strader
5e54d3e41a
Fix interface inside generate, bug1001, bug1003.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-12-05 19:39:40 -05:00
Wilson Snyder
f0af8726e3
Internals: Fix some spacing. No functional change.
2015-12-05 17:12:03 -05:00
Todd Strader
57f2fe77ea
Fix cell [#] to mean # cells.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-12-01 18:23:11 -05:00
Todd Strader
d56ca25089
Tests: Fix false hidden module warning.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-12-01 18:17:26 -05:00
Wilson Snyder
d39ce17dea
Makefiles: Turn off make built-in suffixes.
2015-11-28 17:33:01 -05:00
Johan Bjork
373a68ec8b
Fix dtype indexing into arrays, bug1007.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-24 21:34:07 -05:00
Johan Bjork
5613758ee3
Fix array slicing of non-const indexes, bug1006.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-24 21:28:04 -05:00
Johan Bjork
2102f86909
Fix genvar constant propagation, bug1003.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-22 21:16:13 -05:00
Wilson Snyder
d5ea785de7
Commentary; last commit was bug1004
2015-11-22 21:13:16 -05:00
Johan Bjork
9edd28d2ed
Fix genvar constant propagation from package, bug1003.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-22 20:46:26 -05:00
Wilson Snyder
7698af5178
Tests
2015-11-14 20:53:36 -05:00
Wilson Snyder
52ae451f5c
Fix interface inside generate, bug998.
2015-11-14 09:06:09 -05:00
Wilson Snyder
9254443cd4
Fix casts under generates, bug999.
2015-11-12 22:29:42 -05:00
Johan Bjork
4e4bc7b90f
Fix constant function assigned to packed structs, bug997.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-11 20:49:45 -05:00
Johan Bjork
c7e0f2e196
Fix function calls on arrayed interface, bug994.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-11 20:40:24 -05:00
Wilson Snyder
acabaab6ac
Internals: Avoid tristate coredump.
2015-11-11 20:37:52 -05:00
Wilson Snyder
b0a249f338
Fix display %u, %v, %p, %z, bug989.
2015-11-10 21:12:15 -05:00
Wilson Snyder
0cb5d5cc5a
Internals: Upgrade some C strings to C++
2015-11-10 18:59:48 -05:00
Wilson Snyder
9208c87f91
Tests: Better upper-case display formats.
2015-11-10 07:09:53 -05:00
Johan Bjork
0081ce4a75
Fix size-changing cast on packed struct, bug993.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-06 19:12:17 -05:00
Todd Strader
7850f49963
Fix t_scope_map --verbose test, bug955.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-11-06 18:58:48 -05:00
Wilson Snyder
c72ee41142
Add z to param values to avoid conflicts.
2015-11-05 07:00:04 -05:00
Wilson Snyder
bf5dee955d
Fix real parameters causing bad module names, bug992.
2015-11-04 22:01:21 -05:00
Wilson Snyder
3df23a148a
devel release
2015-11-01 08:20:17 -05:00
Wilson Snyder
0a1b55c296
Version bump
2015-11-01 08:18:54 -05:00
Wilson Snyder
14b8efe4bb
Version bump
2015-11-01 08:14:44 -05:00
Wilson Snyder
64162efebd
Fix commit 379bfd06, crash in commandArgsPlusMatch
2015-11-01 08:14:18 -05:00
Wilson Snyder
faf5e1de51
Internals: Remove some unneeded c_str() calls. No functional change.
2015-10-29 22:19:51 -04:00
Wilson Snyder
0d7b1a7dc7
Remove VlCovCvtToCStr to avoid scary scope issues.
2015-10-29 21:58:00 -04:00
Wilson Snyder
fa63bc6b78
Fix error message on missing interface, bug985.
2015-10-29 21:44:02 -04:00
Wilson Snyder
379bfd062f
Fix crash in commandArgsPlusMatch, bug987.
2015-10-29 21:07:49 -04:00
Jamey Hicks
49108c23f0
Support with non-format arguments, bug467.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-10-27 20:58:31 -04:00
Wilson Snyder
4475060268
Ignore %l in , bug983.
2015-10-27 20:37:52 -04:00
Wilson Snyder
4f269e336d
With --bbox-ignore, don't warn about always order.
2015-10-24 07:24:53 -04:00
Wilson Snyder
4464b13163
Fix dot indexing into arrayed inferfaces, bug978.
2015-10-23 23:06:24 -04:00
Wilson Snyder
215d5f68b0
Fix struct.enum.name method calls, bug855.
2015-10-23 22:57:15 -04:00
Wilson Snyder
281f4e04ee
Fix $fwrite to constant stderr/stdout, bug961.
2015-10-23 21:53:16 -04:00
Wilson Snyder
17a3f9691d
Fix package:scope.scope variable references.
2015-10-23 21:03:35 -04:00
Wilson Snyder
4fde6ee7af
Support elaboration assertions, bug973.
2015-10-23 18:13:25 -04:00
Wilson Snyder
040b1b06d5
Support genvar indexes into arrayed cells, bug517.
2015-10-22 20:13:49 -04:00
Wilson Snyder
b16ea8b719
Tests: With --benchmark, don't time directory change.
2015-10-21 06:54:03 -04:00
Wilson Snyder
cc22847bc3
For --xml, decrease block indent to 2 spaces.
2015-10-20 21:22:00 -04:00
Johan Bjork
3702e17b2e
Backout bug978 fix as is incomplete.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-10-10 07:54:45 -04:00
Wilson Snyder
7abc220fb3
Fix C++ 2014 compile warnings. No functional change.
2015-10-04 13:41:45 -04:00
Wilson Snyder
4fc9a906f6
Internals: Fix cppcheck warnings; add VL_DANGLING. No functional change.
2015-10-04 13:16:35 -04:00
Wilson Snyder
5de83c9805
Internals: Fix cppcheck warnings. No functional change.
2015-10-04 13:11:32 -04:00
Johan Bjork
f71d904a9b
Fix internal error on interface array, bug978.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-10-04 11:17:58 -04:00
Wilson Snyder
318ded4198
Internals: Cleanup cppcheck warnings.
2015-10-03 22:33:06 -04:00
Wilson Snyder
f1874b211f
Support , bug977.
2015-10-03 07:12:56 -04:00
Wilson Snyder
c60ffd7fd9
Fix enum constant propagation, bug970.
2015-10-01 21:15:01 -04:00
Todd Strader
dc57282168
Internal: Fix setBit from earlier commit, bug971.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-09-30 07:02:39 -04:00
Todd Strader
3c336e179f
Fix structure parameter constant propagation, bug968.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-09-29 21:02:33 -04:00
Todd Strader
6bda57da5d
Internals: Fix setBit not clearing X mask.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-09-29 20:59:17 -04:00
Wilson Snyder
9a16001e51
Add --vpi flag, and fix VPI linkage, bug969.
2015-09-25 22:57:28 -04:00
Todd Strader
34870e899f
Add VerilatedScopeNameMap for introspection, bug966.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-09-24 21:08:58 -04:00
Wilson Snyder
d0653f72e2
Fix very long module names, bug937.
2015-09-19 20:12:35 -04:00
Wilson Snyder
64748b7b1d
Internals: Replace FNV hashes with SHA1
2015-09-19 18:49:54 -04:00
Wilson Snyder
7163c8d048
Fix internal error on dotted refs into generates, bug958.
2015-09-18 20:57:27 -04:00
Wilson Snyder
d0ec991bb2
Fix mis-optimizing public DPI functions, bug963.
2015-09-18 19:06:15 -04:00
Wilson Snyder
d458af4454
Commentary, bug965.
2015-09-11 20:18:41 -04:00
Wilson Snyder
9e9e7c33ae
Install commentary, msg1678.
2015-09-03 21:20:19 -04:00
Wilson Snyder
ce7de5ed30
Commentary, bug951
2015-08-16 11:48:05 -04:00
Wilson Snyder
776d8edf52
devel release
2015-08-12 21:42:08 -04:00
Wilson Snyder
5f21385e41
Version bump - commentary fix
2015-08-12 21:40:55 -04:00
Wilson Snyder
94fed93f54
Version bump
2015-08-12 21:34:59 -04:00
Wilson Snyder
a950e4816d
Support extraction of enum bits, bug951.
2015-08-12 21:33:40 -04:00
Wilson Snyder
c87c66efb1
Fix size casts as second argument of cast item, bug950.
2015-08-12 19:37:25 -04:00
Jie Xu
5a5a0006fe
Fix parameters with function parameter arguments, bug952.
...
Signed-off-by: Wilson Snyder <[email protected] >
2015-08-12 19:29:06 -04:00
Wilson Snyder
60b48a6830
Fix coverage documentation, bug954.
2015-08-12 19:18:58 -04:00
Wilson Snyder
5e41350588
Fix makefile with --coverage, bug953.
2015-08-12 19:06:15 -04:00
Wilson Snyder
ff9f5b62ac
bug951 testcase
2015-08-12 08:36:23 -04:00
Wilson Snyder
882913f0ca
Add tracing_on, etc to vlt files, bug932.
2015-07-22 20:14:58 -04:00
Wilson Snyder
2062f7e97b
Fix hashed error with typedef inside block, bug948.
2015-07-22 19:52:11 -04:00
Wilson Snyder
445c83a60d
Fix with SV string, bug947.
2015-07-21 18:36:27 -04:00
Wilson Snyder
1891cfd79a
Fix rounding in trace , bug946.
2015-07-21 13:22:08 -04:00
Wilson Snyder
06d5a7b2bf
Internals: Allow hashing nulls; misc cleanup
2015-07-06 19:37:20 -04:00
Wilson Snyder
5af8a8aa4c
Internals: Hash nulls
2015-07-05 20:31:30 -04:00
Wilson Snyder
dc6b085d8b
Fix MinGW compiler error, bug927.
2015-06-21 21:01:02 -04:00
Wilson Snyder
00759f777e
Fix dpi imports inside generates.
2015-06-16 19:27:18 -04:00
Wilson Snyder
95ac0e61b2
Fix MinGW compiler error, bug927.
2015-06-16 07:13:45 -04:00
Wilson Snyder
6c5884853f
Fix string-to-int space conversion, bug931.
2015-06-12 07:28:44 -04:00
Wilson Snyder
7578ef889f
Fix .c files to be treated as .cpp, bug930.
2015-06-09 07:28:51 -04:00
Wilson Snyder
da254af8d5
Fix MinGW compiler error, bug929.
2015-06-08 07:24:04 -04:00
Wilson Snyder
98123dc422
Verison fix
2015-06-06 14:02:06 -04:00
Wilson Snyder
466909b3d9
devel release
2015-06-06 14:00:23 -04:00
Wilson Snyder
0d4305192a
Version bump
2015-06-06 13:58:26 -04:00
Wilson Snyder
9e61b9f696
Fix width propagation on sized casts, bug925.
2015-06-06 13:43:14 -04:00
Wilson Snyder
491539ff32
Fix MSVC++ compiler error, bug927.
2015-06-04 19:37:03 -04:00
Wilson Snyder
4c29a13a6e
Fix include, part of bug919.
2015-05-16 18:08:20 -04:00
Wilson Snyder
b66e1bdb9e
Fix Ubuntu 15.04 compile warning.
2015-05-15 20:03:29 -04:00
Wilson Snyder
7312de6bc2
Fix sign extension in large localparams, bug910.
2015-05-14 21:46:07 -04:00
Wilson Snyder
1d6bcda014
Add pkg-config .pc file, bug919.
2015-05-13 21:21:29 -04:00
Wilson Snyder
5a747bad7d
Fix width extension on mis-width ports, bug918.
2015-05-13 20:59:13 -04:00
Wilson Snyder
9542783a7e
Internals: Refactor V3Inst static class. No functional change.
2015-05-13 20:56:16 -04:00
Wilson Snyder
a59639413d
Fix part-select in constant function, bug916.
2015-05-09 14:01:54 -04:00
Wilson Snyder
d5eb92a071
Fix preprocessing stringified newline escapes, bug915.
2015-05-07 21:41:54 -04:00
Wilson Snyder
994cde57af
Fix Cygwin uint32 compile, bug914.
2015-05-07 20:41:53 -04:00
Wilson Snyder
238a5809bf
Fix truncation warning with -pins-bv, bug912.
2015-04-28 21:31:25 -04:00
Wilson Snyder
49fa65c0dd
Match Verilog-Perl: Fix Preproc loop under Perl-Tk, bug913.
2015-04-28 15:54:34 -04:00
Wilson Snyder
49123f169c
Fix core dump in sync-async warnings, bug911.
2015-04-27 06:47:29 -04:00
Wilson Snyder
4dc64c387f
Part of prev commit, fix installing missing manpages, bug908.
2015-04-27 06:47:15 -04:00
Wilson Snyder
98a63711dd
Fix installing missing manpages, bug908.
2015-04-09 19:03:01 -04:00
Wilson Snyder
cb95cf4745
devel release
2015-04-09 19:00:02 -04:00
Wilson Snyder
acd48fa61d
Commentary, bug907.
2015-04-09 18:58:01 -04:00
Wilson Snyder
cb7abcbaea
Commentary
2015-04-09 18:57:25 -04:00
Wilson Snyder
793c974480
Version bump
2015-04-05 10:56:20 -04:00
Wilson Snyder
78a321925f
Add Parser useProtected argument to aid runtime, Verilog-Perl bug899.
2015-04-05 10:54:56 -04:00
Wilson Snyder
643572595e
Fix compile warning, msg1613.
2015-03-16 10:08:59 -04:00
Wilson Snyder
fb4d462325
Rename readme for github. Commentary.
2015-03-14 13:45:00 -04:00
Wilson Snyder
c0df07c86f
Commentary: Update contributor list
2015-03-13 07:38:17 -04:00
Wilson Snyder
e918d945f2
Fix order of C style arrays.
2015-03-13 07:06:06 -04:00
Wilson Snyder
0ee5743853
Add --dump-treei-<srcfile>, bug894.
2015-03-12 19:48:04 -04:00
Wilson Snyder
486d69da5f
Add --clk and related optimizations, msg1533.
2015-03-12 19:20:46 -04:00
Wilson Snyder
005b4b7609
Updated - add VerilatedVcdFile to allow real-time waveforms, bug890.
2015-03-05 20:21:48 -05:00
Wilson Snyder
a0fd065dcf
Add VerilatedVcdFile to allow real-time waveforms, bug890.
2015-03-05 08:54:57 -05:00
Wilson Snyder
751384cb5c
Fix compile error on MinGW, bug887.
2015-02-26 20:40:45 -05:00
Wilson Snyder
6ac672b4a3
Fix SystemC arrayed bit vectors, bug886.
2015-02-25 21:09:55 -05:00
Wilson Snyder
a89502be9f
Fix comma-separated instantiations with parameters, bug884.
2015-02-22 11:41:10 -05:00
Wilson Snyder
04e7b3bd4d
devel release
2015-02-12 20:39:20 -05:00
Wilson Snyder
9ebb37b6a5
Version bump
2015-02-12 20:37:44 -05:00
Wilson Snyder
052a7e3deb
Fix sign extension of pattern members, bug882.
2015-02-12 07:47:45 -05:00
Wilson Snyder
108c0f6bb8
Fix configure selecting switches that give warnings.
2015-02-11 21:24:01 -05:00
Wilson Snyder
6ed89b6ca5
New test for bug882.
2015-02-11 19:46:19 -05:00
Wilson Snyder
27ccaffb37
Fix mis-optimizing gate assignments in unopt blocks, bug881.
2015-02-11 19:36:34 -05:00
Wilson Snyder
a001babad2
Fix executable bit on driver.pl from recent change.
2015-02-11 18:14:08 -05:00
Wilson Snyder
32a76c5255
Fix clang warnings.
2015-02-10 22:38:05 -05:00
Wilson Snyder
099f797975
Fix slice connections of arrays to ports, bug880.
2015-02-10 20:24:21 -05:00
Wilson Snyder
b7df3e24b4
Tests: Support -ms for modelsim testing, bug878
2015-02-10 20:16:03 -05:00
Wilson Snyder
8323092a0c
Fix cppcheck warnings. No functional change.
2015-02-09 21:05:27 -05:00
Wilson Snyder
e5af46d3fb
Add warning on slice selection out of bounds, bug875.
2015-01-25 16:32:46 -05:00
Wilson Snyder
a6743588b6
Fix UNOPTFLAT change detect on multidim arrays, bug872.
2015-01-21 20:43:21 -05:00
Wilson Snyder
90cbcd2dfd
Fix non-ANSI modport instantiations, bug868.
2015-01-17 15:35:45 -05:00
Wilson Snyder
a36b7afba5
Fix VM_PARALLEL_BUILDS broke in 3.868, bug870.
2015-01-17 13:31:27 -05:00
Wilson Snyder
4c91ade61d
Copyright year update
2015-01-07 18:25:53 -05:00
Wilson Snyder
f2a17b9b70
Fix $sccanf from string, bug866.
2014-12-24 21:50:38 -05:00
Wilson Snyder
b71b9ccb57
Fix member select error broke in 3.868, bug867.
2014-12-24 19:27:46 -05:00
Wilson Snyder
8b0af19351
Support cast operator with expression size, bug865.
2014-12-23 22:11:31 -05:00
Wilson Snyder
9f7c473376
Suppress COMBDLY when inside always_latch, bug854.
2014-12-23 21:42:33 -05:00
Wilson Snyder
0206767478
devel release
2014-12-20 16:49:42 -05:00
Wilson Snyder
1a3378e0f5
Add --stats-vars, bug851.
2014-12-20 08:28:31 -05:00
Wilson Snyder
5c3eee34a1
Fix underscores in real literals, bug863.
2014-12-19 18:14:32 -05:00
Wilson Snyder
2b5017e610
Fix tracing SystemC signals with structures, bug858. Remove SC tracing of wrapper.
2014-12-10 22:33:28 -05:00
Wilson Snyder
e755c7fdcc
Internals: Rename to avoid off-by-one
2014-11-29 08:56:07 -05:00
Wilson Snyder
8d463b33cd
Fix enum name off-by-one, bug854.
2014-11-29 08:47:03 -05:00
Wilson Snyder
7d9b21a874
Commentary
2014-11-28 21:37:47 -05:00
Wilson Snyder
a118921b21
Fix bare generates in interfaces, bug789.
2014-11-28 21:32:57 -05:00
Wilson Snyder
a1aefd2330
Tests: Check for bug509.
2014-11-28 20:54:55 -05:00
Wilson Snyder
8b511379ac
Tests: Disabled test for static vars
2014-11-28 20:44:07 -05:00
Wilson Snyder
c1593f856d
Support enum.first/name and similar methods, bug848.
2014-11-28 20:34:23 -05:00
Wilson Snyder
93f1d7643d
Fix duplicate Vdimtables and rename
2014-11-28 20:25:58 -05:00
Wilson Snyder
ce4dfb4296
Fix misc string handling issues.
2014-11-28 20:24:42 -05:00
Wilson Snyder
2e5f5010f7
Internals: Make V3Width dimensionValue more generic. No functional change.
2014-11-28 15:51:35 -05:00
Wilson Snyder
7c588c2e30
Tests: Rename test.
2014-11-28 15:11:03 -05:00
Wilson Snyder
43be4cf2b5
Add 'string' printing and comparisons, bug746, bug747, etc.
2014-11-28 15:01:50 -05:00
Wilson Snyder
8b457b9b66
Internal: Rename string functions. No functional change.
2014-11-28 13:50:37 -05:00
Wilson Snyder
25efee2e62
Fix loss of data types in V3Premit. From strings branch.
2014-11-28 10:43:05 -05:00
Wilson Snyder
546c91a940
Fix runtime error with autoflush.
2014-11-28 07:56:21 -05:00
Wilson Snyder
85ebc5f7bd
Fix called with narrow output strings
2014-11-27 12:32:41 -05:00
Wilson Snyder
e002b0e25f
Fix new inlining to be less aggressive
2014-11-27 12:04:16 -05:00
Wilson Snyder
4944383769
Fix to install verilator_coverage manpage.
2014-11-27 11:44:06 -05:00
Wilson Snyder
68c6f0ff07
Inline C functions that are used only once, msg1525.
2014-11-27 10:52:38 -05:00
Wilson Snyder
5078152292
Tests: Fix sigstop on parallel tests
2014-11-27 10:48:27 -05:00
Wilson Snyder
9837b40330
Remove SystemPerl tests
2014-11-27 08:30:54 -05:00
Jeremy Bennett
cb645c9a74
Add missing header.
...
Signed-off-by: Wilson Snyder <[email protected] >
2014-11-26 16:46:16 -05:00
Wilson Snyder
87573a9fef
Part of earlier commit - no SystemPerl now for coverage.
2014-11-24 18:37:55 -05:00
Wilson Snyder
7c486e27ba
Tests: Remove unneeded SystemPerl dependencies.
2014-11-24 07:53:33 -05:00
Wilson Snyder
4a3bdc340d
Tests: Remove unneeded SystemPerl dependencies.
2014-11-23 22:18:07 -05:00
Wilson Snyder
903ee0622d
Remove test_vcs directory.
2014-11-23 22:04:09 -05:00
Wilson Snyder
d33ad7600b
Commentary. Cleanup stale SystemPerl references.
2014-11-23 22:00:00 -05:00
Wilson Snyder
9ec35a2348
New verilator_coverage and infrastructure to replace SystemPerl's vcoverage.
2014-11-23 21:06:10 -05:00
Wilson Snyder
6da13c6486
Internals: Split V3Error into V3FileLine. No functional change.
2014-11-22 11:48:39 -05:00
Wilson Snyder
87a47a5ca0
Remove PSL support
2014-11-22 10:14:14 -05:00
Wilson Snyder
c682f1c16a
Commentary and internal cleanups.
2014-11-22 09:04:14 -05:00
Wilson Snyder
591075a8ed
Fix sc_main test to make trace data.
2014-11-18 19:43:44 -05:00
Wilson Snyder
41701673a0
devel release
2014-11-15 08:43:27 -05:00
Wilson Snyder
55f0d4ddd8
Version bump
2014-11-15 08:38:44 -05:00
Wilson Snyder
6d66fcaa57
Fix +define+A+B to define A and B to match other simulators, bug847.
2014-11-13 19:05:07 -05:00
Wilson Snyder
26e79ca889
Fix quoted comment slashes in defines, bug845.
2014-11-12 16:37:51 -05:00
Wilson Snyder
62eb247c1e
Optimize SUB/ADD together.
2014-11-09 18:33:54 -05:00
Wilson Snyder
c5fd583b2c
Fix select when partially out-of-bound, bug823.
2014-11-09 18:29:52 -05:00
Wilson Snyder
117db3e11c
Trace_off now operates on cells, bug826.
2014-11-08 14:15:10 -05:00
Wilson Snyder
3f82fd2f37
Add public enums, bug833.
2014-11-07 07:50:11 -05:00
Wilson Snyder
e9c46afcf7
Fix public parameters in unused packages, bug804.
2014-11-06 17:53:01 -05:00
Wilson Snyder
3234fa15ef
Fix trace overflow on huge arrays, bug834.
2014-11-05 22:22:27 -05:00
Jie Xu
7ef84df852
Add optimization of wires from arrayed cells, msg1447.
...
Signed-off-by: Wilson Snyder <[email protected] >
2014-11-05 21:09:35 -05:00
Jie Xu
4e2884b509
Optimize e.g. {(b<<4)[7:4], (b<<4)[3:0]}. From assignmerge tree.
...
Signed-off-by: Wilson Snyder <[email protected] >
2014-11-05 20:58:36 -05:00
Wilson Snyder
03100020ab
Fix not tracing modules following primitives, bug837.
2014-11-04 07:49:03 -05:00
Wilson Snyder
8bfb5cc5e9
Internals: Add sameGateTree.
2014-11-02 19:52:49 -05:00
Wilson Snyder
cf6d07aafa
Add optimization of operators between concats, msg1447.
2014-10-22 21:44:41 -04:00
Wilson Snyder
85c3179dbd
Commentary
2014-10-21 19:11:46 -04:00
Wilson Snyder
bfbca34eb0
Fix cast-to-size context-determined sizing, bug828.
2014-10-17 19:01:04 -04:00
Wilson Snyder
b73edc0564
Fix generate unrolling with function call, bug830.
2014-10-15 21:29:37 -04:00
Wilson Snyder
6ba90e3a50
devel release
2014-09-21 09:06:40 -04:00
Wilson Snyder
e8edbad18c
Version bump
2014-09-21 09:04:36 -04:00
Wilson Snyder
c86fec5307
Fix string formats under deep expressions, bug820.
2014-09-21 08:52:09 -04:00
Wilson Snyder
6e476255ca
Support power operator with real, bug809.
2014-09-21 08:24:44 -04:00
Wilson Snyder
27af9b6b06
Fix clang warnings, bug818.
2014-09-11 21:28:53 -04:00
Wilson Snyder
f8208fa961
Print Aborting before aborting, bug819
2014-09-05 21:40:04 -04:00
Wilson Snyder
87b9cb49ad
Fix / multi-argument ordering, bug816.
2014-09-04 22:25:19 -04:00
Wilson Snyder
b2da0772e6
Commentary
2014-09-04 22:15:11 -04:00
Wilson Snyder
4f73e0850e
Improve verilator_profcfunc time attributions.
2014-08-28 22:10:39 -04:00
Wilson Snyder
b6a39db627
Fix optional parameter keyword in module #(), bug810.
2014-08-27 07:57:20 -04:00
Wilson Snyder
3a83b06572
Fix over-shift structure optimization error, bug803.
2014-07-28 07:31:01 -04:00
Wilson Snyder
fe5bf01b25
Fix dpiGetContext in dotted scopes, bug740.
2014-07-21 20:55:52 -04:00
Wilson Snyder
5559ec903b
Fix error when tracing public parameters, bug722.
2014-07-21 20:44:33 -04:00
Wilson Snyder
18750028b2
Fix mis-optimization of bit-swap in wide signal, bug800.
2014-07-04 09:13:59 -04:00
Wilson Snyder
6b88648c67
Commentary, bug799
2014-07-02 21:04:51 -04:00
Wilson Snyder
58ee803cb4
Fix test GCC warning, bug794.
2014-06-26 21:45:14 -04:00
Wilson Snyder
894ff73c7d
Internals: Fix clang warning, bug791.
2014-06-19 18:02:42 -04:00
Wilson Snyder
8031f0ed7f
Fix duplicate anonymous structures in , bug788.
2014-06-15 11:18:47 -04:00
Wilson Snyder
3a56b5da47
devel release
2014-06-10 20:43:10 -04:00
Wilson Snyder
fedcb6d26a
Version bump
2014-06-10 20:39:51 -04:00
Wilson Snyder
eed3c5e543
Tests: Add t_tri_array and enable t_sv_cpu.
2014-06-10 20:02:18 -04:00
Wilson Snyder
e26ab67e25
Report tristate errors closer to code which created them.
2014-06-10 19:58:51 -04:00
Wilson Snyder
e77b7427b4
Fix shift corner-case, bug 774.
2014-06-10 19:13:55 -04:00
Wilson Snyder
475e4207cc
Fix late constant division by zero giving X error, bug775.
2014-06-09 22:27:04 -04:00
Wilson Snyder
71b2eed32c
Fix false name conflict on cells in generate blocks, bug749.
2014-06-09 22:00:45 -04:00
Wilson Snyder
6cf50e6579
Fix string corruption, bug780.
2014-06-08 21:36:18 -04:00
Wilson Snyder
69468708e2
Fix DETECTARRAY error on packed arrays, bug770.
2014-06-07 09:53:40 -04:00
Wilson Snyder
5da5678e64
Fix pattern assignment to conditionals, bug769.
2014-06-06 21:52:16 -04:00
Wilson Snyder
a428e7f618
Fix pattern assignment to arrayed basic type, bug769.
2014-06-06 21:14:44 -04:00
Wilson Snyder
0eb5a0a539
Add -P to suppress `line and blanks with preprocessing, bug781.
2014-06-06 20:22:20 -04:00
Wilson Snyder
a1c1ff9981
Fix seg-fault with variable of parameterized interface, bug692.
2014-05-28 07:33:40 -04:00
Wilson Snyder
2029ade18c
Change SYMRSVDWORD to print as warning rather than error.
2014-05-28 07:24:02 -04:00
Wilson Snyder
5f8f474c0c
Fix shift with XOR mis-optimization, bug776.
2014-05-26 18:16:52 -04:00
Wilson Snyder
f705f9b275
Fix C compiler interpreting signing, bug773.
2014-05-24 08:00:01 -04:00
Wilson Snyder
91e706ec1f
Fix X shift issue, bug772.
2014-05-24 07:05:23 -04:00
Wilson Snyder
dcf351f847
Copyright
2014-05-20 06:12:08 -04:00
Wilson Snyder
06744b664a
Fix huge shifts to zero with -Wno-WIDTH, bug768.
2014-05-16 07:09:43 -04:00
Wilson Snyder
d3049d9c89
Fix huge shifts to zero with -Wno-WIDTH, bug766.
2014-05-15 21:49:43 -04:00
Wilson Snyder
1f2abb9c0f
Fix gate primitives with arrays and non-arrayed pins.
2014-05-15 20:57:09 -04:00
Wilson Snyder
9f0d7e50a5
Using command line -Wno-{WARNING} now overrides file-local lint_on.
2014-05-15 20:54:45 -04:00
Wilson Snyder
5f262a8f11
Fix ENDLABEL warnings on escaped identifiers.
2014-05-15 20:52:22 -04:00
Wilson Snyder
f62bc6a2e5
Support SV 2012 package import before port list.
2014-05-15 20:50:42 -04:00
Wilson Snyder
d7e4bc1379
Fix huge shifts to zero with -Wno-WIDTH, bug765.
2014-05-13 08:10:59 -04:00
Wilson Snyder
cd2d6575c6
devel release
2014-05-11 16:58:01 -04:00