Commit Graph

3148 Commits

Author SHA1 Message Date
Yutetsu TAKATSUKASA 718ebd4506 Add an ovbious optimization. 2020-01-18 07:42:48 +09:00
Yutetsu TAKATSUKASA a31a942586 Add a test for unpacked_array[small:big] case. 2020-01-18 07:42:48 +09:00
Yutetsu TAKATSUKASA e73f00ed9a Update per PR comments. 2020-01-18 07:42:07 +09:00
Yutetsu TAKATSUKASA 6f051c7a6b fix tests 2020-01-16 08:02:52 +09:00
Yutetsu TAKATSUKASA fad2f6748b update t_split_var_2_trace 2020-01-16 00:23:01 +09:00
Yutetsu TAKATSUKASA e9fcd6eb25 split_var supports assignment of unpacked arrays. 2020-01-16 00:18:14 +09:00
Yutetsu TAKATSUKASA a1b3d57fe2
Merge branch 'master' into split_var0 2020-01-15 08:45:49 +09: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 <mail@philipp-wagner.com>
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
Yutetsu TAKATSUKASA ef4bdf4834 bump copyright year 2020-01-09 20:07:36 +09: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
Yutetsu TAKATSUKASA 50324a178e delede unusedd variable declaration 2020-01-09 07:28:01 +09:00
Yutetsu TAKATSUKASA 5204b50111 Add test t_split_var2_trace and update other t_split_var* tests. 2020-01-08 23:43:47 +09:00
Yutetsu TAKATSUKASA d5e7e99f0b When traced, dedicated variable is created which looks the same as befor splitting. 2020-01-08 23:43:47 +09: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
Yutetsu TAKATSUKASA e7e39a629d update tests 2020-01-05 15:16:48 +09:00
Yutetsu TAKATSUKASA 9d09ace1d6 Splitting multi-dimensional unpacked array is supported. 2020-01-05 15:16:48 +09:00
Yutetsu TAKATSUKASA 09178e5217 add stats for packed variables. 2020-01-05 07:51:10 +09:00
Yutetsu TAKATSUKASA 4bee082bae update golden of unoptflat_simple_2_bad 2020-01-05 01:13:37 +09:00
Yutetsu TAKATSUKASA a67c47e8a9 update test and golden for split_var 2020-01-05 01:13:37 +09:00
Yutetsu TAKATSUKASA 20b59f381d split_var supports packed data. 2020-01-05 01:13:37 +09:00