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

Fixes commas in Modelsim generics. Closes #280. #284

Merged
merged 1 commit into from
Oct 30, 2017
Merged

Fixes commas in Modelsim generics. Closes #280. #284

merged 1 commit into from
Oct 30, 2017

Conversation

dave2pi
Copy link
Contributor

@dave2pi dave2pi commented Oct 30, 2017

Modelsim interface needs to enclose strings for generic values containing spaces and commas in quotes or quotes and braces.
Strings with a space require braces and quotes eg. '{"x y"}' or '{"x, y"}'.
String with a comma but no space must have quotes but no braces eg. '"x,y"'.
String with neither comma or space require no braces or quotes eg. 'xy'.

Modelsim interface needs to enclose strings for generic values containing spaces and commas in quotes or quotes and braces. 
Strings with a space require braces and quotes eg. `'{"x y"}'` or `'{"x, y"}'`. 
String with a comma but no space must have quotes but no braces eg. `'"x,y"'`.
String with neither comma or space require no braces or quotes eg. `'xy'`.
@kraigher kraigher merged commit a18bca0 into VUnit:master Oct 30, 2017
nathanaelhuffman pushed a commit to nathanaelhuffman/vunit that referenced this pull request Jul 30, 2018
Modelsim interface needs to enclose strings for generic values containing spaces and commas in quotes or quotes and braces. 
Strings with a space require braces and quotes eg. `'{"x y"}'` or `'{"x, y"}'`. 
String with a comma but no space must have quotes but no braces eg. `'"x,y"'`.
String with neither comma or space require no braces or quotes eg. `'xy'`.
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

Successfully merging this pull request may close these issues.

2 participants