projects
/
yosys.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use ID() in kernel/*, add simple ID:: hack (to be improved upon later)
[yosys.git]
/
manual
/
APPNOTE_011_Design_Investigation
/
example.v
1
module example(input clk, a, b, c,
2
output reg [1:0] y);
3
always @(posedge clk)
4
if (c)
5
y <= c ? a + b : 2'd0;
6
endmodule