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

case sensitive parameter comparison #153

Closed
swattor opened this issue Mar 24, 2016 · 2 comments
Closed

case sensitive parameter comparison #153

swattor opened this issue Mar 24, 2016 · 2 comments

Comments

@swattor
Copy link

swattor commented Mar 24, 2016

I've got a systemverilog testbench that I am trying to set a parameter on - however I get the following error:

WARNING - Generic 'test_generic' set to value '1' not found in entity 'lib.testbench'. Possible values are [TEST_GENERIC]

This is the line that I'm using to set the parameter:
testbench.set_parameter("TEST_GENERIC",1)

Can this comparison be made to be case insensitive? Or I may be doing something else wrong.

@swattor
Copy link
Author

swattor commented Mar 24, 2016

Looks like it's the name.lower() on line 380 of ui.py that is causing this.

@kraigher
Copy link
Collaborator

kraigher commented Apr 3, 2016

For VHDL we normalize everything to lower case. For Verilog this could cause problems. We will have to fix 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