Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run EvalTestConfig00 Fail #79

Open
thhoanq opened this issue Feb 11, 2025 · 2 comments
Open

Run EvalTestConfig00 Fail #79

thhoanq opened this issue Feb 11, 2025 · 2 comments

Comments

@thhoanq
Copy link

thhoanq commented Feb 11, 2025

Command

make SUB_PROJECT=constellation BINARY=none CONFIG=EvalTestConfig00 MODEL=EvalHarness run-binary-debug

Log

Picked up JAVA_TOOL_OPTIONS: -Xmx8G -Xss8M -Djava.io.tmpdir=/home/thh/chipyard/.java_tmp
[info] welcome to sbt 1.8.2 (Temurin Java 1.8.0_442)
[info] loading settings for project chipyard-build from plugins.sbt ...
[info] loading project definition from /home/thh/chipyard/project
[info] loading settings for project chipyardRoot from build.sbt ...
[info] loading settings for project testchipip from build.sbt ...
[info] loading settings for project barf from build.sbt ...
[info] loading settings for project constellation from build.sbt ...
[info] loading settings for project icenet from build.sbt ...
[info] loading settings for project cva6 from build.sbt ...
[info] loading settings for project ibex from build.sbt ...
[info] loading settings for project sodor from build.sbt ...
[info] loading settings for project midas_target_utils from build.sbt ...
[info] resolving key references (46535 settings) ...
[info] set current project to chipyardRoot (in build file:/home/thh/chipyard/)
[info] set current project to tapeout (in build file:/home/thh/chipyard/)
[info] Defining assembly / assemblyOutputPath
[info] The new value will be used by assembly
[info] Reapplying settings...
[info] set current project to tapeout (in build file:/home/thh/chipyard/)
[info] 185 file(s) merged using strategy 'Rename (Custom)' (Run the task at debug level to see the details)
[info] 4 file(s) merged using strategy 'Rename' (Run the task at debug level to see the details)
[info] 331 file(s) merged using strategy 'Discard' (Run the task at debug level to see the details)
[info] Built: /home/thh/chipyard/.classpath_cache/tapeout.jar
[info] Jar hash: 1bc48ffdef891fce41b7a862d36d24c8ae070c03
[success] Total time: 5 s, completed Feb 11, 2025 4:26:24 PM
/home/thh/chipyard/scripts/split-mems-conf.py \
        --in-smems-conf /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.mems.conf \
        --in-model-hrchy-json /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/model_module_hierarchy.uniquified.json \
        --dut-module-name NoC \
        --model-module-name EvalHarness \
        --out-dut-smems-conf /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.top.mems.conf \
        --out-model-smems-conf /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.model.mems.conf
cd /home/thh/chipyard && java -cp /home/thh/chipyard/.classpath_cache/tapeout.jar     tapeout.macros.MacroCompiler -n /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.top.mems.conf -v /home/thh/chipyard/sims/verilator/    generated-src/constellation.test.EvalHarness.EvalTestConfig00/gen-collateral/    constellation.test.EvalHarness.EvalTestConfig00.top.mems.v -f /home/thh/chipyard/sims/verilator/    generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.top.mems.fir --mode synflops
Picked up JAVA_TOOL_OPTIONS: -Xmx8G -Xss8M -Djava.io.tmpdir=/home/thh/chipyard/.java_tmp
WARNING: Empty *.mems.conf file. No memories generated.
touch /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/constellation.test.EvalHarness.EvalTestConfig00.top.mems.v /home/thh/chipyard/sims/verilator/    generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.top.mems.fir
cd /home/thh/chipyard && java -cp /home/thh/chipyard/.classpath_cache/tapeout.jar     tapeout.macros.MacroCompiler  -n /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.model.mems.conf -v /home/thh/chipyard/sims/verilator/    generated-src/constellation.test.EvalHarness.EvalTestConfig00/gen-collateral/    constellation.test.EvalHarness.EvalTestConfig00.model.mems.v -f /home/thh/chipyard/sims/verilator/    generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.model.mems.fir --mode synflops
Picked up JAVA_TOOL_OPTIONS: -Xmx8G -Xss8M -Djava.io.tmpdir=/home/thh/chipyard/.java_tmp
WARNING: Empty *.mems.conf file. No memories generated.
touch /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/constellation.test.EvalHarness.EvalTestConfig00.model.mems.v /home/thh/chipyard/sims/    verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.model.mems.fir
rm -f /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    sim_files.common.f
sort -u /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    sim_files.f /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.all.f | grep -v '.*\.\(svh\|h\)$' >> /home/thh/chipyard/sims    /verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/sim_files.common.f
echo "/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/constellation.test.EvalHarness.EvalTestConfig00.top.mems.v" >> /home/thh/chipyard/sims/    verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/sim_files.common.f
echo "/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/constellation.test.EvalHarness.EvalTestConfig00.model.mems.v" >> /home/thh/chipyard/sims/    verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/sim_files.common.f
rm -rf /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.debug
mkdir -p /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.debug
verilator --main --timing --cc --exe -CFLAGS " -O3 -std=c++17 -I/home/thh/chipyard/.conda-env/riscv-tools/    include -I/home/thh/chipyard/tools/DRAMSim2 -I/home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/gen-collateral   -DVERILATOR" -LDFLAGS " -L/home/thh/    chipyard/.conda-env/riscv-tools/lib -Wl,-rpath,/home/thh/chipyard/.conda-env/riscv-tools/lib -L/home/thh/    chipyard/sims/verilator -L/home/thh/chipyard/tools/DRAMSim2 -lriscv -lfesvr -ldramsim "   --threads 1     --threads-dpi all -O3 --x-assign fast --x-initial fast --output-split 10000 --output-split-cfuncs 100     --assert -Wno-fatal --timescale 1ns/1ps --max-num-width 1048576 +define+CLOCK_PERIOD=1.0     +define+RESET_DELAY=777.7 +define+PRINTF_COND=TestDriver.printf_cond +define+STOP_COND=!TestDriver.reset     +define+MODEL=EvalHarness +define+RANDOMIZE_MEM_INIT +define+RANDOMIZE_REG_INIT     +define+RANDOMIZE_GARBAGE_ASSIGN +define+RANDOMIZE_INVALID_ASSIGN +define+VERILATOR --top-module TestDriver     --vpi  -f /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    sim_files.common.f +define+DEBUG  -o /home/thh/chipyard/sims/verilator/    simulator-constellation.test-EvalTestConfig00-debug  --trace -Mdir /home/thh/chipyard/sims/verilator/    generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.debug
%Warning-REDEFMACRO: Redefining existing define: 'VERILATOR', with different value: ''
                     ... Location of previous definition, with value: '1'
                     ... For warning description see https://verilator.org/warn/REDEFMACRO?v=5.022
                     ... Use "/* verilator lint_off REDEFMACRO */" and lint_on around source to disable     this message.
touch /home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    constellation.test.EvalHarness.EvalTestConfig00.debug/VTestDriver.mk
make VM_PARALLEL_BUILDS=1 -C /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/constellation.test.EvalHarness.EvalTestConfig00.debug -f     VTestDriver.mk
make[1]: Entering directory '/home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/constellation.test.EvalHarness.EvalTestConfig00.debug'
/home/thh/chipyard/.conda-env/bin/x86_64-conda-linux-gnu-c++  -I.  -MMD -I/home/thh/chipyard/.conda-env/    share/verilator/include -I/home/thh/chipyard/.conda-env/share/verilator/include/vltstd -DVM_COVERAGE=0     -DVM_SC=0 -DVM_TRACE=1 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=1 -faligned-new -fcf-protection=none     -Wno-bool-operation -Wno-shadow -Wno-sign-compare -Wno-tautological-compare -Wno-uninitialized     -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable        -O3 -std=c++17 -I/home/thh/chipyard/.conda-env/riscv-tools/include -I/home/thh/chipyard/tools/DRAMSim2 -I/    home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral   -DVERILATOR -DVL_TIME_CONTEXT   -fcoroutines -Os -c -o TrafficEval.o /home/thh/chipyard/    sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/gen-collateral/TrafficEval.cpp
/home/thh/chipyard/.conda-env/bin/x86_64-conda-linux-gnu-c++  -I.  -MMD -I/home/thh/chipyard/.conda-env/    share/verilator/include -I/home/thh/chipyard/.conda-env/share/verilator/include/vltstd -DVM_COVERAGE=0     -DVM_SC=0 -DVM_TRACE=1 -DVM_TRACE_FST=0 -DVM_TRACE_VCD=1 -faligned-new -fcf-protection=none     -Wno-bool-operation -Wno-shadow -Wno-sign-compare -Wno-tautological-compare -Wno-uninitialized     -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable        -O3 -std=c++17 -I/home/thh/chipyard/.conda-env/riscv-tools/include -I/home/thh/chipyard/tools/DRAMSim2 -I/    home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral   -DVERILATOR -DVL_TIME_CONTEXT   -fcoroutines -Os -c -o netrace.o /home/thh/chipyard/sims/    verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/gen-collateral/netrace.c
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_open_trfile(nt_context_t*, const char*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:59:39: note: in expansion of macro 'nt_checked_malloc'
   59 |         ctx->input_popencmd = (char*) nt_checked_malloc( length * sizeof(char) );
      |                                       ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:63:17: note: in expansion of macro 'nt_error'
   63 |                 nt_error( "failed to open pipe to trace file" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:67:41: note: in expansion of macro 'nt_checked_malloc'
   67 |                 ctx->dependency_array = nt_checked_malloc( sizeof(nt_dep_ref_node_t*) *     NT_DEPENDENCY_ARRAY_SIZE );
      |                                         ^~~~~~~~~~~~~~~~~
In file included from /home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/gen-collateral/netrace.c:29:
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:48: error: invalid conversion from 'void*' to 'nt_dep_ref_node_t**' {aka     'nt_dep_ref_node**'} [-fpermissive]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                void*
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:67:41: note: in expansion of macro 'nt_checked_malloc'
   67 |                 ctx->dependency_array = nt_checked_malloc( sizeof(nt_dep_ref_node_t*) *     NT_DEPENDENCY_ARRAY_SIZE );
      |                                         ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:71:17: note: in expansion of macro 'nt_error'
   71 |                 nt_error( "dependency array not NULL on file open" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_header_t* nt_read_trheader(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:96:44: note: in expansion of macro 'nt_checked_malloc'
   96 |         struct nt_header_pack* in_header = nt_checked_malloc( sizeof(struct nt_header_pack) );
      |                                            ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:48: error: invalid conversion from 'void*' to 'nt_read_trheader(    nt_context_t*)::nt_header_pack*' [-fpermissive]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                void*
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:96:44: note: in expansion of macro 'nt_checked_malloc'
   96 |         struct nt_header_pack* in_header = nt_checked_malloc( sizeof(struct nt_header_pack) );
      |                                            ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:100:17: note: in expansion of macro 'nt_error'
  100 |                 nt_error( strerr );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:104:49: note: in expansion of macro 'nt_checked_malloc'
  104 |         nt_header_t* to_return = (nt_header_t*) nt_checked_malloc( sizeof(nt_header_t) );
      |                                                 ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:119:25: note: in expansion of macro 'nt_error'
  119 |                         nt_error( "only little endian architectures are currently supported" );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:121:25: note: in expansion of macro 'nt_error'
  121 |                         nt_error( "invalid trace file: bad magic" );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:126:17: note: in expansion of macro 'nt_error'
  126 |                 nt_error( strerr );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:130:44: note: in expansion of macro 'nt_checked_malloc'
  130 |                 to_return->notes = (char*) nt_checked_malloc( to_return->notes_length * sizeof(    char) );
      |                                            ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:133:25: note: in expansion of macro 'nt_error'
  133 |                         nt_error( strerr );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:140:65: note: in expansion of macro 'nt_checked_malloc'
  140 |                         to_return->regions = (nt_regionhead_t*) nt_checked_malloc(     to_return->num_regions * sizeof(nt_regionhead_t) );
      |                                                                 ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:143:33: note: in expansion of macro 'nt_error'
  143 |                                 nt_error( strerr );
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:146:25: note: in expansion of macro 'nt_error'
  146 |                         nt_error( "lots of regions... is this correct?" );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_disable_dependencies(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:156:17: note: in expansion of macro 'nt_error'
  156 |                 nt_error( "Cannot turn off dependencies when tracking cleared packets list" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_seek_region(nt_context_t*, nt_regionhead_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:174:48: note: in expansion of macro 'nt_checked_malloc'
  174 |                         char* buffer = (char*) nt_checked_malloc( read_length );
      |                                                ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:178:41: note: in expansion of macro 'nt_error'
  178 |                                         nt_error( strerr );
      |                                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:184:33: note: in expansion of macro 'nt_error'
  184 |                                 nt_error( strerr );
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:192:25: note: in expansion of macro 'nt_error'
  192 |                         nt_error( "invalid region passed: NULL" );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:195:17: note: in expansion of macro 'nt_error'
  195 |                 nt_error( "must open trace file with nt_open_trfile before seeking" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_packet_t* nt_read_packet(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:222:25: note: in expansion of macro 'nt_error'
  222 |                         nt_error( strerr );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:226:25: note: in expansion of macro 'nt_error'
  226 |                         nt_error( "unexpectedly reached end of trace file - perhaps corrupt" );
      |                         ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:249:33: note: in expansion of macro 'nt_error'
  249 |                                 nt_error( strerr );
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:264:17: note: in expansion of macro 'nt_error'
  264 |                 nt_error( "must open trace file with nt_open_trfile before reading" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_dep_ref_node_t* nt_add_dependency_node(nt_context_t*, unsigned     int)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:274:56: note: in expansion of macro 'nt_checked_malloc'
  274 |                         ctx->dependency_array[index] = nt_checked_malloc( sizeof(nt_dep_ref_node_t)     );
      |                                                        ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:48: error: invalid conversion from 'void*' to 'nt_dep_ref_node_t*' {aka     'nt_dep_ref_node*'} [-fpermissive]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                void*
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:274:56: note: in expansion of macro 'nt_checked_malloc'
  274 |                         ctx->dependency_array[index] = nt_checked_malloc( sizeof(nt_dep_ref_node_t)     );
      |                                                        ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:278:46: note: in expansion of macro 'nt_checked_malloc'
  278 |                         dep_ptr->next_node = nt_checked_malloc( sizeof(nt_dep_ref_node_t) );
      |                                              ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:48: error: invalid conversion from 'void*' to 'nt_dep_ref_node_t*' {aka     'nt_dep_ref_node*'} [-fpermissive]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                void*
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:278:46: note: in expansion of macro 'nt_checked_malloc'
  278 |                         dep_ptr->next_node = nt_checked_malloc( sizeof(nt_dep_ref_node_t) );
      |                                              ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:287:17: note: in expansion of macro 'nt_error'
  287 |                 nt_error( "dependency array NULL on node addition" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_read_ahead(nt_context_t*, long long unsigned int)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:295:17: note: in expansion of macro 'nt_error'
  295 |                 nt_error( "trying to read too far ahead... overflowed :(" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_packet_t* nt_remove_dependency_node(nt_context_t*, unsigned int)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:340:17: note: in expansion of macro 'nt_error'
  340 |                 nt_error( "dependency array NULL on node remove" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_dep_ref_node_t* nt_get_dependency_node(nt_context_t*, unsigned     int)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:354:17: note: in expansion of macro 'nt_error'
  354 |                 nt_error( "dependency array not NULL on node search" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'int nt_dependencies_cleared(nt_context_t*, nt_packet_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:368:17: note: in expansion of macro 'nt_error'
  368 |                 nt_error( "must open trace file with nt_open_trfile before injecting" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_clear_dependencies_free_packet(nt_context_t*, nt_packet_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:389:49: note: in expansion of macro 'nt_error'
  389 |                                                 nt_error( "failed to find dependency node" );
      |                                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:393:49: note: in expansion of macro 'nt_error'
  393 |                                                 nt_error( "invalid reference count on node while     decrementing" );
      |                                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:413:17: note: in expansion of macro 'nt_error'
  413 |                 nt_error( "must open trace file with nt_open_trfile before ejecting" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_init_cleared_packets_list(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:419:17: note: in expansion of macro 'nt_error'
  419 |                 nt_error( "Cannot return cleared packets list when dependencies are turned off" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_init_self_throttling(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:428:17: note: in expansion of macro 'nt_error'
  428 |                 nt_error( "Cannot self throttle packets when dependencies are turned off" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_add_cleared_packet_to_list(nt_context_t*, nt_packet_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:452:38: note: in expansion of macro 'nt_checked_malloc'
  452 |         nt_packet_list_t* new_node = nt_checked_malloc( sizeof(nt_packet_list_t) );
      |                                      ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:48: error: invalid conversion from 'void*' to 'nt_packet_list_t*' {aka     'nt_packet_list*'} [-fpermissive]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                void*
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:452:38: note: in expansion of macro 'nt_checked_malloc'
  452 |         nt_packet_list_t* new_node = nt_checked_malloc( sizeof(nt_packet_list_t) );
      |                                      ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_header_t* nt_get_trheader(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:536:17: note: in expansion of macro 'nt_error'
  536 |                 nt_error( "must open trace file with nt_open_trfile before header is available" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'float nt_get_trversion(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:545:17: note: in expansion of macro 'nt_error'
  545 |                 nt_error( "must open trace file with nt_open_trfile before version is available" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_packet_t* nt_packet_malloc()':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:553:31: note: in expansion of macro 'nt_checked_malloc'
  553 |         return (nt_packet_t*) nt_checked_malloc( sizeof(nt_packet_t) );
      |                               ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'nt_dependency_t* nt_dependency_malloc(unsigned char)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:559:35: note: in expansion of macro 'nt_checked_malloc'
  559 |         return (nt_dependency_t*) nt_checked_malloc( num_deps * sizeof(nt_dependency_t) );
      |                                   ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'int nt_get_headersize(nt_context_t*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:667:17: note: in expansion of macro 'nt_error'
  667 |                 nt_error( "must open trace file with nt_open_trfile before header is available" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_dump_header(nt_header_t*, FILE*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:51: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                                                   ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:730:53: note: in expansion of macro 'nt_checked_malloc'
  730 |                 struct nt_header_pack* out_header = nt_checked_malloc( sizeof(struct     nt_header_pack) );
      |                                                     ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:42:48: error: invalid conversion from 'void*' to 'nt_dump_header(nt_header_t*,     FILE*)::nt_header_pack*' [-fpermissive]
   42 | #define nt_checked_malloc(x) _nt_checked_malloc(x,__FILE__,__LINE__)
      |                              ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      |                                                |
      |                                                void*
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:730:53: note: in expansion of macro 'nt_checked_malloc'
  730 |                 struct nt_header_pack* out_header = nt_checked_malloc( sizeof(struct     nt_header_pack) );
      |                                                     ^~~~~~~~~~~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:744:17: note: in expansion of macro 'nt_error'
  744 |                 nt_error( "dumping NULL header" );
      |                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c: In function 'void nt_dump_packet(nt_packet_t*, FILE*)':
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.h:43:33: warning: ISO C++ forbids converting a string constant to 'char*'     [-Wwrite-strings]
   43 | #define nt_error(x) _nt_error(x,__FILE__,__LINE__)
      |                                 ^~~~~~~~
/home/thh/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/    gen-collateral/netrace.c:767:17: note: in expansion of macro 'nt_error'
  767 |                 nt_error( "dumping NULL packet" );
      |                 ^~~~~~~~
make[1]: *** [VTestDriver.mk:67: netrace.o] Error 1
make[1]: Leaving directory '/home/thh/chipyard/sims/verilator/generated-src/    constellation.test.EvalHarness.EvalTestConfig00/constellation.test.EvalHarness.EvalTestConfig00.debug'
make: *** [Makefile:213: /home/thh/chipyard/sims/verilator/    simulator-constellation.test-EvalTestConfig00-debug] Error 2    
@jerryz123
Copy link
Collaborator

I think the EvalConfigs only work with VCS currently.

@thhoanq
Copy link
Author

thhoanq commented Feb 18, 2025

I haven't gotten the VCS license yet. How can I fix it and use Verilator to run this command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants