EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

Retrieving a signal parameter's name

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - VHDL Language - Retrieving a signal parameter's name

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

elektroda.net NewsGroups Forum Index - VHDL Language - Retrieving a signal parameter's name

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony