mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-31 07:14:55 +00:00
Progress on AppNote 011
This commit is contained in:
parent
e23a0072ec
commit
7295b25955
6 changed files with 110 additions and 16 deletions
12
manual/APPNOTE_011_Design_Investigation/sumprod.v
Normal file
12
manual/APPNOTE_011_Design_Investigation/sumprod.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
module sumprod(a, b, c, sum, prod);
|
||||
|
||||
input [7:0] a, b, c;
|
||||
output [7:0] sum, prod;
|
||||
|
||||
{* sumstuff *}
|
||||
assign sum = a + b + c;
|
||||
{* *}
|
||||
|
||||
assign prod = a * b * c;
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue