aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opt/opt_share_add_sub.v
diff options
context:
space:
mode:
authorBogdan Vukobratovic <bogdan.vukobratovic@gmail.com>2019-08-03 12:28:46 +0200
committerBogdan Vukobratovic <bogdan.vukobratovic@gmail.com>2019-08-03 12:28:46 +0200
commit280c4e7794543e99244aafffc62a2dd4454bcb06 (patch)
tree25bfb330502afc441af41c0d38c4aa4b6d4b0bbd /tests/opt/opt_share_add_sub.v
parentc075486c59155d16ed278922a3752366a95246ff (diff)
downloadyosys-280c4e7794543e99244aafffc62a2dd4454bcb06.tar.gz
yosys-280c4e7794543e99244aafffc62a2dd4454bcb06.tar.bz2
yosys-280c4e7794543e99244aafffc62a2dd4454bcb06.zip
Fix spacing in opt_share tests, change wording in opt_share help
Diffstat (limited to 'tests/opt/opt_share_add_sub.v')
-rw-r--r--tests/opt/opt_share_add_sub.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/opt/opt_share_add_sub.v b/tests/opt/opt_share_add_sub.v
index 30e093a39..1c2665cf0 100644
--- a/tests/opt/opt_share_add_sub.v
+++ b/tests/opt/opt_share_add_sub.v
@@ -1,10 +1,10 @@
module opt_share_test(
- input [15:0] a,
- input [15:0] b,
- input sel,
- output [15:0] res,
- );
+ input [15:0] a,
+ input [15:0] b,
+ input sel,
+ output [15:0] res,
+ );
- assign res = {sel ? a + b : a - b};
+ assign res = {sel ? a + b : a - b};
endmodule