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
/
sumprod.v
1
module sumprod(a, b, c, sum, prod);
2
3
input [7:0] a, b, c;
4
output [7:0] sum, prod;
5
6
{* sumstuff *}
7
assign sum = a + b + c;
8
{* *}
9
10
assign prod = a * b * c;
11
12
endmodule