1 |
27 |
nuubik |
/*
|
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-2006 Altera Corporation
|
8 |
|
|
Your use of Altera Corporation's design tools, logic functions
|
9 |
|
|
and other software and tools, and its AMPP partner logic
|
10 |
|
|
functions, and any output files any of the foregoing
|
11 |
|
|
(including device programming or simulation files), and any
|
12 |
|
|
associated documentation or information are expressly subject
|
13 |
|
|
to the terms and conditions of the Altera Program License
|
14 |
|
|
Subscription Agreement, Altera MegaCore Function License
|
15 |
|
|
Agreement, or other applicable license agreement, including,
|
16 |
|
|
without limitation, that your use is for the sole purpose of
|
17 |
|
|
programming logic devices manufactured by Altera and sold by
|
18 |
|
|
Altera or its authorized distributors. Please refer to the
|
19 |
|
|
applicable agreement for further details.
|
20 |
|
|
*/
|
21 |
|
|
(header "symbol" (version "1.1"))
|
22 |
|
|
(symbol
|
23 |
|
|
(rect 0 0 160 160)
|
24 |
|
|
(text "fifo" (rect 72 1 90 17)(font "Arial" (font_size 10)))
|
25 |
|
|
(text "inst" (rect 8 144 25 156)(font "Arial" ))
|
26 |
|
|
(port
|
27 |
|
|
(pt 0 32)
|
28 |
|
|
(input)
|
29 |
|
|
(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
|
30 |
|
|
(text "data[7..0]" (rect 20 26 65 39)(font "Arial" (font_size 8)))
|
31 |
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
32 |
|
|
)
|
33 |
|
|
(port
|
34 |
|
|
(pt 0 56)
|
35 |
|
|
(input)
|
36 |
|
|
(text "wrreq" (rect 0 0 35 14)(font "Arial" (font_size 8)))
|
37 |
|
|
(text "wrreq" (rect 20 50 45 63)(font "Arial" (font_size 8)))
|
38 |
|
|
(line (pt 0 56)(pt 16 56)(line_width 1))
|
39 |
|
|
)
|
40 |
|
|
(port
|
41 |
|
|
(pt 0 72)
|
42 |
|
|
(input)
|
43 |
|
|
(text "rdreq" (rect 0 0 30 14)(font "Arial" (font_size 8)))
|
44 |
|
|
(text "rdreq" (rect 20 66 44 79)(font "Arial" (font_size 8)))
|
45 |
|
|
(line (pt 0 72)(pt 16 72)(line_width 1))
|
46 |
|
|
)
|
47 |
|
|
(port
|
48 |
|
|
(pt 0 96)
|
49 |
|
|
(input)
|
50 |
|
|
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
51 |
|
|
(text "clock" (rect 26 90 49 103)(font "Arial" (font_size 8)))
|
52 |
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
53 |
|
|
)
|
54 |
|
|
(port
|
55 |
|
|
(pt 0 128)
|
56 |
|
|
(input)
|
57 |
|
|
(text "aclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
|
58 |
|
|
(text "aclr" (rect 20 122 37 135)(font "Arial" (font_size 8)))
|
59 |
|
|
(line (pt 0 128)(pt 16 128)(line_width 1))
|
60 |
|
|
)
|
61 |
|
|
(port
|
62 |
|
|
(pt 160 32)
|
63 |
|
|
(output)
|
64 |
|
|
(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
|
65 |
|
|
(text "q[7..0]" (rect 111 26 141 39)(font "Arial" (font_size 8)))
|
66 |
|
|
(line (pt 160 32)(pt 144 32)(line_width 3))
|
67 |
|
|
)
|
68 |
|
|
(port
|
69 |
|
|
(pt 160 56)
|
70 |
|
|
(output)
|
71 |
|
|
(text "full" (rect 0 0 16 14)(font "Arial" (font_size 8)))
|
72 |
|
|
(text "full" (rect 127 50 142 63)(font "Arial" (font_size 8)))
|
73 |
|
|
(line (pt 160 56)(pt 144 56)(line_width 1))
|
74 |
|
|
)
|
75 |
|
|
(port
|
76 |
|
|
(pt 160 72)
|
77 |
|
|
(output)
|
78 |
|
|
(text "almost_full" (rect 0 0 60 14)(font "Arial" (font_size 8)))
|
79 |
|
|
(text "almost_full" (rect 90 66 142 79)(font "Arial" (font_size 8)))
|
80 |
|
|
(line (pt 160 72)(pt 144 72)(line_width 1))
|
81 |
|
|
)
|
82 |
|
|
(port
|
83 |
|
|
(pt 160 88)
|
84 |
|
|
(output)
|
85 |
|
|
(text "empty" (rect 0 0 34 14)(font "Arial" (font_size 8)))
|
86 |
|
|
(text "empty" (rect 112 82 141 95)(font "Arial" (font_size 8)))
|
87 |
|
|
(line (pt 160 88)(pt 144 88)(line_width 1))
|
88 |
|
|
)
|
89 |
|
|
(port
|
90 |
|
|
(pt 160 104)
|
91 |
|
|
(output)
|
92 |
|
|
(text "usedw[12..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
|
93 |
|
|
(text "usedw[12..0]" (rect 77 98 136 111)(font "Arial" (font_size 8)))
|
94 |
|
|
(line (pt 160 104)(pt 144 104)(line_width 3))
|
95 |
|
|
)
|
96 |
|
|
(drawing
|
97 |
|
|
(text "8 bits x 8192 words" (rect 63 132 144 144)(font "Arial" ))
|
98 |
|
|
(text "almost_full at 8000" (rect 64 122 144 134)(font "Arial" ))
|
99 |
|
|
(line (pt 16 16)(pt 144 16)(line_width 1))
|
100 |
|
|
(line (pt 144 16)(pt 144 144)(line_width 1))
|
101 |
|
|
(line (pt 144 144)(pt 16 144)(line_width 1))
|
102 |
|
|
(line (pt 16 144)(pt 16 16)(line_width 1))
|
103 |
|
|
(line (pt 16 116)(pt 144 116)(line_width 1))
|
104 |
|
|
(line (pt 16 90)(pt 22 96)(line_width 1))
|
105 |
|
|
(line (pt 22 96)(pt 16 102)(line_width 1))
|
106 |
|
|
)
|
107 |
|
|
)
|