yosys/tests/asicworld/code_tidbits_reg_combo_exam...

14 lines
133 B
Verilog
Raw Permalink Normal View History

2013-01-05 11:13:26 +01:00
module reg_combo_example( a, b, y);
input a, b;
output y;
reg y;
wire a, b;
always @ ( a or b)
2026-06-23 07:24:59 +02:00
begin
2013-01-05 11:13:26 +01:00
y = a & b;
end
endmodule