mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-26 18:45:34 +00:00
initial import
This commit is contained in:
commit
7764d0ba1d
481 changed files with 54634 additions and 0 deletions
11
tests/hana/test_parse2synthtrans_operators_1_test.v
Normal file
11
tests/hana/test_parse2synthtrans_operators_1_test.v
Normal file
|
@ -0,0 +1,11 @@
|
|||
module test(in, out);
|
||||
input in;
|
||||
output out;
|
||||
parameter p1 = 10;
|
||||
parameter p2 = 5;
|
||||
|
||||
assign out = +p1;
|
||||
assign out = -p2;
|
||||
assign out = p1 + p2;
|
||||
assign out = p1 - p2;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue