mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Streamline dump control options
- Rename `--dump-treei` option to `--dumpi-tree`, which itself is now a special case of `--dumpi-<tag>` where tag can be a magic word, or a filename - Control dumping via static `dump*()` functions, analogous to `debug()` - Make dumping independent of the value of `debug()` (so dumping always works even without the debug flag) - Add separate `--dumpi-graph` for dumping V3Graphs, which is again a special case of `--dumpi-<tag>` - Alias `--dump-<tag>` to `--dumpi-<tag> 3` as before
This commit is contained in:
+2
-1
@@ -56,6 +56,8 @@
|
||||
#endif
|
||||
// clang-format on
|
||||
|
||||
VL_DEFINE_DEBUG_FUNCTIONS;
|
||||
|
||||
// If change this code, run a test with the below size set very small
|
||||
// #define INFILTER_IPC_BUFSIZ 16
|
||||
constexpr int INFILTER_IPC_BUFSIZ = (64 * 1024); // For debug, try this as a small number
|
||||
@@ -346,7 +348,6 @@ class VInFilterImp final {
|
||||
|
||||
private:
|
||||
// METHODS
|
||||
VL_DEBUG_FUNC; // Declare debug()
|
||||
|
||||
bool readContents(const string& filename, StrList& outl) {
|
||||
if (m_pid) {
|
||||
|
||||
Reference in New Issue
Block a user