Posts: 4
Threads: 3
Joined: Sep 2023
I'm trying to build the HERO project, and I am on the step where I am meant to run " ../test/gen_slm_files.sh <app_name>."
However, I have an issue with line 11 of the file, which isĀ
Code:
slm_conv=~andkurt/bin/slm_conv-0.3
When I try running the command, I am told that the directory above does not exist. "~andkurt" is obviously the creator's home directory, but what is slm_conv-0.3 and how can I install it? There's nothing in the github repo mentioning it, and I haven't found it referenced anywhere else on the PULP platform. Even on google I haven't found a relevant result.
Posts: 152
Threads: 0
Joined: Oct 2018
Hello,
The slm converter is under:
https://github.com/andreaskurth/slm_conv
Latest version 0.3.2 is compatible with what you need. It is used to convert memory dumps into individual initialization values for the memory macros so that RTL simulations.
We will be looking to clarify/replace that part. Thanks for pointing out
KGF
Visit pulp-platform.org and follow us on twitter @pulp_platform
Posts: 4
Threads: 3
Joined: Sep 2023
Thanks for the response. How exactly do I use the files from the repo? The line in gen_slm_files.sh looks like it points slm_conv to an executable, so is there some way I need to build or compile the files?
Posts: 152
Threads: 0
Joined: Oct 2018
The executable has to be generated from its source (do not blame me, I am just explaining). It has been written with rust, and cargo is the tool/packager to compile rust source into executable by resolving all the dependencies..
https://github.com/rust-lang/cargo
That should get you going.. We have talked about it, and we will fix this or add it to the download flow we have, but until it makes it into the repo, you would be faster if you could get cargo to work. Most Linux distributions would have a cargo package..
Visit pulp-platform.org and follow us on twitter @pulp_platform