PULP Community
What is slm_conv-0.3 in HERO? - Printable Version

+- PULP Community (https://pulp-platform.org/community)
+-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1)
+--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2)
+--- Thread: What is slm_conv-0.3 in HERO? (/showthread.php?tid=325)



What is slm_conv-0.3 in HERO? - ajgaspar - 09-08-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.


RE: What is slm_conv-0.3 in HERO? - kgf - 09-18-2023

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


RE: What is slm_conv-0.3 in HERO? - ajgaspar - 10-27-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?


RE: What is slm_conv-0.3 in HERO? - kgf - 10-28-2023

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..