mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +00:00
initial import
This commit is contained in:
commit
7764d0ba1d
481 changed files with 54634 additions and 0 deletions
13
tests/asicworld/code_tidbits_reg_combo_example.v
Normal file
13
tests/asicworld/code_tidbits_reg_combo_example.v
Normal file
|
@ -0,0 +1,13 @@
|
|||
module reg_combo_example( a, b, y);
|
||||
input a, b;
|
||||
output y;
|
||||
|
||||
reg y;
|
||||
wire a, b;
|
||||
|
||||
always @ ( a or b)
|
||||
begin
|
||||
y = a & b;
|
||||
end
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue