Sign in
foss-fpga-tools
/
third_party
/
yosys
/
8b68a939f451731cc82fd03b1048d9aab471f47b
/
.
/
tests
/
asicworld
/
code_tidbits_reg_combo_example.v
blob: 9689788c4335fba471251fff5650144fd4199ce0 [
file
] [
log
] [
blame
]
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