-
Notifications
You must be signed in to change notification settings - Fork 638
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
Error for test Sha3-rocc and hwacha examples #376
Comments
How did you compile the c code? I don't think that test is a baremetal test so you would need to use something like You should try using the steps in the readme here: |
The toolchain in the chipyard project is particularly slow to download in China, so I used a toolchain from another project eg. "hwacha-template"(riscv-tools is a version of esp-tools,I changed a few esp-tools versions, but all have such problems).So I need to download the original toolchain to prove the sh3 is right, but this error on hwacha has been difficult to solve. |
Can be modified as follows in "variables.mk" |
Can you please try using these steps for sha3? |
@colinschmidt Thank you for your reply.The purpose of testing this is mainly to make the hwacha coprocessor run on FPGA.So I hope to see the waveform for further research.SHA3 is used for Comparative Test.The tools you provided are a bit complicated and I'm not sure if it can meet my needs. After the Chinese New Year I will spend some time learning this tool. |
You will need to use the esp-tools built from chipyards build-toolchain script to run hwacha code. If you follow those steps and it doesn't work feel free to post here again with the errors you get. |
Closed due to inactivity. Feel free to re-open if necessary. |
hi, I have compiled rocket using :
make debug CONFIG=Sha3RocketConfig
toolchains is: chipyard-toolchain-prebuilt https://github.com/ucb-bar/chipyard-toolchain-prebuilt.git
and get file simulator-example-Sha3RocketConfig-debug
but when I ran sha3-rocc.c example using:
./simulator-example-Sha3RocketConfig-debug +verbose -v sha3.vcd /mnt/c/chipyard/generators/sha3/src/main/c/sha3.rv
I got errors (hwacha has the same problem):
./simulator-example-Sha3RocketConfig-debug +verbose -v sha3.vcd /mnt/c/chipyard/generators/sha3/src/main/c/sha3.rv
using random seed 1578896255
This emulator compiled with JTAG Remote Bitbang client. To enable, use +jtag_rbb_enable=1.
Listening on port 63817
C0: 0 [0] pc=[fffffff00781e10f] W[r 0=f4127e83c66bb0c8][0] R[r24=0000000000000000] R[r15=5248c5aa209602f5] inst=[00007462] DASM(00007462)
warning: tohost and fromhost symbols not in ELF; can't communicate with target
thanks!
The text was updated successfully, but these errors were encountered: