-
Notifications
You must be signed in to change notification settings - Fork 0
/
RAM_DUAL_PORT.bsf
188 lines (188 loc) · 6.2 KB
/
RAM_DUAL_PORT.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/*
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-2013 Altera Corporation
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, 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 256 208)
(text "RAM_DUAL_PORT" (rect 54 0 186 16)(font "Arial" (font_size 10)))
(text "inst" (rect 8 192 25 204)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_a[31..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "data_a[31..0]" (rect 4 16 78 31)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 112 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "address_a[4..0]" (rect 0 0 89 14)(font "Arial" (font_size 8)))
(text "address_a[4..0]" (rect 4 32 92 47)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 112 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "wren_a" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "wren_a" (rect 4 48 43 63)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 112 64))
)
(port
(pt 0 96)
(input)
(text "data_b[31..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "data_b[31..0]" (rect 4 80 78 95)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 112 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "address_b[4..0]" (rect 0 0 89 14)(font "Arial" (font_size 8)))
(text "address_b[4..0]" (rect 4 96 92 111)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 112 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "wren_b" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "wren_b" (rect 4 112 43 127)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 112 128))
)
(port
(pt 0 160)
(input)
(text "inclock" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "inclock" (rect 4 144 43 159)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 104 160))
)
(port
(pt 0 176)
(input)
(text "outclock" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "outclock" (rect 4 160 51 175)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 176 176))
)
(port
(pt 216 208)
(input)
(text "out_aclr" (rect 0 0 14 46)(font "Arial" (font_size 8))(vertical))
(text "out_aclr" (rect 200 158 215 203)(font "Arial" (font_size 8))(vertical))
(line (pt 216 208)(pt 216 184))
)
(port
(pt 256 32)
(output)
(text "q_a[31..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
(text "q_a[31..0]" (rect 195 16 251 31)(font "Arial" (font_size 8)))
(line (pt 256 32)(pt 192 32)(line_width 3))
)
(port
(pt 256 96)
(output)
(text "q_b[31..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
(text "q_b[31..0]" (rect 195 80 251 95)(font "Arial" (font_size 8)))
(line (pt 256 96)(pt 192 96)(line_width 3))
)
(drawing
(text "32 Word(s)" (rect 134 49 262 242)(font "Arial" )(vertical))
(text "RAM" (rect 148 35 258 206)(font "Arial" )(vertical))
(text "Block Type: AUTO" (rect 40 186 174 386)(font "Arial" ))
(line (pt 128 24)(pt 168 24))
(line (pt 168 24)(pt 168 144))
(line (pt 168 144)(pt 128 144))
(line (pt 128 144)(pt 128 24))
(line (pt 112 27)(pt 120 27))
(line (pt 120 27)(pt 120 39))
(line (pt 120 39)(pt 112 39))
(line (pt 112 39)(pt 112 27))
(line (pt 112 34)(pt 114 36))
(line (pt 114 36)(pt 112 38))
(line (pt 104 36)(pt 112 36))
(line (pt 120 32)(pt 128 32)(line_width 3))
(line (pt 112 43)(pt 120 43))
(line (pt 120 43)(pt 120 55))
(line (pt 120 55)(pt 112 55))
(line (pt 112 55)(pt 112 43))
(line (pt 112 50)(pt 114 52))
(line (pt 114 52)(pt 112 54))
(line (pt 104 52)(pt 112 52))
(line (pt 120 48)(pt 128 48)(line_width 3))
(line (pt 112 59)(pt 120 59))
(line (pt 120 59)(pt 120 71))
(line (pt 120 71)(pt 112 71))
(line (pt 112 71)(pt 112 59))
(line (pt 112 66)(pt 114 68))
(line (pt 114 68)(pt 112 70))
(line (pt 104 68)(pt 112 68))
(line (pt 120 64)(pt 128 64))
(line (pt 112 91)(pt 120 91))
(line (pt 120 91)(pt 120 103))
(line (pt 120 103)(pt 112 103))
(line (pt 112 103)(pt 112 91))
(line (pt 112 98)(pt 114 100))
(line (pt 114 100)(pt 112 102))
(line (pt 104 100)(pt 112 100))
(line (pt 120 96)(pt 128 96)(line_width 3))
(line (pt 112 107)(pt 120 107))
(line (pt 120 107)(pt 120 119))
(line (pt 120 119)(pt 112 119))
(line (pt 112 119)(pt 112 107))
(line (pt 112 114)(pt 114 116))
(line (pt 114 116)(pt 112 118))
(line (pt 104 116)(pt 112 116))
(line (pt 120 112)(pt 128 112)(line_width 3))
(line (pt 112 123)(pt 120 123))
(line (pt 120 123)(pt 120 135))
(line (pt 120 135)(pt 112 135))
(line (pt 112 135)(pt 112 123))
(line (pt 112 130)(pt 114 132))
(line (pt 114 132)(pt 112 134))
(line (pt 104 132)(pt 112 132))
(line (pt 120 128)(pt 128 128))
(line (pt 104 36)(pt 104 161))
(line (pt 176 36)(pt 176 177))
(line (pt 184 27)(pt 192 27))
(line (pt 192 27)(pt 192 39))
(line (pt 192 39)(pt 184 39))
(line (pt 184 39)(pt 184 27))
(line (pt 184 34)(pt 186 36))
(line (pt 186 36)(pt 184 38))
(line (pt 176 36)(pt 184 36))
(line (pt 168 32)(pt 184 32)(line_width 3))
(line (pt 188 39)(pt 188 43))
(line (pt 184 91)(pt 192 91))
(line (pt 192 91)(pt 192 103))
(line (pt 192 103)(pt 184 103))
(line (pt 184 103)(pt 184 91))
(line (pt 184 98)(pt 186 100))
(line (pt 186 100)(pt 184 102))
(line (pt 176 100)(pt 184 100))
(line (pt 168 96)(pt 184 96)(line_width 3))
(line (pt 188 103)(pt 188 107))
(line (pt 0 0)(pt 257 0))
(line (pt 257 0)(pt 257 209))
(line (pt 0 209)(pt 257 209))
(line (pt 0 0)(pt 0 209))
(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))
)
)