Imported Upstream version 3.0
[debian/gnuradio] / usrp / fpga / megacells / addsub16.bsf
1 /*
2 WARNING: Do NOT edit the input and output ports in this file in a text
3 editor if you plan to continue editing the block that represents it in
4 the Block Editor! File corruption is VERY likely to occur.
5 */
6 /*
7 Copyright (C) 1991-2003 Altera Corporation
8 Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
9 support information,  device programming or simulation file,  and any other
10 associated  documentation or information  provided by  Altera  or a partner
11 under  Altera's   Megafunction   Partnership   Program  may  be  used  only
12 to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
13 other  use  of such  megafunction  design,  netlist,  support  information,
14 device programming or simulation file,  or any other  related documentation
15 or information  is prohibited  for  any  other purpose,  including, but not
16 limited to  modification,  reverse engineering,  de-compiling, or use  with
17 any other  silicon devices,  unless such use is  explicitly  licensed under
18 a separate agreement with  Altera  or a megafunction partner.  Title to the
19 intellectual property,  including patents,  copyrights,  trademarks,  trade
20 secrets,  or maskworks,  embodied in any such megafunction design, netlist,
21 support  information,  device programming or simulation file,  or any other
22 related documentation or information provided by  Altera  or a megafunction
23 partner, remains with Altera, the megafunction partner, or their respective
24 licensors. No other licenses, including any licenses needed under any third
25 party's intellectual property, are provided herein.
26 */
27 (header "symbol" (version "1.1"))
28 (symbol
29         (rect 0 0 160 144)
30         (text "addsub16" (rect 45 2 128 21)(font "Arial" (font_size 10)))
31         (text "inst" (rect 8 125 31 140)(font "Arial" ))
32         (port
33                 (pt 0 56)
34                 (input)
35                 (text "dataa[15..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
36                 (text "dataa[15..0]" (rect 4 40 73 56)(font "Arial" (font_size 8)))
37                 (line (pt 0 56)(pt 64 56)(line_width 3))
38         )
39         (port
40                 (pt 0 88)
41                 (input)
42                 (text "datab[15..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
43                 (text "datab[15..0]" (rect 4 72 73 88)(font "Arial" (font_size 8)))
44                 (line (pt 0 88)(pt 64 88)(line_width 3))
45         )
46         (port
47                 (pt 0 72)
48                 (input)
49                 (text "clock" (rect 0 0 36 16)(font "Arial" (font_size 8)))
50                 (text "clock" (rect 4 56 35 72)(font "Arial" (font_size 8)))
51                 (line (pt 0 72)(pt 64 72)(line_width 1))
52         )
53         (port
54                 (pt 0 32)
55                 (input)
56                 (text "add_sub" (rect 0 0 57 16)(font "Arial" (font_size 8)))
57                 (text "add_sub" (rect 4 16 53 32)(font "Arial" (font_size 8)))
58                 (line (pt 0 32)(pt 80 32)(line_width 1))
59         )
60         (port
61                 (pt 0 112)
62                 (input)
63                 (text "clken" (rect 0 0 36 16)(font "Arial" (font_size 8)))
64                 (text "clken" (rect 4 96 35 112)(font "Arial" (font_size 8)))
65                 (line (pt 0 112)(pt 74 112)(line_width 1))
66         )
67         (port
68                 (pt 0 128)
69                 (input)
70                 (text "aclr" (rect 0 0 24 16)(font "Arial" (font_size 8)))
71                 (text "aclr" (rect 4 112 25 128)(font "Arial" (font_size 8)))
72                 (line (pt 0 128)(pt 85 128)(line_width 1))
73         )
74         (port
75                 (pt 160 72)
76                 (output)
77                 (text "result[15..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
78                 (text "result[15..0]" (rect 88 56 157 72)(font "Arial" (font_size 8)))
79                 (line (pt 160 72)(pt 96 72)(line_width 3))
80         )
81         (drawing
82                 (text "A" (rect 66 48 75 64)(font "Arial" (font_size 8)))
83                 (text "B" (rect 66 80 75 96)(font "Arial" (font_size 8)))
84                 (text "A+B/A-B" (rect 82 37 134 53)(font "Arial" (font_size 8)))
85                 (line (pt 64 48)(pt 96 56)(line_width 1))
86                 (line (pt 96 56)(pt 96 88)(line_width 1))
87                 (line (pt 96 88)(pt 64 96)(line_width 1))
88                 (line (pt 64 96)(pt 64 48)(line_width 1))
89                 (line (pt 80 32)(pt 80 52)(line_width 1))
90                 (line (pt 106 40)(pt 125 40)(line_width 1))
91                 (line (pt 74 112)(pt 74 93)(line_width 1))
92                 (line (pt 85 128)(pt 85 90)(line_width 1))
93                 (line (pt 64 66)(pt 70 72)(line_width 1))
94                 (line (pt 70 72)(pt 64 78)(line_width 1))
95         )
96 )