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

Conditions are not matching HDL literals #42

Closed
christian-lanius opened this issue Oct 14, 2020 · 1 comment
Closed

Conditions are not matching HDL literals #42

christian-lanius opened this issue Oct 14, 2020 · 1 comment

Comments

@christian-lanius
Copy link
Contributor

The following is a valid line of sdf:
(COND B==1'b0&&C==1'b0&&D==1'b0 (IOPATH A Z (61.500:100.000:150.900) (26.900:40.000:61.400)))
However, the literal "1'b0" is not being matched, as it does not match to the regex for a float. I am unsure if the sdf standard allows for floating points to be used at this point.
I will open a pull request with a very simple fix to this issue. With my simple test .sdf unfortunately the test fails, as the white spacing is different. Though that should be a simple case to add to the test suite.

@kgugala
Copy link
Member

kgugala commented Oct 15, 2020

fixed in #43

@kgugala kgugala closed this as completed Oct 15, 2020
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