Skip to content
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

Handle .mem files in sim projects #144

Open
dinyar opened this issue May 2, 2021 · 3 comments
Open

Handle .mem files in sim projects #144

dinyar opened this issue May 2, 2021 · 3 comments

Comments

@dinyar
Copy link
Contributor

dinyar commented May 2, 2021

When using XPM modules I need to copy the .mem files that hold the contents of the memories into the project folder (i.e. proj/[project name]) for the sim project. Apparently Vivado does this automatically for itself once one adds mem files to a Vivado project.

It might make sense to extend ipbb to understand the .mem extension for simulation projects and when added copy those to the project folder. Currently I link the mem files over into the project folder as part of the CI, but in the upcoming common CI we'd prefer to have all project specific tasks contained in ipbb config files.

@alessandrothea
Copy link
Collaborator

Yep, it would be good for ipbb to take care of that. This is in fact a similar problem to the mifs and in fact, it would be good to have consistent handling of these "memory data files". Would you be able to put together a minimal example?

@dinyar
Copy link
Contributor Author

dinyar commented May 6, 2021

Hi,

Sorry for the delay, a minimal example can be found at https://gitlab.cern.ch/dinyar/mem-files-in-ipbb, you should have access, let me know if not.

Cheers,
Dinyar

@dinyar
Copy link
Contributor Author

dinyar commented Sep 12, 2021

Hi @alessandrothea,

Any news on this? If you're fine with it I could try to give this a shot and make a PR. Let me know.

Cheers,
Dinyar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants