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
String as define issue #3391
base: master
Are you sure you want to change the base?
String as define issue #3391
Conversation
All failing tests are due to syntax error. |
1a3771c
to
929a95c
Compare
Ah, sorry, I was not clear. And I have missed commas :)
This is true, because of wrong formatting of string define parameter for the simulators. E.g:
This part must be like The same situation for Questa:
to I played a bit with combinations of lists, tuples, strings and so on. But no luck. Maybe there is a way to do it... |
I think the real answer is to create a function that takes the value and serializes it appropriately and use that instead of |
Sorry I approve by mistake. |
Would this work |
approved by accident -- still outstanding issues to be resolved
Removing the
I could be missing something, but seeing that |
@Lockedloop Good to know. |
Great, thanks a million! |
4053e6d
to
d06b167
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3391 +/- ##
==========================================
- Coverage 66.89% 66.40% -0.49%
==========================================
Files 49 49
Lines 8457 8462 +5
Branches 2384 2388 +4
==========================================
- Hits 5657 5619 -38
- Misses 1689 1719 +30
- Partials 1111 1124 +13 ☔ View full report in Codecov by Sentry. |
Sorry, just found this thread. Completely fine for me if you finish this :) |
Not sure what the Riviera and Xcelium issues are, but the icarus ones are because the one on apt is too old, I'll have to split that into a separate test and put a version ifdef on it. But I can see it being done soon. |
Xcelium appears to need more/different quoting. Maybe one that |
d06b167
to
2d4024b
Compare
Using |
99b5b6a
to
ea072f8
Compare
\\\"But\\ of\\ course!\\ It\\ needs\\ to\\ be\\ |
d8f4c11
to
1ae7c6e
Compare
So Xcelium doesn't seem to support spaces in defines passed on the command line no matter how many backslahes I add. This must be a limitation of their option parser. And it doesn't seem to like And I thought I had Riviera working; apparently not. I'm done with this. Someone else figure it out. |
@imphil Do you think Cadence would help us here? |
Absolutely. Can you write the text you'd like me to submit as issue to Cadence? I'll then copy-paste it over. |
String as define doesn't work. At least, for Questa and Icarus. I tried some tricks, but no luck. Is there a way to do it?
Thanks.