mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 11:37:55 +00:00
initial import
This commit is contained in:
commit
7764d0ba1d
481 changed files with 54634 additions and 0 deletions
11
tests/hana/test_simulation_always_19_test.v
Normal file
11
tests/hana/test_simulation_always_19_test.v
Normal file
|
@ -0,0 +1,11 @@
|
|||
module test(ctrl, in1, in2, out);
|
||||
input ctrl;
|
||||
input in1, in2;
|
||||
output reg out;
|
||||
|
||||
always @ (ctrl or in1 or in2)
|
||||
if(ctrl)
|
||||
out = in1 & in2;
|
||||
else
|
||||
out = in1 | in2;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue