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

Support use of environment variables in dot-f format? #6

Closed
kevbroch opened this issue Dec 10, 2019 · 2 comments
Closed

Support use of environment variables in dot-f format? #6

kevbroch opened this issue Dec 10, 2019 · 2 comments

Comments

@kevbroch
Copy link

My design.f file has something like +incdir+$DSNTOP/inc

So I kept getting the following message until I just replaced $DSNTOP with the full path.
Error: failed to include 'dsn_param.svh'

Here's Icarus Verilog doc description if that's useful.

dalance added a commit that referenced this issue Dec 11, 2019
@dalance
Copy link
Owner

dalance commented Dec 11, 2019

Thank you for the request.
I added the support of variable with paren like Icarus at v0.2.19.

Now +incdir+$(DSNTOP)/inc or +incdir+${DSNTOP}/inc can be used.
I think +incdir+$DSNTOP/inc may be ambiguous and expect to use paren or brace.

@kevbroch
Copy link
Author

Thank you for this feature and how quickly you did it.

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