aboutsummaryrefslogtreecommitdiffstats
path: root/manual/PRESENTATION_ExSyn/opt_01.v
diff options
context:
space:
mode:
Diffstat (limited to 'manual/PRESENTATION_ExSyn/opt_01.v')
-rw-r--r--manual/PRESENTATION_ExSyn/opt_01.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/manual/PRESENTATION_ExSyn/opt_01.v b/manual/PRESENTATION_ExSyn/opt_01.v
new file mode 100644
index 000000000..5d3c1ea49
--- /dev/null
+++ b/manual/PRESENTATION_ExSyn/opt_01.v
@@ -0,0 +1,3 @@
+module test(input A, B, output Y);
+assign Y = A ? A ? B : 1'b1 : B;
+endmodule