aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ecp5/div_mod.v
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-09-30 14:57:55 -0700
committerEddie Hung <eddie@fpgeh.com>2019-09-30 14:57:55 -0700
commit0bbd1b63648f621dae92bcd5963e387eff66f685 (patch)
tree5db0e8a9c813b3ad1978444f1b9753637679cec1 /tests/ecp5/div_mod.v
parenta274b7cc86d4f64541d3d2903b4eeed4616ab1d8 (diff)
parent5eb91fa69fc62482d09c1927b3a6f8164dee9408 (diff)
downloadyosys-0bbd1b63648f621dae92bcd5963e387eff66f685.tar.gz
yosys-0bbd1b63648f621dae92bcd5963e387eff66f685.tar.bz2
yosys-0bbd1b63648f621dae92bcd5963e387eff66f685.zip
Merge branch 'SergeyDegtyar/ecp5' of https://github.com/SergeyDegtyar/yosys into eddie/pr1352
Diffstat (limited to 'tests/ecp5/div_mod.v')
-rw-r--r--tests/ecp5/div_mod.v13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ecp5/div_mod.v b/tests/ecp5/div_mod.v
new file mode 100644
index 000000000..64a36707d
--- /dev/null
+++ b/tests/ecp5/div_mod.v
@@ -0,0 +1,13 @@
+module top
+(
+ input [3:0] x,
+ input [3:0] y,
+
+ output [3:0] A,
+ output [3:0] B
+ );
+
+assign A = x % y;
+assign B = x / y;
+
+endmodule