Comments (7)
Can you try chipyard 1.9.1?
from constellation.
Update on this.
There was an issue with makefile which always took TestHarness as top-module. I changed it to EvalHarness, it worked.
However, I came up with new errors: /home/mypc/chipyard/.conda-env/bin/../lib/gcc/x86_64-conda-linux-gnu/12.1.0/../../../../x86_64-conda-linux-gnu/bin/ld: TrafficEval.o: in function netrace_traffic_eval_t::ingress_tick(unsigned long, unsigned long, char, bool, bool)': TrafficEval.cpp:(.text+0x15f5): undefined reference to
nt_read_packet'
and few more undefined references to others as well.
Finally an error: make: *** [Makefile:232: /home/mypc/chipyard/sims/verilator/simulator-constellation.test-EvalTestConfig00-debug] Error 2
from constellation.
I'll try this right now,
from constellation.
I tried setting 1.9.1 from scratch. I got upto this point with no problems: Setup complete!
To generate simulator RTL and run metasimulation simulation, source env.sh
To use the manager to deploy builds/simulations on EC2, source sourceme-f1-manager.sh to setup your environment.
To run builds/simulations manually on this machine, source sourceme-f1-full.sh to setup your environment.
.
.
Then I got an error:
/home/mypc/chipyard/software/firemarshal/logs/br-base-build-2023-06-09--15-45-23-PVXUBEWNN88O8K89.log
. /home/mypc/chipyard/software/firemarshal/boards/firechip/base-workloads/br-base/host-init.sh
. /home/mypc/chipyard/software/firemarshal/images/firechip/br.947c/br.947c.img
TaskError - taskid:/home/mypc/chipyard/software/firemarshal/images/firechip/br.947c/br.947c.img
PythonAction Error
Traceback (most recent call last):
File "/home/mypc/chipyard/.conda-env/lib/python3.10/site-packages/doit/action.py", line 461, in execute
returned_value = self.py_callable(*self.args, **kwargs)
File "/home/mypc/chipyard/software/firemarshal/boards/firechip/distros/br/br.py", line 193, in buildBaseImage
wlutil.run(['make'], cwd=br_dir / "buildroot", env=env)
File "/home/mypc/chipyard/software/firemarshal/wlutil/wlutil.py", line 527, in run
raise sp.CalledProcessError(p.returncode, prettyCmd)
subprocess.CalledProcessError: Command 'make' returned non-zero exit status 2.
ERROR: Failed to build workload br-base.json
Log available at: /home/mypc/chipyard/software/firemarshal/logs/br-base-build-2023-06-09--15-45-23-PVXUBEWNN88O8K89.log
ERROR: FAILURE: 1 builds failed
.
.
.
However, The env.sh was incomplete. So, I used the env.sh of 1.8.1 and made an env.sh file with necessary changes. Simulating a rocket core, hello world worked fine.
Coming to constellation's test harness, no errors.
Evaluation framework worked further than it was before(1.8.1) but I still got an error with the make.
This is what I got:
.
.
.
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*
.
.
.
make[1]: *** [VEvalHarness.mk:90: netrace.o] Error 1
make[1]: Leaving directory '/home/mypc/chipyard/sims/verilator/generated-src/constellation.test.EvalHarness.EvalTestConfig00/constellation.test.EvalHarness.EvalTestConfig00.debug'
make: *** [Makefile:231: /home/mypc/chipyard/sims/verilator/simulator-constellation.test-EvalTestConfig00-debug] Error 2
from constellation.
Sorry, it looks like the way verilator invokes g++ just fundamentally breaks the netrace headers.
If you have access to VCS, you can follow the VCS flow.
If not, then the only other solution would be to comment out all references to trace in the evaluation harness C++ driver, including the #includes on netrace.h.
from constellation.
Alright. What might cause on commenting out the references and netrace.h?
from constellation.
You would not be able to run the C++ evaluation harness with netrace-provided trace files as the traffic source.
from constellation.
Related Issues (20)
- Run Minimal-Standalone Testing Fail HOT 7
- Error encountered while testing hierarchical topology in Chipyard 1.8.1 HOT 11
- May I ignore the "[error] Picked up JAVA_TOOL_OPTIONS" error? HOT 1
- Add Wishbone protocol support HOT 2
- Is there anyway to generate seperate verilog files for each component? HOT 1
- Run AXI4TestConfig02 fail in the chipyard HOT 3
- Question: What are the parameters in the example Butterfly config? HOT 4
- genenarate top.v fail HOT 1
- Failed: Running Minimal-Standalone Testing HOT 2
- Failed: Chipyard-Standalone Testing
- No .v(verilog) file generated after running Chipyard-Standalone Testing HOT 1
- How the DiplomaticNetworkNodeMapping string to decide?
- `DiplomaticNetworkNodeMapping` fails with more than 9 cores HOT 2
- connecting the cores of the SOC with TLNOC
- confuse about inNodeMapping and outNodeMapping HOT 2
- Max throughput of Random traffic HOT 4
- Setup Issue HOT 1
- report error when execute Minimal-Standalone Testing HOT 7
- about Minimal-Standalone Testing HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from constellation.