Hi !
My question was asked before (2005):
# simple_name = s
# path_name = :name_attrib[std_logic]:s
# instance_name = :name_attrib(a)[std_logic]:s
I was expecting # simple_name = SIG.
What did I miss?
I used ModelSim Altera Starter edition 6.5
Thanks.
My question was asked before (2005):
The answer given by @Jonathan Bromley was to try the following:Can I access a std_logic signal attribute that is the signals name as a
string?
The problem is that I tried that and I got:library ieee;
use ieee.std_logic_1164.all;
use std.textio.all;
entity name_attrib is end;
architecture A of name_attrib is
signal SIG: std_logic;
procedure P (signal S: in std_logic) is begin
write(output, "simple_name = " & S'simple_name & CR & LF);
write(output, "path_name = " & S'path_name & CR & LF);
write(output, "instance_name = " & S'instance_name & CR & LF);
end;
begin
process begin
P(SIG);
wait;
end process;
end;
# simple_name = s
# path_name = :name_attrib[std_logic]:s
# instance_name = :name_attrib(a)[std_logic]:s
I was expecting # simple_name = SIG.
What did I miss?
I used ModelSim Altera Starter edition 6.5
Thanks.