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

aha test Error #1058

Open
shibizhao opened this issue Jan 3, 2021 · 4 comments
Open

aha test Error #1058

shibizhao opened this issue Jan 3, 2021 · 4 comments

Comments

@shibizhao
Copy link

shibizhao commented Jan 3, 2021

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):

  1. Got return code 10. `

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.

@shibizhao shibizhao reopened this Jan 12, 2021
@hofstee
Copy link
Collaborator

hofstee commented Jan 13, 2021

Hmm I'm not sure if our code actually works with Verilator. @Kuree do you know if tbg still functions with Verilator or did we stop testing that?

I believe VCS or Xcelium should also work if you have one of those instead.

@Kuree
Copy link
Member

Kuree commented Jan 13, 2021

I haven't tested out the Verilator version for a l while so I believe it could be broken due to test bench generator refactoring etc. I can take a look.

The floating point will not work if you're using Verilator, since we're using Cadence IP. A black stud is used if the IP is not available. Integer apps however, should work once the TB is fixed.

@Kuree
Copy link
Member

Kuree commented Jan 17, 2021

Try to change this to Garnet: https://github.com/StanfordAHA/garnet/blob/master/garnet.py#L299

@xiaolingyi
Copy link

xiaolingyi commented Mar 29, 2022

I encountered the same problem. Has this question been solved?

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

4 participants