1
0
mirror of https://github.com/verilator/verilator.git synced 2025-03-07 04:29:35 +00:00
Commit Graph

196 Commits

Author SHA1 Message Date
Peter Debacker
191c71edea
Fix cmake on macOS to mark weak symbols with -U linker flag () ()
Co-authored-by: Peter Debacker <pdback@imec.be>
2023-02-23 17:27:29 -05:00
Adam Bagley
003a8cfe75
Add lint warning on always_comb multidriven () () 2023-02-23 05:36:28 -05:00
Zixi Li
8f87022496
Fix CMake bad C identifiers () () 2023-02-10 20:06:05 -05:00
Joseph Nwabueze
c8be50d40b
Add /*verilator public[flat|flat_rd|flat_rw| ]*/ metacomments () 2023-02-03 08:47:55 -05:00
James Shi
c1c0aa61f9
Fix signed/unsigned parameter types () 2023-01-19 18:00:32 -05:00
Joey Liu
901d1d8087
Fix unpacked array expansion () 2023-01-18 14:35:48 -05:00
Gökçe Aydos
956fd89b87
Support import/export lists in modport () 2023-01-18 11:46:51 -05:00
Ilya Barkov
ff2f711d0c
Fix chain call of abstract class constructor () () 2023-01-17 13:02:39 -05:00
Sören Tempel
78fe77db0f Fix compatibility with musl libc / Alpine Linux () 2023-01-05 15:50:25 -05:00
Jevin Sweval
3340f7b0b4
Fix macOS weak symbols with -U linker flag () 2022-12-20 11:17:43 -05:00
Wilson Snyder
d87ef8394a Fix CASEINCOMPLETE when covers all enum values () ().
Co-authored-by: "G-A. Kamendje" <gkamendje@gmail.com>
2022-11-30 19:42:21 -05:00
Yinan Xu
e569ff2752
Add error when use --exe with --lib-create. () 2022-11-29 06:37:38 -05:00
Jiacheng Qian
47253450a4
Fix to escape VERILATOR_ROOT file paths () () 2022-11-20 10:25:41 -05:00
Andrew Nolte
cd2208ea3f Contributors () 2022-11-19 14:09:51 -05:00
Kritik Bhimani
201419c646
Fix MSVC compiler errors () () 2022-11-13 08:35:06 -05:00
Jiuyang Liu
2e4f5c863f
Fix VPI inline module naming mismatch () () 2022-10-21 13:04:42 -04:00
Topa Topino
46c5764383
Split UNUSED warning into genvar, param, and signal warnings () 2022-10-17 19:51:13 -04:00
Marcel Chang
526e6b9fc7
Add --dump-tree-dot to enable dumping Ast Tree .dot files () 2022-10-01 11:05:33 -04:00
Jake Merdich
1b18eee5dc
Tests: Fix CCache test not properly skipped ()
If the skip condition happens, the rest still runs and it fails. Don't do that.
2022-09-27 09:11:49 -04:00
Yu-Sheng Lin
bba800f2d6
Fix calling trace() after open() segfault () () 2022-09-20 16:45:09 -04:00
Wilson Snyder
a548a77f26 Merge branch 'develop-v5' into master: Changes file 2022-09-17 07:58:56 -04:00
Mladen Slijepcevic
1af046986d
Fix thread saftey in SystemC VL_ASSIGN_SBW/WSB () (). 2022-09-05 18:42:12 -04:00
Aleksander Kiryk
2136afde6b
Support negated properties () 2022-08-30 06:33:42 -04:00
Varun Koyyalagunta
5869fdf7f6
Fix $dump systemtask with --output-split-cfuncs () () 2022-08-25 18:29:11 -05:00
Ryszard Rozak
db5fdfb0ee
Fix === with some tristate constants (). 2022-08-18 07:03:05 -04:00
Mostafa Gamal
7b431b37c7
Fix struct pattern assignment () (). 2022-07-25 17:46:22 -04:00
Gustav Svensk
eeef5ab4de
Fix sformat string incorrectly cleared () (). 2022-07-25 17:36:34 +02:00
William D. Jones
108c900387
Fix unique_ptr memory header for MinGW64 (). 2022-07-13 06:38:03 -04:00
Arkadiusz Kozdra
8377514127
Add support for $test$plusargs(expr) () 2022-07-11 06:21:35 -04:00
Mariusz Glebocki
2873dbe154
Optimize file writing by using a memory buffer. () 2022-07-04 10:23:31 -04:00
Huanghuang Zhou
0c53d19113
Commentary: InstrCountVisitor documentation ()
Signed-off-by: huanghuang.zhou <huanghuang.zhou@terapines.com>
2022-05-31 07:10:58 -04:00
Martin Stadler
cddbe4642f
Fix cmake rules to support higher-level targest () ().
Don't add linker flags as generator expression to support linking `TARGET` to higher-level targets in a top-level CMakeLists.txt file.
2022-05-11 21:33:05 -04:00
Kamil Rakoczy
5de1c619c8
Fix foreach segmentation fault (). 2022-04-28 06:11:31 -04:00
Yoda Lee
a6d678d41d
Fix hang in generate symbol references () () 2022-04-27 18:40:36 -04:00
Aliaksei Chapyzhenka
2b91d764b5
Added missing #include <memory> ()
Fixes 
2022-04-23 20:11:46 +01:00
Xi Zhang
14d24213a8
Support LoongArch ISA multithreading () () 2022-03-17 09:04:47 -04:00
Drew Ranck
90fb2e5487
Fix ++/-- tree fix in case statements () (). 2022-03-12 11:24:32 -05:00
Chuxuan Wang
a9cb9bac21
Commentary in docs/guide/connecting.rst () 2022-03-09 03:57:55 -05:00
Larry Doolittle
72a3c756ad
Commentary: Minor spelling fixes in docs/guide/*.rst () 2022-02-27 10:01:44 +00:00
Jamie Iles
b6ca2a42f2
Fix FST traces to include vector range () () 2022-02-26 12:52:24 -05:00
Raynard Qiao
331c2244fc
Fixed signed number operation () () 2022-02-16 00:10:34 -05:00
Guokai Chen
818aaa8b89
Fix macOS arm64 build by excluding x86 only cpuid header () ()
Signed-off-by: Guokai Chen <chenguokai17@mails.ucas.ac.cn>
2022-01-23 09:15:09 -05:00
HungMingWu
78147ee8d7 Fix compile error at GCC11
Fixes 

Signed-off-by: HungMingWu <u9089000@gmail.com>
2022-01-08 10:40:51 +00:00
Adrien Le Masle
c3f17ce2c4
Fix VL_STREAML_FAST_QQI with 64 bit left-hand-side () () 2021-12-09 17:30:04 -05:00
Michaël Lefebvre
9bda2cb4ad
Fix some SliceSels not being constants () (). 2021-11-26 10:51:11 -05:00
Julie Schwartz
a14394dbb5
Commentary: remove duplicate/wrong change-log entry () 2021-11-18 05:15:02 -05:00
Teng Huang
fdbf465eda
Fix array method names with parens () () 2021-10-26 12:20:45 -04:00
Zhanglei Wang
1c1c805b07
Fix internal error on bad widths () () 2021-09-28 07:28:02 -04:00
Keith Colbert
0defb61a18
Fix --waiver-output for multiline warnings () () 2021-09-22 07:42:59 -04:00
Iru Cai
4ed00c563c
Support displaying x and z in $display task () () 2021-09-02 08:10:52 -04:00
Daniel Bates
a49bfe871c
Docs: Fix typo in coverage instructions () 2021-09-02 07:41:10 -04:00
Ivan Vnučec
8f527a0c6e
Commentary ()
Actually you can see `https://github.com/verilator/verilator` URL in your browser.
2021-08-18 15:19:02 -04:00
Steven Hugg
18b0f6387d
Add XML ccall, constpool, initarray, and if/while begins ()
* EmitXml: Added <ccall>, <constpool>, <initarray>/<inititem>, wrapped children of <if> and <while> with <begin> elements to prevent ambiguity
* EmitXml: added signed="true" to signed basicdtypes
2021-07-24 21:06:06 -04:00
Felix Yan
2cdf0aae72
Commentary: Correct a typo in configure.ac () 2021-06-28 23:18:14 -04:00
Martin Schmidt
b0c1ac7ea2
Add support of --trace-structs parameter for CMake () 2021-06-06 09:27:44 -04:00
Miodrag Milanović
fa063574d0
Fix Makefiles to support Windows EXEEXT usage (). 2021-06-04 12:04:55 -04:00
Ameya Vikram Singh
a4ab3e12f6
Update latest C++ Standard Compilation flag ()
For SystemC Project sets the CXX_STANDARD flag from SystemC CMake build config.
2021-05-13 14:26:53 -04:00
Jonathan Drolet
2bf248bf60
Add TRACE_THREADS to CMake () 2021-05-08 08:18:08 -04:00
Graham Rushton
6660627558
Fix concat of long hashed names in traces etc () 2021-04-20 09:08:29 -04:00
David Metz
f5ad5cf034
Fix dumping waveforms to multiple FST files () 2021-04-14 16:52:14 -04:00
Udi Finkelstein
0ea5af40c5
Add PINNOTFOUND warning in place of "Pin not found" error () 2021-04-01 18:17:42 -04:00
Wilson Snyder
50866e470a Commentary: Convert Changes to RST format 2021-03-14 14:12:58 -04:00
Drew Taussig
3651321679
Fix for MSVC++ compile error () () 2021-03-11 13:30:23 -05:00
David Turner
e81abdb616
Fix slice-assign overflow bug () () 2021-03-01 18:20:56 -05:00
Andreas Kuster
99c02419c0
Commentary - contributors. () 2021-02-21 08:22:52 -05:00
Àlex Torregrosa
e77e4e1fe6
Improve struct scopes when dumping structs to VCD () 2021-02-03 14:40:21 -05:00
Morten Borup Petersen
843ae2955e
Commentary on incorrectly specified debug level ()
As seen at https://github.com/verilator/verilator/blob/master/src/V3Options.cpp#L1202
setting --debug enables a debug level of 3.
2021-02-03 14:38:34 -05:00
Samuel Riedel
483516ce4e
Fix build to execute vlcovgen with python3. () 2021-01-28 15:01:33 -05:00
Pierre-Henri Horrein
3c849d7ce0
Generate SELRANGE instead of errors for potentially unreachable code () ()
When using a "if" statement inside an always block, part of the code may
be unreachable. This can be used to avoid errors, but it generated an
error, this commit demotes this to a warning. Partly fixes .
2021-01-15 07:31:48 -05:00
Paul Wright
769c0fa318
Fix to ignore coverage on real ports () () 2021-01-10 12:40:03 -05:00
Nandu Raj
1124829500
Fix $urandom_range maximum value () 2020-12-22 07:52:38 -05:00
HyungKi Jeong
36f41e08a5
Fix to allow inheriting 'VerilatedVcdFile' class. () 2020-12-20 12:18:09 -05:00
Unai Martinez-Corral
9a32158b5e
CI: Cleanup ci/coverage to use a matrix to define coverage jobs ()
* contributors: add Unai Martinez-Corral

* ci/coverage: use a matrix to define coverage jobs
2020-12-10 11:15:30 -05:00
Krzysztof Bieganski
7c4259bc0a
Support static methods and typedefs in classes () 2020-11-06 19:51:21 -05:00
Kaleb Barrett
1c2384cb3d
Fix iteration over mutating list bug in VPI impl ()
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
Jean Berniolles
77ac9bfcc6
Fix WIFEXITED missing from MinGW/MSYS2 ()
* 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() () ()
* 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
Markus Krause
0a9ae154be
introduce define for FST tracing ()
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
Rafal Kapuscik
7be343fd7c Support 'this' (). 2020-10-08 07:54:01 -04:00
Victor Besyakov
222ca4b009 Tests: Add t_stream_integer_type () () () 2020-09-27 19:25:53 -04:00
James Pallister
e3a1954e20
Fix hierarchical references used inside a function () () 2020-09-27 10:10:44 -04:00
Rupert Swarbrick
aa39d020d8
Fix build with Bison 3.7 and newer () 2020-08-18 12:12:52 -04:00
Edgar E. Iglesias
5d98035170
Fix sc names ()
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
Josh Redford
a18d8cbe86 Test for arrayed interfaces (). 2020-07-15 17:58:59 -04:00
Piotr Binkowski
a02c420064
Internals: separate AST class for program () 2020-07-15 07:39:58 -04:00
Marshal Qiao
25bbbbd37b Update Contributors () 2020-07-14 06:36:01 -04:00
Fan Shupei
04c96694e6
Add $writememb support () 2020-07-01 17:32:15 -04:00
Harald Heckmann
958654909f
Added perl-doc to optional apt packages () 2020-06-28 11:00:57 -04:00
Conor McCullough
f40f0464e2 Fix replaceMulShift optimization () 2020-06-11 07:42:25 -04:00
Michael Killough
047852eb08
Fix OpenBSD make in tests. () 2020-05-31 09:03:51 -04:00
Wilson Snyder
8ddafb4d9f Update contributors (from email) 2020-05-28 21:35:38 -04:00
Maciej Sobkowski
9d48ff7745
Support pre/postifx incrementation/decrementation in array index () 2020-05-28 18:08:15 -04:00
Wilson Snyder
373c9090d3 Update contributors (from email) 2020-05-26 19:12:19 -04:00
Wilson Snyder
7187b82d1d Update contributors (from email). 2020-05-25 13:36:24 -04:00
Wilson Snyder
2351f9b9ad Update contributors (from email). 2020-05-25 10:54:22 -04:00
Wilson Snyder
f1afa667d7 Update contributors. 2020-05-25 09:16:40 -04:00
Jan Van Winkel
424769c32b
Fix warning for unused param in VL_RTOIROUND_Q_D () 2020-05-25 08:13:12 -04:00
Vassilis Papaefstathiou
a7432bdea7 Support wide operands in queues and dynamic arrays () 2020-05-23 21:59:56 -04:00
Yuri Victorovich
cff4b5a5ee Fix WIFEXITED error on FreeBSD. () () 2020-05-23 16:30:36 -04:00
Ludwig Rogiers
101314a572
Add VPI error reset to vpi_get_time() () 2020-05-22 07:09:47 -04:00