From b9002fd5406696c5c7410ae5389ebbe50a51ab9b Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 11 Mar 2020 21:20:24 +0100 Subject: testsuite/synth: add a test for previous commit. --- testsuite/synth/conv01/conv01.vhdl | 12 ++++++++++++ testsuite/synth/conv01/testsuite.sh | 10 ++++++++++ 2 files changed, 22 insertions(+) create mode 100644 testsuite/synth/conv01/conv01.vhdl create mode 100755 testsuite/synth/conv01/testsuite.sh (limited to 'testsuite') diff --git a/testsuite/synth/conv01/conv01.vhdl b/testsuite/synth/conv01/conv01.vhdl new file mode 100644 index 000000000..f4cd8bab9 --- /dev/null +++ b/testsuite/synth/conv01/conv01.vhdl @@ -0,0 +1,12 @@ +library ieee; +use ieee.std_logic_1164.all; + +entity conv01 is + port (a, b : in std_logic; + z : out std_logic); +end conv01; + +architecture behav of conv01 is +begin + z <= not a and std_logic(b); +end behav; diff --git a/testsuite/synth/conv01/testsuite.sh b/testsuite/synth/conv01/testsuite.sh new file mode 100755 index 000000000..7de4702f2 --- /dev/null +++ b/testsuite/synth/conv01/testsuite.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. ../../testenv.sh + +for t in conv01; do + synth_analyze $t + clean +done + +echo "Test successful" -- cgit v1.2.3