diff options
author | SergeyDegtyar <sndegtyar@gmail.com> | 2019-09-03 11:53:37 +0300 |
---|---|---|
committer | SergeyDegtyar <sndegtyar@gmail.com> | 2019-09-03 11:53:37 +0300 |
commit | 11f330ed223f524cbbdbe2433599990a69b8f380 (patch) | |
tree | 627373ced7ca850efe284caf31c7866cddaa934b /tests/ecp5/add_sub.v | |
parent | 7e8f7f4c59c96897159d32771d0c7179c5474281 (diff) | |
download | yosys-11f330ed223f524cbbdbe2433599990a69b8f380.tar.gz yosys-11f330ed223f524cbbdbe2433599990a69b8f380.tar.bz2 yosys-11f330ed223f524cbbdbe2433599990a69b8f380.zip |
Add tests for ECP5 architecture
Diffstat (limited to 'tests/ecp5/add_sub.v')
-rw-r--r-- | tests/ecp5/add_sub.v | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ecp5/add_sub.v b/tests/ecp5/add_sub.v new file mode 100644 index 000000000..177c32e30 --- /dev/null +++ b/tests/ecp5/add_sub.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 |