You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This question might be trivial to you, but I can't wrap my head around how this is supposed to work.
I want to check that a signal is at '0' on every rising clock edge of the testbench. For this I found the concurrent function invocation of check from this example.
Now I want it to always be enabled, so I call status_check: check(clk, '1', status_ok, "Concurrent status check failed."); but then ModelSim gives me an error that en must be a signal name. Do I always have to create a dummy signal which is '1'? Am I using the correct function for this job? Can check(...) be expanded to allow this case?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi all,
This question might be trivial to you, but I can't wrap my head around how this is supposed to work.
I want to check that a signal is at
'0'
on every rising clock edge of the testbench. For this I found the concurrent function invocation ofcheck
from this example.Now I want it to always be enabled, so I call
status_check: check(clk, '1', status_ok, "Concurrent status check failed.");
but then ModelSim gives me an error thaten
must be a signal name. Do I always have to create a dummy signal which is'1'
? Am I using the correct function for this job? Cancheck(...)
be expanded to allow this case?Thanks in advance!
The text was updated successfully, but these errors were encountered: