aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue525/repro1.vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue525/repro1.vhdl')
-rw-r--r--testsuite/gna/issue525/repro1.vhdl28
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/gna/issue525/repro1.vhdl b/testsuite/gna/issue525/repro1.vhdl
new file mode 100644
index 000000000..3fc5e2e96
--- /dev/null
+++ b/testsuite/gna/issue525/repro1.vhdl
@@ -0,0 +1,28 @@
+entity repro is
+ port
+ (
+ clk : in bit;
+ rst : in bit;
+
+ data_out : out bit_vector(7 downto 0)
+ );
+end ;
+
+
+architecture arch1 of repro is
+
+ --
+ -- NOTE: placing port attributes here in the architecture body is illegal in VHDL,
+ -- but unfortunately Vivado requires them here to parse the X_INTERFACE attributes
+ --
+ attribute X_INTERFACE_INFO : string;
+ attribute X_INTERFACE_PARAMETER : string;
+
+ attribute X_INTERFACE_INFO of rst : signal is "xilinx.com:signal:reset:1.0 rst RST";
+ attribute X_INTERFACE_PARAMETER of rst : signal is "POLARITY ACTIVE_HIGH";
+
+begin
+
+
+end arch1;
+