blob: 460a1ed113cb903c2d238beea5d799608c3f7dc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
use work.attrs_pkg.all;
entity ent3 is
attribute ent_name of ent3: entity is "entity ent3";
attribute ent_type of ent3: entity is "LogicIII";
attribute ent_stat of ent3: entity is 45;
end entity ent3;
architecture rtl of ent3 is
attribute arc_name of rtl: architecture is "rtl of ent3";
attribute arc_type of rtl: architecture is "RTL";
attribute arc_stat of rtl: architecture is 35;
begin
process
begin
report "I am: " & rtl'arc_name;
report "Type: " & rtl'arc_type;
report "Status: " & integer'image(rtl'arc_stat);
wait;
end process;
end rtl;
|