-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
PSL various crashes of built-in functions #1001
Comments
@nickg I can try to have a look at some of the PSL issues, but I need to know what to deal with |
I think VHDL |
I maybe was not precise:
|
PSL standard (IEEE 1850-2010): 5.1.2:
5.1.3:
|
Ah, okay. So you mean |
Yes, that is it. |
Some of the PSL built-in functions crash.
E.g.
rose
andfell
crash:crashes with:
Almost equal crash occurs with
rose
.When I try
isunknown
but pass only argument ofstd_logic
type, I get slightly different crash:with the crash:
with argument of
std_logic_vector
, theisunknown
seems to work correctly. I think parser shouldreject this at analysis time, since
isunknown
is defined only forBitCector
type in PSL LRM.NVC behaves that-way for
onehot
function, e.g.:and returns correct error:
TO reproduce is the same repo as other issues with:
9024a2cdc3d134904ae784781d8a62278b8baf6d
make psl_fell
The text was updated successfully, but these errors were encountered: