Commit Graph

752 Commits

Author SHA1 Message Date
Wilson Snyder 7b83d2de49 Commentary 2010-12-26 09:40:17 -05:00
Wilson Snyder 850de5913d With --Wall, add IFDEPTH warning on deep if statements. 2010-12-26 09:31:09 -05:00
Wilson Snyder bb9ee46f40 Use 'suggest' in INCABSPATH warning 2010-12-26 08:19:45 -05:00
Wilson Snyder e94fc1305b Support unique0; track internally with new attributes 2010-12-26 08:09:25 -05:00
Wilson Snyder 3e4e8feb29 With --Wall, add DECLFILENAME warning on modules not matching filename. 2010-12-25 16:31:22 -05:00
Wilson Snyder fedf347b1a With --Wall, add INCABSPATH warning on `include with absolute paths. 2010-12-25 15:50:07 -05:00
Wilson Snyder 285277a50b Add -Wall; move VARHIDDEN to style warnings 2010-12-25 15:28:13 -05:00
Wilson Snyder 323c96f42f Add -Wwarn-style, -Wno-style, and DEFPARAM warnings 2010-12-25 15:13:56 -05:00
Wilson Snyder 65bce588e4 Add fatalSrc debug dump check 2010-12-24 13:15:46 -05:00
Wilson Snyder 0837e39787 With -V, print VERILATOR_BIN env var 2010-12-17 19:40:08 -05:00
Wilson Snyder d6ac5e5001 Support ++,--,+= etc as standalone statements. 2010-12-07 20:18:47 -05:00
Wilson Snyder cfd07ccd34 Suppress WIDTH warnings when adding/subtracting 1'b1. 2010-12-02 14:00:43 -05:00
Wilson Snyder eeb8fc2626 Add -F option to read relative option files, bug297. 2010-11-03 07:21:34 -04:00
Wilson Snyder 3d1baf3f2f Version bump 2010-11-02 21:11:02 -04:00
Wilson Snyder 56c7c1bcc8 Add warning when directory contains spaces, msg378 2010-10-28 09:51:36 -04:00
Wilson Snyder 9d98e012e4 Fix segfault on SystemVerilog "output wire foo=0", bug291. 2010-10-04 07:48:09 -04:00
Wilson Snyder d305a774f0 Fix wrong filename on include file errors, bug289 2010-09-28 09:33:59 -04:00
Wilson Snyder 55da4fdbf6 Typo fixes. 2010-09-25 07:46:09 -04:00
Wilson Snyder ed2fbd8f25 Version bump 2010-09-20 15:46:17 -04:00
Wilson Snyder 42199bc8e5 Fix preprocessor `` of existing base define, bug283. 2010-09-20 15:20:16 -04:00
Wilson Snyder 7c5318768c Reduce debug verbosity (match Verilog-Perl) 2010-09-20 13:13:31 -04:00
Wilson Snyder aba25aab19 On core dump, print debug suggestions. 2010-09-20 09:21:29 -04:00
Wilson Snyder f99bd33f91 Support tracing/coverage of underscore signals, bug280. 2010-08-29 19:28:46 -04:00
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
Wilson Snyder 16926edf18 Define VERILATOR in addition to verilator 2010-01-14 19:24:48 -05:00
Wilson Snyder 8203c79f76 /sformat should accept rvalue expressions 2010-01-14 19:07:18 -05:00
Wilson Snyder 43e1b27d16 CDC: 'posedge a or posedge b or edge a' should optimize to 'edge a or posedge b' 2010-01-14 14:17:11 -05:00
Wilson Snyder d1cb3b0d15 Fix duplicate implicit variables under generates, bug201 2010-01-11 12:36:12 -05:00
Wilson Snyder a2629c4929 Internals: Avoid some extra CRELINES 2010-01-09 15:44:06 -05:00
Wilson Snyder c1fc629c54 Fix lint_off/lint_on pairs on same line as warning 2010-01-09 12:33:01 -05:00
Wilson Snyder 0d12fe43a0 Internals: Move CASEX warning with other case lints; add test 2010-01-09 11:09:14 -05:00
Wilson Snyder 6aec0ce702 --cdc: Report in more typical source to dest order 2010-01-09 09:05:00 -05:00
Wilson Snyder 32c30c34e9 --cdc: Code rearrangement 2010-01-08 21:31:52 -05:00
Wilson Snyder 6b7b2612a9 Fix segfault with -Wno-MODDUP 2010-01-08 14:03:00 -05:00
Wilson Snyder 0b9c6ed178 --cdc: Show duplicated varscopes 2010-01-08 13:29:00 -05:00
Wilson Snyder d903855aa3 Speed up CDC reset on large netlists; userClearVertices too slow 2010-01-08 11:12:16 -05:00
Wilson Snyder 89234bcd42 V3Name: Fix O(n^2) recursion with deep modules 2010-01-08 10:46:12 -05:00
Wilson Snyder 85ba590fa9 Avoid tail recursion, as with -O0 compiler doesn't do it and stack overflows 2010-01-08 10:27:02 -05:00
Wilson Snyder 2950f77dbc Ignore gate delays in UDP cells 2010-01-07 22:44:30 -05:00
Wilson Snyder a94f5ba200 --bbox-unsup now ignores cmos and tran gate primitives 2010-01-07 22:08:48 -05:00
Wilson Snyder 0c4e40102f Make duplicate modules a MODDUP error that can be disabled 2010-01-07 20:25:54 -05:00
Wilson Snyder bf860b21d7 Clock domain crossing checks 2010-01-07 16:41:19 -05:00
Wilson Snyder a03a540156 Internals: Split V3OutFile into separate formatter 2010-01-07 10:50:23 -05:00
Wilson Snyder eb63c8dcb8 Fix multiple declarations on one enum, bug199 2010-01-06 19:04:20 -05:00
Wilson Snyder cdcb94751e Fix with no parenthesis 2010-01-06 14:21:34 -05:00
Wilson Snyder cd5d8cceb8 Fix with no parenthesis 2010-01-06 14:13:11 -05:00
Wilson Snyder 8fbc87be46 Support +notimingchecks 2010-01-06 12:38:58 -05:00
Wilson Snyder 0f8a1e3901 Fix enums in port crossings and function arguments 2010-01-05 21:32:13 -05:00
Wilson Snyder 729dfdfed7 Copyright year update 2010-01-05 21:15:06 -05:00
Wilson Snyder 1b8051dfe5 Leak fix 2009-12-30 07:41:21 -05:00
Wilson Snyder be6454193b Internals: Cleanup V3EmitV to allow filename prefixing 2009-12-28 22:19:03 -05:00