-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdual_RAM.bsf
More file actions
222 lines (222 loc) · 7.17 KB
/
dual_RAM.bsf
File metadata and controls
222 lines (222 loc) · 7.17 KB
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
/*
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) 2023 Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel FPGA IP License Agreement, or other applicable license
agreement, including, without limitation, that your use is for
the sole purpose of programming logic devices manufactured by
Intel and sold by Intel or its authorized distributors. Please
refer to the applicable agreement for further details, at
https://fpgasoftware.intel.com/eula.
*/
(header "symbol" (version "1.2"))
(symbol
(rect 0 0 256 256)
(text "dual_RAM" (rect 98 0 168 16)(font "Arial" (font_size 10)))
(text "inst" (rect 8 240 25 252)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data_a[23..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "data_a[23..0]" (rect 4 18 65 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 34 78 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 50 40 63)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 112 64))
)
(port
(pt 0 80)
(input)
(text "rden_a" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "rden_a" (rect 4 66 36 79)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 112 80))
)
(port
(pt 0 104)
(input)
(text "data_b[23..0]" (rect 0 0 74 14)(font "Arial" (font_size 8)))
(text "data_b[23..0]" (rect 4 90 65 103)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 112 104)(line_width 3))
)
(port
(pt 0 120)
(input)
(text "address_b[4..0]" (rect 0 0 89 14)(font "Arial" (font_size 8)))
(text "address_b[4..0]" (rect 4 106 78 119)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 112 120)(line_width 3))
)
(port
(pt 0 136)
(input)
(text "wren_b" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "wren_b" (rect 4 122 40 135)(font "Arial" (font_size 8)))
(line (pt 0 136)(pt 112 136))
)
(port
(pt 0 152)
(input)
(text "rden_b" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "rden_b" (rect 4 138 36 151)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 112 152))
)
(port
(pt 0 176)
(input)
(text "clock_a" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "clock_a" (rect 4 162 39 175)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 92 176))
)
(port
(pt 0 192)
(input)
(text "enable_a" (rect 0 0 51 14)(font "Arial" (font_size 8)))
(text "enable_a" (rect 4 178 46 191)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 48 192))
)
(port
(pt 0 208)
(input)
(text "clock_b" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "clock_b" (rect 4 194 39 207)(font "Arial" (font_size 8)))
(line (pt 0 208)(pt 104 208))
)
(port
(pt 0 224)
(input)
(text "enable_b" (rect 0 0 51 14)(font "Arial" (font_size 8)))
(text "enable_b" (rect 4 210 46 223)(font "Arial" (font_size 8)))
(line (pt 0 224)(pt 48 224))
)
(port
(pt 200 256)
(input)
(text "aclr_a" (rect 0 0 14 35)(font "Arial" (font_size 8))(vertical))
(text "aclr_a" (rect 186 223 199 251)(font "Arial" (font_size 8))(vertical))
(line (pt 200 256)(pt 200 232))
)
(port
(pt 232 256)
(input)
(text "aclr_b" (rect 0 0 14 35)(font "Arial" (font_size 8))(vertical))
(text "aclr_b" (rect 218 223 231 251)(font "Arial" (font_size 8))(vertical))
(line (pt 232 256)(pt 232 232))
)
(port
(pt 256 32)
(output)
(text "q_a[23..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
(text "q_a[23..0]" (rect 205 18 251 31)(font "Arial" (font_size 8)))
(line (pt 256 32)(pt 168 32)(line_width 3))
)
(port
(pt 256 104)
(output)
(text "q_b[23..0]" (rect 0 0 56 14)(font "Arial" (font_size 8)))
(text "q_b[23..0]" (rect 205 90 251 103)(font "Arial" (font_size 8)))
(line (pt 256 104)(pt 168 104)(line_width 3))
)
(drawing
(text "32 Word(s)" (rect 137 59 263 241)(font "Arial" )(vertical))
(text "RAM" (rect 148 48 261 215)(font "Arial" )(vertical))
(text "Block Type: AUTO" (rect 40 237 156 485)(font "Arial" ))
(line (pt 128 24)(pt 168 24))
(line (pt 168 24)(pt 168 160))
(line (pt 168 160)(pt 128 160))
(line (pt 128 160)(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 92 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 92 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 92 68)(pt 112 68))
(line (pt 120 64)(pt 128 64))
(line (pt 112 75)(pt 120 75))
(line (pt 120 75)(pt 120 87))
(line (pt 120 87)(pt 112 87))
(line (pt 112 87)(pt 112 75))
(line (pt 112 82)(pt 114 84))
(line (pt 114 84)(pt 112 86))
(line (pt 92 84)(pt 112 84))
(line (pt 120 80)(pt 128 80))
(line (pt 112 99)(pt 120 99))
(line (pt 120 99)(pt 120 111))
(line (pt 120 111)(pt 112 111))
(line (pt 112 111)(pt 112 99))
(line (pt 112 106)(pt 114 108))
(line (pt 114 108)(pt 112 110))
(line (pt 104 108)(pt 112 108))
(line (pt 120 104)(pt 128 104)(line_width 3))
(line (pt 112 115)(pt 120 115))
(line (pt 120 115)(pt 120 127))
(line (pt 120 127)(pt 112 127))
(line (pt 112 127)(pt 112 115))
(line (pt 112 122)(pt 114 124))
(line (pt 114 124)(pt 112 126))
(line (pt 104 124)(pt 112 124))
(line (pt 120 120)(pt 128 120)(line_width 3))
(line (pt 112 131)(pt 120 131))
(line (pt 120 131)(pt 120 143))
(line (pt 120 143)(pt 112 143))
(line (pt 112 143)(pt 112 131))
(line (pt 112 138)(pt 114 140))
(line (pt 114 140)(pt 112 142))
(line (pt 104 140)(pt 112 140))
(line (pt 120 136)(pt 128 136))
(line (pt 112 147)(pt 120 147))
(line (pt 120 147)(pt 120 159))
(line (pt 120 159)(pt 112 159))
(line (pt 112 159)(pt 112 147))
(line (pt 112 154)(pt 114 156))
(line (pt 114 156)(pt 112 158))
(line (pt 104 156)(pt 112 156))
(line (pt 120 152)(pt 128 152))
(line (pt 92 36)(pt 92 177))
(line (pt 104 108)(pt 104 209))
(line (pt 0 0)(pt 257 0))
(line (pt 257 0)(pt 257 257))
(line (pt 0 257)(pt 257 257))
(line (pt 0 0)(pt 0 257))
(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))
)
)