Sign in
foss-fpga-tools
/
third_party
/
yosys
/
0221f7e524163f6ffdd4ceae9038187eeeefc3e9
/
.
/
manual
/
APPNOTE_011_Design_Investigation
/
example.v
blob: 8c71989b3653b58ff1772811c000428489a96578 [
file
] [
log
] [
blame
]
module
example
(
input clk
,
a
,
b
,
c
,
output reg
[
1
:
0
]
y
);
always
@(
posedge clk
)
if
(
c
)
y
<=
c
?
a
+
b
:
2
'd0;
endmodule