summaryrefslogtreecommitdiff
path: root/manual/APPNOTE_011_Design_Investigation/foobaraddsub.v
blob: 0f277211d1c1803432b473e55279206e2123d012 (plain)
1
2
3
4
5
6
7
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