Imported Upstream version 3.2.2
[debian/gnuradio] / usrp / fpga / megacells / fifo_1kx16.bsf
1 /*\r
2 WARNING: Do NOT edit the input and output ports in this file in a text\r
3 editor if you plan to continue editing the block that represents it in\r
4 the Block Editor! File corruption is VERY likely to occur.\r
5 */\r
6 /*\r
7 Copyright (C) 1991-2006 Altera Corporation\r
8 Your use of Altera Corporation's design tools, logic functions \r
9 and other software and tools, and its AMPP partner logic \r
10 functions, and any output files any of the foregoing \r
11 (including device programming or simulation files), and any \r
12 associated documentation or information are expressly subject \r
13 to the terms and conditions of the Altera Program License \r
14 Subscription Agreement, Altera MegaCore Function License \r
15 Agreement, or other applicable license agreement, including, \r
16 without limitation, that your use is for the sole purpose of \r
17 programming logic devices manufactured by Altera and sold by \r
18 Altera or its authorized distributors.  Please refer to the \r
19 applicable agreement for further details.\r
20 */\r
21 (header "symbol" (version "1.1"))\r
22 (symbol\r
23         (rect 0 0 160 160)\r
24         (text "fifo_1kx16" (rect 51 1 119 17)(font "Arial" (font_size 10)))\r
25         (text "inst" (rect 8 144 25 156)(font "Arial" ))\r
26         (port\r
27                 (pt 0 32)\r
28                 (input)\r
29                 (text "data[15..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))\r
30                 (text "data[15..0]" (rect 20 26 71 39)(font "Arial" (font_size 8)))\r
31                 (line (pt 0 32)(pt 16 32)(line_width 3))\r
32         )\r
33         (port\r
34                 (pt 0 56)\r
35                 (input)\r
36                 (text "wrreq" (rect 0 0 35 14)(font "Arial" (font_size 8)))\r
37                 (text "wrreq" (rect 20 50 45 63)(font "Arial" (font_size 8)))\r
38                 (line (pt 0 56)(pt 16 56)(line_width 1))\r
39         )\r
40         (port\r
41                 (pt 0 72)\r
42                 (input)\r
43                 (text "rdreq" (rect 0 0 30 14)(font "Arial" (font_size 8)))\r
44                 (text "rdreq" (rect 20 66 44 79)(font "Arial" (font_size 8)))\r
45                 (line (pt 0 72)(pt 16 72)(line_width 1))\r
46         )\r
47         (port\r
48                 (pt 0 96)\r
49                 (input)\r
50                 (text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))\r
51                 (text "clock" (rect 26 90 49 103)(font "Arial" (font_size 8)))\r
52                 (line (pt 0 96)(pt 16 96)(line_width 1))\r
53         )\r
54         (port\r
55                 (pt 0 128)\r
56                 (input)\r
57                 (text "aclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))\r
58                 (text "aclr" (rect 20 122 37 135)(font "Arial" (font_size 8)))\r
59                 (line (pt 0 128)(pt 16 128)(line_width 1))\r
60         )\r
61         (port\r
62                 (pt 160 32)\r
63                 (output)\r
64                 (text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))\r
65                 (text "q[15..0]" (rect 105 26 141 39)(font "Arial" (font_size 8)))\r
66                 (line (pt 160 32)(pt 144 32)(line_width 3))\r
67         )\r
68         (port\r
69                 (pt 160 56)\r
70                 (output)\r
71                 (text "full" (rect 0 0 16 14)(font "Arial" (font_size 8)))\r
72                 (text "full" (rect 127 50 142 63)(font "Arial" (font_size 8)))\r
73                 (line (pt 160 56)(pt 144 56)(line_width 1))\r
74         )\r
75         (port\r
76                 (pt 160 72)\r
77                 (output)\r
78                 (text "empty" (rect 0 0 34 14)(font "Arial" (font_size 8)))\r
79                 (text "empty" (rect 112 66 141 79)(font "Arial" (font_size 8)))\r
80                 (line (pt 160 72)(pt 144 72)(line_width 1))\r
81         )\r
82         (port\r
83                 (pt 160 88)\r
84                 (output)\r
85                 (text "almost_empty" (rect 0 0 77 14)(font "Arial" (font_size 8)))\r
86                 (text "almost_empty" (rect 75 82 141 95)(font "Arial" (font_size 8)))\r
87                 (line (pt 160 88)(pt 144 88)(line_width 1))\r
88         )\r
89         (port\r
90                 (pt 160 104)\r
91                 (output)\r
92                 (text "usedw[9..0]" (rect 0 0 68 14)(font "Arial" (font_size 8)))\r
93                 (text "usedw[9..0]" (rect 83 98 136 111)(font "Arial" (font_size 8)))\r
94                 (line (pt 160 104)(pt 144 104)(line_width 3))\r
95         )\r
96         (drawing\r
97                 (text "16 bits x 1024 words" (rect 58 132 144 144)(font "Arial" ))\r
98                 (text "almost_empty < 504" (rect 58 122 144 134)(font "Arial" ))\r
99                 (line (pt 16 16)(pt 144 16)(line_width 1))\r
100                 (line (pt 144 16)(pt 144 144)(line_width 1))\r
101                 (line (pt 144 144)(pt 16 144)(line_width 1))\r
102                 (line (pt 16 144)(pt 16 16)(line_width 1))\r
103                 (line (pt 16 116)(pt 144 116)(line_width 1))\r
104                 (line (pt 16 90)(pt 22 96)(line_width 1))\r
105                 (line (pt 22 96)(pt 16 102)(line_width 1))\r
106         )\r
107 )\r