1 | Library { |
---|
2 | Name "WARP_Blockset" |
---|
3 | Version 6.6 |
---|
4 | MdlSubVersion 0 |
---|
5 | SavedCharacterEncoding "windows-1252" |
---|
6 | LibraryType "BlockLibrary" |
---|
7 | SaveDefaultBlockParams on |
---|
8 | SampleTimeColors off |
---|
9 | LibraryLinkDisplay "none" |
---|
10 | WideLines off |
---|
11 | ShowLineDimensions off |
---|
12 | ShowPortDataTypes off |
---|
13 | ShowLoopsOnError on |
---|
14 | IgnoreBidirectionalLines off |
---|
15 | ShowStorageClass off |
---|
16 | ShowTestPointIcons on |
---|
17 | ShowViewerIcons on |
---|
18 | SortedOrder off |
---|
19 | ExecutionContextIcon off |
---|
20 | ShowLinearizationAnnotations on |
---|
21 | ScopeRefreshTime 0.035000 |
---|
22 | OverrideScopeRefreshTime on |
---|
23 | DisableAllScopes off |
---|
24 | BlockNameDataTip off |
---|
25 | BlockParametersDataTip off |
---|
26 | BlockDescriptionStringDataTip off |
---|
27 | ToolBar on |
---|
28 | StatusBar on |
---|
29 | BrowserShowLibraryLinks off |
---|
30 | BrowserLookUnderMasks off |
---|
31 | Created "Wed Oct 18 14:10:55 2006" |
---|
32 | Creator "murphpo" |
---|
33 | UpdateHistory "UpdateHistoryNever" |
---|
34 | ModifiedByFormat "%<Auto>" |
---|
35 | LastModifiedBy "murphpo" |
---|
36 | ModifiedDateFormat "%<Auto>" |
---|
37 | LastModifiedDate "Mon Apr 28 21:31:46 2008" |
---|
38 | ModelVersionFormat "1.%<AutoIncrement:29>" |
---|
39 | ConfigurationManager "None" |
---|
40 | SimulationMode "normal" |
---|
41 | LinearizationMsg "none" |
---|
42 | Profile off |
---|
43 | ParamWorkspaceSource "MATLABWorkspace" |
---|
44 | AccelVerboseBuild off |
---|
45 | CovSaveName "covdata" |
---|
46 | CovMetricSettings "dw" |
---|
47 | CovNameIncrementing off |
---|
48 | CovHtmlReporting on |
---|
49 | covSaveCumulativeToWorkspaceVar on |
---|
50 | CovSaveSingleToWorkspaceVar on |
---|
51 | CovCumulativeReport off |
---|
52 | CovReportOnPause on |
---|
53 | ExtModeBatchMode off |
---|
54 | ExtModeEnableFloating on |
---|
55 | ExtModeTrigType "manual" |
---|
56 | ExtModeTrigMode "normal" |
---|
57 | ExtModeTrigPort "1" |
---|
58 | ExtModeTrigElement "any" |
---|
59 | ExtModeTrigDuration 1000 |
---|
60 | ExtModeTrigDurationFloating "auto" |
---|
61 | ExtModeTrigHoldOff 0 |
---|
62 | ExtModeTrigDelay 0 |
---|
63 | ExtModeTrigDirection "rising" |
---|
64 | ExtModeTrigLevel 0 |
---|
65 | ExtModeArchiveMode "off" |
---|
66 | ExtModeAutoIncOneShot off |
---|
67 | ExtModeIncDirWhenArm off |
---|
68 | ExtModeAddSuffixToVar off |
---|
69 | ExtModeWriteAllDataToWs off |
---|
70 | ExtModeArmWhenConnect on |
---|
71 | ExtModeSkipDownloadWhenConnect off |
---|
72 | ExtModeLogAll on |
---|
73 | ExtModeAutoUpdateStatusClock on |
---|
74 | ProdHWDeviceType "32-bit Generic" |
---|
75 | ShowModelReferenceBlockVersion off |
---|
76 | ShowModelReferenceBlockIO off |
---|
77 | BlockDefaults { |
---|
78 | Orientation "right" |
---|
79 | ForegroundColor "black" |
---|
80 | BackgroundColor "white" |
---|
81 | DropShadow off |
---|
82 | NamePlacement "normal" |
---|
83 | FontName "Lucida Sans" |
---|
84 | FontSize 10 |
---|
85 | FontWeight "normal" |
---|
86 | FontAngle "normal" |
---|
87 | ShowName on |
---|
88 | } |
---|
89 | BlockParameterDefaults { |
---|
90 | Block { |
---|
91 | BlockType Inport |
---|
92 | Port "1" |
---|
93 | UseBusObject off |
---|
94 | BusObject "BusObject" |
---|
95 | BusOutputAsStruct off |
---|
96 | PortDimensions "-1" |
---|
97 | SampleTime "-1" |
---|
98 | DataType "auto" |
---|
99 | OutDataType "sfix(16)" |
---|
100 | OutScaling "2^0" |
---|
101 | SignalType "auto" |
---|
102 | SamplingMode "auto" |
---|
103 | LatchByDelayingOutsideSignal off |
---|
104 | LatchByCopyingInsideSignal off |
---|
105 | Interpolate on |
---|
106 | } |
---|
107 | Block { |
---|
108 | BlockType Outport |
---|
109 | Port "1" |
---|
110 | UseBusObject off |
---|
111 | BusObject "BusObject" |
---|
112 | BusOutputAsStruct off |
---|
113 | PortDimensions "-1" |
---|
114 | SampleTime "-1" |
---|
115 | DataType "auto" |
---|
116 | OutDataType "sfix(16)" |
---|
117 | OutScaling "2^0" |
---|
118 | SignalType "auto" |
---|
119 | SamplingMode "auto" |
---|
120 | OutputWhenDisabled "held" |
---|
121 | InitialOutput "[]" |
---|
122 | } |
---|
123 | Block { |
---|
124 | BlockType Reference |
---|
125 | } |
---|
126 | Block { |
---|
127 | BlockType "S-Function" |
---|
128 | FunctionName "system" |
---|
129 | SFunctionModules "''" |
---|
130 | PortCounts "[]" |
---|
131 | } |
---|
132 | Block { |
---|
133 | BlockType SubSystem |
---|
134 | ShowPortLabels "FromPortIcon" |
---|
135 | Permissions "ReadWrite" |
---|
136 | PermitHierarchicalResolution "All" |
---|
137 | TreatAsAtomicUnit off |
---|
138 | SystemSampleTime "-1" |
---|
139 | RTWFcnNameOpts "Auto" |
---|
140 | RTWFileNameOpts "Auto" |
---|
141 | RTWMemSecFuncInitTerm "Inherit from model" |
---|
142 | RTWMemSecFuncExecute "Inherit from model" |
---|
143 | RTWMemSecDataConstants "Inherit from model" |
---|
144 | RTWMemSecDataInternal "Inherit from model" |
---|
145 | RTWMemSecDataParameters "Inherit from model" |
---|
146 | SimViewingDevice off |
---|
147 | DataTypeOverride "UseLocalSettings" |
---|
148 | MinMaxOverflowLogging "UseLocalSettings" |
---|
149 | } |
---|
150 | Block { |
---|
151 | BlockType Terminator |
---|
152 | } |
---|
153 | } |
---|
154 | AnnotationDefaults { |
---|
155 | HorizontalAlignment "center" |
---|
156 | VerticalAlignment "middle" |
---|
157 | ForegroundColor "black" |
---|
158 | BackgroundColor "white" |
---|
159 | DropShadow off |
---|
160 | FontName "Arial" |
---|
161 | FontSize 10 |
---|
162 | FontWeight "normal" |
---|
163 | FontAngle "normal" |
---|
164 | UseDisplayTextAsClickCallback off |
---|
165 | } |
---|
166 | LineDefaults { |
---|
167 | FontName "Arial" |
---|
168 | FontSize 9 |
---|
169 | FontWeight "normal" |
---|
170 | FontAngle "normal" |
---|
171 | } |
---|
172 | System { |
---|
173 | Name "WARP_Blockset" |
---|
174 | Location [372, 403, 1554, 1073] |
---|
175 | Open on |
---|
176 | ModelBrowserVisibility off |
---|
177 | ModelBrowserWidth 200 |
---|
178 | ScreenColor "white" |
---|
179 | PaperOrientation "landscape" |
---|
180 | PaperPositionMode "auto" |
---|
181 | PaperType "usletter" |
---|
182 | PaperUnits "inches" |
---|
183 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
184 | TiledPageScale 1 |
---|
185 | ShowPageBoundaries off |
---|
186 | ZoomFactor "100" |
---|
187 | ReportName "simulink-default.rpt" |
---|
188 | Block { |
---|
189 | BlockType SubSystem |
---|
190 | Name "Register Wrappers\n(Sysgen 10.1+)" |
---|
191 | Ports [] |
---|
192 | Position [220, 350, 287, 392] |
---|
193 | MinAlgLoopOccurrences off |
---|
194 | RTWSystemCode "Auto" |
---|
195 | FunctionWithSeparateData off |
---|
196 | MaskHideContents off |
---|
197 | System { |
---|
198 | Name "Register Wrappers\n(Sysgen 10.1+)" |
---|
199 | Location [372, 403, 841, 663] |
---|
200 | Open on |
---|
201 | ModelBrowserVisibility off |
---|
202 | ModelBrowserWidth 200 |
---|
203 | ScreenColor "white" |
---|
204 | PaperOrientation "landscape" |
---|
205 | PaperPositionMode "auto" |
---|
206 | PaperType "usletter" |
---|
207 | PaperUnits "inches" |
---|
208 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
209 | TiledPageScale 1 |
---|
210 | ShowPageBoundaries off |
---|
211 | ZoomFactor "100" |
---|
212 | Block { |
---|
213 | BlockType SubSystem |
---|
214 | Name "Read Only Register" |
---|
215 | Ports [2] |
---|
216 | Position [80, 186, 130, 219] |
---|
217 | AttributesFormatString "RO Reg: %<regName>" |
---|
218 | MinAlgLoopOccurrences off |
---|
219 | RTWSystemCode "Auto" |
---|
220 | FunctionWithSeparateData off |
---|
221 | MaskHideContents off |
---|
222 | MaskDescription "This block is a wrapper for System Generato" |
---|
223 | "r's To Register shared memory block. This register is designed for use with W" |
---|
224 | "ARP's sysgen2opb tool.\n\nNote: The Regisger Name paramter below must be uniq" |
---|
225 | "ue for every instance of Read-Write and Read-Only registers in your system." |
---|
226 | MaskPromptString "Register Name" |
---|
227 | MaskStyleString "edit" |
---|
228 | MaskTunableValueString "off" |
---|
229 | MaskEnableString "on" |
---|
230 | MaskVisibilityString "on" |
---|
231 | MaskToolTipString "on" |
---|
232 | MaskVariables "regName=&1;" |
---|
233 | MaskInitialization "regBlock = find_system(gcb, 'LookUnderMasks" |
---|
234 | "', 'all', 'FollowLinks', 'on', 'block_type', 'toreg');\n\nif(length(regBloc" |
---|
235 | "k) > 0)\n\n %Set the shared memory name\n set_param(regBlock{1}, 'share" |
---|
236 | "d_memory_name', regName);\n\n set_param(regBlock{1}, 'explicit_data_ty" |
---|
237 | "pe', 'on')\n set_param(regBlock{1}, 'arith_type', 'unsigned');\n se" |
---|
238 | "t_param(regBlock{1}, 'ownership', 'Locally owned and initialized')\n\n" |
---|
239 | " set_param(regBlock{1}, 'n_bits', '32');\n set_param(regBlock{1" |
---|
240 | "}, 'bin_pt', '0');\n set_param(regBlock{1}, 'init', '0');\nend\n\n" |
---|
241 | MaskSelfModifiable on |
---|
242 | MaskIconFrame on |
---|
243 | MaskIconOpaque on |
---|
244 | MaskIconRotate "none" |
---|
245 | MaskIconUnits "autoscale" |
---|
246 | MaskValueString "'RO_Reg'" |
---|
247 | System { |
---|
248 | Name "Read Only Register" |
---|
249 | Location [567, 173, 1136, 671] |
---|
250 | Open off |
---|
251 | ModelBrowserVisibility off |
---|
252 | ModelBrowserWidth 200 |
---|
253 | ScreenColor "white" |
---|
254 | PaperOrientation "landscape" |
---|
255 | PaperPositionMode "auto" |
---|
256 | PaperType "usletter" |
---|
257 | PaperUnits "inches" |
---|
258 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
259 | TiledPageScale 1 |
---|
260 | ShowPageBoundaries off |
---|
261 | ZoomFactor "100" |
---|
262 | Block { |
---|
263 | BlockType Inport |
---|
264 | Name "D" |
---|
265 | Position [15, 183, 45, 197] |
---|
266 | IconDisplay "Port number" |
---|
267 | } |
---|
268 | Block { |
---|
269 | BlockType Inport |
---|
270 | Name "En" |
---|
271 | Position [15, 223, 45, 237] |
---|
272 | Port "2" |
---|
273 | IconDisplay "Port number" |
---|
274 | } |
---|
275 | Block { |
---|
276 | BlockType Reference |
---|
277 | Name "Convert" |
---|
278 | Ports [1, 1] |
---|
279 | Position [180, 175, 225, 205] |
---|
280 | SourceBlock "xbsIndex_r4/Convert" |
---|
281 | SourceType "Xilinx Type Converter Block" |
---|
282 | infoedit "Hardware notes: rounding and saturating" |
---|
283 | " require hardware resources; truncating and wrapping do not." |
---|
284 | arith_type "Unsigned" |
---|
285 | n_bits "32" |
---|
286 | bin_pt "0" |
---|
287 | quantization "Truncate" |
---|
288 | overflow "Wrap" |
---|
289 | latency "0" |
---|
290 | dbl_ovrd off |
---|
291 | pipeline off |
---|
292 | xl_use_area off |
---|
293 | xl_area "[0,0,0,0,0,0,0]" |
---|
294 | has_advanced_control "0" |
---|
295 | sggui_pos "20,20,461,334" |
---|
296 | block_type "convert" |
---|
297 | block_version "10.1" |
---|
298 | sg_icon_stat "45,30,1,1,white,blue,0,74901e60,right" |
---|
299 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
300 | "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " |
---|
301 | "15 23 25 27 35 28 22 17 23 17 22 28 35 27 25 23 15 ],[3 8 15 22 27 27 25 27 2" |
---|
302 | "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 45 45 0 0 ],[0 0" |
---|
303 | " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" |
---|
304 | " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" |
---|
305 | "','COMMENT: end icon text');\n" |
---|
306 | } |
---|
307 | Block { |
---|
308 | BlockType Reference |
---|
309 | Name "Reinterpret" |
---|
310 | Ports [1, 1] |
---|
311 | Position [90, 174, 140, 206] |
---|
312 | SourceBlock "xbsIndex_r4/Reinterpret" |
---|
313 | SourceType "Xilinx Type Reinterpreter Block" |
---|
314 | infoedit "Changes signal type without altering th" |
---|
315 | "e binary representation. You can changed the signal between signed and unsi" |
---|
316 | "gned, and relocate the binary point.<P><P>Hardware notes: In hardware this bl" |
---|
317 | "ock costs nothing.<P><P>Example: Suppose the input is 6 bits wide, signed, w" |
---|
318 | "ith 2 fractional bits, and the output is forced to unsigned with 0 fractional" |
---|
319 | " bits. Then an input of -2.0 (1110.00 in binary 2's complement) becomes an o" |
---|
320 | "utput of 56 (111000 in binary)." |
---|
321 | force_arith_type on |
---|
322 | arith_type "Unsigned" |
---|
323 | force_bin_pt on |
---|
324 | bin_pt "0" |
---|
325 | has_advanced_control "0" |
---|
326 | sggui_pos "20,20,336,312" |
---|
327 | block_type "reinterpret" |
---|
328 | block_version "10.1" |
---|
329 | sg_icon_stat "50,32,1,1,white,blue,0,8982c1db,right" |
---|
330 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
331 | "s');\npatch([0 50 50 0 ],[0 0 32 32 ],[0.77 0.82 0.91]);\npatch([16 11 18 11 " |
---|
332 | "16 24 26 28 37 30 23 18 25 18 23 30 37 28 26 24 16 ],[3 8 15 22 27 27 25 27 2" |
---|
333 | "7 20 27 22 15 8 3 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 50 50 0 0 ],[0 0" |
---|
334 | " 32 32 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" |
---|
335 | " begin icon text');\ncolor('black');disp('reinterpret');\nfprintf('','COMMENT" |
---|
336 | ": end icon text');\n" |
---|
337 | } |
---|
338 | Block { |
---|
339 | BlockType Terminator |
---|
340 | Name "Terminator" |
---|
341 | Position [410, 195, 430, 215] |
---|
342 | ShowName off |
---|
343 | } |
---|
344 | Block { |
---|
345 | BlockType Reference |
---|
346 | Name "To Register" |
---|
347 | Ports [2, 1] |
---|
348 | Position [310, 176, 365, 229] |
---|
349 | ShowName off |
---|
350 | AttributesFormatString "To Register\\n<< %<shared_memory_name> " |
---|
351 | ">>" |
---|
352 | SourceBlock "xbsIndex_r4/To Register" |
---|
353 | SourceType "Xilinx Shared Memory Based To Register " |
---|
354 | "Block" |
---|
355 | infoedit "Register block that writes data to a sh" |
---|
356 | "ared memory register. Delay of one sample period." |
---|
357 | shared_memory_name "'RO_Reg'" |
---|
358 | init "0" |
---|
359 | ownership "Locally owned and initialized" |
---|
360 | explicit_data_type on |
---|
361 | arith_type "Unsigned" |
---|
362 | n_bits "32" |
---|
363 | bin_pt "0" |
---|
364 | dbl_ovrd off |
---|
365 | xl_use_area off |
---|
366 | xl_area "[0,0,0,0,0,0,0]" |
---|
367 | has_advanced_control "0" |
---|
368 | sggui_pos "20,20,381,270" |
---|
369 | block_type "toreg" |
---|
370 | block_version "8.2.02" |
---|
371 | sg_icon_stat "55,53,1,1,white,blue,0,77cabcdf,right" |
---|
372 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
373 | "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" |
---|
374 | " 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50" |
---|
375 | " 37 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " |
---|
376 | "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" |
---|
377 | ": begin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('bla" |
---|
378 | "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout'" |
---|
379 | ");\nfprintf('','COMMENT: end icon text');\n" |
---|
380 | } |
---|
381 | Line { |
---|
382 | SrcBlock "Convert" |
---|
383 | SrcPort 1 |
---|
384 | DstBlock "To Register" |
---|
385 | DstPort 1 |
---|
386 | } |
---|
387 | Line { |
---|
388 | SrcBlock "Reinterpret" |
---|
389 | SrcPort 1 |
---|
390 | DstBlock "Convert" |
---|
391 | DstPort 1 |
---|
392 | } |
---|
393 | Line { |
---|
394 | SrcBlock "D" |
---|
395 | SrcPort 1 |
---|
396 | DstBlock "Reinterpret" |
---|
397 | DstPort 1 |
---|
398 | } |
---|
399 | Line { |
---|
400 | SrcBlock "To Register" |
---|
401 | SrcPort 1 |
---|
402 | DstBlock "Terminator" |
---|
403 | DstPort 1 |
---|
404 | } |
---|
405 | Line { |
---|
406 | SrcBlock "En" |
---|
407 | SrcPort 1 |
---|
408 | Points [215, 0; 0, -15] |
---|
409 | DstBlock "To Register" |
---|
410 | DstPort 2 |
---|
411 | } |
---|
412 | } |
---|
413 | } |
---|
414 | Block { |
---|
415 | BlockType SubSystem |
---|
416 | Name "Read-Write Register" |
---|
417 | Ports [0, 1] |
---|
418 | Position [75, 114, 130, 146] |
---|
419 | AttributesFormatString "RW Reg: %<regName>" |
---|
420 | MinAlgLoopOccurrences off |
---|
421 | RTWSystemCode "Auto" |
---|
422 | FunctionWithSeparateData off |
---|
423 | MaskHideContents off |
---|
424 | MaskDescription "This block is a wrapper for two registers f" |
---|
425 | "rom the System Generator Shared Memory blockset:\na) A \"From Register\" bloc" |
---|
426 | "k, which provides a write-only register for the host processor\nb) A \"To Reg" |
---|
427 | "ister\" block, which provides a read-only register for the host processor\n\n" |
---|
428 | "Note: The Regisger Name paramter below must be unique for every instance of s" |
---|
429 | "hared-memory registers in your system. System Generator will throw an error i" |
---|
430 | "f duplicate names are found.\n" |
---|
431 | MaskPromptString "Register Name|Output Type|Output Num Bits|O" |
---|
432 | "utput Binary Point|Initial Value|Sample Period" |
---|
433 | MaskStyleString "edit,popup(Unsigned|Signed (2's comp)),edi" |
---|
434 | "t,edit,edit,edit" |
---|
435 | MaskTunableValueString "off,off,off,off,off,off" |
---|
436 | MaskCallbackString "|||||" |
---|
437 | MaskEnableString "on,on,on,on,on,on" |
---|
438 | MaskVisibilityString "on,on,on,on,on,on" |
---|
439 | MaskToolTipString "on,on,on,on,on,on" |
---|
440 | MaskVarAliasString ",,,,," |
---|
441 | MaskVariables "regName=&1;out_dataType=&2;out_numBits=@3;o" |
---|
442 | "ut_binaryPt=@4;initValue=@5;sampPeriod=@6;" |
---|
443 | MaskInitialization "wo_regBlock = find_system(gcb, 'LookUnderMa" |
---|
444 | "sks', 'all', 'FollowLinks', 'on', 'block_type', 'fromreg');\nro_regBlock = fi" |
---|
445 | "nd_system(gcb, 'LookUnderMasks', 'all', 'FollowLinks', 'on', 'block_type', 't" |
---|
446 | "oreg');\n\nif(length(wo_regBlock)>0)\n\n %Set the shared memory name\n" |
---|
447 | " set_param(wo_regBlock{1}, 'shared_memory_name', ['''' strcat(regName(" |
---|
448 | "2:end-1), '_w') '''']);\n\n set_param(wo_regBlock{1}, 'arith_type', sp" |
---|
449 | "rintf('%s', out_dataType));\n set_param(wo_regBlock{1}, 'ownership', '" |
---|
450 | "Locally owned and initialized')\n\n set_param(wo_regBlock{1}, 'n_bits'" |
---|
451 | ", num2str(out_numBits));\n set_param(wo_regBlock{1}, 'bin_pt', num2str" |
---|
452 | "(out_binaryPt));\n set_param(wo_regBlock{1}, 'init', num2str(initValue" |
---|
453 | "));\nend\n\nif(length(ro_regBlock)>0)\n\n %Set the shared memory name" |
---|
454 | "\n set_param(ro_regBlock{1}, 'shared_memory_name', ['''' strcat(regNam" |
---|
455 | "e(2:end-1), '_r') '''']);\n\n set_param(ro_regBlock{1}, 'explicit_data" |
---|
456 | "_type', 'on')\n set_param(ro_regBlock{1}, 'arith_type', sprintf('%s', out_" |
---|
457 | "dataType));\n set_param(ro_regBlock{1}, 'ownership', 'Locally owned an" |
---|
458 | "d initialized')\n\n set_param(ro_regBlock{1}, 'n_bits', num2str(out_nu" |
---|
459 | "mBits));\n set_param(ro_regBlock{1}, 'bin_pt', num2str(out_binaryPt));" |
---|
460 | "\n set_param(ro_regBlock{1}, 'init', num2str(initValue));\nend\n" |
---|
461 | MaskSelfModifiable on |
---|
462 | MaskIconFrame on |
---|
463 | MaskIconOpaque on |
---|
464 | MaskIconRotate "none" |
---|
465 | MaskIconUnits "autoscale" |
---|
466 | MaskValueString "'RW_Reg'|Unsigned|32|0|0|1" |
---|
467 | MaskTabNameString ",,,,," |
---|
468 | System { |
---|
469 | Name "Read-Write Register" |
---|
470 | Location [2, 74, 582, 375] |
---|
471 | Open off |
---|
472 | ModelBrowserVisibility off |
---|
473 | ModelBrowserWidth 200 |
---|
474 | ScreenColor "white" |
---|
475 | PaperOrientation "landscape" |
---|
476 | PaperPositionMode "auto" |
---|
477 | PaperType "usletter" |
---|
478 | PaperUnits "inches" |
---|
479 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
480 | TiledPageScale 1 |
---|
481 | ShowPageBoundaries off |
---|
482 | ZoomFactor "100" |
---|
483 | Block { |
---|
484 | BlockType Reference |
---|
485 | Name "Constant" |
---|
486 | Ports [0, 1] |
---|
487 | Position [175, 216, 200, 234] |
---|
488 | ShowName off |
---|
489 | SourceBlock "xbsIndex_r4/Constant" |
---|
490 | SourceType "Xilinx Constant Block Block" |
---|
491 | arith_type "Boolean" |
---|
492 | const "1" |
---|
493 | n_bits "16" |
---|
494 | bin_pt "14" |
---|
495 | explicit_period on |
---|
496 | period "sampPeriod" |
---|
497 | dsp48_infoedit "The use of this block for DSP48 instruc" |
---|
498 | "tions is deprecated. Please use the Opmode block." |
---|
499 | equ "P=C" |
---|
500 | opselect "C" |
---|
501 | inp2 "PCIN>>17" |
---|
502 | opr "+" |
---|
503 | inp1 "P" |
---|
504 | carry "CIN" |
---|
505 | dbl_ovrd off |
---|
506 | has_advanced_control "0" |
---|
507 | sggui_pos "20,20,400,346" |
---|
508 | block_type "constant" |
---|
509 | block_version "8.2.02" |
---|
510 | sg_icon_stat "25,18,1,1,white,blue,0,06094819,right" |
---|
511 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
512 | "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " |
---|
513 | "20 27 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 2" |
---|
514 | "3 17 23 19 13 7 3 9 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 " |
---|
515 | "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " |
---|
516 | "begin icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','C" |
---|
517 | "OMMENT: end icon text');\n" |
---|
518 | } |
---|
519 | Block { |
---|
520 | BlockType Reference |
---|
521 | Name "From Register" |
---|
522 | Ports [0, 1] |
---|
523 | Position [150, 35, 195, 85] |
---|
524 | ShowName off |
---|
525 | AttributesFormatString "From Register\\n<< %<shared_memory_name" |
---|
526 | "> >>\\n%<n_bits>\\n%<period>\\n%<bin_pt>\\n%<arith_type>\\n%<ownership>\\n%<i" |
---|
527 | "nit>" |
---|
528 | SourceBlock "xbsIndex_r4/From Register" |
---|
529 | SourceType "Xilinx Shared Memory Based From Registe" |
---|
530 | "r Block" |
---|
531 | infoedit "Register block that reads data to a sha" |
---|
532 | "red memory register. Delay of one sample period." |
---|
533 | shared_memory_name "'RW_Reg_w'" |
---|
534 | init "0" |
---|
535 | period "sampPeriod" |
---|
536 | ownership "Locally owned and initialized" |
---|
537 | arith_type "Unsigned" |
---|
538 | n_bits "32" |
---|
539 | bin_pt "0" |
---|
540 | dbl_ovrd off |
---|
541 | xl_use_area off |
---|
542 | xl_area "[0,0,0,0,0,0,0]" |
---|
543 | has_advanced_control "0" |
---|
544 | sggui_pos "20,20,381,246" |
---|
545 | block_type "fromreg" |
---|
546 | block_version "8.2.02" |
---|
547 | sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" |
---|
548 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
549 | "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" |
---|
550 | " 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50" |
---|
551 | " 37 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " |
---|
552 | "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" |
---|
553 | ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" |
---|
554 | "'','COMMENT: end icon text');\n" |
---|
555 | } |
---|
556 | Block { |
---|
557 | BlockType Terminator |
---|
558 | Name "Terminator" |
---|
559 | Position [370, 205, 390, 225] |
---|
560 | ShowName off |
---|
561 | } |
---|
562 | Block { |
---|
563 | BlockType Reference |
---|
564 | Name "To Register" |
---|
565 | Ports [2, 1] |
---|
566 | Position [270, 186, 325, 239] |
---|
567 | ShowName off |
---|
568 | AttributesFormatString "To Register\\n<< %<shared_memory_name> " |
---|
569 | ">>" |
---|
570 | SourceBlock "xbsIndex_r4/To Register" |
---|
571 | SourceType "Xilinx Shared Memory Based To Register " |
---|
572 | "Block" |
---|
573 | infoedit "Register block that writes data to a sh" |
---|
574 | "ared memory register. Delay of one sample period." |
---|
575 | shared_memory_name "'RW_Reg_r'" |
---|
576 | init "0" |
---|
577 | ownership "Locally owned and initialized" |
---|
578 | explicit_data_type on |
---|
579 | arith_type "Unsigned" |
---|
580 | n_bits "32" |
---|
581 | bin_pt "0" |
---|
582 | dbl_ovrd off |
---|
583 | xl_use_area off |
---|
584 | xl_area "[0,0,0,0,0,0,0]" |
---|
585 | has_advanced_control "0" |
---|
586 | sggui_pos "20,20,381,270" |
---|
587 | block_type "toreg" |
---|
588 | block_version "8.2.02" |
---|
589 | sg_icon_stat "55,53,1,1,white,blue,0,77cabcdf,right" |
---|
590 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
591 | "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" |
---|
592 | " 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50" |
---|
593 | " 37 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " |
---|
594 | "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" |
---|
595 | ": begin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('bla" |
---|
596 | "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout'" |
---|
597 | ");\nfprintf('','COMMENT: end icon text');\n" |
---|
598 | } |
---|
599 | Block { |
---|
600 | BlockType Outport |
---|
601 | Name "D" |
---|
602 | Position [285, 53, 315, 67] |
---|
603 | IconDisplay "Port number" |
---|
604 | BusOutputAsStruct off |
---|
605 | } |
---|
606 | Line { |
---|
607 | SrcBlock "From Register" |
---|
608 | SrcPort 1 |
---|
609 | Points [0, 0; 35, 0] |
---|
610 | Branch { |
---|
611 | DstBlock "D" |
---|
612 | DstPort 1 |
---|
613 | } |
---|
614 | Branch { |
---|
615 | Points [0, 140] |
---|
616 | DstBlock "To Register" |
---|
617 | DstPort 1 |
---|
618 | } |
---|
619 | } |
---|
620 | Line { |
---|
621 | SrcBlock "Constant" |
---|
622 | SrcPort 1 |
---|
623 | DstBlock "To Register" |
---|
624 | DstPort 2 |
---|
625 | } |
---|
626 | Line { |
---|
627 | SrcBlock "To Register" |
---|
628 | SrcPort 1 |
---|
629 | DstBlock "Terminator" |
---|
630 | DstPort 1 |
---|
631 | } |
---|
632 | } |
---|
633 | } |
---|
634 | Block { |
---|
635 | BlockType SubSystem |
---|
636 | Name "Write-Only Register" |
---|
637 | Ports [0, 1] |
---|
638 | Position [70, 39, 125, 71] |
---|
639 | AttributesFormatString "RW Reg: %<regName>" |
---|
640 | MinAlgLoopOccurrences off |
---|
641 | RTWSystemCode "Auto" |
---|
642 | FunctionWithSeparateData off |
---|
643 | MaskHideContents off |
---|
644 | MaskDescription "This block is a wrapper for System Generato" |
---|
645 | "r's \"From Register\" shared memory block.\n\nNote: The Regisger Name paramte" |
---|
646 | "r below must be unique for every instance of shared-memory registers in your " |
---|
647 | "system. System Generator will throw an error if duplicate names are found." |
---|
648 | MaskPromptString "Register Name|Output Type|Output Num Bits|O" |
---|
649 | "utput Binary Point|Initial Value|Sample Period" |
---|
650 | MaskStyleString "edit,popup(Unsigned|Signed (2's comp)),edi" |
---|
651 | "t,edit,edit,edit" |
---|
652 | MaskTunableValueString "off,off,off,off,off,off" |
---|
653 | MaskCallbackString "|||||" |
---|
654 | MaskEnableString "on,on,on,on,on,on" |
---|
655 | MaskVisibilityString "on,on,on,on,on,on" |
---|
656 | MaskToolTipString "on,on,on,on,on,on" |
---|
657 | MaskVarAliasString ",,,,," |
---|
658 | MaskVariables "regName=&1;out_dataType=&2;out_numBits=@3;o" |
---|
659 | "ut_binaryPt=@4;initValue=@5;sampPeriod=@6;" |
---|
660 | MaskInitialization "regBlock = find_system(gcb, 'LookUnderMasks" |
---|
661 | "', 'all', 'FollowLinks', 'on', 'block_type', 'fromreg');\n\nif(length(regBloc" |
---|
662 | "k)>0)\n\n %Set the shared memory name\n\n set_param(regBlock{1}, 's" |
---|
663 | "hared_memory_name', ['''' strcat(regName(2:end-1), '_w') '''']);\n\n s" |
---|
664 | "et_param(regBlock{1}, 'arith_type', sprintf('%s', out_dataType));\n se" |
---|
665 | "t_param(regBlock{1}, 'ownership', 'Locally owned and initialized')\n\n" |
---|
666 | " set_param(regBlock{1}, 'n_bits', num2str(out_numBits));\n set_" |
---|
667 | "param(regBlock{1}, 'bin_pt', num2str(out_binaryPt));\n set_param(regBl" |
---|
668 | "ock{1}, 'init', num2str(initValue));\nend\n" |
---|
669 | MaskSelfModifiable on |
---|
670 | MaskIconFrame on |
---|
671 | MaskIconOpaque on |
---|
672 | MaskIconRotate "none" |
---|
673 | MaskIconUnits "autoscale" |
---|
674 | MaskValueString "'WO_Reg'|Unsigned|32|0|0|1" |
---|
675 | MaskTabNameString ",,,,," |
---|
676 | System { |
---|
677 | Name "Write-Only Register" |
---|
678 | Location [567, 173, 1136, 671] |
---|
679 | Open off |
---|
680 | ModelBrowserVisibility off |
---|
681 | ModelBrowserWidth 200 |
---|
682 | ScreenColor "white" |
---|
683 | PaperOrientation "landscape" |
---|
684 | PaperPositionMode "auto" |
---|
685 | PaperType "usletter" |
---|
686 | PaperUnits "inches" |
---|
687 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
688 | TiledPageScale 1 |
---|
689 | ShowPageBoundaries off |
---|
690 | ZoomFactor "100" |
---|
691 | Block { |
---|
692 | BlockType Reference |
---|
693 | Name "From Register" |
---|
694 | Ports [0, 1] |
---|
695 | Position [150, 35, 195, 85] |
---|
696 | ShowName off |
---|
697 | AttributesFormatString "From Register\\n<< %<shared_memory_name" |
---|
698 | "> >>\\n%<n_bits>\\n%<period>\\n%<bin_pt>\\n%<arith_type>\\n%<ownership>\\n%<i" |
---|
699 | "nit>" |
---|
700 | SourceBlock "xbsIndex_r4/From Register" |
---|
701 | SourceType "Xilinx Shared Memory Based From Registe" |
---|
702 | "r Block" |
---|
703 | infoedit "Register block that reads data to a sha" |
---|
704 | "red memory register. Delay of one sample period." |
---|
705 | shared_memory_name "'WO_Reg_w'" |
---|
706 | init "0" |
---|
707 | period "sampPeriod" |
---|
708 | ownership "Locally owned and initialized" |
---|
709 | arith_type "Unsigned" |
---|
710 | n_bits "32" |
---|
711 | bin_pt "0" |
---|
712 | dbl_ovrd off |
---|
713 | xl_use_area off |
---|
714 | xl_area "[0,0,0,0,0,0,0]" |
---|
715 | has_advanced_control "0" |
---|
716 | sggui_pos "20,20,381,246" |
---|
717 | block_type "fromreg" |
---|
718 | block_version "8.2.02" |
---|
719 | sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" |
---|
720 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
721 | "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" |
---|
722 | " 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50" |
---|
723 | " 37 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " |
---|
724 | "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" |
---|
725 | ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" |
---|
726 | "'','COMMENT: end icon text');\n" |
---|
727 | } |
---|
728 | Block { |
---|
729 | BlockType Outport |
---|
730 | Name "D" |
---|
731 | Position [265, 53, 295, 67] |
---|
732 | IconDisplay "Port number" |
---|
733 | BusOutputAsStruct off |
---|
734 | } |
---|
735 | Line { |
---|
736 | SrcBlock "From Register" |
---|
737 | SrcPort 1 |
---|
738 | Points [0, 0] |
---|
739 | DstBlock "D" |
---|
740 | DstPort 1 |
---|
741 | } |
---|
742 | } |
---|
743 | } |
---|
744 | } |
---|
745 | } |
---|
746 | Block { |
---|
747 | BlockType SubSystem |
---|
748 | Name "WARP Radio ADC/DACs" |
---|
749 | Ports [] |
---|
750 | Position [220, 175, 284, 227] |
---|
751 | MinAlgLoopOccurrences off |
---|
752 | RTWSystemCode "Auto" |
---|
753 | FunctionWithSeparateData off |
---|
754 | MaskHideContents off |
---|
755 | System { |
---|
756 | Name "WARP Radio ADC/DACs" |
---|
757 | Location [-23, 74, 800, 590] |
---|
758 | Open off |
---|
759 | ModelBrowserVisibility off |
---|
760 | ModelBrowserWidth 200 |
---|
761 | ScreenColor "white" |
---|
762 | PaperOrientation "landscape" |
---|
763 | PaperPositionMode "auto" |
---|
764 | PaperType "usletter" |
---|
765 | PaperUnits "inches" |
---|
766 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
767 | TiledPageScale 1 |
---|
768 | ShowPageBoundaries off |
---|
769 | ZoomFactor "100" |
---|
770 | Block { |
---|
771 | BlockType SubSystem |
---|
772 | Name "Radio 1 ADC I" |
---|
773 | Ports [1, 1] |
---|
774 | Position [165, 242, 240, 278] |
---|
775 | MinAlgLoopOccurrences off |
---|
776 | RTWSystemCode "Auto" |
---|
777 | FunctionWithSeparateData off |
---|
778 | MaskHideContents off |
---|
779 | MaskPromptString "Sample Period" |
---|
780 | MaskStyleString "edit" |
---|
781 | MaskTunableValueString "on" |
---|
782 | MaskEnableString "on" |
---|
783 | MaskVisibilityString "on" |
---|
784 | MaskToolTipString "on" |
---|
785 | MaskVariables "adc_sample_period=@1;" |
---|
786 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
787 | MaskIconFrame on |
---|
788 | MaskIconOpaque on |
---|
789 | MaskIconRotate "none" |
---|
790 | MaskIconUnits "autoscale" |
---|
791 | MaskValueString "1" |
---|
792 | System { |
---|
793 | Name "Radio 1 ADC I" |
---|
794 | Location [-1278, 70, -2, 1004] |
---|
795 | Open off |
---|
796 | ModelBrowserVisibility off |
---|
797 | ModelBrowserWidth 200 |
---|
798 | ScreenColor "white" |
---|
799 | PaperOrientation "landscape" |
---|
800 | PaperPositionMode "auto" |
---|
801 | PaperType "usletter" |
---|
802 | PaperUnits "inches" |
---|
803 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
804 | TiledPageScale 1 |
---|
805 | ShowPageBoundaries off |
---|
806 | ZoomFactor "100" |
---|
807 | Block { |
---|
808 | BlockType Inport |
---|
809 | Name "I" |
---|
810 | Position [200, 143, 230, 157] |
---|
811 | IconDisplay "Port number" |
---|
812 | } |
---|
813 | Block { |
---|
814 | BlockType Reference |
---|
815 | Name "radio1_ADC_I" |
---|
816 | Ports [1, 1] |
---|
817 | Position [265, 139, 320, 161] |
---|
818 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
819 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
820 | SourceType "Xilinx Gateway In Block" |
---|
821 | infoedit "Gateway in block. Converts inputs of t" |
---|
822 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
823 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
824 | arith_type "Signed (2's comp)" |
---|
825 | n_bits "14" |
---|
826 | bin_pt "13" |
---|
827 | quantization "Round (unbiased: +/- Inf)" |
---|
828 | overflow "Flag as error" |
---|
829 | period "adc_sample_period" |
---|
830 | dbl_ovrd "off" |
---|
831 | timing_constraint "None" |
---|
832 | locs_specified "off" |
---|
833 | LOCs "{}" |
---|
834 | xl_use_area "off" |
---|
835 | xl_area "[0,0,0,0,0,0,0]" |
---|
836 | block_version "VER_STRING_GOES_HERE" |
---|
837 | has_advanced_control "0" |
---|
838 | sggui_pos "20,20,356,423" |
---|
839 | block_type "gatewayin" |
---|
840 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
841 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
842 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
843 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
844 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
845 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
846 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
847 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
848 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
849 | "this line -- machine generated code. ');\n" |
---|
850 | } |
---|
851 | Block { |
---|
852 | BlockType Outport |
---|
853 | Name "I_out" |
---|
854 | Position [355, 143, 385, 157] |
---|
855 | IconDisplay "Port number" |
---|
856 | BusOutputAsStruct off |
---|
857 | } |
---|
858 | Line { |
---|
859 | SrcBlock "radio1_ADC_I" |
---|
860 | SrcPort 1 |
---|
861 | DstBlock "I_out" |
---|
862 | DstPort 1 |
---|
863 | } |
---|
864 | Line { |
---|
865 | SrcBlock "I" |
---|
866 | SrcPort 1 |
---|
867 | DstBlock "radio1_ADC_I" |
---|
868 | DstPort 1 |
---|
869 | } |
---|
870 | } |
---|
871 | } |
---|
872 | Block { |
---|
873 | BlockType SubSystem |
---|
874 | Name "Radio 1 ADC Q" |
---|
875 | Ports [1, 1] |
---|
876 | Position [165, 302, 240, 338] |
---|
877 | MinAlgLoopOccurrences off |
---|
878 | RTWSystemCode "Auto" |
---|
879 | FunctionWithSeparateData off |
---|
880 | MaskHideContents off |
---|
881 | MaskPromptString "adc_sample_period" |
---|
882 | MaskStyleString "edit" |
---|
883 | MaskTunableValueString "on" |
---|
884 | MaskEnableString "on" |
---|
885 | MaskVisibilityString "on" |
---|
886 | MaskToolTipString "on" |
---|
887 | MaskVariables "adc_sample_period=@1;" |
---|
888 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
889 | MaskIconFrame on |
---|
890 | MaskIconOpaque on |
---|
891 | MaskIconRotate "none" |
---|
892 | MaskIconUnits "autoscale" |
---|
893 | MaskValueString "1" |
---|
894 | System { |
---|
895 | Name "Radio 1 ADC Q" |
---|
896 | Location [-1278, 70, -2, 1004] |
---|
897 | Open off |
---|
898 | ModelBrowserVisibility off |
---|
899 | ModelBrowserWidth 200 |
---|
900 | ScreenColor "white" |
---|
901 | PaperOrientation "landscape" |
---|
902 | PaperPositionMode "auto" |
---|
903 | PaperType "usletter" |
---|
904 | PaperUnits "inches" |
---|
905 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
906 | TiledPageScale 1 |
---|
907 | ShowPageBoundaries off |
---|
908 | ZoomFactor "100" |
---|
909 | Block { |
---|
910 | BlockType Inport |
---|
911 | Name "Q" |
---|
912 | Position [200, 143, 230, 157] |
---|
913 | IconDisplay "Port number" |
---|
914 | } |
---|
915 | Block { |
---|
916 | BlockType Reference |
---|
917 | Name "radio1_ADC_Q" |
---|
918 | Ports [1, 1] |
---|
919 | Position [265, 139, 320, 161] |
---|
920 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
921 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
922 | SourceType "Xilinx Gateway In Block" |
---|
923 | infoedit "Gateway in block. Converts inputs of t" |
---|
924 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
925 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
926 | arith_type "Signed (2's comp)" |
---|
927 | n_bits "14" |
---|
928 | bin_pt "13" |
---|
929 | quantization "Round (unbiased: +/- Inf)" |
---|
930 | overflow "Flag as error" |
---|
931 | period "adc_sample_period" |
---|
932 | dbl_ovrd "off" |
---|
933 | timing_constraint "None" |
---|
934 | locs_specified "off" |
---|
935 | LOCs "{}" |
---|
936 | xl_use_area "off" |
---|
937 | xl_area "[0,0,0,0,0,0,0]" |
---|
938 | block_version "VER_STRING_GOES_HERE" |
---|
939 | has_advanced_control "0" |
---|
940 | sggui_pos "20,20,356,423" |
---|
941 | block_type "gatewayin" |
---|
942 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
943 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
944 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
945 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
946 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
947 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
948 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
949 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
950 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
951 | "this line -- machine generated code. ');\n" |
---|
952 | } |
---|
953 | Block { |
---|
954 | BlockType Outport |
---|
955 | Name "Q_out" |
---|
956 | Position [355, 143, 385, 157] |
---|
957 | IconDisplay "Port number" |
---|
958 | BusOutputAsStruct off |
---|
959 | } |
---|
960 | Line { |
---|
961 | SrcBlock "Q" |
---|
962 | SrcPort 1 |
---|
963 | DstBlock "radio1_ADC_Q" |
---|
964 | DstPort 1 |
---|
965 | } |
---|
966 | Line { |
---|
967 | SrcBlock "radio1_ADC_Q" |
---|
968 | SrcPort 1 |
---|
969 | DstBlock "Q_out" |
---|
970 | DstPort 1 |
---|
971 | } |
---|
972 | } |
---|
973 | } |
---|
974 | Block { |
---|
975 | BlockType SubSystem |
---|
976 | Name "Radio 1 DAC I" |
---|
977 | Ports [1, 1] |
---|
978 | Position [165, 112, 240, 148] |
---|
979 | MinAlgLoopOccurrences off |
---|
980 | RTWSystemCode "Auto" |
---|
981 | FunctionWithSeparateData off |
---|
982 | MaskHideContents off |
---|
983 | MaskDescription "WARP Radio Board #1 I-channel DAC" |
---|
984 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
985 | MaskIconFrame on |
---|
986 | MaskIconOpaque on |
---|
987 | MaskIconRotate "none" |
---|
988 | MaskIconUnits "autoscale" |
---|
989 | System { |
---|
990 | Name "Radio 1 DAC I" |
---|
991 | Location [-848, 197, -543, 272] |
---|
992 | Open off |
---|
993 | ModelBrowserVisibility off |
---|
994 | ModelBrowserWidth 200 |
---|
995 | ScreenColor "white" |
---|
996 | PaperOrientation "landscape" |
---|
997 | PaperPositionMode "auto" |
---|
998 | PaperType "usletter" |
---|
999 | PaperUnits "inches" |
---|
1000 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1001 | TiledPageScale 1 |
---|
1002 | ShowPageBoundaries off |
---|
1003 | ZoomFactor "100" |
---|
1004 | Block { |
---|
1005 | BlockType Inport |
---|
1006 | Name "I" |
---|
1007 | Position [200, 83, 230, 97] |
---|
1008 | IconDisplay "Port number" |
---|
1009 | } |
---|
1010 | Block { |
---|
1011 | BlockType Reference |
---|
1012 | Name "Convert" |
---|
1013 | Ports [1, 1] |
---|
1014 | Position [255, 80, 300, 100] |
---|
1015 | SourceBlock "xbsIndex_r4/Convert" |
---|
1016 | SourceType "Xilinx Type Converter Block" |
---|
1017 | infoedit "Hardware notes: rounding and saturating" |
---|
1018 | " require hardware resources; truncating and wrapping do not." |
---|
1019 | arith_type "Signed (2's comp)" |
---|
1020 | n_bits "16" |
---|
1021 | bin_pt "15" |
---|
1022 | quantization "Truncate" |
---|
1023 | overflow "Flag as error" |
---|
1024 | latency "0" |
---|
1025 | dbl_ovrd "off" |
---|
1026 | pipeline "off" |
---|
1027 | xl_use_area "off" |
---|
1028 | xl_area "[0,0,0,0,0,0,0]" |
---|
1029 | block_version "VER_STRING_GOES_HERE" |
---|
1030 | has_advanced_control "0" |
---|
1031 | sggui_pos "20,20,374,366" |
---|
1032 | block_type "convert" |
---|
1033 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
1034 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1035 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
1036 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
1037 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
1038 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1039 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
1040 | "f('','COMMENT: end icon text');\n" |
---|
1041 | } |
---|
1042 | Block { |
---|
1043 | BlockType Reference |
---|
1044 | Name "radio1_DAC_I" |
---|
1045 | Ports [1, 1] |
---|
1046 | Position [345, 79, 400, 101] |
---|
1047 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1048 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
1049 | SourceType "Xilinx Gateway Out Block" |
---|
1050 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
1051 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
1052 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
1053 | " or are discarded, depending on how they are configured." |
---|
1054 | hdl_port "on" |
---|
1055 | timing_constraint "None" |
---|
1056 | locs_specified "off" |
---|
1057 | LOCs "{}" |
---|
1058 | xl_use_area "off" |
---|
1059 | xl_area "[0,0,0,0,0,0,0]" |
---|
1060 | block_version "VER_STRING_GOES_HERE" |
---|
1061 | has_advanced_control "0" |
---|
1062 | sggui_pos "-1,-1,-1,-1" |
---|
1063 | block_type "gatewayout" |
---|
1064 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
1065 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1066 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1067 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1068 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1069 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1070 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
1071 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
1072 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
1073 | " this line -- machine generated code. ');\n" |
---|
1074 | } |
---|
1075 | Block { |
---|
1076 | BlockType Outport |
---|
1077 | Name "I_out" |
---|
1078 | Position [425, 83, 455, 97] |
---|
1079 | IconDisplay "Port number" |
---|
1080 | BusOutputAsStruct off |
---|
1081 | } |
---|
1082 | Line { |
---|
1083 | SrcBlock "Convert" |
---|
1084 | SrcPort 1 |
---|
1085 | DstBlock "radio1_DAC_I" |
---|
1086 | DstPort 1 |
---|
1087 | } |
---|
1088 | Line { |
---|
1089 | SrcBlock "I" |
---|
1090 | SrcPort 1 |
---|
1091 | DstBlock "Convert" |
---|
1092 | DstPort 1 |
---|
1093 | } |
---|
1094 | Line { |
---|
1095 | SrcBlock "radio1_DAC_I" |
---|
1096 | SrcPort 1 |
---|
1097 | DstBlock "I_out" |
---|
1098 | DstPort 1 |
---|
1099 | } |
---|
1100 | } |
---|
1101 | } |
---|
1102 | Block { |
---|
1103 | BlockType SubSystem |
---|
1104 | Name "Radio 1 DAC Q" |
---|
1105 | Ports [1, 1] |
---|
1106 | Position [165, 177, 240, 213] |
---|
1107 | MinAlgLoopOccurrences off |
---|
1108 | RTWSystemCode "Auto" |
---|
1109 | FunctionWithSeparateData off |
---|
1110 | MaskHideContents off |
---|
1111 | MaskDescription "WARP Radio Board #1Q-channel DAC" |
---|
1112 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1113 | MaskIconFrame on |
---|
1114 | MaskIconOpaque on |
---|
1115 | MaskIconRotate "none" |
---|
1116 | MaskIconUnits "autoscale" |
---|
1117 | System { |
---|
1118 | Name "Radio 1 DAC Q" |
---|
1119 | Location [-1278, 70, -2, 1004] |
---|
1120 | Open off |
---|
1121 | ModelBrowserVisibility off |
---|
1122 | ModelBrowserWidth 200 |
---|
1123 | ScreenColor "white" |
---|
1124 | PaperOrientation "landscape" |
---|
1125 | PaperPositionMode "auto" |
---|
1126 | PaperType "usletter" |
---|
1127 | PaperUnits "inches" |
---|
1128 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1129 | TiledPageScale 1 |
---|
1130 | ShowPageBoundaries off |
---|
1131 | ZoomFactor "100" |
---|
1132 | Block { |
---|
1133 | BlockType Inport |
---|
1134 | Name "Q" |
---|
1135 | Position [200, 143, 230, 157] |
---|
1136 | IconDisplay "Port number" |
---|
1137 | } |
---|
1138 | Block { |
---|
1139 | BlockType Reference |
---|
1140 | Name "Convert1" |
---|
1141 | Ports [1, 1] |
---|
1142 | Position [255, 140, 300, 160] |
---|
1143 | SourceBlock "xbsIndex_r4/Convert" |
---|
1144 | SourceType "Xilinx Type Converter Block" |
---|
1145 | infoedit "Hardware notes: rounding and saturating" |
---|
1146 | " require hardware resources; truncating and wrapping do not." |
---|
1147 | arith_type "Signed (2's comp)" |
---|
1148 | n_bits "16" |
---|
1149 | bin_pt "15" |
---|
1150 | quantization "Truncate" |
---|
1151 | overflow "Flag as error" |
---|
1152 | latency "0" |
---|
1153 | dbl_ovrd "off" |
---|
1154 | pipeline "off" |
---|
1155 | xl_use_area "off" |
---|
1156 | xl_area "[0,0,0,0,0,0,0]" |
---|
1157 | block_version "VER_STRING_GOES_HERE" |
---|
1158 | has_advanced_control "0" |
---|
1159 | sggui_pos "20,20,374,366" |
---|
1160 | block_type "convert" |
---|
1161 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
1162 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1163 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
1164 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
1165 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
1166 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1167 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
1168 | "f('','COMMENT: end icon text');\n" |
---|
1169 | } |
---|
1170 | Block { |
---|
1171 | BlockType Reference |
---|
1172 | Name "radio1_DAC_Q" |
---|
1173 | Ports [1, 1] |
---|
1174 | Position [345, 139, 400, 161] |
---|
1175 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1176 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
1177 | SourceType "Xilinx Gateway Out Block" |
---|
1178 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
1179 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
1180 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
1181 | " or are discarded, depending on how they are configured." |
---|
1182 | hdl_port "on" |
---|
1183 | timing_constraint "None" |
---|
1184 | locs_specified "off" |
---|
1185 | LOCs "{}" |
---|
1186 | xl_use_area "off" |
---|
1187 | xl_area "[0,0,0,0,0,0,0]" |
---|
1188 | block_version "VER_STRING_GOES_HERE" |
---|
1189 | has_advanced_control "0" |
---|
1190 | sggui_pos "-1,-1,-1,-1" |
---|
1191 | block_type "gatewayout" |
---|
1192 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
1193 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1194 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1195 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1196 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1197 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1198 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
1199 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
1200 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
1201 | " this line -- machine generated code. ');\n" |
---|
1202 | } |
---|
1203 | Block { |
---|
1204 | BlockType Outport |
---|
1205 | Name "Q_out" |
---|
1206 | Position [425, 143, 455, 157] |
---|
1207 | IconDisplay "Port number" |
---|
1208 | BusOutputAsStruct off |
---|
1209 | } |
---|
1210 | Line { |
---|
1211 | SrcBlock "radio1_DAC_Q" |
---|
1212 | SrcPort 1 |
---|
1213 | Points [0, 0] |
---|
1214 | DstBlock "Q_out" |
---|
1215 | DstPort 1 |
---|
1216 | } |
---|
1217 | Line { |
---|
1218 | SrcBlock "Q" |
---|
1219 | SrcPort 1 |
---|
1220 | Points [0, 0] |
---|
1221 | DstBlock "Convert1" |
---|
1222 | DstPort 1 |
---|
1223 | } |
---|
1224 | Line { |
---|
1225 | SrcBlock "Convert1" |
---|
1226 | SrcPort 1 |
---|
1227 | Points [0, 0] |
---|
1228 | DstBlock "radio1_DAC_Q" |
---|
1229 | DstPort 1 |
---|
1230 | } |
---|
1231 | } |
---|
1232 | } |
---|
1233 | Block { |
---|
1234 | BlockType SubSystem |
---|
1235 | Name "Radio 2 ADC I" |
---|
1236 | Ports [1, 1] |
---|
1237 | Position [295, 242, 370, 278] |
---|
1238 | MinAlgLoopOccurrences off |
---|
1239 | RTWSystemCode "Auto" |
---|
1240 | FunctionWithSeparateData off |
---|
1241 | MaskHideContents off |
---|
1242 | MaskPromptString "Sample Period" |
---|
1243 | MaskStyleString "edit" |
---|
1244 | MaskTunableValueString "on" |
---|
1245 | MaskEnableString "on" |
---|
1246 | MaskVisibilityString "on" |
---|
1247 | MaskToolTipString "on" |
---|
1248 | MaskVariables "adc_sample_period=@1;" |
---|
1249 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1250 | MaskIconFrame on |
---|
1251 | MaskIconOpaque on |
---|
1252 | MaskIconRotate "none" |
---|
1253 | MaskIconUnits "autoscale" |
---|
1254 | MaskValueString "1" |
---|
1255 | System { |
---|
1256 | Name "Radio 2 ADC I" |
---|
1257 | Location [2, 74, 1278, 1000] |
---|
1258 | Open off |
---|
1259 | ModelBrowserVisibility off |
---|
1260 | ModelBrowserWidth 200 |
---|
1261 | ScreenColor "white" |
---|
1262 | PaperOrientation "landscape" |
---|
1263 | PaperPositionMode "auto" |
---|
1264 | PaperType "usletter" |
---|
1265 | PaperUnits "inches" |
---|
1266 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1267 | TiledPageScale 1 |
---|
1268 | ShowPageBoundaries off |
---|
1269 | ZoomFactor "100" |
---|
1270 | Block { |
---|
1271 | BlockType Inport |
---|
1272 | Name "I" |
---|
1273 | Position [200, 143, 230, 157] |
---|
1274 | IconDisplay "Port number" |
---|
1275 | } |
---|
1276 | Block { |
---|
1277 | BlockType Reference |
---|
1278 | Name "radio2_ADC_I" |
---|
1279 | Ports [1, 1] |
---|
1280 | Position [265, 139, 320, 161] |
---|
1281 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1282 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
1283 | SourceType "Xilinx Gateway In Block" |
---|
1284 | infoedit "Gateway in block. Converts inputs of t" |
---|
1285 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
1286 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
1287 | arith_type "Signed (2's comp)" |
---|
1288 | n_bits "14" |
---|
1289 | bin_pt "13" |
---|
1290 | quantization "Round (unbiased: +/- Inf)" |
---|
1291 | overflow "Flag as error" |
---|
1292 | period "adc_sample_period" |
---|
1293 | dbl_ovrd "off" |
---|
1294 | timing_constraint "None" |
---|
1295 | locs_specified "off" |
---|
1296 | LOCs "{}" |
---|
1297 | xl_use_area "off" |
---|
1298 | xl_area "[0,0,0,0,0,0,0]" |
---|
1299 | block_version "VER_STRING_GOES_HERE" |
---|
1300 | has_advanced_control "0" |
---|
1301 | sggui_pos "20,20,356,423" |
---|
1302 | block_type "gatewayin" |
---|
1303 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
1304 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1305 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1306 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1307 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1308 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1309 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
1310 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
1311 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
1312 | "this line -- machine generated code. ');\n" |
---|
1313 | } |
---|
1314 | Block { |
---|
1315 | BlockType Outport |
---|
1316 | Name "I_out" |
---|
1317 | Position [355, 143, 385, 157] |
---|
1318 | IconDisplay "Port number" |
---|
1319 | BusOutputAsStruct off |
---|
1320 | } |
---|
1321 | Line { |
---|
1322 | SrcBlock "I" |
---|
1323 | SrcPort 1 |
---|
1324 | DstBlock "radio2_ADC_I" |
---|
1325 | DstPort 1 |
---|
1326 | } |
---|
1327 | Line { |
---|
1328 | SrcBlock "radio2_ADC_I" |
---|
1329 | SrcPort 1 |
---|
1330 | DstBlock "I_out" |
---|
1331 | DstPort 1 |
---|
1332 | } |
---|
1333 | } |
---|
1334 | } |
---|
1335 | Block { |
---|
1336 | BlockType SubSystem |
---|
1337 | Name "Radio 2 ADC Q" |
---|
1338 | Ports [1, 1] |
---|
1339 | Position [295, 302, 370, 338] |
---|
1340 | MinAlgLoopOccurrences off |
---|
1341 | RTWSystemCode "Auto" |
---|
1342 | FunctionWithSeparateData off |
---|
1343 | MaskHideContents off |
---|
1344 | MaskPromptString "adc_sample_period" |
---|
1345 | MaskStyleString "edit" |
---|
1346 | MaskTunableValueString "on" |
---|
1347 | MaskEnableString "on" |
---|
1348 | MaskVisibilityString "on" |
---|
1349 | MaskToolTipString "on" |
---|
1350 | MaskVariables "adc_sample_period=@1;" |
---|
1351 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1352 | MaskIconFrame on |
---|
1353 | MaskIconOpaque on |
---|
1354 | MaskIconRotate "none" |
---|
1355 | MaskIconUnits "autoscale" |
---|
1356 | MaskValueString "1" |
---|
1357 | System { |
---|
1358 | Name "Radio 2 ADC Q" |
---|
1359 | Location [2, 74, 1278, 1000] |
---|
1360 | Open off |
---|
1361 | ModelBrowserVisibility off |
---|
1362 | ModelBrowserWidth 200 |
---|
1363 | ScreenColor "white" |
---|
1364 | PaperOrientation "landscape" |
---|
1365 | PaperPositionMode "auto" |
---|
1366 | PaperType "usletter" |
---|
1367 | PaperUnits "inches" |
---|
1368 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1369 | TiledPageScale 1 |
---|
1370 | ShowPageBoundaries off |
---|
1371 | ZoomFactor "100" |
---|
1372 | Block { |
---|
1373 | BlockType Inport |
---|
1374 | Name "Q" |
---|
1375 | Position [200, 143, 230, 157] |
---|
1376 | IconDisplay "Port number" |
---|
1377 | } |
---|
1378 | Block { |
---|
1379 | BlockType Reference |
---|
1380 | Name "radio2_ADC_Q" |
---|
1381 | Ports [1, 1] |
---|
1382 | Position [265, 139, 320, 161] |
---|
1383 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1384 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
1385 | SourceType "Xilinx Gateway In Block" |
---|
1386 | infoedit "Gateway in block. Converts inputs of t" |
---|
1387 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
1388 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
1389 | arith_type "Signed (2's comp)" |
---|
1390 | n_bits "14" |
---|
1391 | bin_pt "13" |
---|
1392 | quantization "Round (unbiased: +/- Inf)" |
---|
1393 | overflow "Flag as error" |
---|
1394 | period "adc_sample_period" |
---|
1395 | dbl_ovrd "off" |
---|
1396 | timing_constraint "None" |
---|
1397 | locs_specified "off" |
---|
1398 | LOCs "{}" |
---|
1399 | xl_use_area "off" |
---|
1400 | xl_area "[0,0,0,0,0,0,0]" |
---|
1401 | block_version "VER_STRING_GOES_HERE" |
---|
1402 | has_advanced_control "0" |
---|
1403 | sggui_pos "20,20,356,423" |
---|
1404 | block_type "gatewayin" |
---|
1405 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
1406 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1407 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1408 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1409 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1410 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1411 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
1412 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
1413 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
1414 | "this line -- machine generated code. ');\n" |
---|
1415 | } |
---|
1416 | Block { |
---|
1417 | BlockType Outport |
---|
1418 | Name "Q_out" |
---|
1419 | Position [355, 143, 385, 157] |
---|
1420 | IconDisplay "Port number" |
---|
1421 | BusOutputAsStruct off |
---|
1422 | } |
---|
1423 | Line { |
---|
1424 | SrcBlock "radio2_ADC_Q" |
---|
1425 | SrcPort 1 |
---|
1426 | DstBlock "Q_out" |
---|
1427 | DstPort 1 |
---|
1428 | } |
---|
1429 | Line { |
---|
1430 | SrcBlock "Q" |
---|
1431 | SrcPort 1 |
---|
1432 | DstBlock "radio2_ADC_Q" |
---|
1433 | DstPort 1 |
---|
1434 | } |
---|
1435 | } |
---|
1436 | } |
---|
1437 | Block { |
---|
1438 | BlockType SubSystem |
---|
1439 | Name "Radio 2 DAC I" |
---|
1440 | Ports [1, 1] |
---|
1441 | Position [295, 112, 370, 148] |
---|
1442 | MinAlgLoopOccurrences off |
---|
1443 | RTWSystemCode "Auto" |
---|
1444 | FunctionWithSeparateData off |
---|
1445 | MaskHideContents off |
---|
1446 | MaskDescription "WARP Radio Board #2 I-channel DAC" |
---|
1447 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1448 | MaskIconFrame on |
---|
1449 | MaskIconOpaque on |
---|
1450 | MaskIconRotate "none" |
---|
1451 | MaskIconUnits "autoscale" |
---|
1452 | System { |
---|
1453 | Name "Radio 2 DAC I" |
---|
1454 | Location [-1278, 70, -2, 1004] |
---|
1455 | Open off |
---|
1456 | ModelBrowserVisibility off |
---|
1457 | ModelBrowserWidth 200 |
---|
1458 | ScreenColor "white" |
---|
1459 | PaperOrientation "landscape" |
---|
1460 | PaperPositionMode "auto" |
---|
1461 | PaperType "usletter" |
---|
1462 | PaperUnits "inches" |
---|
1463 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1464 | TiledPageScale 1 |
---|
1465 | ShowPageBoundaries off |
---|
1466 | ZoomFactor "100" |
---|
1467 | Block { |
---|
1468 | BlockType Inport |
---|
1469 | Name "I" |
---|
1470 | Position [200, 83, 230, 97] |
---|
1471 | IconDisplay "Port number" |
---|
1472 | } |
---|
1473 | Block { |
---|
1474 | BlockType Reference |
---|
1475 | Name "Convert" |
---|
1476 | Ports [1, 1] |
---|
1477 | Position [255, 80, 300, 100] |
---|
1478 | SourceBlock "xbsIndex_r4/Convert" |
---|
1479 | SourceType "Xilinx Type Converter Block" |
---|
1480 | infoedit "Hardware notes: rounding and saturating" |
---|
1481 | " require hardware resources; truncating and wrapping do not." |
---|
1482 | arith_type "Signed (2's comp)" |
---|
1483 | n_bits "16" |
---|
1484 | bin_pt "15" |
---|
1485 | quantization "Truncate" |
---|
1486 | overflow "Flag as error" |
---|
1487 | latency "0" |
---|
1488 | dbl_ovrd "off" |
---|
1489 | pipeline "off" |
---|
1490 | xl_use_area "off" |
---|
1491 | xl_area "[0,0,0,0,0,0,0]" |
---|
1492 | block_version "VER_STRING_GOES_HERE" |
---|
1493 | has_advanced_control "0" |
---|
1494 | sggui_pos "20,20,374,366" |
---|
1495 | block_type "convert" |
---|
1496 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
1497 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1498 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
1499 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
1500 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
1501 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1502 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
1503 | "f('','COMMENT: end icon text');\n" |
---|
1504 | } |
---|
1505 | Block { |
---|
1506 | BlockType Reference |
---|
1507 | Name "radio2_DAC_I" |
---|
1508 | Ports [1, 1] |
---|
1509 | Position [345, 79, 400, 101] |
---|
1510 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1511 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
1512 | SourceType "Xilinx Gateway Out Block" |
---|
1513 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
1514 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
1515 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
1516 | " or are discarded, depending on how they are configured." |
---|
1517 | hdl_port "on" |
---|
1518 | timing_constraint "None" |
---|
1519 | locs_specified "off" |
---|
1520 | LOCs "{}" |
---|
1521 | xl_use_area "off" |
---|
1522 | xl_area "[0,0,0,0,0,0,0]" |
---|
1523 | block_version "VER_STRING_GOES_HERE" |
---|
1524 | has_advanced_control "0" |
---|
1525 | sggui_pos "-1,-1,-1,-1" |
---|
1526 | block_type "gatewayout" |
---|
1527 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
1528 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1529 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1530 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1531 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1532 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1533 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
1534 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
1535 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
1536 | " this line -- machine generated code. ');\n" |
---|
1537 | } |
---|
1538 | Block { |
---|
1539 | BlockType Outport |
---|
1540 | Name "I_out" |
---|
1541 | Position [425, 83, 455, 97] |
---|
1542 | IconDisplay "Port number" |
---|
1543 | BusOutputAsStruct off |
---|
1544 | } |
---|
1545 | Line { |
---|
1546 | SrcBlock "radio2_DAC_I" |
---|
1547 | SrcPort 1 |
---|
1548 | DstBlock "I_out" |
---|
1549 | DstPort 1 |
---|
1550 | } |
---|
1551 | Line { |
---|
1552 | SrcBlock "I" |
---|
1553 | SrcPort 1 |
---|
1554 | DstBlock "Convert" |
---|
1555 | DstPort 1 |
---|
1556 | } |
---|
1557 | Line { |
---|
1558 | SrcBlock "Convert" |
---|
1559 | SrcPort 1 |
---|
1560 | DstBlock "radio2_DAC_I" |
---|
1561 | DstPort 1 |
---|
1562 | } |
---|
1563 | } |
---|
1564 | } |
---|
1565 | Block { |
---|
1566 | BlockType SubSystem |
---|
1567 | Name "Radio 2 DAC Q" |
---|
1568 | Ports [1, 1] |
---|
1569 | Position [295, 177, 370, 213] |
---|
1570 | MinAlgLoopOccurrences off |
---|
1571 | RTWSystemCode "Auto" |
---|
1572 | FunctionWithSeparateData off |
---|
1573 | MaskHideContents off |
---|
1574 | MaskDescription "WARP Radio Board #2 Q-channel DAC" |
---|
1575 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1576 | MaskIconFrame on |
---|
1577 | MaskIconOpaque on |
---|
1578 | MaskIconRotate "none" |
---|
1579 | MaskIconUnits "autoscale" |
---|
1580 | System { |
---|
1581 | Name "Radio 2 DAC Q" |
---|
1582 | Location [-1278, 70, -2, 1004] |
---|
1583 | Open off |
---|
1584 | ModelBrowserVisibility off |
---|
1585 | ModelBrowserWidth 200 |
---|
1586 | ScreenColor "white" |
---|
1587 | PaperOrientation "landscape" |
---|
1588 | PaperPositionMode "auto" |
---|
1589 | PaperType "usletter" |
---|
1590 | PaperUnits "inches" |
---|
1591 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1592 | TiledPageScale 1 |
---|
1593 | ShowPageBoundaries off |
---|
1594 | ZoomFactor "100" |
---|
1595 | Block { |
---|
1596 | BlockType Inport |
---|
1597 | Name "Q" |
---|
1598 | Position [200, 143, 230, 157] |
---|
1599 | IconDisplay "Port number" |
---|
1600 | } |
---|
1601 | Block { |
---|
1602 | BlockType Reference |
---|
1603 | Name "Convert1" |
---|
1604 | Ports [1, 1] |
---|
1605 | Position [255, 140, 300, 160] |
---|
1606 | SourceBlock "xbsIndex_r4/Convert" |
---|
1607 | SourceType "Xilinx Type Converter Block" |
---|
1608 | infoedit "Hardware notes: rounding and saturating" |
---|
1609 | " require hardware resources; truncating and wrapping do not." |
---|
1610 | arith_type "Signed (2's comp)" |
---|
1611 | n_bits "16" |
---|
1612 | bin_pt "15" |
---|
1613 | quantization "Truncate" |
---|
1614 | overflow "Flag as error" |
---|
1615 | latency "0" |
---|
1616 | dbl_ovrd "off" |
---|
1617 | pipeline "off" |
---|
1618 | xl_use_area "off" |
---|
1619 | xl_area "[0,0,0,0,0,0,0]" |
---|
1620 | block_version "VER_STRING_GOES_HERE" |
---|
1621 | has_advanced_control "0" |
---|
1622 | sggui_pos "20,20,374,366" |
---|
1623 | block_type "convert" |
---|
1624 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
1625 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1626 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
1627 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
1628 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
1629 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1630 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
1631 | "f('','COMMENT: end icon text');\n" |
---|
1632 | } |
---|
1633 | Block { |
---|
1634 | BlockType Reference |
---|
1635 | Name "radio2_DAC_Q" |
---|
1636 | Ports [1, 1] |
---|
1637 | Position [345, 139, 400, 161] |
---|
1638 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1639 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
1640 | SourceType "Xilinx Gateway Out Block" |
---|
1641 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
1642 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
1643 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
1644 | " or are discarded, depending on how they are configured." |
---|
1645 | hdl_port "on" |
---|
1646 | timing_constraint "None" |
---|
1647 | locs_specified "off" |
---|
1648 | LOCs "{}" |
---|
1649 | xl_use_area "off" |
---|
1650 | xl_area "[0,0,0,0,0,0,0]" |
---|
1651 | block_version "VER_STRING_GOES_HERE" |
---|
1652 | has_advanced_control "0" |
---|
1653 | sggui_pos "-1,-1,-1,-1" |
---|
1654 | block_type "gatewayout" |
---|
1655 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
1656 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1657 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1658 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1659 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1660 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1661 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
1662 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
1663 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
1664 | " this line -- machine generated code. ');\n" |
---|
1665 | } |
---|
1666 | Block { |
---|
1667 | BlockType Outport |
---|
1668 | Name "Q_out" |
---|
1669 | Position [425, 143, 455, 157] |
---|
1670 | IconDisplay "Port number" |
---|
1671 | BusOutputAsStruct off |
---|
1672 | } |
---|
1673 | Line { |
---|
1674 | SrcBlock "Convert1" |
---|
1675 | SrcPort 1 |
---|
1676 | Points [0, 0] |
---|
1677 | DstBlock "radio2_DAC_Q" |
---|
1678 | DstPort 1 |
---|
1679 | } |
---|
1680 | Line { |
---|
1681 | SrcBlock "Q" |
---|
1682 | SrcPort 1 |
---|
1683 | Points [0, 0] |
---|
1684 | DstBlock "Convert1" |
---|
1685 | DstPort 1 |
---|
1686 | } |
---|
1687 | Line { |
---|
1688 | SrcBlock "radio2_DAC_Q" |
---|
1689 | SrcPort 1 |
---|
1690 | Points [0, 0] |
---|
1691 | DstBlock "Q_out" |
---|
1692 | DstPort 1 |
---|
1693 | } |
---|
1694 | } |
---|
1695 | } |
---|
1696 | Block { |
---|
1697 | BlockType SubSystem |
---|
1698 | Name "Radio 3 ADC I" |
---|
1699 | Ports [1, 1] |
---|
1700 | Position [425, 242, 500, 278] |
---|
1701 | MinAlgLoopOccurrences off |
---|
1702 | RTWSystemCode "Auto" |
---|
1703 | FunctionWithSeparateData off |
---|
1704 | MaskHideContents off |
---|
1705 | MaskPromptString "Sample Period" |
---|
1706 | MaskStyleString "edit" |
---|
1707 | MaskTunableValueString "on" |
---|
1708 | MaskEnableString "on" |
---|
1709 | MaskVisibilityString "on" |
---|
1710 | MaskToolTipString "on" |
---|
1711 | MaskVariables "adc_sample_period=@1;" |
---|
1712 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1713 | MaskIconFrame on |
---|
1714 | MaskIconOpaque on |
---|
1715 | MaskIconRotate "none" |
---|
1716 | MaskIconUnits "autoscale" |
---|
1717 | MaskValueString "1" |
---|
1718 | System { |
---|
1719 | Name "Radio 3 ADC I" |
---|
1720 | Location [2, 74, 1278, 1000] |
---|
1721 | Open off |
---|
1722 | ModelBrowserVisibility off |
---|
1723 | ModelBrowserWidth 200 |
---|
1724 | ScreenColor "white" |
---|
1725 | PaperOrientation "landscape" |
---|
1726 | PaperPositionMode "auto" |
---|
1727 | PaperType "usletter" |
---|
1728 | PaperUnits "inches" |
---|
1729 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1730 | TiledPageScale 1 |
---|
1731 | ShowPageBoundaries off |
---|
1732 | ZoomFactor "100" |
---|
1733 | Block { |
---|
1734 | BlockType Inport |
---|
1735 | Name "I" |
---|
1736 | Position [200, 143, 230, 157] |
---|
1737 | IconDisplay "Port number" |
---|
1738 | } |
---|
1739 | Block { |
---|
1740 | BlockType Reference |
---|
1741 | Name "radio3_ADC_I" |
---|
1742 | Ports [1, 1] |
---|
1743 | Position [265, 139, 320, 161] |
---|
1744 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1745 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
1746 | SourceType "Xilinx Gateway In Block" |
---|
1747 | infoedit "Gateway in block. Converts inputs of t" |
---|
1748 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
1749 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
1750 | arith_type "Signed (2's comp)" |
---|
1751 | n_bits "14" |
---|
1752 | bin_pt "13" |
---|
1753 | quantization "Round (unbiased: +/- Inf)" |
---|
1754 | overflow "Flag as error" |
---|
1755 | period "adc_sample_period" |
---|
1756 | dbl_ovrd "off" |
---|
1757 | timing_constraint "None" |
---|
1758 | locs_specified "off" |
---|
1759 | LOCs "{}" |
---|
1760 | xl_use_area "off" |
---|
1761 | xl_area "[0,0,0,0,0,0,0]" |
---|
1762 | block_version "VER_STRING_GOES_HERE" |
---|
1763 | has_advanced_control "0" |
---|
1764 | sggui_pos "20,20,356,423" |
---|
1765 | block_type "gatewayin" |
---|
1766 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
1767 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1768 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1769 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1770 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1771 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1772 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
1773 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
1774 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
1775 | "this line -- machine generated code. ');\n" |
---|
1776 | } |
---|
1777 | Block { |
---|
1778 | BlockType Outport |
---|
1779 | Name "I_out" |
---|
1780 | Position [355, 143, 385, 157] |
---|
1781 | IconDisplay "Port number" |
---|
1782 | BusOutputAsStruct off |
---|
1783 | } |
---|
1784 | Line { |
---|
1785 | SrcBlock "radio3_ADC_I" |
---|
1786 | SrcPort 1 |
---|
1787 | DstBlock "I_out" |
---|
1788 | DstPort 1 |
---|
1789 | } |
---|
1790 | Line { |
---|
1791 | SrcBlock "I" |
---|
1792 | SrcPort 1 |
---|
1793 | DstBlock "radio3_ADC_I" |
---|
1794 | DstPort 1 |
---|
1795 | } |
---|
1796 | } |
---|
1797 | } |
---|
1798 | Block { |
---|
1799 | BlockType SubSystem |
---|
1800 | Name "Radio 3 ADC Q" |
---|
1801 | Ports [1, 1] |
---|
1802 | Position [425, 302, 500, 338] |
---|
1803 | MinAlgLoopOccurrences off |
---|
1804 | RTWSystemCode "Auto" |
---|
1805 | FunctionWithSeparateData off |
---|
1806 | MaskHideContents off |
---|
1807 | MaskPromptString "adc_sample_period" |
---|
1808 | MaskStyleString "edit" |
---|
1809 | MaskTunableValueString "on" |
---|
1810 | MaskEnableString "on" |
---|
1811 | MaskVisibilityString "on" |
---|
1812 | MaskToolTipString "on" |
---|
1813 | MaskVariables "adc_sample_period=@1;" |
---|
1814 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1815 | MaskIconFrame on |
---|
1816 | MaskIconOpaque on |
---|
1817 | MaskIconRotate "none" |
---|
1818 | MaskIconUnits "autoscale" |
---|
1819 | MaskValueString "1" |
---|
1820 | System { |
---|
1821 | Name "Radio 3 ADC Q" |
---|
1822 | Location [2, 74, 1278, 1000] |
---|
1823 | Open off |
---|
1824 | ModelBrowserVisibility off |
---|
1825 | ModelBrowserWidth 200 |
---|
1826 | ScreenColor "white" |
---|
1827 | PaperOrientation "landscape" |
---|
1828 | PaperPositionMode "auto" |
---|
1829 | PaperType "usletter" |
---|
1830 | PaperUnits "inches" |
---|
1831 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1832 | TiledPageScale 1 |
---|
1833 | ShowPageBoundaries off |
---|
1834 | ZoomFactor "100" |
---|
1835 | Block { |
---|
1836 | BlockType Inport |
---|
1837 | Name "Q" |
---|
1838 | Position [200, 143, 230, 157] |
---|
1839 | IconDisplay "Port number" |
---|
1840 | } |
---|
1841 | Block { |
---|
1842 | BlockType Reference |
---|
1843 | Name "radio3_ADC_Q" |
---|
1844 | Ports [1, 1] |
---|
1845 | Position [265, 139, 320, 161] |
---|
1846 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1847 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
1848 | SourceType "Xilinx Gateway In Block" |
---|
1849 | infoedit "Gateway in block. Converts inputs of t" |
---|
1850 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
1851 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
1852 | arith_type "Signed (2's comp)" |
---|
1853 | n_bits "14" |
---|
1854 | bin_pt "13" |
---|
1855 | quantization "Round (unbiased: +/- Inf)" |
---|
1856 | overflow "Flag as error" |
---|
1857 | period "adc_sample_period" |
---|
1858 | dbl_ovrd "off" |
---|
1859 | timing_constraint "None" |
---|
1860 | locs_specified "off" |
---|
1861 | LOCs "{}" |
---|
1862 | xl_use_area "off" |
---|
1863 | xl_area "[0,0,0,0,0,0,0]" |
---|
1864 | block_version "VER_STRING_GOES_HERE" |
---|
1865 | has_advanced_control "0" |
---|
1866 | sggui_pos "20,20,356,423" |
---|
1867 | block_type "gatewayin" |
---|
1868 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
1869 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1870 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1871 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1872 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1873 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1874 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
1875 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
1876 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
1877 | "this line -- machine generated code. ');\n" |
---|
1878 | } |
---|
1879 | Block { |
---|
1880 | BlockType Outport |
---|
1881 | Name "Q_out" |
---|
1882 | Position [355, 143, 385, 157] |
---|
1883 | IconDisplay "Port number" |
---|
1884 | BusOutputAsStruct off |
---|
1885 | } |
---|
1886 | Line { |
---|
1887 | SrcBlock "Q" |
---|
1888 | SrcPort 1 |
---|
1889 | DstBlock "radio3_ADC_Q" |
---|
1890 | DstPort 1 |
---|
1891 | } |
---|
1892 | Line { |
---|
1893 | SrcBlock "radio3_ADC_Q" |
---|
1894 | SrcPort 1 |
---|
1895 | DstBlock "Q_out" |
---|
1896 | DstPort 1 |
---|
1897 | } |
---|
1898 | } |
---|
1899 | } |
---|
1900 | Block { |
---|
1901 | BlockType SubSystem |
---|
1902 | Name "Radio 3 DAC I" |
---|
1903 | Ports [1, 1] |
---|
1904 | Position [425, 112, 500, 148] |
---|
1905 | MinAlgLoopOccurrences off |
---|
1906 | RTWSystemCode "Auto" |
---|
1907 | FunctionWithSeparateData off |
---|
1908 | MaskHideContents off |
---|
1909 | MaskDescription "WARP Radio Board #3 I-channel DAC" |
---|
1910 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
1911 | MaskIconFrame on |
---|
1912 | MaskIconOpaque on |
---|
1913 | MaskIconRotate "none" |
---|
1914 | MaskIconUnits "autoscale" |
---|
1915 | System { |
---|
1916 | Name "Radio 3 DAC I" |
---|
1917 | Location [-1278, 70, -2, 1004] |
---|
1918 | Open off |
---|
1919 | ModelBrowserVisibility off |
---|
1920 | ModelBrowserWidth 200 |
---|
1921 | ScreenColor "white" |
---|
1922 | PaperOrientation "landscape" |
---|
1923 | PaperPositionMode "auto" |
---|
1924 | PaperType "usletter" |
---|
1925 | PaperUnits "inches" |
---|
1926 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
1927 | TiledPageScale 1 |
---|
1928 | ShowPageBoundaries off |
---|
1929 | ZoomFactor "100" |
---|
1930 | Block { |
---|
1931 | BlockType Inport |
---|
1932 | Name "I" |
---|
1933 | Position [200, 83, 230, 97] |
---|
1934 | IconDisplay "Port number" |
---|
1935 | } |
---|
1936 | Block { |
---|
1937 | BlockType Reference |
---|
1938 | Name "Convert" |
---|
1939 | Ports [1, 1] |
---|
1940 | Position [255, 80, 300, 100] |
---|
1941 | SourceBlock "xbsIndex_r4/Convert" |
---|
1942 | SourceType "Xilinx Type Converter Block" |
---|
1943 | infoedit "Hardware notes: rounding and saturating" |
---|
1944 | " require hardware resources; truncating and wrapping do not." |
---|
1945 | arith_type "Signed (2's comp)" |
---|
1946 | n_bits "16" |
---|
1947 | bin_pt "15" |
---|
1948 | quantization "Truncate" |
---|
1949 | overflow "Flag as error" |
---|
1950 | latency "0" |
---|
1951 | dbl_ovrd "off" |
---|
1952 | pipeline "off" |
---|
1953 | xl_use_area "off" |
---|
1954 | xl_area "[0,0,0,0,0,0,0]" |
---|
1955 | block_version "VER_STRING_GOES_HERE" |
---|
1956 | has_advanced_control "0" |
---|
1957 | sggui_pos "20,20,374,366" |
---|
1958 | block_type "convert" |
---|
1959 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
1960 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1961 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
1962 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
1963 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
1964 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1965 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
1966 | "f('','COMMENT: end icon text');\n" |
---|
1967 | } |
---|
1968 | Block { |
---|
1969 | BlockType Reference |
---|
1970 | Name "radio3_DAC_I" |
---|
1971 | Ports [1, 1] |
---|
1972 | Position [345, 79, 400, 101] |
---|
1973 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
1974 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
1975 | SourceType "Xilinx Gateway Out Block" |
---|
1976 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
1977 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
1978 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
1979 | " or are discarded, depending on how they are configured." |
---|
1980 | hdl_port "on" |
---|
1981 | timing_constraint "None" |
---|
1982 | locs_specified "off" |
---|
1983 | LOCs "{}" |
---|
1984 | xl_use_area "off" |
---|
1985 | xl_area "[0,0,0,0,0,0,0]" |
---|
1986 | block_version "VER_STRING_GOES_HERE" |
---|
1987 | has_advanced_control "0" |
---|
1988 | sggui_pos "-1,-1,-1,-1" |
---|
1989 | block_type "gatewayout" |
---|
1990 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
1991 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
1992 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
1993 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
1994 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
1995 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
1996 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
1997 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
1998 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
1999 | " this line -- machine generated code. ');\n" |
---|
2000 | } |
---|
2001 | Block { |
---|
2002 | BlockType Outport |
---|
2003 | Name "I_out" |
---|
2004 | Position [425, 83, 455, 97] |
---|
2005 | IconDisplay "Port number" |
---|
2006 | BusOutputAsStruct off |
---|
2007 | } |
---|
2008 | Line { |
---|
2009 | SrcBlock "Convert" |
---|
2010 | SrcPort 1 |
---|
2011 | DstBlock "radio3_DAC_I" |
---|
2012 | DstPort 1 |
---|
2013 | } |
---|
2014 | Line { |
---|
2015 | SrcBlock "I" |
---|
2016 | SrcPort 1 |
---|
2017 | DstBlock "Convert" |
---|
2018 | DstPort 1 |
---|
2019 | } |
---|
2020 | Line { |
---|
2021 | SrcBlock "radio3_DAC_I" |
---|
2022 | SrcPort 1 |
---|
2023 | DstBlock "I_out" |
---|
2024 | DstPort 1 |
---|
2025 | } |
---|
2026 | } |
---|
2027 | } |
---|
2028 | Block { |
---|
2029 | BlockType SubSystem |
---|
2030 | Name "Radio 3 DAC Q" |
---|
2031 | Ports [1, 1] |
---|
2032 | Position [425, 177, 500, 213] |
---|
2033 | MinAlgLoopOccurrences off |
---|
2034 | RTWSystemCode "Auto" |
---|
2035 | FunctionWithSeparateData off |
---|
2036 | MaskHideContents off |
---|
2037 | MaskDescription "WARP Radio Board #3 Q-channel DAC" |
---|
2038 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
2039 | MaskIconFrame on |
---|
2040 | MaskIconOpaque on |
---|
2041 | MaskIconRotate "none" |
---|
2042 | MaskIconUnits "autoscale" |
---|
2043 | System { |
---|
2044 | Name "Radio 3 DAC Q" |
---|
2045 | Location [-1278, 70, -2, 1004] |
---|
2046 | Open off |
---|
2047 | ModelBrowserVisibility off |
---|
2048 | ModelBrowserWidth 200 |
---|
2049 | ScreenColor "white" |
---|
2050 | PaperOrientation "landscape" |
---|
2051 | PaperPositionMode "auto" |
---|
2052 | PaperType "usletter" |
---|
2053 | PaperUnits "inches" |
---|
2054 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2055 | TiledPageScale 1 |
---|
2056 | ShowPageBoundaries off |
---|
2057 | ZoomFactor "100" |
---|
2058 | Block { |
---|
2059 | BlockType Inport |
---|
2060 | Name "Q" |
---|
2061 | Position [200, 143, 230, 157] |
---|
2062 | IconDisplay "Port number" |
---|
2063 | } |
---|
2064 | Block { |
---|
2065 | BlockType Reference |
---|
2066 | Name "Convert1" |
---|
2067 | Ports [1, 1] |
---|
2068 | Position [255, 140, 300, 160] |
---|
2069 | SourceBlock "xbsIndex_r4/Convert" |
---|
2070 | SourceType "Xilinx Type Converter Block" |
---|
2071 | infoedit "Hardware notes: rounding and saturating" |
---|
2072 | " require hardware resources; truncating and wrapping do not." |
---|
2073 | arith_type "Signed (2's comp)" |
---|
2074 | n_bits "16" |
---|
2075 | bin_pt "15" |
---|
2076 | quantization "Truncate" |
---|
2077 | overflow "Flag as error" |
---|
2078 | latency "0" |
---|
2079 | dbl_ovrd "off" |
---|
2080 | pipeline "off" |
---|
2081 | xl_use_area "off" |
---|
2082 | xl_area "[0,0,0,0,0,0,0]" |
---|
2083 | block_version "VER_STRING_GOES_HERE" |
---|
2084 | has_advanced_control "0" |
---|
2085 | sggui_pos "20,20,374,366" |
---|
2086 | block_type "convert" |
---|
2087 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
2088 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2089 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
2090 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
2091 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
2092 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2093 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
2094 | "f('','COMMENT: end icon text');\n" |
---|
2095 | } |
---|
2096 | Block { |
---|
2097 | BlockType Reference |
---|
2098 | Name "radio3_DAC_Q" |
---|
2099 | Ports [1, 1] |
---|
2100 | Position [345, 139, 400, 161] |
---|
2101 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
2102 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
2103 | SourceType "Xilinx Gateway Out Block" |
---|
2104 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
2105 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
2106 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
2107 | " or are discarded, depending on how they are configured." |
---|
2108 | hdl_port "on" |
---|
2109 | timing_constraint "None" |
---|
2110 | locs_specified "off" |
---|
2111 | LOCs "{}" |
---|
2112 | xl_use_area "off" |
---|
2113 | xl_area "[0,0,0,0,0,0,0]" |
---|
2114 | block_version "VER_STRING_GOES_HERE" |
---|
2115 | has_advanced_control "0" |
---|
2116 | sggui_pos "-1,-1,-1,-1" |
---|
2117 | block_type "gatewayout" |
---|
2118 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
2119 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2120 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
2121 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
2122 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
2123 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2124 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
2125 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
2126 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
2127 | " this line -- machine generated code. ');\n" |
---|
2128 | } |
---|
2129 | Block { |
---|
2130 | BlockType Outport |
---|
2131 | Name "Q_out" |
---|
2132 | Position [425, 143, 455, 157] |
---|
2133 | IconDisplay "Port number" |
---|
2134 | BusOutputAsStruct off |
---|
2135 | } |
---|
2136 | Line { |
---|
2137 | SrcBlock "radio3_DAC_Q" |
---|
2138 | SrcPort 1 |
---|
2139 | Points [0, 0] |
---|
2140 | DstBlock "Q_out" |
---|
2141 | DstPort 1 |
---|
2142 | } |
---|
2143 | Line { |
---|
2144 | SrcBlock "Q" |
---|
2145 | SrcPort 1 |
---|
2146 | Points [0, 0] |
---|
2147 | DstBlock "Convert1" |
---|
2148 | DstPort 1 |
---|
2149 | } |
---|
2150 | Line { |
---|
2151 | SrcBlock "Convert1" |
---|
2152 | SrcPort 1 |
---|
2153 | Points [0, 0] |
---|
2154 | DstBlock "radio3_DAC_Q" |
---|
2155 | DstPort 1 |
---|
2156 | } |
---|
2157 | } |
---|
2158 | } |
---|
2159 | Block { |
---|
2160 | BlockType SubSystem |
---|
2161 | Name "Radio 4 ADC I" |
---|
2162 | Ports [1, 1] |
---|
2163 | Position [545, 242, 620, 278] |
---|
2164 | MinAlgLoopOccurrences off |
---|
2165 | RTWSystemCode "Auto" |
---|
2166 | FunctionWithSeparateData off |
---|
2167 | MaskHideContents off |
---|
2168 | MaskPromptString "Sample Period" |
---|
2169 | MaskStyleString "edit" |
---|
2170 | MaskTunableValueString "on" |
---|
2171 | MaskEnableString "on" |
---|
2172 | MaskVisibilityString "on" |
---|
2173 | MaskToolTipString "on" |
---|
2174 | MaskVariables "adc_sample_period=@1;" |
---|
2175 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
2176 | MaskIconFrame on |
---|
2177 | MaskIconOpaque on |
---|
2178 | MaskIconRotate "none" |
---|
2179 | MaskIconUnits "autoscale" |
---|
2180 | MaskValueString "1" |
---|
2181 | System { |
---|
2182 | Name "Radio 4 ADC I" |
---|
2183 | Location [2, 74, 1278, 1000] |
---|
2184 | Open off |
---|
2185 | ModelBrowserVisibility off |
---|
2186 | ModelBrowserWidth 200 |
---|
2187 | ScreenColor "white" |
---|
2188 | PaperOrientation "landscape" |
---|
2189 | PaperPositionMode "auto" |
---|
2190 | PaperType "usletter" |
---|
2191 | PaperUnits "inches" |
---|
2192 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2193 | TiledPageScale 1 |
---|
2194 | ShowPageBoundaries off |
---|
2195 | ZoomFactor "100" |
---|
2196 | Block { |
---|
2197 | BlockType Inport |
---|
2198 | Name "I" |
---|
2199 | Position [200, 143, 230, 157] |
---|
2200 | IconDisplay "Port number" |
---|
2201 | } |
---|
2202 | Block { |
---|
2203 | BlockType Reference |
---|
2204 | Name "radio4_ADC_I" |
---|
2205 | Ports [1, 1] |
---|
2206 | Position [265, 139, 320, 161] |
---|
2207 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
2208 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
2209 | SourceType "Xilinx Gateway In Block" |
---|
2210 | infoedit "Gateway in block. Converts inputs of t" |
---|
2211 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
2212 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
2213 | arith_type "Signed (2's comp)" |
---|
2214 | n_bits "14" |
---|
2215 | bin_pt "13" |
---|
2216 | quantization "Round (unbiased: +/- Inf)" |
---|
2217 | overflow "Flag as error" |
---|
2218 | period "adc_sample_period" |
---|
2219 | dbl_ovrd "off" |
---|
2220 | timing_constraint "None" |
---|
2221 | locs_specified "off" |
---|
2222 | LOCs "{}" |
---|
2223 | xl_use_area "off" |
---|
2224 | xl_area "[0,0,0,0,0,0,0]" |
---|
2225 | block_version "VER_STRING_GOES_HERE" |
---|
2226 | has_advanced_control "0" |
---|
2227 | sggui_pos "20,20,356,423" |
---|
2228 | block_type "gatewayin" |
---|
2229 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
2230 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2231 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
2232 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
2233 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
2234 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2235 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
2236 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
2237 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
2238 | "this line -- machine generated code. ');\n" |
---|
2239 | } |
---|
2240 | Block { |
---|
2241 | BlockType Outport |
---|
2242 | Name "I_out" |
---|
2243 | Position [355, 143, 385, 157] |
---|
2244 | IconDisplay "Port number" |
---|
2245 | BusOutputAsStruct off |
---|
2246 | } |
---|
2247 | Line { |
---|
2248 | SrcBlock "I" |
---|
2249 | SrcPort 1 |
---|
2250 | DstBlock "radio4_ADC_I" |
---|
2251 | DstPort 1 |
---|
2252 | } |
---|
2253 | Line { |
---|
2254 | SrcBlock "radio4_ADC_I" |
---|
2255 | SrcPort 1 |
---|
2256 | DstBlock "I_out" |
---|
2257 | DstPort 1 |
---|
2258 | } |
---|
2259 | } |
---|
2260 | } |
---|
2261 | Block { |
---|
2262 | BlockType SubSystem |
---|
2263 | Name "Radio 4 ADC Q" |
---|
2264 | Ports [1, 1] |
---|
2265 | Position [545, 307, 620, 343] |
---|
2266 | MinAlgLoopOccurrences off |
---|
2267 | RTWSystemCode "Auto" |
---|
2268 | FunctionWithSeparateData off |
---|
2269 | MaskHideContents off |
---|
2270 | MaskPromptString "adc_sample_period" |
---|
2271 | MaskStyleString "edit" |
---|
2272 | MaskTunableValueString "on" |
---|
2273 | MaskEnableString "on" |
---|
2274 | MaskVisibilityString "on" |
---|
2275 | MaskToolTipString "on" |
---|
2276 | MaskVariables "adc_sample_period=@1;" |
---|
2277 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
2278 | MaskIconFrame on |
---|
2279 | MaskIconOpaque on |
---|
2280 | MaskIconRotate "none" |
---|
2281 | MaskIconUnits "autoscale" |
---|
2282 | MaskValueString "1" |
---|
2283 | System { |
---|
2284 | Name "Radio 4 ADC Q" |
---|
2285 | Location [2, 74, 1278, 1000] |
---|
2286 | Open off |
---|
2287 | ModelBrowserVisibility off |
---|
2288 | ModelBrowserWidth 200 |
---|
2289 | ScreenColor "white" |
---|
2290 | PaperOrientation "landscape" |
---|
2291 | PaperPositionMode "auto" |
---|
2292 | PaperType "usletter" |
---|
2293 | PaperUnits "inches" |
---|
2294 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2295 | TiledPageScale 1 |
---|
2296 | ShowPageBoundaries off |
---|
2297 | ZoomFactor "100" |
---|
2298 | Block { |
---|
2299 | BlockType Inport |
---|
2300 | Name "Q" |
---|
2301 | Position [200, 143, 230, 157] |
---|
2302 | IconDisplay "Port number" |
---|
2303 | } |
---|
2304 | Block { |
---|
2305 | BlockType Reference |
---|
2306 | Name "radio4_ADC_Q" |
---|
2307 | Ports [1, 1] |
---|
2308 | Position [265, 139, 320, 161] |
---|
2309 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
2310 | SourceBlock "xbsIndex_r4/Gateway In" |
---|
2311 | SourceType "Xilinx Gateway In Block" |
---|
2312 | infoedit "Gateway in block. Converts inputs of t" |
---|
2313 | "ype Simulink integer, double and fixed point to Xilinx fixed point type.<P><" |
---|
2314 | "P>Hardware notes: In hardware these blocks become top level input ports." |
---|
2315 | arith_type "Signed (2's comp)" |
---|
2316 | n_bits "14" |
---|
2317 | bin_pt "13" |
---|
2318 | quantization "Round (unbiased: +/- Inf)" |
---|
2319 | overflow "Flag as error" |
---|
2320 | period "adc_sample_period" |
---|
2321 | dbl_ovrd "off" |
---|
2322 | timing_constraint "None" |
---|
2323 | locs_specified "off" |
---|
2324 | LOCs "{}" |
---|
2325 | xl_use_area "off" |
---|
2326 | xl_area "[0,0,0,0,0,0,0]" |
---|
2327 | block_version "VER_STRING_GOES_HERE" |
---|
2328 | has_advanced_control "0" |
---|
2329 | sggui_pos "20,20,356,423" |
---|
2330 | block_type "gatewayin" |
---|
2331 | sg_icon_stat "55,22,1,1,white,yellow,0,4bb76ffd" |
---|
2332 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2333 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
2334 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
2335 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
2336 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2337 | "T: begin icon text ');\ncolor('black');port_label('input',1,'\\fontsize{11pt}" |
---|
2338 | "\\bf In ','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprin" |
---|
2339 | "tf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above " |
---|
2340 | "this line -- machine generated code. ');\n" |
---|
2341 | } |
---|
2342 | Block { |
---|
2343 | BlockType Outport |
---|
2344 | Name "Q_out" |
---|
2345 | Position [355, 143, 385, 157] |
---|
2346 | IconDisplay "Port number" |
---|
2347 | BusOutputAsStruct off |
---|
2348 | } |
---|
2349 | Line { |
---|
2350 | SrcBlock "radio4_ADC_Q" |
---|
2351 | SrcPort 1 |
---|
2352 | DstBlock "Q_out" |
---|
2353 | DstPort 1 |
---|
2354 | } |
---|
2355 | Line { |
---|
2356 | SrcBlock "Q" |
---|
2357 | SrcPort 1 |
---|
2358 | DstBlock "radio4_ADC_Q" |
---|
2359 | DstPort 1 |
---|
2360 | } |
---|
2361 | } |
---|
2362 | } |
---|
2363 | Block { |
---|
2364 | BlockType SubSystem |
---|
2365 | Name "Radio 4 DAC I" |
---|
2366 | Ports [1, 1] |
---|
2367 | Position [545, 112, 620, 148] |
---|
2368 | MinAlgLoopOccurrences off |
---|
2369 | RTWSystemCode "Auto" |
---|
2370 | FunctionWithSeparateData off |
---|
2371 | MaskHideContents off |
---|
2372 | MaskDescription "WARP Radio Board #4 I-channel DAC" |
---|
2373 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
2374 | MaskIconFrame on |
---|
2375 | MaskIconOpaque on |
---|
2376 | MaskIconRotate "none" |
---|
2377 | MaskIconUnits "autoscale" |
---|
2378 | System { |
---|
2379 | Name "Radio 4 DAC I" |
---|
2380 | Location [-1278, 70, -2, 1004] |
---|
2381 | Open off |
---|
2382 | ModelBrowserVisibility off |
---|
2383 | ModelBrowserWidth 200 |
---|
2384 | ScreenColor "white" |
---|
2385 | PaperOrientation "landscape" |
---|
2386 | PaperPositionMode "auto" |
---|
2387 | PaperType "usletter" |
---|
2388 | PaperUnits "inches" |
---|
2389 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2390 | TiledPageScale 1 |
---|
2391 | ShowPageBoundaries off |
---|
2392 | ZoomFactor "100" |
---|
2393 | Block { |
---|
2394 | BlockType Inport |
---|
2395 | Name "I" |
---|
2396 | Position [200, 83, 230, 97] |
---|
2397 | IconDisplay "Port number" |
---|
2398 | } |
---|
2399 | Block { |
---|
2400 | BlockType Reference |
---|
2401 | Name "Convert" |
---|
2402 | Ports [1, 1] |
---|
2403 | Position [255, 80, 300, 100] |
---|
2404 | SourceBlock "xbsIndex_r4/Convert" |
---|
2405 | SourceType "Xilinx Type Converter Block" |
---|
2406 | infoedit "Hardware notes: rounding and saturating" |
---|
2407 | " require hardware resources; truncating and wrapping do not." |
---|
2408 | arith_type "Signed (2's comp)" |
---|
2409 | n_bits "16" |
---|
2410 | bin_pt "15" |
---|
2411 | quantization "Truncate" |
---|
2412 | overflow "Flag as error" |
---|
2413 | latency "0" |
---|
2414 | dbl_ovrd "off" |
---|
2415 | pipeline "off" |
---|
2416 | xl_use_area "off" |
---|
2417 | xl_area "[0,0,0,0,0,0,0]" |
---|
2418 | block_version "VER_STRING_GOES_HERE" |
---|
2419 | has_advanced_control "0" |
---|
2420 | sggui_pos "20,20,374,366" |
---|
2421 | block_type "convert" |
---|
2422 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
2423 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2424 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
2425 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
2426 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
2427 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2428 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
2429 | "f('','COMMENT: end icon text');\n" |
---|
2430 | } |
---|
2431 | Block { |
---|
2432 | BlockType Reference |
---|
2433 | Name "radio4_DAC_I" |
---|
2434 | Ports [1, 1] |
---|
2435 | Position [345, 79, 400, 101] |
---|
2436 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
2437 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
2438 | SourceType "Xilinx Gateway Out Block" |
---|
2439 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
2440 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
2441 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
2442 | " or are discarded, depending on how they are configured." |
---|
2443 | hdl_port "on" |
---|
2444 | timing_constraint "None" |
---|
2445 | locs_specified "off" |
---|
2446 | LOCs "{}" |
---|
2447 | xl_use_area "off" |
---|
2448 | xl_area "[0,0,0,0,0,0,0]" |
---|
2449 | block_version "VER_STRING_GOES_HERE" |
---|
2450 | has_advanced_control "0" |
---|
2451 | sggui_pos "-1,-1,-1,-1" |
---|
2452 | block_type "gatewayout" |
---|
2453 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
2454 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2455 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
2456 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
2457 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
2458 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2459 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
2460 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
2461 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
2462 | " this line -- machine generated code. ');\n" |
---|
2463 | } |
---|
2464 | Block { |
---|
2465 | BlockType Outport |
---|
2466 | Name "I_out" |
---|
2467 | Position [425, 83, 455, 97] |
---|
2468 | IconDisplay "Port number" |
---|
2469 | BusOutputAsStruct off |
---|
2470 | } |
---|
2471 | Line { |
---|
2472 | SrcBlock "radio4_DAC_I" |
---|
2473 | SrcPort 1 |
---|
2474 | DstBlock "I_out" |
---|
2475 | DstPort 1 |
---|
2476 | } |
---|
2477 | Line { |
---|
2478 | SrcBlock "I" |
---|
2479 | SrcPort 1 |
---|
2480 | DstBlock "Convert" |
---|
2481 | DstPort 1 |
---|
2482 | } |
---|
2483 | Line { |
---|
2484 | SrcBlock "Convert" |
---|
2485 | SrcPort 1 |
---|
2486 | DstBlock "radio4_DAC_I" |
---|
2487 | DstPort 1 |
---|
2488 | } |
---|
2489 | } |
---|
2490 | } |
---|
2491 | Block { |
---|
2492 | BlockType SubSystem |
---|
2493 | Name "Radio 4 DAC Q" |
---|
2494 | Ports [1, 1] |
---|
2495 | Position [545, 177, 620, 213] |
---|
2496 | MinAlgLoopOccurrences off |
---|
2497 | RTWSystemCode "Auto" |
---|
2498 | FunctionWithSeparateData off |
---|
2499 | MaskHideContents off |
---|
2500 | MaskDescription "WARP Radio Board #4 Q-channel DAC" |
---|
2501 | MaskDisplay "image(imread('WARP_Logo.jpg'))" |
---|
2502 | MaskIconFrame on |
---|
2503 | MaskIconOpaque on |
---|
2504 | MaskIconRotate "none" |
---|
2505 | MaskIconUnits "autoscale" |
---|
2506 | System { |
---|
2507 | Name "Radio 4 DAC Q" |
---|
2508 | Location [-1278, 70, -2, 1004] |
---|
2509 | Open off |
---|
2510 | ModelBrowserVisibility off |
---|
2511 | ModelBrowserWidth 200 |
---|
2512 | ScreenColor "white" |
---|
2513 | PaperOrientation "landscape" |
---|
2514 | PaperPositionMode "auto" |
---|
2515 | PaperType "usletter" |
---|
2516 | PaperUnits "inches" |
---|
2517 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2518 | TiledPageScale 1 |
---|
2519 | ShowPageBoundaries off |
---|
2520 | ZoomFactor "100" |
---|
2521 | Block { |
---|
2522 | BlockType Inport |
---|
2523 | Name "Q" |
---|
2524 | Position [200, 143, 230, 157] |
---|
2525 | IconDisplay "Port number" |
---|
2526 | } |
---|
2527 | Block { |
---|
2528 | BlockType Reference |
---|
2529 | Name "Convert1" |
---|
2530 | Ports [1, 1] |
---|
2531 | Position [255, 140, 300, 160] |
---|
2532 | SourceBlock "xbsIndex_r4/Convert" |
---|
2533 | SourceType "Xilinx Type Converter Block" |
---|
2534 | infoedit "Hardware notes: rounding and saturating" |
---|
2535 | " require hardware resources; truncating and wrapping do not." |
---|
2536 | arith_type "Signed (2's comp)" |
---|
2537 | n_bits "16" |
---|
2538 | bin_pt "15" |
---|
2539 | quantization "Truncate" |
---|
2540 | overflow "Flag as error" |
---|
2541 | latency "0" |
---|
2542 | dbl_ovrd "off" |
---|
2543 | pipeline "off" |
---|
2544 | xl_use_area "off" |
---|
2545 | xl_area "[0,0,0,0,0,0,0]" |
---|
2546 | block_version "VER_STRING_GOES_HERE" |
---|
2547 | has_advanced_control "0" |
---|
2548 | sggui_pos "20,20,374,366" |
---|
2549 | block_type "convert" |
---|
2550 | sg_icon_stat "45,20,1,1,white,blue,0,0eb6e735" |
---|
2551 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2552 | "s ');\npatch([0 45 45 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([17 14 19 14" |
---|
2553 | " 17 22 23 24 30 26 22 19 24 19 22 26 30 24 23 22 17 ],[2 5 10 15 18 18 17 18 " |
---|
2554 | "18 14 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 2" |
---|
2555 | "0 20 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2556 | "T: begin icon text ');\ncolor('black');port_label('output',1,'cast');\nfprint" |
---|
2557 | "f('','COMMENT: end icon text');\n" |
---|
2558 | } |
---|
2559 | Block { |
---|
2560 | BlockType Reference |
---|
2561 | Name "radio4_DAC_Q" |
---|
2562 | Ports [1, 1] |
---|
2563 | Position [345, 139, 400, 161] |
---|
2564 | ForegroundColor "[0.250980, 0.000000, 0.000000]" |
---|
2565 | SourceBlock "xbsIndex_r4/Gateway Out" |
---|
2566 | SourceType "Xilinx Gateway Out Block" |
---|
2567 | infoedit "Gateway out block. Converts Xilinx fix" |
---|
2568 | "ed point inputs into ouputs of type Simulink integer, double, or fixed point." |
---|
2569 | "<P><P>Hardware notes: In hardware these blocks become top level output ports" |
---|
2570 | " or are discarded, depending on how they are configured." |
---|
2571 | hdl_port "on" |
---|
2572 | timing_constraint "None" |
---|
2573 | locs_specified "off" |
---|
2574 | LOCs "{}" |
---|
2575 | xl_use_area "off" |
---|
2576 | xl_area "[0,0,0,0,0,0,0]" |
---|
2577 | block_version "VER_STRING_GOES_HERE" |
---|
2578 | has_advanced_control "0" |
---|
2579 | sggui_pos "-1,-1,-1,-1" |
---|
2580 | block_type "gatewayout" |
---|
2581 | sg_icon_stat "55,22,1,1,white,yellow,0,f0cec300" |
---|
2582 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2583 | "s ');\npatch([0 55 55 0 ],[0 0 22 22 ],[0.95 0.93 0.65]);\npatch([22 18 23 18" |
---|
2584 | " 22 28 30 32 38 33 28 25 31 25 28 33 38 32 30 28 22 ],[2 6 11 16 20 20 18 20 " |
---|
2585 | "20 15 20 17 11 5 2 7 2 2 4 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 2" |
---|
2586 | "2 22 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\n\nfprintf('','COMMEN" |
---|
2587 | "T: begin icon text ');\ncolor('black');port_label('input',1,' ');\ncolor('bla" |
---|
2588 | "ck');port_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfpri" |
---|
2589 | "ntf('','COMMENT: end icon text');\nfprintf('','COMMENT: Make no changes above" |
---|
2590 | " this line -- machine generated code. ');\n" |
---|
2591 | } |
---|
2592 | Block { |
---|
2593 | BlockType Outport |
---|
2594 | Name "Q_out" |
---|
2595 | Position [425, 143, 455, 157] |
---|
2596 | IconDisplay "Port number" |
---|
2597 | BusOutputAsStruct off |
---|
2598 | } |
---|
2599 | Line { |
---|
2600 | SrcBlock "Convert1" |
---|
2601 | SrcPort 1 |
---|
2602 | Points [0, 0] |
---|
2603 | DstBlock "radio4_DAC_Q" |
---|
2604 | DstPort 1 |
---|
2605 | } |
---|
2606 | Line { |
---|
2607 | SrcBlock "Q" |
---|
2608 | SrcPort 1 |
---|
2609 | Points [0, 0] |
---|
2610 | DstBlock "Convert1" |
---|
2611 | DstPort 1 |
---|
2612 | } |
---|
2613 | Line { |
---|
2614 | SrcBlock "radio4_DAC_Q" |
---|
2615 | SrcPort 1 |
---|
2616 | Points [0, 0] |
---|
2617 | DstBlock "Q_out" |
---|
2618 | DstPort 1 |
---|
2619 | } |
---|
2620 | } |
---|
2621 | } |
---|
2622 | } |
---|
2623 | } |
---|
2624 | Block { |
---|
2625 | BlockType SubSystem |
---|
2626 | Name "sysgen2opb Blocks\n(Deprecated)" |
---|
2627 | Ports [] |
---|
2628 | Position [220, 260, 285, 306] |
---|
2629 | MinAlgLoopOccurrences off |
---|
2630 | RTWSystemCode "Auto" |
---|
2631 | FunctionWithSeparateData off |
---|
2632 | MaskHideContents off |
---|
2633 | System { |
---|
2634 | Name "sysgen2opb Blocks\n(Deprecated)" |
---|
2635 | Location [104, 383, 504, 656] |
---|
2636 | Open off |
---|
2637 | ModelBrowserVisibility off |
---|
2638 | ModelBrowserWidth 200 |
---|
2639 | ScreenColor "white" |
---|
2640 | PaperOrientation "landscape" |
---|
2641 | PaperPositionMode "auto" |
---|
2642 | PaperType "usletter" |
---|
2643 | PaperUnits "inches" |
---|
2644 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2645 | TiledPageScale 1 |
---|
2646 | ShowPageBoundaries off |
---|
2647 | ZoomFactor "100" |
---|
2648 | Block { |
---|
2649 | BlockType SubSystem |
---|
2650 | Name "Read Only Register" |
---|
2651 | Ports [1] |
---|
2652 | Position [190, 29, 240, 61] |
---|
2653 | AttributesFormatString "RO Reg: %<regName>" |
---|
2654 | MinAlgLoopOccurrences off |
---|
2655 | RTWSystemCode "Auto" |
---|
2656 | FunctionWithSeparateData off |
---|
2657 | MaskHideContents off |
---|
2658 | MaskDescription "This block is a wrapper for System Generato" |
---|
2659 | "r's To Register shared memory block. This register is designed for use with W" |
---|
2660 | "ARP's sysgen2opb tool.\n\nNote: The Regisger Name paramter below must be uniq" |
---|
2661 | "ue for every instance of Read-Write and Read-Only registers in your system." |
---|
2662 | MaskPromptString "Register Name|Initial Value" |
---|
2663 | MaskStyleString "edit,edit" |
---|
2664 | MaskTunableValueString "off,on" |
---|
2665 | MaskCallbackString "|" |
---|
2666 | MaskEnableString "on,on" |
---|
2667 | MaskVisibilityString "on,on" |
---|
2668 | MaskToolTipString "on,on" |
---|
2669 | MaskVarAliasString "," |
---|
2670 | MaskVariables "regName=&1;initValue=@2;" |
---|
2671 | MaskInitialization "regBlock = find_system(gcb, 'LookUnderMasks" |
---|
2672 | "', 'all', 'FollowLinks', 'on', 'block_type', 'toreg');\n\nif(length(regBloc" |
---|
2673 | "k) > 0)\n\n %Set the shared memory name\n set_param(regBlock{1}, 'share" |
---|
2674 | "d_memory_name', regName);\nend\n\n" |
---|
2675 | MaskSelfModifiable on |
---|
2676 | MaskIconFrame on |
---|
2677 | MaskIconOpaque on |
---|
2678 | MaskIconRotate "none" |
---|
2679 | MaskIconUnits "autoscale" |
---|
2680 | MaskValueString "'RO_Reg'|0" |
---|
2681 | MaskTabNameString "," |
---|
2682 | System { |
---|
2683 | Name "Read Only Register" |
---|
2684 | Location [2, 74, 582, 375] |
---|
2685 | Open off |
---|
2686 | ModelBrowserVisibility off |
---|
2687 | ModelBrowserWidth 200 |
---|
2688 | ScreenColor "white" |
---|
2689 | PaperOrientation "landscape" |
---|
2690 | PaperPositionMode "auto" |
---|
2691 | PaperType "usletter" |
---|
2692 | PaperUnits "inches" |
---|
2693 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2694 | TiledPageScale 1 |
---|
2695 | ShowPageBoundaries off |
---|
2696 | ZoomFactor "100" |
---|
2697 | Block { |
---|
2698 | BlockType Inport |
---|
2699 | Name "D" |
---|
2700 | Position [180, 183, 210, 197] |
---|
2701 | IconDisplay "Port number" |
---|
2702 | } |
---|
2703 | Block { |
---|
2704 | BlockType Reference |
---|
2705 | Name "Constant" |
---|
2706 | Ports [0, 1] |
---|
2707 | Position [235, 206, 260, 224] |
---|
2708 | ShowName off |
---|
2709 | SourceBlock "xbsIndex_r4/Constant" |
---|
2710 | SourceType "Xilinx Constant Block Block" |
---|
2711 | arith_type "Boolean" |
---|
2712 | const "1" |
---|
2713 | n_bits "16" |
---|
2714 | bin_pt "14" |
---|
2715 | explicit_period "off" |
---|
2716 | period "1" |
---|
2717 | dsp48_infoedit "The use of this block for DSP48 instruc" |
---|
2718 | "tions is deprecated. Please use the Opmode block." |
---|
2719 | equ "P=C" |
---|
2720 | opselect "C" |
---|
2721 | inp2 "PCIN>>17" |
---|
2722 | opr "+" |
---|
2723 | inp1 "P" |
---|
2724 | carry "CIN" |
---|
2725 | dbl_ovrd "off" |
---|
2726 | has_advanced_control "0" |
---|
2727 | sggui_pos "-1,-1,-1,-1" |
---|
2728 | block_type "constant" |
---|
2729 | block_version "8.2.02" |
---|
2730 | sg_icon_stat "25,18,0,1,white,blue,0,06094819,right" |
---|
2731 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2732 | "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " |
---|
2733 | "20 27 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 2" |
---|
2734 | "3 17 23 19 13 7 3 9 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 " |
---|
2735 | "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " |
---|
2736 | "begin icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','C" |
---|
2737 | "OMMENT: end icon text');\n" |
---|
2738 | } |
---|
2739 | Block { |
---|
2740 | BlockType Reference |
---|
2741 | Name "To Register" |
---|
2742 | Ports [2, 1] |
---|
2743 | Position [310, 176, 365, 229] |
---|
2744 | ShowName off |
---|
2745 | AttributesFormatString "To Register\\n<< %<shared_memory_name> " |
---|
2746 | ">>" |
---|
2747 | SourceBlock "xbsIndex_r4/To Register" |
---|
2748 | SourceType "Xilinx Shared Memory Based To Register " |
---|
2749 | "Block" |
---|
2750 | infoedit "Register block that writes data to a sh" |
---|
2751 | "ared memory register. Delay of one sample period." |
---|
2752 | shared_memory_name "'RO_Reg'" |
---|
2753 | init "14" |
---|
2754 | ownership "Locally owned and initialized" |
---|
2755 | explicit_data_type "off" |
---|
2756 | arith_type "Unsigned" |
---|
2757 | n_bits "24" |
---|
2758 | bin_pt "0" |
---|
2759 | dbl_ovrd "off" |
---|
2760 | xl_use_area "off" |
---|
2761 | xl_area "[0,0,0,0,0,0,0]" |
---|
2762 | has_advanced_control "0" |
---|
2763 | sggui_pos "20,20,379,270" |
---|
2764 | block_type "toreg" |
---|
2765 | block_version "8.2.02" |
---|
2766 | sg_icon_stat "55,53,1,1,white,blue,0,77cabcdf,right" |
---|
2767 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2768 | "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" |
---|
2769 | " 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50" |
---|
2770 | " 37 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " |
---|
2771 | "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" |
---|
2772 | ": begin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('bla" |
---|
2773 | "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout'" |
---|
2774 | ");\nfprintf('','COMMENT: end icon text');\n" |
---|
2775 | } |
---|
2776 | Line { |
---|
2777 | SrcBlock "D" |
---|
2778 | SrcPort 1 |
---|
2779 | DstBlock "To Register" |
---|
2780 | DstPort 1 |
---|
2781 | } |
---|
2782 | Line { |
---|
2783 | SrcBlock "Constant" |
---|
2784 | SrcPort 1 |
---|
2785 | DstBlock "To Register" |
---|
2786 | DstPort 2 |
---|
2787 | } |
---|
2788 | } |
---|
2789 | } |
---|
2790 | Block { |
---|
2791 | BlockType SubSystem |
---|
2792 | Name "Read-Write Register" |
---|
2793 | Ports [0, 1] |
---|
2794 | Position [55, 29, 110, 61] |
---|
2795 | AttributesFormatString "RW Reg: %<regName>" |
---|
2796 | MinAlgLoopOccurrences off |
---|
2797 | RTWSystemCode "Auto" |
---|
2798 | FunctionWithSeparateData off |
---|
2799 | MaskHideContents off |
---|
2800 | MaskDescription "This block is a wrapper for System Generato" |
---|
2801 | "r's From Register shared memory block. This register is designed for use with" |
---|
2802 | " WARP's sysgen2opb tool.\n\nNote: The Regisger Name paramter below must be un" |
---|
2803 | "ique for every instance of Read-Write and Read-Only registers in your system." |
---|
2804 | MaskPromptString "Register Name|Output Type|Output Num Bits|O" |
---|
2805 | "utput Binary Point|Initial Value|Sample Period" |
---|
2806 | MaskStyleString "edit,popup(Unsigned|Signed (2's comp)),edi" |
---|
2807 | "t,edit,edit,edit" |
---|
2808 | MaskTunableValueString "off,off,off,off,off,off" |
---|
2809 | MaskCallbackString "|||||" |
---|
2810 | MaskEnableString "on,on,on,on,on,on" |
---|
2811 | MaskVisibilityString "on,on,on,on,on,on" |
---|
2812 | MaskToolTipString "on,on,on,on,on,on" |
---|
2813 | MaskVarAliasString ",,,,," |
---|
2814 | MaskVariables "regName=&1;out_dataType=&2;out_numBits=@3;o" |
---|
2815 | "ut_binaryPt=@4;initValue=@5;sampPeriod=@6;" |
---|
2816 | MaskInitialization "regBlock = find_system(gcb, 'LookUnderMasks" |
---|
2817 | "', 'all', 'FollowLinks', 'on', 'block_type', 'fromreg');\n\nif(length(regBloc" |
---|
2818 | "k)>0)\n\n %Set the shared memory name\n set_param(regBlock{1}, " |
---|
2819 | "'shared_memory_name', regName);\n\n set_param(regBlock{1}, 'arith_type" |
---|
2820 | "', sprintf('%s', out_dataType));\n set_param(regBlock{1}, 'ownership'," |
---|
2821 | " 'Locally owned and initialized')\n\n set_param(regBlock{1}, 'n_bits'," |
---|
2822 | " num2str(out_numBits));\n set_param(regBlock{1}, 'bin_pt', num2str(out" |
---|
2823 | "_binaryPt));\n set_param(regBlock{1}, 'init', num2str(initValue));\nen" |
---|
2824 | "d\n" |
---|
2825 | MaskSelfModifiable on |
---|
2826 | MaskIconFrame on |
---|
2827 | MaskIconOpaque on |
---|
2828 | MaskIconRotate "none" |
---|
2829 | MaskIconUnits "autoscale" |
---|
2830 | MaskValueString "'RW_Reg'|Unsigned|32|0|0|1" |
---|
2831 | MaskTabNameString ",,,,," |
---|
2832 | System { |
---|
2833 | Name "Read-Write Register" |
---|
2834 | Location [2, 74, 582, 375] |
---|
2835 | Open off |
---|
2836 | ModelBrowserVisibility off |
---|
2837 | ModelBrowserWidth 200 |
---|
2838 | ScreenColor "white" |
---|
2839 | PaperOrientation "landscape" |
---|
2840 | PaperPositionMode "auto" |
---|
2841 | PaperType "usletter" |
---|
2842 | PaperUnits "inches" |
---|
2843 | TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] |
---|
2844 | TiledPageScale 1 |
---|
2845 | ShowPageBoundaries off |
---|
2846 | ZoomFactor "100" |
---|
2847 | Block { |
---|
2848 | BlockType Reference |
---|
2849 | Name "From Register" |
---|
2850 | Ports [0, 1] |
---|
2851 | Position [150, 35, 195, 85] |
---|
2852 | ShowName off |
---|
2853 | AttributesFormatString "From Register\\n<< %<shared_memory_name" |
---|
2854 | "> >>\\n%<n_bits>\\n%<period>\\n%<bin_pt>\\n%<arith_type>\\n%<ownership>\\n%<i" |
---|
2855 | "nit>" |
---|
2856 | SourceBlock "xbsIndex_r4/From Register" |
---|
2857 | SourceType "Xilinx Shared Memory Based From Registe" |
---|
2858 | "r Block" |
---|
2859 | infoedit "Register block that reads data to a sha" |
---|
2860 | "red memory register. Delay of one sample period." |
---|
2861 | shared_memory_name "'RW_Reg'" |
---|
2862 | init "0" |
---|
2863 | period "1" |
---|
2864 | ownership "Locally owned and initialized" |
---|
2865 | arith_type "Unsigned" |
---|
2866 | n_bits "32" |
---|
2867 | bin_pt "0" |
---|
2868 | dbl_ovrd "off" |
---|
2869 | xl_use_area "off" |
---|
2870 | xl_area "[0,0,0,0,0,0,0]" |
---|
2871 | has_advanced_control "0" |
---|
2872 | sggui_pos "20,20,379,246" |
---|
2873 | block_type "fromreg" |
---|
2874 | block_version "8.2.02" |
---|
2875 | sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" |
---|
2876 | sg_mask_display "fprintf('','COMMENT: begin icon graphic" |
---|
2877 | "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" |
---|
2878 | " 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50" |
---|
2879 | " 37 49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " |
---|
2880 | "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" |
---|
2881 | ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" |
---|
2882 | "'','COMMENT: end icon text');\n" |
---|
2883 | } |
---|
2884 | Block { |
---|
2885 | BlockType Outport |
---|
2886 | Name "D" |
---|
2887 | Position [265, 53, 295, 67] |
---|
2888 | IconDisplay "Port number" |
---|
2889 | BusOutputAsStruct off |
---|
2890 | } |
---|
2891 | Line { |
---|
2892 | SrcBlock "From Register" |
---|
2893 | SrcPort 1 |
---|
2894 | Points [0, 0] |
---|
2895 | DstBlock "D" |
---|
2896 | DstPort 1 |
---|
2897 | } |
---|
2898 | } |
---|
2899 | } |
---|
2900 | } |
---|
2901 | } |
---|
2902 | } |
---|
2903 | } |
---|