Rob Gaddi
Guest
Fri Sep 02, 2011 5:04 pm
This should be far easier to figure out than it is. If I've got a
signal as a parameter to a procedure, such as
procedure test_ext_irq(
signal irq_line : out boolean;
irq_mask : in t_wb_data)
Is there any way for me to get the name of the actual signal connected
to irq_line to use it in an assertion? irq_line'simple_name just gives
me irq_line, a thing I find tremendously unhelpful.
--
Rob Gaddi, Highland Technology
Email address is currently out of order
Jonathan Bromley
Guest
Fri Sep 02, 2011 5:24 pm
On Fri, 02 Sep 2011 10:04:05 -0700, Rob Gaddi wrote:
Quote:
This should be far easier to figure out than it is. If I've got a
signal as a parameter to a procedure, such as
procedure test_ext_irq(
signal irq_line : out boolean;
irq_mask : in t_wb_data)
Is there any way for me to get the name of the actual signal connected
to irq_line to use it in an assertion? irq_line'simple_name just gives
me irq_line, a thing I find tremendously unhelpful.
Rob, I don't believe there is any direct way to do this.
You can, of course, provide a string input parameter and feed
it the actual signal's 'SIMPLE_NAME. But that is somewhat
self-defeating.
This is one of those things that would be facilitated
by text-preprocessing macros....
Sorry!
--
Jonathan Bromley