/
fifo.bsf
executable file
·115 lines (115 loc) · 3.8 KB
/
fifo.bsf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2016 Altera Corporation. All rights reserved.
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, the Altera Quartus Prime License Agreement,
the Altera MegaCore Function License Agreement, or other
applicable license agreement, including, without limitation,
that your use is for the sole purpose of programming logic
devices manufactured by Altera and sold by Altera or its
authorized distributors. Please refer to the applicable
agreement for further details.
*/
(header "symbol" (version "1.2"))
(symbol
(rect 0 0 176 216)
(text "fifo" (rect 80 0 131 18)(font "Arial" (font_size 10)))
(text "inst" (rect 8 198 41 212)(font "Arial" ))
(port
(pt 0 48)
(input)
(text "data[31..0]" (rect 0 0 103 16)(font "Arial" (font_size 8)))
(text "data[31..0]" (rect 20 41 69 54)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "wrreq" (rect 0 0 47 16)(font "Arial" (font_size 8)))
(text "wrreq" (rect 20 65 48 78)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72))
)
(port
(pt 0 88)
(input)
(text "wrclk" (rect 0 0 47 16)(font "Arial" (font_size 8)))
(text "wrclk" (rect 20 81 45 94)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88))
)
(port
(pt 0 120)
(input)
(text "rdreq" (rect 0 0 47 16)(font "Arial" (font_size 8)))
(text "rdreq" (rect 20 113 44 126)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120))
)
(port
(pt 0 136)
(input)
(text "rdclk" (rect 0 0 47 16)(font "Arial" (font_size 8)))
(text "rdclk" (rect 20 129 41 142)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 16 136))
)
(port
(pt 0 160)
(input)
(text "aclr" (rect 0 0 37 16)(font "Arial" (font_size 8)))
(text "aclr" (rect 20 153 36 166)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160))
)
(port
(pt 176 56)
(output)
(text "wrfull" (rect 0 0 56 16)(font "Arial" (font_size 8)))
(text "wrfull" (rect 129 49 155 62)(font "Arial" (font_size 8)))
(line (pt 176 56)(pt 160 56))
)
(port
(pt 176 88)
(output)
(text "wrusedw[11..0]" (rect 0 0 132 16)(font "Arial" (font_size 8)))
(text "wrusedw[11..0]" (rect 80 81 155 94)(font "Arial" (font_size 8)))
(line (pt 176 88)(pt 160 88)(line_width 3))
)
(port
(pt 176 112)
(output)
(text "q[31..0]" (rect 0 0 75 16)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 121 105 155 118)(font "Arial" (font_size 8)))
(line (pt 176 112)(pt 160 112)(line_width 3))
)
(port
(pt 176 136)
(output)
(text "rdempty" (rect 0 0 66 16)(font "Arial" (font_size 8)))
(text "rdempty" (rect 118 129 155 142)(font "Arial" (font_size 8)))
(line (pt 176 136)(pt 160 136))
)
(drawing
(text "(ack)" (rect 50 115 120 241)(font "Arial" ))
(text "32 bits x 4096 words" (rect 73 157 230 325)(font "Arial" ))
(line (pt 16 100)(pt 160 100))
(line (pt 16 148)(pt 160 148))
(line (pt 16 32)(pt 160 32))
(line (pt 160 32)(pt 160 202))
(line (pt 160 202)(pt 16 202))
(line (pt 16 202)(pt 16 32))
(line (pt 0 0)(pt 177 0))
(line (pt 177 0)(pt 177 220))
(line (pt 0 220)(pt 177 220))
(line (pt 0 0)(pt 0 220))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
)
)