stanfordaha / aha Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://stanfordaha.github.io/aha-wiki-page/
Home Page: https://stanfordaha.github.io/aha-wiki-page/
For an example of a failing build: https://buildkite.com/stanford-aha/aha-flow/builds/940
It seems like it gets to the point where a testbench is compiled in Verilator and then begins running, but after a while the process running Verilator is taking up 0% CPU and seems like it hangs. Not sure if this is because a testbench failed to terminate or something else.
Dependabot encountered the following error when parsing your .dependabot/config.yml
:
The property '#/' contains additional properties ["automerged_updates"] outside of the schema when none are allowed
Please update the config file to conform with Dependabot's specification using our docs and online validator.
Whenever scripts and CI definitions update on master
, the changes need to be propagated to the other branches for the Buildkite CI to work. Additionally, we usually want to have the branches running the most updated version of CI they can.
One way to fix this might be to create a scripts
branch where updating the scripts is done and then merging that into both master
and the other branches.
I've been trying to go through the basic flow in the readthedocs page just to get started. Everything works well until I run:
aha test apps/pointwise
At which point I get a long error printout from the simulator which ends with:
file: flop_unq1.sv
module worklib.flop_unq1:sv
errors: 0, warnings: 0
Elaborating the design hierarchy:
Caching library 'worklib' ....... Done
.config_config_addr(config_config_addr),
|
ncelab: *E,CUVPOM (./Interconnect_tb.sv,88|26): Port name 'config_config_addr' is invalid or has multiple connections.
.config_config_data(config_config_data),
|
ncelab: *E,CUVPOM (./Interconnect_tb.sv,89|26): Port name 'config_config_data' is invalid or has multiple connections.
.config_read(config_read),
|
ncelab: *E,CUVPOM (./Interconnect_tb.sv,90|19): Port name 'config_read' is invalid or has multiple connections.
.config_write(config_write),
|
ncelab: *E,CUVPOM (./Interconnect_tb.sv,91|20): Port name 'config_write' is invalid or has multiple connections.
.stall(stall),
|
ncelab: *E,CUVPOM (./Interconnect_tb.sv,94|13): Port name 'stall' is invalid or has multiple connections.
irun: *E,ELBERR: Error during elaboration (status 1), exiting.
</STDOUT>
Found 1 error(s):
1) Got return code 1.
Traceback (most recent call last):
File "tbg.py", line 390, in <module>
test.test()
File "tbg.py", line 321, in test
directory=tempdir)
File "/aha/fault/fault/tester/staged_tester.py", line 276, in compile_and_run
self._compile_and_run(target=target, **kwargs)
File "/aha/fault/fault/tester/staged_tester.py", line 261, in _compile_and_run
self.run(target)
File "/aha/fault/fault/tester/staged_tester.py", line 251, in run
target_obj.run(self.actions)
File "/aha/fault/fault/system_verilog_target.py", line 715, in run
err_str=sim_err_str, disp_type=self.disp_type)
File "/aha/fault/fault/subprocess_run.py", line 163, in subprocess_run
raise AssertionError
AssertionError
Traceback (most recent call last):
File "/aha/bin/aha", line 11, in <module>
load_entry_point('aha', 'console_scripts', 'aha')()
File "/aha/aha/aha.py", line 51, in main
args.dispatch(args, extra_args)
File "/aha/aha/util/test.py", line 27, in dispatch
cwd=args.aha_dir / "garnet",
File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/aha/bin/python', 'tbg.py', 'garnet.v', 'garnet_stub.v', PosixPath('/aha/Halide-to-Hardware/apps/hardware_benchmarks/apps/pointwise/bin/pointwise.bs.json')]' returned non-zero exit status 1.
Am I doing something wrong here? Do either @hofstee or @Kuree have any idea what might be going wrong?
I was using garnet to test demosaic_complex app which have three output port(RGB) in parallel. It could not identify the pixel size from the gold.raw
file. Keyi suggest we take the .pgm
file from Halide and it have the pixel width information.
Dependabot was set up to create pull requests against the branch coreir-dev
, but couldn't find it.
If the branch has been permanently deleted you can update Dependabot's target branch in the .dependabot/config.yml
file in this repo.
With the guidance of the website, I install the aha docker and run the "garnet", "halide", "map" successfully, but when I try to run "aha test apps/pointwise", it occurs some errors:
Running command: verilator -Wall -Wno-INCABSPATH -Wno-DECLFILENAME -Wno-fatal --cc Interconnect.v --exe Interconnect_driver.cpp --top-module Interconnect
%Warning-PINMISSING: Interconnect.v:2112: Cell has missing pin: ren_out
%Warning-PINMISSING: Use "/* verilator lint_off PINMISSING */" and lint_on around source to disable this message.
%Warning-PINMISSING: Interconnect.v:2112: Cell has missing pin: wen_out
%Warning-PINMISSING: Interconnect.v:10384: Cell has missing pin: parallel_out
%Error: Specified --top-module 'Interconnect' isn't at the top level, it's under another cell 'Garnet'
%Error: Exiting due to 1 error(s)
%Error: Command Failed /usr/bin/verilator_bin -Wall -Wno-INCABSPATH -Wno-DECLFILENAME -Wno-fatal --cc Interconnect.v --exe Interconnect_driver.cpp --top-module Interconnect
Found 1 error(s):
I don't have the Cadence Incisive, so I install the verilator.
All of the commands are:
aha garnet --width 16 --height 4 --verilog --interconnect-only --no-pd
aha halide apps/pointwise
aha map apps/pointwise --width 16 --height 4 --interconnect-only --no-pd
aha test apps/pointwise
Thanks a lot! Happy new year.
Previously, using the aha Docker image, on a generic linux server, with Verilator installed, I was able to run the garnet generation, halide compilation, map/pnr, and the test bench sequentially on a subset of the applications the Halide-to-Hardware repo.
The problem I now have is that in the last few months I think lot of the feature work related to clockwork has moved forward and I am no longer able to coax the commands (garnet->halide->map->test) into running in the docker container. I suspect that the accumulated changes have fully deprecated the ability to run anything outside of the specific dev env the team uses that includes xcelium and Cadence IP.
Here's a series of commands that used to run for harris/resnet_layer_gen/others, that no longer does:
# within aha docker container
apt update && apt install verilator
...
python garnet.py --width 32 --height 16 --verilog --interconnect-only --no-pd
aha halide apps/harris
aha map apps/harris --width 32 --height 16
aha test apps/harris
Previously I had applied single line edits in garnet.py and tbg.py inspired by
Those no longer seem to help make it past errors.
Is the glb
/ global buffer related to/required for running these types of tests? #1277
Hey @hofstee I'm trying to run the quick start described in the docs on kiwi, but I get the following error:
dhuff@kiwi:~/aha$ pip install -e .
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/dhuff/aha
ERROR: Package 'aha' requires a different Python: 3.6.9 not in '>=3.7'
Any idea what I'm doing wrong?
Dependabot encountered the following error when parsing your .dependabot/config.yml
:
Automerging is not enabled for this account. You can enable it from the [account settings](https://app.dependabot.com/accounts/hofstee/settings) screen in your Dependabot dashboard.
Please update the config file to conform with Dependabot's specification using our docs and online validator.
Currently, it seems like even if the builds succeed, the PR is reported as a failure. e.g. cdonovick/peak#137
Your dependency file specified a branch or reference for lake
, but Dependabot couldn't find it at the project's source. Has it been removed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.