attribute signal name in procedure
My question was asked before (2005):
# simple_name = s
# path_name = :name_attrib:p[std_logic]:s
# instance_name = :name_attrib(a):p[std_logic]:s
I was expecting # simple_name = SIG.
What did I miss?
I used ModelSim Altera Starter edition 6.5
The aim of all this for me is to write a procedure that checks if a signal value is equal to a given expected value and print a message starting with the name of signal:
proc_check(signal signal_in, constant value_expected)
example proc_check(test,'0') ---> test: ok
should that be possible?
It turns out the same guy, @Jonathan Bromley, posted a reply for the same question, 6 years later (2011) and said that there is no direct way to do that ! :)
my procedure must have signal name of type string as an additional input :(
proc_check(test, "test checking", '0') for example :(
|All times are GMT. The time now is 09:21 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.