From fdcbda195b8806cc3f8fb98e80da55e756c285c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?= Date: Wed, 27 Nov 2019 00:46:21 +0100 Subject: opt_share: Fix handling of fine cells. Fixes #1525. --- tests/opt/bug1525.ys | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/opt/bug1525.ys (limited to 'tests/opt') diff --git a/tests/opt/bug1525.ys b/tests/opt/bug1525.ys new file mode 100644 index 000000000..972bc0ac7 --- /dev/null +++ b/tests/opt/bug1525.ys @@ -0,0 +1,13 @@ +read_verilog << EOF +module top(...); +input A1, A2, B, S; +output O; + +assign O = S ? (A1 & B) : (A2 & B); + +endmodule +EOF + +simplemap +opt_share +dump -- cgit v1.2.3