mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-11 13:40:53 +00:00
Progress on AppNote 011
This commit is contained in:
parent
e23a0072ec
commit
7295b25955
6 changed files with 110 additions and 16 deletions
8
manual/APPNOTE_011_Design_Investigation/foobaraddsub.v
Normal file
8
manual/APPNOTE_011_Design_Investigation/foobaraddsub.v
Normal file
|
@ -0,0 +1,8 @@
|
|||
module foobaraddsub(a, b, c, d, fa, fs, ba, bs);
|
||||
input [7:0] a, b, c, d;
|
||||
output [7:0] fa, fs, ba, bs;
|
||||
assign fa = a + (* foo *) b;
|
||||
assign fs = a - (* foo *) b;
|
||||
assign ba = c + (* bar *) d;
|
||||
assign bs = c - (* bar *) d;
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue