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

Running garnet->halide->map->test in Docker container #126

Closed
jwkirchenbauer opened this issue Jul 14, 2021 · 1 comment
Closed

Running garnet->halide->map->test in Docker container #126

jwkirchenbauer opened this issue Jul 14, 2021 · 1 comment

Comments

@jwkirchenbauer
Copy link

jwkirchenbauer commented Jul 14, 2021

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 leverages the 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 fixes in garnet.py and tbg.py inspired by

StanfordAHA/aha#1058
StanfordAHA/garnet#452

Those no longer seem to help make it past errors.

How, if at all, is the glb/ global buffer related to running these types of tests? StanfordAHA/aha#1277

@jeffsetter
Copy link
Collaborator

I think this issue makes more sense in
https://github.com/StanfordAHA/aha

Do you mind reposting there?

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