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

Make it possible to control the base directory for a given module #10

Open
gs-jgj opened this issue May 4, 2020 · 2 comments
Open

Make it possible to control the base directory for a given module #10

gs-jgj opened this issue May 4, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@gs-jgj
Copy link
Contributor

gs-jgj commented May 4, 2020

This can otherwise be problematic for calls to $readmemh etc.

@dkozel dkozel added enhancement New feature or request help wanted Extra attention is needed labels May 4, 2020
@dkozel
Copy link

dkozel commented May 4, 2020

Hi @gs-jgj
Do you have an example testbench that has this issue or even better have you looked at adding this feature?

@gs-jgj
Copy link
Contributor Author

gs-jgj commented May 4, 2020

Haven't looked into it yet. A simple workaround is just to put absolute paths in all places that read data

But attached is a simple testcase that shows the issue
testcase.zip

It will fail with %Error: lut.dat:0: $readmem file not found if you leave the files in some random directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants