From 1469686228b35ca0793ed28d1614d41a01e9cdb5 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 31 Mar 2015 20:44:40 +0200 Subject: Fix entity instantiation with extended identifier. From a patch by Ole Myren Rohne. --- testsuite/gna/bug12/demo.vhd | 14 ++++++++++++++ testsuite/gna/bug12/testsuite.sh | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 testsuite/gna/bug12/demo.vhd create mode 100755 testsuite/gna/bug12/testsuite.sh (limited to 'testsuite/gna/bug12') diff --git a/testsuite/gna/bug12/demo.vhd b/testsuite/gna/bug12/demo.vhd new file mode 100644 index 0000000..2b97782 --- /dev/null +++ b/testsuite/gna/bug12/demo.vhd @@ -0,0 +1,14 @@ +entity bar is +end entity bar; +entity \foo\ is + port (test : in bit); +end entity \foo\; +architecture structural of \foo\ is +begin -- architecture structural +end architecture structural; +architecture structural of bar is + signal test : bit; +begin -- architecture structural + foo_1: entity work.\foo\ + port map (test => test); +end architecture structural; diff --git a/testsuite/gna/bug12/testsuite.sh b/testsuite/gna/bug12/testsuite.sh new file mode 100755 index 0000000..9b3d98c --- /dev/null +++ b/testsuite/gna/bug12/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze demo.vhd +elab_simulate bar structural + +clean + +echo "Test successful" -- cgit