You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I'm able to run Minimal-Standalone Testing so above steps seems fine
Installing with Chipyard and do: make -C generators/constellation/src/main/resources/csrc/netrace netrace.o CFLAGS="-fPIC -O3"
In chipyard/
I do source ./env.sh
And then in chipyard/sims/verilator
I do ❱ make SUB_PROJECT=constellation BINARY=none CONFIG=TestConfig00 run-binary-debug
and get: Running with RISCV=/home/tom/basement/hw/sbt_play/dpdnc/chipyard/.conda-env/riscv-tools /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:123: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:118: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:131: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:123: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:166: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:131: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:203: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:166: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:225: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:203: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:264: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:225: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:282: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:264: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:293: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:282: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:297: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:293: warning: ignoring old recipe for target '&' make VM_PARALLEL_BUILDS=1 -C /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug -f VTestDriver.mk make[1]: Entering directory '/home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug' ccache g++ -Os -I. -MMD -I/usr/local/share/verilator/include -I/usr/local/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-sign-compare -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -Wno-shadow -O3 -std=c++17 -I/home/tom/basement/hw/sbt_play/dpdnc/chipyard/.conda-env/riscv-tools/include -I/home/tom/basement/hw/sbt_play/dpdnc/chipyard/tools/DRAMSim2 -I/home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/gen-collateral -DVERILATOR -include /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.plusArgs -include /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug/VTestDriver.h -DVL_TIME_CONTEXT -fcoroutines -c -o verilated.o /usr/local/share/verilator/include/verilated.cpp g++: error: unrecognized command line option ‘-fcoroutines’ make[1]: *** [/usr/local/share/verilator/include/verilated.mk:251: verilated.o] Error 1 make[1]: Leaving directory '/home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug' make: *** [Makefile:213: /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/simulator-constellation.test-TestConfig00-debug] Error 2 (/home/tom/basement/hw/sbt_play/dpdnc/chipyard/.conda-env)
It looks like the script assigned c++17 as compiling option with a c++20 flag '-fcoroutines' (in my understanding)
How do I solve this?
Thanks for helping!
PS
my verilator version is Verilator 5.012 2023-06-13 rev v5.012-34-g4f13c4d1b
Edit
I downgrade verilator to v5.008
and still got g++: error: unrecognized command line option ‘-fcoroutines’
also in chipyard/sims/verilator/,
i do make for the default example
got g++: error: unrecognized command line option ‘-fcoroutines’ too
and i tried make clean first too
The text was updated successfully, but these errors were encountered:
Hi,
I follow the steps of
and I'm able to run Minimal-Standalone Testing so above steps seems fine
make -C generators/constellation/src/main/resources/csrc/netrace netrace.o CFLAGS="-fPIC -O3"
In chipyard/
I do
source ./env.sh
And then in chipyard/sims/verilator
I do
❱ make SUB_PROJECT=constellation BINARY=none CONFIG=TestConfig00 run-binary-debug
and get:
Running with RISCV=/home/tom/basement/hw/sbt_play/dpdnc/chipyard/.conda-env/riscv-tools /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:123: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:118: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:131: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:123: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:166: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:131: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:203: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:166: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:225: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:203: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:264: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:225: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:282: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:264: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:293: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:282: warning: ignoring old recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:297: warning: overriding recipe for target '&' /home/tom/basement/hw/sbt_play/dpdnc/chipyard/common.mk:293: warning: ignoring old recipe for target '&' make VM_PARALLEL_BUILDS=1 -C /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug -f VTestDriver.mk make[1]: Entering directory '/home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug' ccache g++ -Os -I. -MMD -I/usr/local/share/verilator/include -I/usr/local/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-sign-compare -Wno-uninitialized -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable -Wno-shadow -O3 -std=c++17 -I/home/tom/basement/hw/sbt_play/dpdnc/chipyard/.conda-env/riscv-tools/include -I/home/tom/basement/hw/sbt_play/dpdnc/chipyard/tools/DRAMSim2 -I/home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/gen-collateral -DVERILATOR -include /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.plusArgs -include /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug/VTestDriver.h -DVL_TIME_CONTEXT -fcoroutines -c -o verilated.o /usr/local/share/verilator/include/verilated.cpp g++: error: unrecognized command line option ‘-fcoroutines’ make[1]: *** [/usr/local/share/verilator/include/verilated.mk:251: verilated.o] Error 1 make[1]: Leaving directory '/home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/generated-src/constellation.test.TestHarness.TestConfig00/constellation.test.TestHarness.TestConfig00.debug' make: *** [Makefile:213: /home/tom/basement/hw/sbt_play/dpdnc/chipyard/sims/verilator/simulator-constellation.test-TestConfig00-debug] Error 2 (/home/tom/basement/hw/sbt_play/dpdnc/chipyard/.conda-env)
It looks like the script assigned c++17 as compiling option with a c++20 flag '-fcoroutines' (in my understanding)
How do I solve this?
Thanks for helping!
PS
my verilator version is
Verilator 5.012 2023-06-13 rev v5.012-34-g4f13c4d1b
Edit
I downgrade verilator to v5.008
and still got
g++: error: unrecognized command line option ‘-fcoroutines’
also in chipyard/sims/verilator/,
i do
make
for the default examplegot
g++: error: unrecognized command line option ‘-fcoroutines’
tooand i tried
make clean
first tooThe text was updated successfully, but these errors were encountered: