diff options
Diffstat (limited to 'testsuite/gna/issue1528/ent3.vhdl')
-rw-r--r-- | testsuite/gna/issue1528/ent3.vhdl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/gna/issue1528/ent3.vhdl b/testsuite/gna/issue1528/ent3.vhdl new file mode 100644 index 000000000..460a1ed11 --- /dev/null +++ b/testsuite/gna/issue1528/ent3.vhdl @@ -0,0 +1,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; |