aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/synth/sns01/tb_add03.vhdl8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/synth/sns01/tb_add03.vhdl b/testsuite/synth/sns01/tb_add03.vhdl
index 7bc68ea8a..e856744a7 100644
--- a/testsuite/synth/sns01/tb_add03.vhdl
+++ b/testsuite/synth/sns01/tb_add03.vhdl
@@ -19,6 +19,14 @@ begin
borrow <= '0';
wait for 1 ns;
assert res = b"00000_0011" severity failure;
+
+
+ a <= b"00000_0010";
+ b <= b"00000_0001";
+ borrow <= '1';
+ wait for 1 ns;
+ assert res = b"00000_0000" severity failure;
+
wait;
end process;
end behav;