ucb-bar / hwacha-template

Template for projects using the Hwacha data-parallel accelerator
http://hwacha.org/
Other
34 stars 10 forks source link

Software development for HWACHA #4

Closed aignacio closed 5 years ago

aignacio commented 5 years ago

Hi everyone from Hwacha team, Thanks for sharing this template for Hwacha!, I'm starting to test your repository and after a cloning and building the default configuration (ISCA2016Config) the emulator has been generated with the name simulator-freechips.rocketchip.system-ExampleHwachaConfig what I suppose that's right. So, what's template software code for generating code for such target? I was trying to run a dhrystone benchmark on the target and it did not work, as other programs that I have been using from the official riscv-tests. screenshot from 2019-02-25 10-57-59 Can you provide a simple step or point up the right repo to use as base for software development for HWACHA? I tried to build esp-tests also and I couldn't get it, because the custom instructions were not recognized by the toolchain.

a0u commented 5 years ago

The Hwacha port of the GNU toolchain can be built from the esp-tools meta-repo, which is included as a submodule in hwacha-template. See the "Getting Started" section of the README.

aignacio commented 5 years ago

@a0u thanks!, I was clicking on the link on the README.md but it's pointing to a broken link (ends with /riscv/esp-tools) and I didn't search for the right one....

a0u commented 5 years ago

I was clicking on the link on the README.md but it's pointing to a broken link

Fixed by 7b07d9033df5962538e741e839798657f1716d17 - thanks for the catch.