Commit Graph

679 Commits

Author SHA1 Message Date
Wilson Snyder
a6a6ce83f0 Internals: Use branch prediction in asserts 2010-08-10 11:19:45 -04:00
Wilson Snyder
f4908a9758 Increase define recursions before error 2010-08-10 11:18:53 -04:00
Wilson Snyder
5e4ca4b76a Version bump 2010-07-10 18:41:23 -04:00
Wilson Snyder
1e938d0e90 Update preprocessor to match next Verilog-Perl version.
Fix preprocessor preservation of newlines across macro substitutions.
Fix preprocessor stringification of nested macros.
Fix preprocessor whitespace on define arguments
2010-07-10 18:30:16 -04:00
Wilson Snyder
8800efe953 Internals: Rename incLineno to match Verilog-Perl, no functional change. 2010-07-08 20:31:41 -04:00
Wilson Snyder
a320c4584e Fix do {...} while() not requiring final semicolon. 2010-07-07 19:15:51 -04:00
Wilson Snyder
3841850168 Preproc: fix pass-through of `line enter-exit codes.
Internals: Merge Verilog-Perl preproc changes through d450722.
2010-07-06 20:29:12 -04:00
Wilson Snyder
06967c0c46 Fix some constant parameter functions causing crash, bug253. 2010-05-25 19:37:45 -04:00
Wilson Snyder
9a382c572c Commentary, bug251 2010-05-02 06:29:02 -04:00
Wilson Snyder
44b6c371db Version bump 2010-05-01 14:18:56 -04:00
Wilson Snyder
00970be996 Fix bit reductions on multi-packed dimensions, bug227/patch0004. 2010-04-22 09:40:53 -04:00
Wilson Snyder
aca4ab015f Fix removing if assigned to unused var, bug248. 2010-04-19 19:38:22 -04:00
Wilson Snyder
68b63d5783 Increase unrollStmts, bug247, due to unreleased change. 2010-04-19 13:59:15 -04:00
Wilson Snyder
ed17581f92 Fix loop unroller out of memory; change --unroll-stmts. 2010-04-17 08:01:22 -04:00
Wilson Snyder
a46c4ec912 Accelerate and reduce memory usage of V3Expand 2010-04-15 21:05:21 -04:00
Wilson Snyder
930cbeec17 Internals: Create user#Inc routines 2010-04-15 20:56:54 -04:00
Wilson Snyder
10689ffaba Fix carrage return purging, broke in pre-release only 2010-04-10 09:11:52 -04:00
Wilson Snyder
29b0ea0af9 Debug: Allow --debugi-V3PreShell to turn on flex debug 2010-04-10 08:20:28 -04:00
Wilson Snyder
ef51de72c9 Fix word size to match uint64_t on -m64 systems, bug238. 2010-04-09 21:51:15 -04:00
Wilson Snyder
c807bf1e0e Internals: Fix useless rule and flex warning 2010-04-09 21:06:16 -04:00
Byron Bradley
2525b3fb05 Fix bit reductions on multi-packed dimensions, bug227
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
2010-04-09 21:05:46 -04:00
Byron Bradley
9163ce0f6e Internals: modify AstVar::dimensions() to return a pair, bug227
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
2010-04-09 20:43:25 -04:00
Byron Bradley
d776638f53 Internals: Mark packed dimensions in arrays, bug227
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
2010-04-09 20:40:41 -04:00
Wilson Snyder
dd7d9bc95b Fix some spelling mistakes in verilator executable & manpage, bug240 2010-04-09 19:45:46 -04:00
Wilson Snyder
f8eabbc100 From Verilog-Perl: Fix parsing single files > 2GB. 2010-04-06 20:20:44 -04:00
Wilson Snyder
7ed18ac62d Internals: Track Verilog-Perl 3.240 parser changes 2010-04-06 18:55:54 -04:00
Wilson Snyder
936738b750 Add /*verilator public_flat_rw*/ for timing-specific public access. 2010-04-05 20:01:17 -04:00
Wilson Snyder
7c3048ab9c Report errors when extra underscores used in meta-comments. 2010-03-24 22:08:59 -04:00
Wilson Snyder
c3887efbf3 Internals: Remove dead code 2010-03-22 19:06:30 -04:00
Wilson Snyder
6715cb9880 Improve error handling on slices of arrays, bug226. 2010-03-20 21:29:16 -04:00
Wilson Snyder
41b167d23c Fix DPI display bogus error 2010-03-20 07:13:52 -04:00
Wilson Snyder
ba93a08b40 Support runtime access to public signal names 2010-03-17 08:22:49 -04:00
Wilson Snyder
2be6b3481c Pre-version 2010-03-17 08:05:07 -04:00
Wilson Snyder
6ef44a6fbb Version bump 2010-03-17 07:59:12 -04:00
Wilson Snyder
e57d004718 Fix clock-gates with non-AND complex logic, bug220. 2010-03-16 18:50:26 -04:00
Wilson Snyder
0f9e3f0767 Cleanup flex compiles again - remove yyleng from preproc.cpp 2010-03-05 12:02:56 -05:00
Wilson Snyder
381972c923 Fix Mac OS-X compile issues, bug217. 2010-02-26 19:50:44 -05:00
Wilson Snyder
f1b6c0c559 Support "`default_nettype none|wire". 2010-02-23 09:27:16 -05:00
Wilson Snyder
e39eddf3fe Fix parametrized defines with empty arguments. 2010-02-21 07:20:39 -05:00
Wilson Snyder
72218fb475 Defines with // comments still need continuation - spec ambiguity 2010-02-18 20:57:46 -05:00
Wilson Snyder
9a3e497c22 Fix specparam defaults 2010-02-18 08:43:16 -05:00
Wilson Snyder
cdd06e7236 Support "break", "continue", "return". 2010-02-14 10:01:21 -05:00
Wilson Snyder
6be275f5d4 Post release version bump 2010-02-08 06:27:07 -05:00
Wilson Snyder
716f237c4c Version bump 2010-02-07 07:01:13 -05:00
Wilson Snyder
2679185a09 Commentary 2010-02-07 06:40:48 -05:00
Wilson Snyder
29c9804843 Fix including verilated.h before systemperl 2010-02-04 21:46:48 -05:00
Wilson Snyder
8b324249b1 Fix -mno-cygwin warnings 2010-02-04 08:38:00 -05:00
Wilson Snyder
59cc61529b Fix DPI pointer size warnings under -m32 2010-02-04 08:15:33 -05:00
Wilson Snyder
3912e5ef0b Allow empty top-level module name, to match standalone simulation 2010-02-03 19:19:18 -05:00
Wilson Snyder
5d5952d354 Allow top name to be '' for invisible shells 2010-02-02 21:09:11 -05:00
Wilson Snyder
b1872a8e21 Internals: Add enum prefixes to reduce MSVC macro conflicts 2010-02-01 20:15:48 -05:00
Wilson Snyder
634816d378 V3Delayed warnings now per-scope, bug102 part 2+3 2010-02-01 18:55:32 -05:00
Wilson Snyder
8dca56521b Fix MinGW compilation printing %lls, bug214 2010-02-01 09:28:53 -05:00
Wilson Snyder
a41aefe77d Fix conditional assignments of slices where conditional is an array, bug215 2010-02-01 06:52:48 -05:00
Wilson Snyder
46dbc7157d Redo MingW ifdefs to also work on generic WIN32, MSVC++ 2010-02-01 06:41:17 -05:00
Wilson Snyder
59261113d8 Internals: Remove one of many ERROR define conflicts 2010-02-01 06:40:30 -05:00
Wilson Snyder
fc2834cf04 Link: -lfl not needed, upsets cygwin 2010-02-01 06:37:39 -05:00
Wilson Snyder
60a06eef19 Internals: Merge getopt top & bottom, no functional change 2010-01-30 09:43:45 -05:00
Wilson Snyder
7fd6ddc25b Add -o option to specify executable name 2010-01-30 09:42:44 -05:00
Wilson Snyder
c49e0ac5c8 Add -CFLAGS, -LDFLAGS, <file>.a, <file>.o, and <file>.so options. 2010-01-28 19:33:02 -05:00
Wilson Snyder
4df9d70e4a Support 1800-2009 /*comments*/ in define values. Match Verilog-Perl 2010-01-28 09:41:24 -05:00
Wilson Snyder
78d490d5e4 Preproc: Strip all CRs up front 2010-01-28 09:31:29 -05:00
Wilson Snyder
abcb95b8a1 Fix order of packed arrays, bug216 2010-01-26 08:06:39 -05:00
Wilson Snyder
4b38acd540 Fix 2D wire decls, bug206 2010-01-25 07:52:07 -05:00
Wilson Snyder
f71749c3c4 Fix some MSVC++ warnings 2010-01-24 20:53:24 -05:00
Wilson Snyder
62866dc8be Repair includes that should be C++ instead of C flavor 2010-01-24 19:00:34 -05:00
Wilson Snyder
11e702c430 SystemPerl is no longer required for tracing.
Applications must use VerilatedVcdC class in place of SpTraceVcdC.
2010-01-24 18:37:01 -05:00
Wilson Snyder
898c08c8e0 Rename new include/verilated files for readability 2010-01-24 08:38:17 -05:00
Wilson Snyder
88fba101a3 Fix _change_request data type to save instruction 2010-01-24 07:58:28 -05:00
Wilson Snyder
d17bcd8afe Allow 'global' reserved identifier in 1800-2009 when possible 2010-01-22 19:08:20 -05:00
Wilson Snyder
58efab5cdf Add SystemVerilog 1800-2009 keywords 2010-01-21 21:58:45 -05:00
Wilson Snyder
4360fe492e Fix initial values for local variables, bug210 2010-01-21 20:08:45 -05:00
Wilson Snyder
295faf726b Fix wrong error point, bug210 2010-01-21 18:22:08 -05:00
Wilson Snyder
2da9d46ca6 Internals: Rename AstVar::initp to valuep as it's a constant, not initial value 2010-01-21 18:20:47 -05:00
Wilson Snyder
e4f1e5f4c3 Internals: Rename AstType enum to fix Cygwin define conflict 2010-01-21 18:04:36 -05:00
Wilson Snyder
c695af31b8 Add experimental config files to filter warnings outside of the source. 2010-01-21 06:11:30 -05:00
Wilson Snyder
6196cf09ff Add experimental --pipe-filter to filter all Verilog input. 2010-01-20 07:15:51 -05:00
Wilson Snyder
28eb5b9bc4 Internals: Eliminate extra constructor call in FileLine warn off, and commentary. 2010-01-19 21:30:12 -05:00
Wilson Snyder
bb20331f9e Fix signals in a concatenation on the LHS aren't created implicitly, bug206 2010-01-19 19:35:05 -05:00
Wilson Snyder
d2bce042a5 Fix for variable typing, bug205. 2010-01-19 19:27:36 -05:00
Wilson Snyder
5d57263a15 Internals: remove cfilename, no functional change 2010-01-19 18:59:45 -05:00
Wilson Snyder
bded8755a1 Support multi-dimensional arrays as inputs/outputs 2010-01-19 13:18:40 -05:00
Wilson Snyder
2e9ade61b2 Fix leak in setenvStr, bug184 2010-01-19 12:55:34 -05:00
Wilson Snyder
89e03a86b7 Support assignments of multidimensional slices, bug170 2010-01-19 10:52:11 -05:00
Wilson Snyder
48e88e4e74 Fix unused var compiler warning 2010-01-19 10:29:13 -05:00
Wilson Snyder
d182ecb2d3 Support spaces in verilator flags 2010-01-18 20:37:20 -05:00
Wilson Snyder
27e4503dc6 DPI: Constify new $sformatf 2010-01-17 20:06:08 -05:00
Wilson Snyder
72b596efb3 DPI $display like sformat metacomment and $sformatf 2010-01-17 19:13:44 -05:00
Wilson Snyder
0d1de96dbc Internals: Add AstSFormatF 2010-01-17 15:53:12 -05:00
Wilson Snyder
788f69a8c9 DPI: Support strings in DPI Imports 2010-01-17 15:10:37 -05:00
Wilson Snyder
08b63b4f01 Tests: Add --gdbbt, and abort on V3ERROR_NA in V3Ast 2010-01-17 14:48:39 -05:00
Wilson Snyder
ba07dc1804 Internals: Use D for double; fix t_dist_uint 2010-01-16 20:30:29 -05:00
Wilson Snyder
d46074e0ad CDC: --cdc now implies early exit, to allow eventual set_logic_0/1 on sigs 2010-01-16 20:14:52 -05:00
Wilson Snyder
919fdd70b8 CDC: Fix compile warning 2010-01-15 20:16:48 -05:00
Wilson Snyder
ab2702070b Remove extra warning newlines 2010-01-15 20:07:16 -05:00
Wilson Snyder
057e1a1aff CDC: Don't report paths to just clocks; resorting senitems in earlier commit messed us up 2010-01-15 15:57:48 -05:00
Wilson Snyder
a2af4e1284 CDC: Repress duplicate paths through same signal 2010-01-15 14:04:15 -05:00
Wilson Snyder
97adede70b CDC: Fix columns mis-aligning when large filename paths 2010-01-15 09:30:20 -05:00
Wilson Snyder
b6447a9032 Internal cleanup: Prep for strings 2010-01-15 08:20:25 -05:00
Wilson Snyder
e40b5819bd Speed compiles by avoiding including the STL iostream header. 2010-01-14 21:03:06 -05:00