polarfire-soc / icicle-kit-reference-design

PolarFire SoC Icicle Kit Libero reference design
Other
29 stars 13 forks source link

Accessing the fabric memories #22

Open cchalou98 opened 1 year ago

cchalou98 commented 1 year ago

Screenshot 2023-03-27 105527 Hello everyone, I keep having this issue trying to upload hex file into the LSRAM of the fabric, could anyone give me steps to follow cuz I think am missing something.

hughbreslin commented 1 year ago

Hey @cchalou98 is this a hex file generated with SoftConsole? You may need to normalize the addresses in the hex file, its described in this section of the SoftConsole release notes :)

cchalou98 commented 1 year ago

Hey @cchalou98 is this a hex file generated with SoftConsole? You may need to normalize the addresses in the hex file, its described in this section of the SoftConsole release notes :)

No, actually not from SoftConsole

hughbreslin commented 1 year ago

Hmm ok, my suggestion would still apply if you have an extended segment address record in your hex file, Libero can't process these as the data shouldn't be offset in the memory. Without knowing how your generating your hex file or maybe how big it is it hard to help more, we should probably make this a discussion item.

cchalou98 commented 1 year ago

Hmm ok, my suggestion would still apply if you have an extended segment address record in your hex file, Libero can't process these as the data shouldn't be offset in the memory. Without knowing how your generating your hex file or maybe how big it is it hard to help more, we should probably make this a discussion item.

I am just importing a hex file into the memories in Libero, and am not sure that's the way to do it, could you please provide me with good documents on how to do that?

hughbreslin commented 1 year ago

Hi @cchalou98 sorry about the delay in getting back - are you still facing this issue? I'm not sure what you want documentation on, is it importing clients to memory or how to generate a client?