Model { Name "user_io_board_controller" Version 6.6 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.192" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on SampleTimeColors on LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes on ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off InitFcn "user_io_board_controller_init" StartFcn "user_io_board_controller_init" Created "Thu Aug 09 22:27:48 2007" Creator "CMC" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "murphpo" ModifiedDateFormat "%" LastModifiedDate "Wed Aug 06 17:21:54 2008" ModelVersionFormat "1.%" ConfigurationManager "None" SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" AccelVerboseBuild off TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.2.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.2.0" StartTime "0.0" StopTime "500" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" Solver "ode45" SolverName "ode45" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.2.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.2.0" BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on } Simulink.DebuggingCC { $ObjectID 5 Version "1.2.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskCondExecSysMsg "none" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" StrictBusMsg "Warning" } Simulink.HardwareCC { $ObjectID 6 Version "1.2.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.2.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.2.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime on Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.2.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 12 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.2.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" FramePeriod "inf" } Block { BlockType DiscretePulseGenerator PulseType "Sample based" TimeSource "Use simulation time" Amplitude "1" Period "2" PulseWidth "1" PhaseDelay "0" SampleTime "1" VectorParams1D on } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType InportShadow UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Terminator } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Arial" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "user_io_board_controller" Location [2, 74, 1678, 961] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "395" ReportName "simulink-default.rpt" Block { BlockType Reference Name " System Generator" Tag "genX" Ports [] Position [14, 17, 65, 67] ShowName off AttributesFormatString "System\\nGenerator" UserDataPersistent on UserData "DataTag0" SourceBlock "xbsIndex_r4/ System Generator" SourceType "Xilinx System Generator Block" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" infoedit " System Generator" xilinxfamily "virtex2p" part "xc2vp70" speed "-6" package "ff1517" synthesis_tool "XST" clock_wrapper "Clock Enables" directory "./plb46_userio_v09" testbench off simulink_period "1" sysclk_period "10" dcm_input_clock_period "100" incr_netlist off trim_vbits "Everywhere in SubSystem" dbl_ovrd "According to Block Masks" core_generation "According to Block Masks" run_coregen off deprecated_control off eval_field "0" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "sysgen" block_version "8.2.02" sg_icon_stat "51,50,-1,-1,red,beige,0,07734" sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa" "tch([0 51 51 0 ],[0 0 50 50 ],[0.93 0.92 0.86]);\npatch([12 4 16 4 12 25 29 3" "3 47 36 25 17 29 17 25 36 47 33 29 25 12 ],[5 13 25 37 45 45 41 45 45 34 45 3" "7 25 13 5 16 5 5 9 5 5 ],[0.6 0.2 0.25]);\nplot([0 0 51 51 0 ],[0 50 50 0 0 ]" ");\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin ico" "n text');\nfprintf('','COMMENT: end icon text');\n" sg_blockgui_xml "\n \n \n \n" " \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " "\n \n \n \n \n \n " "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n" } Block { BlockType SubSystem Name "Buzzer Controller" Ports [] Position [125, 105, 175, 133] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Buzzer Controller" Location [2, 74, 1670, 981] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Reference Name "Buzzer" Ports [1, 1] Position [975, 260, 1035, 280] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert" Ports [1, 1] Position [665, 374, 705, 396] ShowName off SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating req" "uire hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,461,334" block_type "convert" block_version "10.1.2" sg_icon_stat "40,22,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 15 2" "3 25 27 35 28 22 17 23 17 22 28 35 27 25 23 15 ],[3 8 15 22 27 27 25 27 27 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 30 " "30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg" "in icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Counter" Ports [1, 1] Position [385, 205, 445, 265] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters are t" "he least expensive in hardware. A count limited counter is implemented by co" "mbining a counter with a comparator." cnt_type "Free Running" cnt_to "Inf" operation "Up" start_count "0" cnt_by_val "1" arith_type "Unsigned" n_bits "18" bin_pt "0" load_pin off rst on en off explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,619" block_type "counter" block_version "10.1.2" sg_icon_stat "60,60,1,1,white,blue,0,300e9576,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14 30 " "34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54 41 " "54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 60" " 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('black')" ";port_label('output',1,'out');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register" Ports [0, 1] Position [80, 222, 140, 278] NamePlacement "alternate" AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'Buzzer_Period'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "18" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,234" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register1" Ports [0, 1] Position [80, 312, 140, 368] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'Buzzer_DutyCycle'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "18" bin_pt "18" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,234" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register2" Ports [0, 1] Position [450, 357, 510, 413] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'Buzzer_Enable'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,234" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [570, 374, 605, 396] ShowName off SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complement)" " operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "10.1.2" sg_icon_stat "35,22,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 " "32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51 39 " "51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 58" " 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end icon " "text');\n" } Block { BlockType Reference Name "Mult" Ports [2, 1] Position [270, 300, 325, 355] SourceBlock "xbsIndex_r4/Mult" SourceType "Xilinx Multiplier Block" infoedit "Hardware notes: To use the internal pipelin" "e stage of the dedicated multiplier you must select 'Pipeline for maximum per" "formance'." precision "User Defined" arith_type "Unsigned" n_bits "18" bin_pt "0" quantization "Truncate" overflow "Wrap" en off latency "1" dbl_ovrd off use_behavioral_HDL off use_embedded on opt "Speed" optimum_pipeline on xl_use_area off xl_area "[0,0,0,0,0,0,0]" pipeline "on" use_rpm "on" placement_style "Triangular" has_advanced_control "0" sggui_pos "20,20,367,433" block_type "mult" block_version "10.1.2" sg_icon_stat "55,55,1,1,white,blue,0,2b745779,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 55 55 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 " "32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50 38 " "50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 55" " 55 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');p" "ort_label('input',2,'b');\ncolor('black');port_label('output',1,'(ab)');\ncol" "or('black');disp('\\newline\\bf{}\\newlinez^{-1}','texmode','on');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register8" Ports [2, 1] Position [795, 252, 830, 288] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst on en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,193" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,b6caf0d3,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('input',2,'rst');\ncolor('black');port_label('output',1,'q');\ncolo" "r('black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end ico" "n text');\n" } Block { BlockType Reference Name "Register9" Ports [1, 1] Position [870, 252, 905, 288] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,193" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational" Ports [2, 1] Position [270, 207, 325, 263] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator Block" mode "a=b" en off latency "1" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,193" block_type "relational" block_version "10.1.2" sg_icon_stat "55,56,1,1,white,blue,0,1cf02e61,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 " "32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50 38 " "50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');p" "ort_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a=b}\\newlinez^" "{-1}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational1" Ports [2, 1] Position [655, 211, 710, 309] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator Block" mode "a>=b" en off latency "1" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,193" block_type "relational" block_version "10.1.2" sg_icon_stat "55,98,1,1,white,blue,0,48ab8ed9,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 " "32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50 38 " "50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');p" "ort_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a>=b}\\newlinez" "^{-1}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Terminator Name "Terminator4" Position [1105, 260, 1125, 280] ShowName off } Line { SrcBlock "Register9" SrcPort 1 DstBlock "Buzzer" DstPort 1 } Line { SrcBlock "Register8" SrcPort 1 DstBlock "Register9" DstPort 1 } Line { SrcBlock "Counter" SrcPort 1 Points [50, 0] Branch { DstBlock "Relational1" DstPort 1 } Branch { Points [0, -40; -260, 0; 0, 25] DstBlock "Relational" DstPort 1 } } Line { SrcBlock "Relational1" SrcPort 1 DstBlock "Register8" DstPort 1 } Line { SrcBlock "Buzzer" SrcPort 1 DstBlock "Terminator4" DstPort 1 } Line { SrcBlock "From Register2" SrcPort 1 DstBlock "Inverter" DstPort 1 } Line { SrcBlock "Inverter" SrcPort 1 DstBlock "Convert" DstPort 1 } Line { SrcBlock "Convert" SrcPort 1 Points [35, 0; 0, -105] DstBlock "Register8" DstPort 2 } Line { SrcBlock "Relational" SrcPort 1 DstBlock "Counter" DstPort 1 } Line { SrcBlock "From Register" SrcPort 1 Points [95, 0] Branch { DstBlock "Relational" DstPort 2 } Branch { Points [0, 65] DstBlock "Mult" DstPort 1 } } Line { SrcBlock "From Register1" SrcPort 1 DstBlock "Mult" DstPort 2 } Line { SrcBlock "Mult" SrcPort 1 Points [150, 0; 0, -45] DstBlock "Relational1" DstPort 2 } Annotation { Name "Registers don't honor their initial values " "in hardware\n(at least in Sysgen 10.1.02); this register+inverter\nis used so" " the buzzer is off by default." Position [729, 435] } } } Block { BlockType SubSystem Name "EDK Processor" Ports [] Position [16, 103, 62, 151] CopyFcn "xlProcBlockCopyCallback(gcbh);xlBlockMoveCallba" "ck(gcbh);" DeleteFcn "xlDestroyGui(gcbh);" LoadFcn "xlBlockLoadCallback(gcbh);" ModelCloseFcn "xlDestroyGui(gcbh);" PreSaveFcn "xlBlockPreSaveCallback(gcbh);" PostSaveFcn "xlBlockPostSaveCallback(gcbh);" DestroyFcn "xlDestroyGui(gcbh);" OpenFcn "bh=gcbh;xlProcBlockCallbacks('populatesharedmem" "orylistbox',bh);xlOpenGui(bh, 'edkprocessor_gui.xml', @xlProcBlockEnablement," " @xlProcBlockAction)" CloseFcn "xlDestroyGui(gcbh);" MoveFcn "xlBlockMoveCallback(gcbh);" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off MaskType "Xilinx EDK Processor Block" MaskDescription "Xilinx EDK Processor" MaskHelp "eval('');xlDoc('-book','sysgen','-topic','EDK_P" "rocessor');" MaskPromptString "Configure Processor for|EDK Project| |Available" " Memories| | |Bus Type|Base Address| |Lock| |Dual Clocks|Constraint file| |In" "herit Device Type| | | | | | | | | | | | | | | | | | " MaskStyleString "popup(EDK pcore generation|HDL netlisting),edit" ",edit,popup(),edit,edit,popup(PLB|FSL),edit,edit,checkbox,edit,checkbo" "x,edit,edit,checkbox,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,e" "dit,edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,off,on,on,off,on,on,off,on,off,on,on,off," "on,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,," MaskVariables "mode=&1;xmp=&2;MemVisToProc=&3;AvailableMemorie" "s=&4;portInterfaceTable=&5;bus_type_sgadvanced=&6;bus_type=@7;baseaddr=&8;bas" "eaddr_lock_sgadvanced=&9;baseaddr_lock=@10;dual_clock_sgadvanced=&11;dual_clo" "ck=@12;ucf_file=&13;inheritDeviceType_sgadvanced=&14;inheritDeviceType=@15;cl" "ock_name=&16;internalPortList=&17;resetPolarity=&18;memxtable=&19;procinfo=&2" "0;fslifaceports=&21;memmapdirty=&22;blockname=&23;xpsintstyle=&24;proc=&25;ha" "s_advanced_control=@26;sggui_pos=&27;block_type=&28;block_version=&29;sg_icon" "_stat=&30;sg_mask_display=&31;sg_list_contents=&32;sg_blockgui_xml=&33;" MaskInitialization "try\n tmp_gcb = gcb;\n tmp_gcbh = gcbh;\n if" " (strcmp('SysGenIndex',get_param(bdroot(tmp_gcbh),'tag')) && ~isempty(regexp(" "bdroot(tmp_gcb), '^xbs', 'once')))\n return;\n end;\n xlMungeMaskParams;" "\n serialized_declarations = '{}';\n xledkprocessor_init();\n ptable_ = xl" "blockprep(get_param(tmp_gcb, 'MaskWSVariables'));\ncatch\n global dbgsysgen;" "\n if(~isempty(dbgsysgen) && dbgsysgen)\n e = regexprep(lasterr, '\\n', '" "\\nError: ');\n disp(['Error: While running MaskInit code on block ' tmp_g" "cb ': ' e]);\n error(e);\n end\nend\n" MaskDisplay "fprintf('','COMMENT: begin icon graphics');\npa" "tch([0 46 46 0 ],[0 0 48 48 ],[0.77 0.82 0.91]);\npatch([11 3 14 3 11 23 26 2" "9 42 32 22 15 27 15 22 32 42 29 26 23 11 ],[6 14 25 36 44 44 41 44 44 34 44 3" "7 25 13 6 16 6 6 9 6 6 ],[0.98 0.96 0.92]);\nplot([0 46 46 0 0 ],[0 0 48 48 0" " ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin i" "con text');\ndisp('MicroBlaze');\n\nfprintf('','COMMENT: end icon text');\n" MaskSelfModifiable on MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "EDK pcore generation||<" "div> <<Buttons_Big>>

<<Buttons_Small>>
<<Buzzer_DutyCycle>>
<<Buzzer_Enable>>
&" "lt;<Buzzer_Period>>
<<D" "IP_Switch>>
<<LCD_Backgrou" "ndColor>>
<<LCD_CharacterO" "ffset>>
<<LCD_CharactersSe" "lect>>
<<LCD_ColSet>>" ";
<<LCD_ConfigLocation>>
<<LCD_DividerSelect>>
<<LCD_FirstEnd>>
" " <<LCD_FirstStart>>
<<LCD_LineOffset>>
<<LCD_RamWrite>>
<<LCD_Reset>>
<<" "LCD_ResetLCD>>
<<LCD_RowSe" "t>>
<<LCD_SecondEnd>>" ";
<<LCD_SecondStart>>
<" "/div>
<<LCD_Send>>
<<LCD_TotalCmdTransfer>>
<<LEDs>>
<<Trackball>>
<<L" "CD_CharacterMap>>
<<LCD_Char" "acters>>
<<LCD_Commands>&" "gt;
||{'exposed'=>[],'portdir'=>[],'portname'=>[],'short" "name'=>[]}||PLB|0x80000000||off||off|||off|plb|{}|0|{'mlist'=>['user_io_board" "_controller/Interactive I//O/To Register1','user_io_board_controller/Interact" "ive I//O/To Register2','user_io_board_controller/Buzzer Controller/From Regis" "ter1','user_io_board_controller/Buzzer Controller/From Register2','user_io_bo" "ard_controller/Buzzer Controller/From Register','user_io_board_controller/Int" "eractive I//O/To Register3','user_io_board_controller/LCD Controller/CommandR" "OM/From Register3','user_io_board_controller/LCD Controller/DataROM/From Regi" "ster5','user_io_board_controller/LCD Controller/DataROM/From Register4','user" "_io_board_controller/LCD Controller/DataROM/From Register1','user_io_board_co" "ntroller/LCD Controller/CommandROM/From Register6','user_io_board_controller/" "LCD Controller/From Register4','user_io_board_controller/LCD Controller/Comma" "ndROM/From Register2','user_io_board_controller/LCD Controller/CommandROM/Fro" "m Register1','user_io_board_controller/LCD Controller/DataROM/From Register7'" ",'user_io_board_controller/LCD Controller/DataROM/From Register2','user_io_bo" "ard_controller/LCD Controller/From Register','user_io_board_controller/LCD Co" "ntroller/From Register6','user_io_board_controller/LCD Controller/DataROM/Fro" "m Register3','user_io_board_controller/LCD Controller/CommandROM/From Registe" "r5','user_io_board_controller/LCD Controller/CommandROM/From Register4','user" "_io_board_controller/LCD Controller/From Register5','user_io_board_controller" "/LCD Controller/From Register3','user_io_board_controller/Interactive I//O/Fr" "om Register','user_io_board_controller/Interactive I//O/To Register','user_io" "_board_controller/LCD Controller/DataROM/Character Map\nShared Memory/Shared " "Memory','user_io_board_controller/LCD Controller/DataROM/Character Buffer\nSh" "ared Memory/Shared Memory','user_io_board_controller/LCD Controller/CommandRO" "M/Command Memory/Shared Memory'],'mlname'=>['\\'Buttons_Big\\'','\\'Buttons_S" "mall\\'','\\'Buzzer_DutyCycle\\'','\\'Buzzer_Enable\\'','\\'Buzzer_Period\\''" ",'\\'DIP_Switch\\'','\\'LCD_BackgroundColor\\'','\\'LCD_CharacterOffset\\'','" "\\'LCD_CharactersSelect\\'','\\'LCD_ColSet\\'','\\'LCD_ConfigLocation\\'','\\" "'LCD_DividerSelect\\'','\\'LCD_FirstEnd\\'','\\'LCD_FirstStart\\'','\\'LCD_Li" "neOffset\\'','\\'LCD_RamWrite\\'','\\'LCD_Reset\\'','\\'LCD_ResetLCD\\'','\\'" "LCD_RowSet\\'','\\'LCD_SecondEnd\\'','\\'LCD_SecondStart\\'','\\'LCD_Send\\''" ",'\\'LCD_TotalCmdTransfer\\'','\\'LEDs\\'','\\'Trackball\\'','\\'LCD_Characte" "rMap\\'','\\'LCD_Characters\\'','\\'LCD_Commands\\''],'mlstate'=>[0.000000000" "00000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.000000" "00000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.000" "00000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0." "00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000000" ",0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000000" "000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000000" "000000,0.00000000000000000,0.00000000000000000,0.00000000000000000,0.00000000" "000000000]}|{'xmliface'=>'Xilinx//microblaze//iface.xml'}|[0,0]|off||default|" "|0|20,20,383,441|edkprocessor|2.4|46,48,-1,-1,white,blue,0,07734,right|fprint" "f('','COMMENT: begin icon graphics');\npatch([0 46 46 0 ],[0 0 48 48 ],[0.77 " "0.82 0.91]);\npatch([11 3 14 3 11 23 26 29 42 32 22 15 27 15 22 32 42 29 26 2" "3 11 ],[6 14 25 36 44 44 41 44 44 34 44 37 25 13 6 16 6 6 9 6 6 ],[0.98 0.96 " "0.92]);\nplot([0 46 46 0 0 ],[0 0 48 48 0 ]);\nfprintf('','COMMENT: end icon " "graphics');\nfprintf('','COMMENT: begin icon text');\ndisp('MicroBlaze');\n\n" "fprintf('','COMMENT: end icon text');\n|{'table'=>{'AvailableMemories'=>'popu" "p()','userSelections'=>{'AvailableMemories'=>''}}}|" MaskTabNameString ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,," System { Name "EDK Processor" Location [514, 109, 754, 491] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [40, 975, 60, 995] } Block { BlockType Constant Name "Constant1" Position [40, 1045, 60, 1065] } Block { BlockType Constant Name "Constant2" Position [40, 1110, 60, 1130] } Block { BlockType Constant Name "Constant3" Position [40, 1180, 60, 1200] } Block { BlockType Constant Name "Constant4" Position [40, 1250, 60, 1270] } Block { BlockType Reference Name "Constant5" Ports [0, 1] Position [20, 902, 75, 928] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "1" bin_pt "0" explicit_period on period "xlGetSimulinkPeriod(gcb)" dsp48_infoedit "The use of this block for DSP48 instruction" "s is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "10.1.2" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 20 2" "7 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 23 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 26 2" "6 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','COMME" "NT: end icon text');\n" Port { PortNumber 1 Name "Sl_wait" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Constant Name "Constant6" Position [40, 1345, 60, 1365] } Block { BlockType Reference Name "From Register" Ports [0, 1] Position [400, 1437, 460, 1493] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'Buttons_Big'" init "0" period "xlGetSimulinkPeriod(gcb)" ownership "Owned and initialized elsewhere" arith_type "Unsigned" n_bits "2" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" Port { PortNumber 1 Name "Buttons_Big_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "From Register1" Ports [0, 1] Position [400, 1542, 460, 1598] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'Buttons_Small'" init "0" period "xlGetSimulinkPeriod(gcb)" ownership "Owned and initialized elsewhere" arith_type "Unsigned" n_bits "6" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" Port { PortNumber 1 Name "Buttons_Small_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "From Register2" Ports [0, 1] Position [400, 1647, 460, 1703] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'DIP_Switch'" init "0" period "xlGetSimulinkPeriod(gcb)" ownership "Owned and initialized elsewhere" arith_type "Unsigned" n_bits "4" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" Port { PortNumber 1 Name "DIP_Switch_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "From Register3" Ports [0, 1] Position [400, 1752, 460, 1808] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'Trackball'" init "0" period "xlGetSimulinkPeriod(gcb)" ownership "Owned and initialized elsewhere" arith_type "Unsigned" n_bits "5" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" Port { PortNumber 1 Name "Trackball_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "PLB_ABus" Ports [1, 1] Position [175, 1045, 245, 1065] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "32" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Saturate" period "xlGetSimulinkPeriod(gcb)" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'PLB_ABus'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "70,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 70 70 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([29 26 31 26 29 3" "4 35 36 42 38 34 31 36 31 34 38 42 36 35 34 29 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 70 70 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "PLB_ABus" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "PLB_PAValid" Ports [1, 1] Position [175, 1110, 245, 1130] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Saturate" period "xlGetSimulinkPeriod(gcb)" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'PLB_PAValid'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "70,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 70 70 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([29 26 31 26 29 3" "4 35 36 42 38 34 31 36 31 34 38 42 36 35 34 29 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 70 70 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "PLB_PAValid" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "PLB_RNW" Ports [1, 1] Position [175, 1180, 245, 1200] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Saturate" period "xlGetSimulinkPeriod(gcb)" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'PLB_RNW'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "70,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 70 70 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([29 26 31 26 29 3" "4 35 36 42 38 34 31 36 31 34 38 42 36 35 34 29 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 70 70 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "PLB_RNW" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "PLB_wrDBus" Ports [1, 1] Position [175, 1250, 245, 1270] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "32" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Saturate" period "xlGetSimulinkPeriod(gcb)" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'PLB_wrDBus'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "70,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 70 70 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([29 26 31 26 29 3" "4 35 36 42 38 34 31 36 31 34 38 42 36 35 34 29 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 70 70 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "PLB_wrDBus" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "SPLB_Rst" Ports [1, 1] Position [175, 975, 245, 995] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Saturate" period "xlGetSimulinkPeriod(gcb)" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'SPLB_Rst'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "70,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 70 70 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([29 26 31 26 29 3" "4 35 36 42 38 34 31 36 31 34 38 42 36 35 34 29 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 70 70 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "SPLB_Rst" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "Shared Memory" Ports [3, 1] Position [885, 2604, 965, 2696] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/Shared Memory" SourceType "Xilinx Shared Memory Random Access Memory B" "lock" shared_memory_name "'LCD_CharacterMap'" depth "4096" ownership "Owned and Initialized Elsewhere" initVector "sin(pi*(0:15)/16)" mutex "Unprotected" mode "Read and Write" write_mode "Read After Write" time_out "0" latency "1" explicit_data_type off arith_type "Unsigned" n_bits "32" bin_pt "0" xl_use_area off xl_area "[0,0,0,0,0,0,0]" implementation "Block RAM" use_rpm "off" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "shmem" block_version "10.1.2" sg_icon_stat "80,92,1,1,white,blue,0,e2c38f9a,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 80 80 0 ],[0 0 92 92 ],[0.77 0.82 0.91]);\npatch([18 5 24 5 18 39 " "45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[15 28 47 66 79 79 73 79 79 61" " 78 66 47 28 16 33 15 15 21 15 15 ],[0.98 0.96 0.92]);\nplot([0 80 80 0 0 ],[" "0 0 92 92 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('input',1,'addr');\ncolor('" "black');port_label('input',2,'din');\ncolor('black');port_label('input',3,'we" "');\ncolor('black');port_label('output',1,'dout');\nfprintf('','COMMENT: end " "icon text');\n" Port { PortNumber 1 Name "LCD_CharacterMap_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "Shared Memory1" Ports [3, 1] Position [885, 2744, 965, 2836] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/Shared Memory" SourceType "Xilinx Shared Memory Random Access Memory B" "lock" shared_memory_name "'LCD_Characters'" depth "512" ownership "Owned and Initialized Elsewhere" initVector "sin(pi*(0:15)/16)" mutex "Unprotected" mode "Read and Write" write_mode "Read After Write" time_out "0" latency "1" explicit_data_type off arith_type "Unsigned" n_bits "32" bin_pt "0" xl_use_area off xl_area "[0,0,0,0,0,0,0]" implementation "Block RAM" use_rpm "off" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "shmem" block_version "10.1.2" sg_icon_stat "80,92,1,1,white,blue,0,e2c38f9a,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 80 80 0 ],[0 0 92 92 ],[0.77 0.82 0.91]);\npatch([18 5 24 5 18 39 " "45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[15 28 47 66 79 79 73 79 79 61" " 78 66 47 28 16 33 15 15 21 15 15 ],[0.98 0.96 0.92]);\nplot([0 80 80 0 0 ],[" "0 0 92 92 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('input',1,'addr');\ncolor('" "black');port_label('input',2,'din');\ncolor('black');port_label('input',3,'we" "');\ncolor('black');port_label('output',1,'dout');\nfprintf('','COMMENT: end " "icon text');\n" Port { PortNumber 1 Name "LCD_Characters_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "Shared Memory2" Ports [3, 1] Position [885, 2884, 965, 2976] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/Shared Memory" SourceType "Xilinx Shared Memory Random Access Memory B" "lock" shared_memory_name "'LCD_Commands'" depth "256" ownership "Owned and Initialized Elsewhere" initVector "sin(pi*(0:15)/16)" mutex "Unprotected" mode "Read and Write" write_mode "Read After Write" time_out "0" latency "1" explicit_data_type off arith_type "Unsigned" n_bits "32" bin_pt "0" xl_use_area off xl_area "[0,0,0,0,0,0,0]" implementation "Block RAM" use_rpm "off" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "shmem" block_version "10.1.2" sg_icon_stat "80,92,1,1,white,blue,0,e2c38f9a,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 80 80 0 ],[0 0 92 92 ],[0.77 0.82 0.91]);\npatch([18 5 24 5 18 39 " "45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[15 28 47 66 79 79 73 79 79 61" " 78 66 47 28 16 33 15 15 21 15 15 ],[0.98 0.96 0.92]);\nplot([0 80 80 0 0 ],[" "0 0 92 92 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('input',1,'addr');\ncolor('" "black');port_label('input',2,'din');\ncolor('black');port_label('input',3,'we" "');\ncolor('black');port_label('output',1,'dout');\nfprintf('','COMMENT: end " "icon text');\n" Port { PortNumber 1 Name "LCD_Commands_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "Sl_addrAck" Ports [1, 1] Position [670, 105, 730, 125] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_addrAck'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Sl_rdComp" Ports [1, 1] Position [670, 280, 730, 300] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_rdComp'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Sl_rdDAck" Ports [1, 1] Position [670, 1200, 730, 1220] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_rdDAck'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Sl_rdDBus" Ports [1, 1] Position [670, 2395, 730, 2415] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_rdDBus'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Sl_wait" Ports [1, 1] Position [180, 905, 240, 925] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_wait'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Sl_wrComp" Ports [1, 1] Position [670, 1070, 730, 1090] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_wrComp'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Sl_wrDAck" Ports [1, 1] Position [670, 565, 730, 585] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'Sl_wrDAck'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Terminator Name "Terminator" Position [915, 50, 935, 70] ShowName off } Block { BlockType Terminator Name "Terminator1" Position [915, 120, 935, 140] ShowName off } Block { BlockType Terminator Name "Terminator2" Position [915, 320, 935, 340] ShowName off } Block { BlockType Terminator Name "Terminator3" Position [915, 3020, 935, 3040] ShowName off } Block { BlockType Terminator Name "Terminator4" Position [420, 905, 440, 925] ShowName off } Block { BlockType Terminator Name "Terminator5" Position [915, 185, 935, 205] ShowName off } Block { BlockType Terminator Name "Terminator6" Position [915, 255, 935, 275] ShowName off } Block { BlockType Reference Name "To Register" Ports [2, 1] Position [895, 392, 955, 448] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'Buzzer_DutyCycle'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "18" bin_pt "18" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "Buzzer_DutyCycle_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register1" Ports [2, 1] Position [895, 497, 955, 553] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'Buzzer_Enable'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "Buzzer_Enable_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register10" Ports [2, 1] Position [895, 1442, 955, 1498] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_FirstStart'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_FirstStart_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register11" Ports [2, 1] Position [895, 1547, 955, 1603] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_LineOffset'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "4" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_LineOffset_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register12" Ports [2, 1] Position [895, 1652, 955, 1708] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_RamWrite'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_RamWrite_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register13" Ports [2, 1] Position [895, 1762, 955, 1818] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_Reset'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_Reset_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register14" Ports [2, 1] Position [895, 1867, 955, 1923] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_ResetLCD'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_ResetLCD_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register15" Ports [2, 1] Position [895, 1972, 955, 2028] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_RowSet'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_RowSet_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register16" Ports [2, 1] Position [895, 2077, 955, 2133] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_SecondEnd'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_SecondEnd_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register17" Ports [2, 1] Position [895, 2182, 955, 2238] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_SecondStart'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_SecondStart_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register18" Ports [2, 1] Position [895, 2287, 955, 2343] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_Send'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_Send_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register19" Ports [2, 1] Position [895, 2392, 955, 2448] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_TotalCmdTransfer'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "8" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_TotalCmdTransfer_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register2" Ports [2, 1] Position [895, 602, 955, 658] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'Buzzer_Period'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "18" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "Buzzer_Period_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register20" Ports [2, 1] Position [895, 2497, 955, 2553] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LEDs'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "8" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LEDs_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register3" Ports [2, 1] Position [895, 707, 955, 763] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_BackgroundColor'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_BackgroundColor_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register4" Ports [2, 1] Position [895, 812, 955, 868] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_CharacterOffset'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "4" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_CharacterOffset_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register5" Ports [2, 1] Position [895, 917, 955, 973] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_CharactersSelect'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "3" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_CharactersSelect_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register6" Ports [2, 1] Position [895, 1022, 955, 1078] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_ColSet'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_ColSet_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register7" Ports [2, 1] Position [895, 1127, 955, 1183] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_ConfigLocation'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "2" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_ConfigLocation_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register8" Ports [2, 1] Position [895, 1232, 955, 1288] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_DividerSelect'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_DividerSelect_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "To Register9" Ports [2, 1] Position [895, 1337, 955, 1393] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'LCD_FirstEnd'" init "0" ownership "Owned and initialized elsewhere" explicit_data_type on arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "LCD_FirstEnd_dout" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "plb_decode" Ports [7, 9] Position [345, 974, 515, 1386] SourceBlock "xbsIndex_r4/MCode" SourceType "Xilinx MCode Block Block" infoedit "Pass input values to a MATLAB function for " "evaluation in Xilinx fixed-point type. The input ports of the block are input" " arguments of the function. The output ports of the block are output argument" "s of the function." mfname "xlmax" explicit_period off period "1" dbl_ovrd off enable_stdout off enable_debug off xl_use_area off xl_area "[0,0,0,0,0,0,0]" mfilecontent "function [wrDBusReg, addrAck, rdComp, wrDAc" "k, bankAddr, RNWReg, rdDAck, rdDBus, linearAddr] = ...\n plb_bus_decode(pl" "bRst, plbABus, plbPAValid, plbRNW, plbWrDBus, rdData, addrPref)\n\n% constant" " variables (TODO: should pass from outside)\nADDRPREF_LEN = 15;\nBANKADDR_LEN" " = 2;\nLINEARADDR_LEN = 13;\nABUS_LEN = 32;\nDBUS_LEN = 32;\n\n% declare and " "initialize persistent variables\n% register input bus signals\npersistent plb" "RstReg_, plbRstReg_ = xl_state(0, {xlBoolean});\npersistent plbABusReg_, plbA" "BusReg_ = xl_state(0, {xlUnsigned, ABUS_LEN, 0});\npersistent plbPAValidReg_," " plbPAValidReg_ = xl_state(0, {xlBoolean});\npersistent plbRNWReg_, plbRNWReg" "_ = xl_state(0, {xlUnsigned, 1, 0});\npersistent plbWrDBusReg_, plbWrDBusReg_" " = xl_state(0, {xlUnsigned, DBUS_LEN, 0});\n\n% ===== rest of the outputs ===" "==\n\nbankAddr = xl_slice(plbABusReg_, 2+BANKADDR_LEN+LINEARADDR_LEN-1, 2+L" "INEARADDR_LEN);\nlinearAddr = xl_slice(plbABusReg_, 2+LINEARADDR_LEN-1, 2);\n" "RNWReg = plbRNWReg_;\nwrDBusReg = plbWrDBusReg_;\n\n% ===== p_select =====\n" "\n% register PAValid\npersistent aValidReg, aValidReg = xl_state(0, {xlBoolea" "n});\naValidReg = plbPAValidReg_;\n\n% extract and register the address prefi" "x\naddrPref_in = xl_slice(plbABusReg_, xl_nbits(plbABusReg_)-1, xl_nbits(plbA" "BusReg_)-ADDRPREF_LEN);\nif addrPref_in == addrPref\n ps1 = true;\nelse \n" " ps1 = false;\nend \n\npersistent ps1Reg, ps1Reg = xl_state(0, ps1);\nps1R" "eg = ps1;\n\nps = xl_and(ps1Reg, aValidReg);\n\n% ===== addrAck =====\n\n% re" "gister ps\npersistent psReg, psReg = xl_state(0, ps);\n\naddrAck = xfix({xlUn" "signed, 1, 0}, xl_and(xl_not(plbRstReg_), ps, xl_not(psReg)));\n\npsReg = ps;" "\n\n% ===== rdComp, rd/wr DAck =====\n \nrdComp1 = xfix({xlUnsigned, 1, 0}, x" "l_and(addrAck, RNWReg));\n\nNUM_rdCompDelay = 3;\npersistent rdCompDelay, rdC" "ompDelay = xl_state(zeros(1, NUM_rdCompDelay), rdComp1, NUM_rdCompDelay);\nrd" "Comp2 = rdCompDelay.back;\nrdCompDelay.push_front_pop_back(rdComp1);\n\npersi" "stent rdCompReg, rdCompReg = xl_state(0, rdComp1);\nrdComp = rdCompReg;\nrdCo" "mpReg = rdComp2;\n\npersistent rdDAckReg, rdDAckReg = xl_state(0, rdComp1);\n" "rdDAck = rdDAckReg;\nrdDAckReg = rdComp;\n\npersistent wrDAckReg, wrDAckReg =" " xl_state(0, addrAck);\nwrDAck = wrDAckReg;\nwrDAckReg = xl_and(addrAck, xl_n" "ot(RNWReg));\n\n% ===== rdDBus =====\n\nrdSel = xl_or(rdComp2, rdComp);\n\nif" " rdSel == 1\n rdDBus1 = rdData;\nelse\n rdDBus1 = 0;\nend % if\n\npersi" "stent rdDBusReg, rdDBusReg = xl_state(0, rdDBus1);\nrdDBus = rdDBusReg;\nrdDB" "usReg = rdDBus1;\n\n% rdDBus = xl_concat(rdDBus32, rdDBus32);\n% rdDBus = rdD" "Bus32;\n\n% ===== update the persistent variables =====\n\nplbRstReg_ = plbRs" "t;\nplbABusReg_ = plbABus;\nplbPAValidReg_ = plbPAValid;\nplbRNWReg_ = plbRNW" ";\nplbWrDBusReg_ = xl_slice(plbWrDBus, DBUS_LEN-1, 0);\n" suppress_output "1" defparams "{}" hide_port_list "{}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mcode" block_version "10.1.2" sg_icon_stat "170,412,7,9,white,blue,0,8b15b975,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 170 170 0 ],[0 0 412 412 ],[0.77 0.82 0.91]);\npatch([40 12 52 12 " "40 85 97 109 157 119 83 57 97 57 83 119 157 109 97 85 40 ],[139 167 207 247 2" "75 275 263 275 275 237 273 247 207 167 141 177 139 139 151 139 139 ],[0.98 0." "96 0.92]);\nplot([0 170 170 0 0 ],[0 0 412 412 0 ]);\nfprintf('','COMMENT: en" "d icon graphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');p" "ort_label('input',1,'plbRst');\ncolor('black');port_label('input',2,'plbABus'" ");\ncolor('black');port_label('input',3,'plbPAValid');\ncolor('black');port_l" "abel('input',4,'plbRNW');\ncolor('black');port_label('input',5,'plbWrDBus');" "\ncolor('black');port_label('input',6,'rdData');\ncolor('black');port_label('" "input',7,'addrPref');\ncolor('black');port_label('output',1,'wrDBusReg');\nco" "lor('black');port_label('output',2,'addrAck');\ncolor('black');port_label('ou" "tput',3,'rdComp');\ncolor('black');port_label('output',4,'wrDAck');\ncolor('b" "lack');port_label('output',5,'bankAddr');\ncolor('black');port_label('output'" ",6,'RNWReg');\ncolor('black');port_label('output',7,'rdDAck');\ncolor('black'" ");port_label('output',8,'rdDBus');\ncolor('black');port_label('output',9,'lin" "earAddr');\ncolor('black');disp('\\bf{xlmax}','texmode','on');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "wrDBusReg" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "Sl_addrAck" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "Sl_rdComp" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "Sl_wrDAck" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 5 Name "bankAddr" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 6 Name "RNWReg" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 7 Name "Sl_rdDAck" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 8 Name "Sl_rdDBus" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 9 Name "linearAddr" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "plb_memmap" Ports [33, 52] Position [615, 1470, 785, 1725] SourceBlock "xbsIndex_r4/MCode" SourceType "Xilinx MCode Block Block" infoedit "Pass input values to a MATLAB function for " "evaluation in Xilinx fixed-point type. The input ports of the block are input" " arguments of the function. The output ports of the block are output argument" "s of the function." mfname "xlmax" explicit_period off period "1" dbl_ovrd off enable_stdout off enable_debug off xl_use_area off xl_area "[0,0,0,0,0,0,0]" mfilecontent "function [read_bank_out, sm_Buzzer_DutyCycl" "e_din, sm_Buzzer_DutyCycle_en, sm_Buzzer_Enable_din, sm_Buzzer_Enable_en, sm_" "Buzzer_Period_din, sm_Buzzer_Period_en, sm_LCD_BackgroundColor_din, sm_LCD_Ba" "ckgroundColor_en, sm_LCD_CharacterOffset_din, sm_LCD_CharacterOffset_en, sm_L" "CD_CharactersSelect_din, sm_LCD_CharactersSelect_en, sm_LCD_ColSet_din, sm_LC" "D_ColSet_en, sm_LCD_ConfigLocation_din, sm_LCD_ConfigLocation_en, sm_LCD_Divi" "derSelect_din, sm_LCD_DividerSelect_en, sm_LCD_FirstEnd_din, sm_LCD_FirstEnd_" "en, sm_LCD_FirstStart_din, sm_LCD_FirstStart_en, sm_LCD_LineOffset_din, sm_LC" "D_LineOffset_en, sm_LCD_RamWrite_din, sm_LCD_RamWrite_en, sm_LCD_Reset_din, s" "m_LCD_Reset_en, sm_LCD_ResetLCD_din, sm_LCD_ResetLCD_en, sm_LCD_RowSet_din, s" "m_LCD_RowSet_en, sm_LCD_SecondEnd_din, sm_LCD_SecondEnd_en, sm_LCD_SecondStar" "t_din, sm_LCD_SecondStart_en, sm_LCD_Send_din, sm_LCD_Send_en, sm_LCD_TotalCm" "dTransfer_din, sm_LCD_TotalCmdTransfer_en, sm_LEDs_din, sm_LEDs_en, sm_LCD_Ch" "aracterMap_addr, sm_LCD_CharacterMap_din, sm_LCD_CharacterMap_we, sm_LCD_Char" "acters_addr, sm_LCD_Characters_din, sm_LCD_Characters_we, sm_LCD_Commands_add" "r, sm_LCD_Commands_din, sm_LCD_Commands_we] = plb_memmap_select(wrDBus, bankA" "ddr, linearAddr, RNWReg, addrAck, sm_Buttons_Big, sm_Buttons_Small, sm_DIP_Sw" "itch, sm_Trackball, sm_Buzzer_DutyCycle, sm_Buzzer_Enable, sm_Buzzer_Period, " "sm_LCD_BackgroundColor, sm_LCD_CharacterOffset, sm_LCD_CharactersSelect, sm_L" "CD_ColSet, sm_LCD_ConfigLocation, sm_LCD_DividerSelect, sm_LCD_FirstEnd, sm_L" "CD_FirstStart, sm_LCD_LineOffset, sm_LCD_RamWrite, sm_LCD_Reset, sm_LCD_Reset" "LCD, sm_LCD_RowSet, sm_LCD_SecondEnd, sm_LCD_SecondStart, sm_LCD_Send, sm_LCD" "_TotalCmdTransfer, sm_LEDs, sm_LCD_CharacterMap, sm_LCD_Characters, sm_LCD_Co" "mmands)\n\n\n% connvert the input data to UFix_32_0 (the bus data type)\n% 'F" "rom Register' blocks\n% sm_Buttons_Big_bus = xfix({xlUnsigned, 32, 0}, 0);\ns" "m_Buttons_Big_bus = xl_force(sm_Buttons_Big, xlUnsigned, 0);\n\n% sm_Buttons_" "Small_bus = xfix({xlUnsigned, 32, 0}, 0);\nsm_Buttons_Small_bus = xl_force(sm" "_Buttons_Small, xlUnsigned, 0);\n\n% sm_DIP_Switch_bus = xfix({xlUnsigned, 32" ", 0}, 0);\nsm_DIP_Switch_bus = xl_force(sm_DIP_Switch, xlUnsigned, 0);\n\n% s" "m_Trackball_bus = xfix({xlUnsigned, 32, 0}, 0);\nsm_Trackball_bus = xl_force(" "sm_Trackball, xlUnsigned, 0);\n\n% 'To Register' blocks\n% sm_Buzzer_DutyCycl" "e_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_Buzzer_DutyCycle_dout = xl_force(s" "m_Buzzer_DutyCycle, xlUnsigned, 0);\n\n% sm_Buzzer_Enable_dout = xfix({xlUnsi" "gned, 32, 0}, 0);\nsm_Buzzer_Enable_dout = xl_force(sm_Buzzer_Enable, xlUnsig" "ned, 0);\n\n% sm_Buzzer_Period_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_Buzze" "r_Period_dout = xl_force(sm_Buzzer_Period, xlUnsigned, 0);\n\n% sm_LCD_Backgr" "oundColor_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_BackgroundColor_dout =" " xl_force(sm_LCD_BackgroundColor, xlUnsigned, 0);\n\n% sm_LCD_CharacterOffset" "_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_CharacterOffset_dout = xl_force" "(sm_LCD_CharacterOffset, xlUnsigned, 0);\n\n% sm_LCD_CharactersSelect_dout = " "xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_CharactersSelect_dout = xl_force(sm_LCD" "_CharactersSelect, xlUnsigned, 0);\n\n% sm_LCD_ColSet_dout = xfix({xlUnsigned" ", 32, 0}, 0);\nsm_LCD_ColSet_dout = xl_force(sm_LCD_ColSet, xlUnsigned, 0);\n" "\n% sm_LCD_ConfigLocation_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_Config" "Location_dout = xl_force(sm_LCD_ConfigLocation, xlUnsigned, 0);\n\n% sm_LCD_D" "ividerSelect_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_DividerSelect_dout " "= xl_force(sm_LCD_DividerSelect, xlUnsigned, 0);\n\n% sm_LCD_FirstEnd_dout = " "xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_FirstEnd_dout = xl_force(sm_LCD_FirstEn" "d, xlUnsigned, 0);\n\n% sm_LCD_FirstStart_dout = xfix({xlUnsigned, 32, 0}, 0)" ";\nsm_LCD_FirstStart_dout = xl_force(sm_LCD_FirstStart, xlUnsigned, 0);\n\n% " "sm_LCD_LineOffset_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_LineOffset_dou" "t = xl_force(sm_LCD_LineOffset, xlUnsigned, 0);\n\n% sm_LCD_RamWrite_dout = x" "fix({xlUnsigned, 32, 0}, 0);\nsm_LCD_RamWrite_dout = xl_force(sm_LCD_RamWrite" ", xlUnsigned, 0);\n\n% sm_LCD_Reset_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_" "LCD_Reset_dout = xl_force(sm_LCD_Reset, xlUnsigned, 0);\n\n% sm_LCD_ResetLCD_" "dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_ResetLCD_dout = xl_force(sm_LCD_" "ResetLCD, xlUnsigned, 0);\n\n% sm_LCD_RowSet_dout = xfix({xlUnsigned, 32, 0}," " 0);\nsm_LCD_RowSet_dout = xl_force(sm_LCD_RowSet, xlUnsigned, 0);\n\n% sm_LC" "D_SecondEnd_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_SecondEnd_dout = xl_" "force(sm_LCD_SecondEnd, xlUnsigned, 0);\n\n% sm_LCD_SecondStart_dout = xfix({" "xlUnsigned, 32, 0}, 0);\nsm_LCD_SecondStart_dout = xl_force(sm_LCD_SecondStar" "t, xlUnsigned, 0);\n\n% sm_LCD_Send_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_" "LCD_Send_dout = xl_force(sm_LCD_Send, xlUnsigned, 0);\n\n% sm_LCD_TotalCmdTra" "nsfer_dout = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_TotalCmdTransfer_dout = xl" "_force(sm_LCD_TotalCmdTransfer, xlUnsigned, 0);\n\n% sm_LEDs_dout = xfix({xlU" "nsigned, 32, 0}, 0);\nsm_LEDs_dout = xl_force(sm_LEDs, xlUnsigned, 0);\n\n% '" "From FIFO' blocks\n% 'To FIFO' blocks\n% 'Shared Memory' blocks\n% LCD_Charac" "terMap_bus = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_CharacterMap_bus = xl_forc" "e(sm_LCD_CharacterMap, xlUnsigned, 0);\n\n% LCD_Characters_bus = xfix({xlUnsi" "gned, 32, 0}, 0);\nsm_LCD_Characters_bus = xl_force(sm_LCD_Characters, xlUnsi" "gned, 0);\n\n% LCD_Commands_bus = xfix({xlUnsigned, 32, 0}, 0);\nsm_LCD_Comma" "nds_bus = xl_force(sm_LCD_Commands, xlUnsigned, 0);\n\n\n% 'dout' ports of 'F" "rom Register' blocks\n\n% registered register mux output\npersistent reg_bank" "_out_reg; reg_bank_out_reg = xl_state(0, {xlUnsigned, 32, 0});\nreg_bank_out " "= reg_bank_out_reg;\n\nif linearAddr == 21\n reg_bank_out_reg = sm_Buttons" "_Big_bus;\nelseif linearAddr == 22\n reg_bank_out_reg = sm_Buttons_Small_b" "us;\nelseif linearAddr == 23\n reg_bank_out_reg = sm_DIP_Switch_bus;\nelse" "if linearAddr == 24\n reg_bank_out_reg = sm_Trackball_bus;\nelseif linearA" "ddr == 0\n reg_bank_out_reg = sm_Buzzer_DutyCycle_dout;\nelseif linearAddr" " == 1\n reg_bank_out_reg = sm_Buzzer_Enable_dout;\nelseif linearAddr == 2" "\n reg_bank_out_reg = sm_Buzzer_Period_dout;\nelseif linearAddr == 3\n " "reg_bank_out_reg = sm_LCD_BackgroundColor_dout;\nelseif linearAddr == 4\n " "reg_bank_out_reg = sm_LCD_CharacterOffset_dout;\nelseif linearAddr == 5\n " "reg_bank_out_reg = sm_LCD_CharactersSelect_dout;\nelseif linearAddr == 6\n " " reg_bank_out_reg = sm_LCD_ColSet_dout;\nelseif linearAddr == 7\n reg_bank" "_out_reg = sm_LCD_ConfigLocation_dout;\nelseif linearAddr == 8\n reg_bank_" "out_reg = sm_LCD_DividerSelect_dout;\nelseif linearAddr == 9\n reg_bank_ou" "t_reg = sm_LCD_FirstEnd_dout;\nelseif linearAddr == 10\n reg_bank_out_reg " "= sm_LCD_FirstStart_dout;\nelseif linearAddr == 11\n reg_bank_out_reg = sm" "_LCD_LineOffset_dout;\nelseif linearAddr == 12\n reg_bank_out_reg = sm_LCD" "_RamWrite_dout;\nelseif linearAddr == 13\n reg_bank_out_reg = sm_LCD_Reset" "_dout;\nelseif linearAddr == 14\n reg_bank_out_reg = sm_LCD_ResetLCD_dout;" "\nelseif linearAddr == 15\n reg_bank_out_reg = sm_LCD_RowSet_dout;\nelseif" " linearAddr == 16\n reg_bank_out_reg = sm_LCD_SecondEnd_dout;\nelseif line" "arAddr == 17\n reg_bank_out_reg = sm_LCD_SecondStart_dout;\nelseif linearA" "ddr == 18\n reg_bank_out_reg = sm_LCD_Send_dout;\nelseif linearAddr == 19" "\n reg_bank_out_reg = sm_LCD_TotalCmdTransfer_dout;\nelseif linearAddr == " "20\n reg_bank_out_reg = sm_LEDs_dout;\nend\n\n\n% 'From FIFO' and 'To FIFO" "' blocks\n\n\n\n\n\nopCode = xl_concat(addrAck, RNWReg, bankAddr, linearAddr)" ";\n\n% 'Shared Memory' blocks\n\nsm_LCD_CharacterMap_sel_value = xl_concat(xl" "_slice(linearAddr, ...\n xl_nbits(line" "arAddr) - 1, ...\n 12) ...\n " " );\nif sm_LCD_CharacterMap_sel_value == xfix({xlUns" "igned, ...\n xl_nbits(linearAddr) - 12" ", ...\n 0}, ...\n " " 0);\n sm_LCD_CharacterMap_sel = true;\nelse\n sm_LCD" "_CharacterMap_sel = false;\nend\nsm_LCD_Characters_sel_value = xl_concat(xl_s" "lice(linearAddr, ...\n xl_nbits(linear" "Addr) - 1, ...\n 9) ...\n " " );\nif sm_LCD_Characters_sel_value == xfix({xlUnsigned" ", ...\n xl_nbits(linearAddr) - 9, ..." "\n 0}, ...\n " " 8);\n sm_LCD_Characters_sel = true;\nelse\n sm_LCD_Charac" "ters_sel = false;\nend\nsm_LCD_Commands_sel_value = xl_concat(xl_slice(linear" "Addr, ...\n xl_nbits(linearAddr) - 1, " "...\n 8) ...\n " " );\nif sm_LCD_Commands_sel_value == xfix({xlUnsigned, ...\n " " xl_nbits(linearAddr) - 8, ...\n " " 0}, ...\n " "18);\n sm_LCD_Commands_sel = true;\nelse\n sm_LCD_Commands_sel = false;" "\nend\n\n\n% registered Shared Memory mux output\npersistent ram_bank_out_reg" "; ram_bank_out_reg = xl_state(0, {xlUnsigned, 32, 0});\nram_bank_out = ram_ba" "nk_out_reg;\nif sm_LCD_CharacterMap_sel\n ram_bank_out_reg = sm_LCD_Charac" "terMap_bus;\nelseif sm_LCD_Characters_sel\n ram_bank_out_reg = sm_LCD_Char" "acters_bus;\nelseif sm_LCD_Commands_sel\n ram_bank_out_reg = sm_LCD_Comman" "ds_bus;\nend\n\n% 'din' ports of 'Shared Memory' blocks\nsm_LCD_CharacterMap_" "din = xl_force(xl_slice(wrDBus, 32 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_Characters" "_din = xl_force(xl_slice(wrDBus, 32 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_Commands_" "din = xl_force(xl_slice(wrDBus, 32 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\n\n\n% 'we' ports " "of 'Shared Memory' blocks\npersistent sm_LCD_CharacterMap_we_reg; sm_LCD_Char" "acterMap_we_reg = xl_state(false, {xlBoolean});\nsm_LCD_CharacterMap_we = sm_" "LCD_CharacterMap_we_reg;\nopCode_sm_LCD_CharacterMap = xl_concat(addrAck, ..." "\n RNWReg, ...\n " " bankAddr, ...\n xl_slice(line" "arAddr, ...\n xl_nbits(linearAdd" "r) - 1, ...\n 12) ...\n " " );\nif opCode_sm_LCD_CharacterMap == xl_concat(xfi" "x({xlUnsigned, 4, 0}, 8), ...\n xfix(" "{xlUnsigned, ...\n xl_nbits(lin" "earAddr) - 12, ...\n 0}, ...\n " " 0) ...\n " " );\n sm_LCD_CharacterMap_we_reg = true;\nelse\n sm_LCD" "_CharacterMap_we_reg = false;\nend\npersistent sm_LCD_Characters_we_reg; sm_L" "CD_Characters_we_reg = xl_state(false, {xlBoolean});\nsm_LCD_Characters_we = " "sm_LCD_Characters_we_reg;\nopCode_sm_LCD_Characters = xl_concat(addrAck, ..." "\n RNWReg, ...\n " " bankAddr, ...\n xl_slice(line" "arAddr, ...\n xl_nbits(linearAdd" "r) - 1, ...\n 9) ...\n " " );\nif opCode_sm_LCD_Characters == xl_concat(xfix({" "xlUnsigned, 4, 0}, 8), ...\n xfix({xl" "Unsigned, ...\n xl_nbits(linear" "Addr) - 9, ...\n 0}, ...\n " " 8) ...\n " " );\n sm_LCD_Characters_we_reg = true;\nelse\n sm_LCD_Chara" "cters_we_reg = false;\nend\npersistent sm_LCD_Commands_we_reg; sm_LCD_Command" "s_we_reg = xl_state(false, {xlBoolean});\nsm_LCD_Commands_we = sm_LCD_Command" "s_we_reg;\nopCode_sm_LCD_Commands = xl_concat(addrAck, ...\n " " RNWReg, ...\n bankAdd" "r, ...\n xl_slice(linearAddr, ...\n " " xl_nbits(linearAddr) - 1, ...\n " " 8) ...\n " " );\nif opCode_sm_LCD_Commands == xl_concat(xfix({xlUnsigned, 4, 0}, 8)" ", ...\n xfix({xlUnsigned, ...\n " " xl_nbits(linearAddr) - 8, ...\n " " 0}, ...\n " " 18) ...\n );\n " " sm_LCD_Commands_we_reg = true;\nelse\n sm_LCD_Commands_we_reg = false;\ne" "nd\n\n\n% 'addr' ports of 'Shared Memory' blocks\npersistent sm_LCD_Character" "Map_addr_reg; \nsm_LCD_CharacterMap_addr_reg = xl_state(0, {xlUnsigned, 12, 0" "});\nsm_LCD_CharacterMap_addr = sm_LCD_CharacterMap_addr_reg;\nif addrAck == " "1\n sm_LCD_CharacterMap_addr_reg = xl_slice(linearAddr, 12, 0);\nelse\n " " sm_LCD_CharacterMap_addr_reg = sm_LCD_CharacterMap_addr_reg;\nend\npersisten" "t sm_LCD_Characters_addr_reg; \nsm_LCD_Characters_addr_reg = xl_state(0, {xlU" "nsigned, 9, 0});\nsm_LCD_Characters_addr = sm_LCD_Characters_addr_reg;\nif ad" "drAck == 1\n sm_LCD_Characters_addr_reg = xl_slice(linearAddr, 9, 0);\nels" "e\n sm_LCD_Characters_addr_reg = sm_LCD_Characters_addr_reg;\nend\npersist" "ent sm_LCD_Commands_addr_reg; \nsm_LCD_Commands_addr_reg = xl_state(0, {xlUns" "igned, 8, 0});\nsm_LCD_Commands_addr = sm_LCD_Commands_addr_reg;\nif addrAck " "== 1\n sm_LCD_Commands_addr_reg = xl_slice(linearAddr, 8, 0);\nelse\n s" "m_LCD_Commands_addr_reg = sm_LCD_Commands_addr_reg;\nend\n\n\n% 're' ports of" " 'From FIFO' blocks\n\n\n% 'en' ports of 'To Register' blocks\nif opCode == x" "l_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n xfix({xlUn" "signed, xl_nbits(linearAddr), 0}, 0))\n sm_Buzzer_DutyCycle_en = true;\nel" "se\n sm_Buzzer_DutyCycle_en = false;\nend\nif opCode == xl_concat(xfix({xl" "Unsigned, 4, 0}, 10), ...\n xfix({xlUnsigned, xl_nbits(" "linearAddr), 0}, 1))\n sm_Buzzer_Enable_en = true;\nelse\n sm_Buzzer_En" "able_en = false;\nend\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ." "..\n xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 2))\n " " sm_Buzzer_Period_en = true;\nelse\n sm_Buzzer_Period_en = false;\nend\n" "if opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n " " xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 3))\n sm_LCD_BackgroundCol" "or_en = true;\nelse\n sm_LCD_BackgroundColor_en = false;\nend\nif opCode =" "= xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n xfix({x" "lUnsigned, xl_nbits(linearAddr), 0}, 4))\n sm_LCD_CharacterOffset_en = tru" "e;\nelse\n sm_LCD_CharacterOffset_en = false;\nend\nif opCode == xl_concat" "(xfix({xlUnsigned, 4, 0}, 10), ...\n xfix({xlUnsigned, " "xl_nbits(linearAddr), 0}, 5))\n sm_LCD_CharactersSelect_en = true;\nelse\n" " sm_LCD_CharactersSelect_en = false;\nend\nif opCode == xl_concat(xfix({xl" "Unsigned, 4, 0}, 10), ...\n xfix({xlUnsigned, xl_nbits(" "linearAddr), 0}, 6))\n sm_LCD_ColSet_en = true;\nelse\n sm_LCD_ColSet_e" "n = false;\nend\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n " " xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 7))\n sm_" "LCD_ConfigLocation_en = true;\nelse\n sm_LCD_ConfigLocation_en = false;\ne" "nd\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n " " xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 8))\n sm_LCD_DividerSe" "lect_en = true;\nelse\n sm_LCD_DividerSelect_en = false;\nend\nif opCode =" "= xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n xfix({x" "lUnsigned, xl_nbits(linearAddr), 0}, 9))\n sm_LCD_FirstEnd_en = true;\nels" "e\n sm_LCD_FirstEnd_en = false;\nend\nif opCode == xl_concat(xfix({xlUnsig" "ned, 4, 0}, 10), ...\n xfix({xlUnsigned, xl_nbits(linea" "rAddr), 0}, 10))\n sm_LCD_FirstStart_en = true;\nelse\n sm_LCD_FirstSta" "rt_en = false;\nend\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ..." "\n xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 11))\n " " sm_LCD_LineOffset_en = true;\nelse\n sm_LCD_LineOffset_en = false;\nend" "\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n " " xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 12))\n sm_LCD_RamWrite_e" "n = true;\nelse\n sm_LCD_RamWrite_en = false;\nend\nif opCode == xl_concat" "(xfix({xlUnsigned, 4, 0}, 10), ...\n xfix({xlUnsigned, " "xl_nbits(linearAddr), 0}, 13))\n sm_LCD_Reset_en = true;\nelse\n sm_LCD" "_Reset_en = false;\nend\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10)," " ...\n xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 14))" "\n sm_LCD_ResetLCD_en = true;\nelse\n sm_LCD_ResetLCD_en = false;\nend" "\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n " " xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 15))\n sm_LCD_RowSet_en " "= true;\nelse\n sm_LCD_RowSet_en = false;\nend\nif opCode == xl_concat(xfi" "x({xlUnsigned, 4, 0}, 10), ...\n xfix({xlUnsigned, xl_n" "bits(linearAddr), 0}, 16))\n sm_LCD_SecondEnd_en = true;\nelse\n sm_LCD" "_SecondEnd_en = false;\nend\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, " "10), ...\n xfix({xlUnsigned, xl_nbits(linearAddr), 0}, " "17))\n sm_LCD_SecondStart_en = true;\nelse\n sm_LCD_SecondStart_en = fa" "lse;\nend\nif opCode == xl_concat(xfix({xlUnsigned, 4, 0}, 10), ...\n " " xfix({xlUnsigned, xl_nbits(linearAddr), 0}, 18))\n sm_LCD_S" "end_en = true;\nelse\n sm_LCD_Send_en = false;\nend\nif opCode == xl_conca" "t(xfix({xlUnsigned, 4, 0}, 10), ...\n xfix({xlUnsigned," " xl_nbits(linearAddr), 0}, 19))\n sm_LCD_TotalCmdTransfer_en = true;\nelse" "\n sm_LCD_TotalCmdTransfer_en = false;\nend\nif opCode == xl_concat(xfix({" "xlUnsigned, 4, 0}, 10), ...\n xfix({xlUnsigned, xl_nbit" "s(linearAddr), 0}, 20))\n sm_LEDs_en = true;\nelse\n sm_LEDs_en = false" ";\nend\n\n\n% 'din' ports of 'To FIFO' blocks\n\n\n% 'we' ports of 'To FIFO' " "blocks\n\n\n% 'din' ports of 'To Register' blocks\nsm_Buzzer_DutyCycle_din = " "xl_force(xl_slice(wrDBus, 18 - 1, 0), ...\n x" "lUnsigned, ...\n 18);\nsm_Buzzer_Enable_din =" " xl_force(xl_slice(wrDBus, 1 - 1, 0), ...\n x" "lUnsigned, ...\n 0);\nsm_Buzzer_Period_din = " "xl_force(xl_slice(wrDBus, 18 - 1, 0), ...\n x" "lUnsigned, ...\n 0);\nsm_LCD_BackgroundColor_" "din = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_CharacterOf" "fset_din = xl_force(xl_slice(wrDBus, 4 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_Charac" "tersSelect_din = xl_force(xl_slice(wrDBus, 3 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_" "ColSet_din = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_Conf" "igLocation_din = xl_force(xl_slice(wrDBus, 2 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_" "DividerSelect_din = xl_force(xl_slice(wrDBus, 1 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_L" "CD_FirstEnd_din = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD" "_FirstStart_din = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD" "_LineOffset_din = xl_force(xl_slice(wrDBus, 4 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD" "_RamWrite_din = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_R" "eset_din = xl_force(xl_slice(wrDBus, 1 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_ResetL" "CD_din = xl_force(xl_slice(wrDBus, 1 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_RowSet_d" "in = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_SecondEnd_di" "n = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_SecondStart_d" "in = xl_force(xl_slice(wrDBus, 9 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LCD_Send_din = x" "l_force(xl_slice(wrDBus, 1 - 1, 0), ...\n xlU" "nsigned, ...\n 0);\nsm_LCD_TotalCmdTransfer_d" "in = xl_force(xl_slice(wrDBus, 8 - 1, 0), ...\n " " xlUnsigned, ...\n 0);\nsm_LEDs_din = xl_fo" "rce(xl_slice(wrDBus, 8 - 1, 0), ...\n xlUnsig" "ned, ...\n 0);\n\n\npersistent read_bank_out_" "reg; read_bank_out_reg = xl_state(0, {xlUnsigned, 32, 0});\nread_bank_out = r" "ead_bank_out_reg;\n\npersistent bankAddr_reg; bankAddr_reg = xl_state(0, bank" "Addr);\n\nif bankAddr_reg == 0\n % Bank 0: Shared Memories\n read_bank_" "out_reg = ram_bank_out;\nelseif bankAddr_reg == 1\n % Bank 1: From/To FIFO" "s\n read_bank_out_reg = 0;\nelseif bankAddr_reg == 2\n % Bank 1: From/" "To Registers\n read_bank_out_reg = reg_bank_out;\nelseif bankAddr_reg == 3" "\n % Bank 1: Configure Registers\n read_bank_out_reg = 0;\nend\n\nbankA" "ddr_reg = bankAddr;\n" suppress_output "1" defparams "{}" hide_port_list "{}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mcode" block_version "10.1.2" sg_icon_stat "170,255,33,52,white,blue,0,ad4b08ee,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 170 170 0 ],[0 0 255 255 ],[0.77 0.82 0.91]);\npatch([40 12 52 12 " "40 85 97 109 157 119 83 57 97 57 83 119 157 109 97 85 40 ],[61 89 129 169 197" " 197 185 197 197 159 195 169 129 89 63 99 61 61 73 61 61 ],[0.98 0.96 0.92]);" "\nplot([0 170 170 0 0 ],[0 0 255 255 0 ]);\nfprintf('','COMMENT: end icon gra" "phics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label(" "'input',1,'wrDBus');\ncolor('black');port_label('input',2,'bankAddr');\ncolor" "('black');port_label('input',3,'linearAddr');\ncolor('black');port_label('inp" "ut',4,'RNWReg');\ncolor('black');port_label('input',5,'addrAck');\ncolor('bla" "ck');port_label('input',6,'sm_Buttons_Big');\ncolor('black');port_label('inpu" "t',7,'sm_Buttons_Small');\ncolor('black');port_label('input',8,'sm_DIP_Switch" "');\ncolor('black');port_label('input',9,'sm_Trackball');\ncolor('black');por" "t_label('input',10,'sm_Buzzer_DutyCycle');\ncolor('black');port_label('input'" ",11,'sm_Buzzer_Enable');\ncolor('black');port_label('input',12,'sm_Buzzer_Per" "iod');\ncolor('black');port_label('input',13,'sm_LCD_BackgroundColor');\ncolo" "r('black');port_label('input',14,'sm_LCD_CharacterOffset');\ncolor('black');p" "ort_label('input',15,'sm_LCD_CharactersSelect');\ncolor('black');port_label('" "input',16,'sm_LCD_ColSet');\ncolor('black');port_label('input',17,'sm_LCD_Con" "figLocation');\ncolor('black');port_label('input',18,'sm_LCD_DividerSelect');" "\ncolor('black');port_label('input',19,'sm_LCD_FirstEnd');\ncolor('black');po" "rt_label('input',20,'sm_LCD_FirstStart');\ncolor('black');port_label('input'," "21,'sm_LCD_LineOffset');\ncolor('black');port_label('input',22,'sm_LCD_RamWri" "te');\ncolor('black');port_label('input',23,'sm_LCD_Reset');\ncolor('black');" "port_label('input',24,'sm_LCD_ResetLCD');\ncolor('black');port_label('input'," "25,'sm_LCD_RowSet');\ncolor('black');port_label('input',26,'sm_LCD_SecondEnd'" ");\ncolor('black');port_label('input',27,'sm_LCD_SecondStart');\ncolor('black" "');port_label('input',28,'sm_LCD_Send');\ncolor('black');port_label('input',2" "9,'sm_LCD_TotalCmdTransfer');\ncolor('black');port_label('input',30,'sm_LEDs'" ");\ncolor('black');port_label('input',31,'sm_LCD_CharacterMap');\ncolor('blac" "k');port_label('input',32,'sm_LCD_Characters');\ncolor('black');port_label('i" "nput',33,'sm_LCD_Commands');\ncolor('black');port_label('output',1,'read_bank" "_out');\ncolor('black');port_label('output',2,'sm_Buzzer_DutyCycle_din');\nco" "lor('black');port_label('output',3,'sm_Buzzer_DutyCycle_en');\ncolor('black')" ";port_label('output',4,'sm_Buzzer_Enable_din');\ncolor('black');port_label('o" "utput',5,'sm_Buzzer_Enable_en');\ncolor('black');port_label('output',6,'sm_Bu" "zzer_Period_din');\ncolor('black');port_label('output',7,'sm_Buzzer_Period_en" "');\ncolor('black');port_label('output',8,'sm_LCD_BackgroundColor_din');\ncol" "or('black');port_label('output',9,'sm_LCD_BackgroundColor_en');\ncolor('black" "');port_label('output',10,'sm_LCD_CharacterOffset_din');\ncolor('black');port" "_label('output',11,'sm_LCD_CharacterOffset_en');\ncolor('black');port_label('" "output',12,'sm_LCD_CharactersSelect_din');\ncolor('black');port_label('output" "',13,'sm_LCD_CharactersSelect_en');\ncolor('black');port_label('output',14,'s" "m_LCD_ColSet_din');\ncolor('black');port_label('output',15,'sm_LCD_ColSet_en'" ");\ncolor('black');port_label('output',16,'sm_LCD_ConfigLocation_din');\ncolo" "r('black');port_label('output',17,'sm_LCD_ConfigLocation_en');\ncolor('black'" ");port_label('output',18,'sm_LCD_DividerSelect_din');\ncolor('black');port_la" "bel('output',19,'sm_LCD_DividerSelect_en');\ncolor('black');port_label('outpu" "t',20,'sm_LCD_FirstEnd_din');\ncolor('black');port_label('output',21,'sm_LCD_" "FirstEnd_en');\ncolor('black');port_label('output',22,'sm_LCD_FirstStart_din'" ");\ncolor('black');port_label('output',23,'sm_LCD_FirstStart_en');\ncolor('bl" "ack');port_label('output',24,'sm_LCD_LineOffset_din');\ncolor('black');port_l" "abel('output',25,'sm_LCD_LineOffset_en');\ncolor('black');port_label('output'" ",26,'sm_LCD_RamWrite_din');\ncolor('black');port_label('output',27,'sm_LCD_Ra" "mWrite_en');\ncolor('black');port_label('output',28,'sm_LCD_Reset_din');\ncol" "or('black');port_label('output',29,'sm_LCD_Reset_en');\ncolor('black');port_l" "abel('output',30,'sm_LCD_ResetLCD_din');\ncolor('black');port_label('output'," "31,'sm_LCD_ResetLCD_en');\ncolor('black');port_label('output',32,'sm_LCD_RowS" "et_din');\ncolor('black');port_label('output',33,'sm_LCD_RowSet_en');\ncolor(" "'black');port_label('output',34,'sm_LCD_SecondEnd_din');\ncolor('black');port" "_label('output',35,'sm_LCD_SecondEnd_en');\ncolor('black');port_label('output" "',36,'sm_LCD_SecondStart_din');\ncolor('black');port_label('output',37,'sm_LC" "D_SecondStart_en');\ncolor('black');port_label('output',38,'sm_LCD_Send_din')" ";\ncolor('black');port_label('output',39,'sm_LCD_Send_en');\ncolor('black');p" "ort_label('output',40,'sm_LCD_TotalCmdTransfer_din');\ncolor('black');port_la" "bel('output',41,'sm_LCD_TotalCmdTransfer_en');\ncolor('black');port_label('ou" "tput',42,'sm_LEDs_din');\ncolor('black');port_label('output',43,'sm_LEDs_en')" ";\ncolor('black');port_label('output',44,'sm_LCD_CharacterMap_addr');\ncolor(" "'black');port_label('output',45,'sm_LCD_CharacterMap_din');\ncolor('black');p" "ort_label('output',46,'sm_LCD_CharacterMap_we');\ncolor('black');port_label('" "output',47,'sm_LCD_Characters_addr');\ncolor('black');port_label('output',48," "'sm_LCD_Characters_din');\ncolor('black');port_label('output',49,'sm_LCD_Char" "acters_we');\ncolor('black');port_label('output',50,'sm_LCD_Commands_addr');" "\ncolor('black');port_label('output',51,'sm_LCD_Commands_din');\ncolor('black" "');port_label('output',52,'sm_LCD_Commands_we');\ncolor('black');disp('\\bf{x" "lmax}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" Port { PortNumber 1 Name "rdData" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "Buzzer_DutyCycle_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "Buzzer_DutyCycle_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "Buzzer_Enable_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 5 Name "Buzzer_Enable_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 6 Name "Buzzer_Period_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 7 Name "Buzzer_Period_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 8 Name "LCD_BackgroundColor_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 9 Name "LCD_BackgroundColor_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 10 Name "LCD_CharacterOffset_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 11 Name "LCD_CharacterOffset_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 12 Name "LCD_CharactersSelect_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 13 Name "LCD_CharactersSelect_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 14 Name "LCD_ColSet_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 15 Name "LCD_ColSet_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 16 Name "LCD_ConfigLocation_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 17 Name "LCD_ConfigLocation_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 18 Name "LCD_DividerSelect_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 19 Name "LCD_DividerSelect_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 20 Name "LCD_FirstEnd_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 21 Name "LCD_FirstEnd_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 22 Name "LCD_FirstStart_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 23 Name "LCD_FirstStart_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 24 Name "LCD_LineOffset_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 25 Name "LCD_LineOffset_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 26 Name "LCD_RamWrite_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 27 Name "LCD_RamWrite_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 28 Name "LCD_Reset_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 29 Name "LCD_Reset_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 30 Name "LCD_ResetLCD_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 31 Name "LCD_ResetLCD_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 32 Name "LCD_RowSet_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 33 Name "LCD_RowSet_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 34 Name "LCD_SecondEnd_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 35 Name "LCD_SecondEnd_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 36 Name "LCD_SecondStart_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 37 Name "LCD_SecondStart_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 38 Name "LCD_Send_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 39 Name "LCD_Send_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 40 Name "LCD_TotalCmdTransfer_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 41 Name "LCD_TotalCmdTransfer_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 42 Name "LEDs_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 43 Name "LEDs_en" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 44 Name "LCD_CharacterMap_addr" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 45 Name "LCD_CharacterMap_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 46 Name "LCD_CharacterMap_we" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 47 Name "LCD_Characters_addr" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 48 Name "LCD_Characters_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 49 Name "LCD_Characters_we" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 50 Name "LCD_Commands_addr" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 51 Name "LCD_Commands_din" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 52 Name "LCD_Commands_we" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "sg_plb_addrpref" Ports [1, 1] Position [175, 1345, 245, 1365] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "15" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Saturate" period "xlGetSimulinkPeriod(gcb)" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" sginterface "{'Xilinx'=>{'jtaghwcosim'=>{'non_memory_map" "ped_port'=>'sg_plb_addrpref'}},'iopad'=>{'constraint'=>'#'}}" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "70,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 70 70 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([29 26 31 26 29 3" "4 35 36 42 38 34 31 36 31 34 38 42 36 35 34 29 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 70 70 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" Port { PortNumber 1 Name "addrPref" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Line { Name "Sl_addrAck" SrcBlock "plb_decode" SrcPort 2 Points [0, 0] Branch { Labels [1, 0] DstBlock "plb_memmap" DstPort 5 } Branch { Labels [0, 0] DstBlock "Sl_addrAck" DstPort 1 } } Line { Name "Sl_wrDAck" SrcBlock "plb_decode" SrcPort 4 Points [0, 0] Branch { Labels [1, 0] DstBlock "Sl_wrDAck" DstPort 1 } Branch { Labels [0, 0] DstBlock "Sl_wrComp" DstPort 1 } } Line { Name "LCD_Commands_we" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 52 DstBlock "Shared Memory2" DstPort 3 } Line { Name "LCD_Commands_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 51 DstBlock "Shared Memory2" DstPort 2 } Line { Name "LCD_Commands_addr" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 50 DstBlock "Shared Memory2" DstPort 1 } Line { Name "LCD_Characters_we" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 49 DstBlock "Shared Memory1" DstPort 3 } Line { Name "LCD_Characters_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 48 DstBlock "Shared Memory1" DstPort 2 } Line { Name "LCD_Characters_addr" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 47 DstBlock "Shared Memory1" DstPort 1 } Line { Name "LCD_CharacterMap_we" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 46 DstBlock "Shared Memory" DstPort 3 } Line { Name "LCD_CharacterMap_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 45 DstBlock "Shared Memory" DstPort 2 } Line { Name "LCD_CharacterMap_addr" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 44 DstBlock "Shared Memory" DstPort 1 } Line { Name "LEDs_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 43 DstBlock "To Register20" DstPort 2 } Line { Name "LEDs_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 42 DstBlock "To Register20" DstPort 1 } Line { Name "LCD_TotalCmdTransfer_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 41 DstBlock "To Register19" DstPort 2 } Line { Name "LCD_TotalCmdTransfer_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 40 DstBlock "To Register19" DstPort 1 } Line { Name "LCD_Send_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 39 DstBlock "To Register18" DstPort 2 } Line { Name "LCD_Send_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 38 DstBlock "To Register18" DstPort 1 } Line { Name "LCD_SecondStart_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 37 DstBlock "To Register17" DstPort 2 } Line { Name "LCD_SecondStart_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 36 DstBlock "To Register17" DstPort 1 } Line { Name "LCD_SecondEnd_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 35 DstBlock "To Register16" DstPort 2 } Line { Name "LCD_SecondEnd_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 34 DstBlock "To Register16" DstPort 1 } Line { Name "LCD_RowSet_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 33 DstBlock "To Register15" DstPort 2 } Line { Name "LCD_RowSet_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 32 DstBlock "To Register15" DstPort 1 } Line { Name "LCD_ResetLCD_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 31 DstBlock "To Register14" DstPort 2 } Line { Name "LCD_ResetLCD_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 30 DstBlock "To Register14" DstPort 1 } Line { Name "LCD_Reset_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 29 DstBlock "To Register13" DstPort 2 } Line { Name "LCD_Reset_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 28 DstBlock "To Register13" DstPort 1 } Line { Name "LCD_RamWrite_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 27 DstBlock "To Register12" DstPort 2 } Line { Name "LCD_RamWrite_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 26 DstBlock "To Register12" DstPort 1 } Line { Name "LCD_LineOffset_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 25 DstBlock "To Register11" DstPort 2 } Line { Name "LCD_LineOffset_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 24 DstBlock "To Register11" DstPort 1 } Line { Name "LCD_FirstStart_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 23 DstBlock "To Register10" DstPort 2 } Line { Name "LCD_FirstStart_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 22 DstBlock "To Register10" DstPort 1 } Line { Name "LCD_FirstEnd_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 21 DstBlock "To Register9" DstPort 2 } Line { Name "LCD_FirstEnd_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 20 DstBlock "To Register9" DstPort 1 } Line { Name "LCD_DividerSelect_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 19 DstBlock "To Register8" DstPort 2 } Line { Name "LCD_DividerSelect_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 18 DstBlock "To Register8" DstPort 1 } Line { Name "LCD_ConfigLocation_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 17 DstBlock "To Register7" DstPort 2 } Line { Name "LCD_ConfigLocation_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 16 DstBlock "To Register7" DstPort 1 } Line { Name "LCD_ColSet_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 15 DstBlock "To Register6" DstPort 2 } Line { Name "LCD_ColSet_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 14 DstBlock "To Register6" DstPort 1 } Line { Name "LCD_CharactersSelect_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 13 DstBlock "To Register5" DstPort 2 } Line { Name "LCD_CharactersSelect_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 12 DstBlock "To Register5" DstPort 1 } Line { Name "LCD_CharacterOffset_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 11 DstBlock "To Register4" DstPort 2 } Line { Name "LCD_CharacterOffset_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 10 DstBlock "To Register4" DstPort 1 } Line { Name "LCD_BackgroundColor_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 9 DstBlock "To Register3" DstPort 2 } Line { Name "LCD_BackgroundColor_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 8 DstBlock "To Register3" DstPort 1 } Line { Name "Buzzer_Period_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 7 DstBlock "To Register2" DstPort 2 } Line { Name "Buzzer_Period_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 6 DstBlock "To Register2" DstPort 1 } Line { Name "Buzzer_Enable_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 5 DstBlock "To Register1" DstPort 2 } Line { Name "Buzzer_Enable_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 4 DstBlock "To Register1" DstPort 1 } Line { Name "Buzzer_DutyCycle_en" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 3 DstBlock "To Register" DstPort 2 } Line { Name "Buzzer_DutyCycle_din" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 2 DstBlock "To Register" DstPort 1 } Line { Name "rdData" Labels [0, 0] SrcBlock "plb_memmap" SrcPort 1 DstBlock "plb_decode" DstPort 6 } Line { Name "LCD_Commands_dout" Labels [0, 0] SrcBlock "Shared Memory2" SrcPort 1 DstBlock "plb_memmap" DstPort 33 } Line { Name "LCD_Characters_dout" Labels [0, 0] SrcBlock "Shared Memory1" SrcPort 1 DstBlock "plb_memmap" DstPort 32 } Line { Name "LCD_CharacterMap_dout" Labels [0, 0] SrcBlock "Shared Memory" SrcPort 1 DstBlock "plb_memmap" DstPort 31 } Line { Name "LEDs_dout" Labels [0, 0] SrcBlock "To Register20" SrcPort 1 DstBlock "plb_memmap" DstPort 30 } Line { Name "LCD_TotalCmdTransfer_dout" Labels [0, 0] SrcBlock "To Register19" SrcPort 1 DstBlock "plb_memmap" DstPort 29 } Line { Name "LCD_Send_dout" Labels [0, 0] SrcBlock "To Register18" SrcPort 1 DstBlock "plb_memmap" DstPort 28 } Line { Name "LCD_SecondStart_dout" Labels [0, 0] SrcBlock "To Register17" SrcPort 1 DstBlock "plb_memmap" DstPort 27 } Line { Name "LCD_SecondEnd_dout" Labels [0, 0] SrcBlock "To Register16" SrcPort 1 DstBlock "plb_memmap" DstPort 26 } Line { Name "LCD_RowSet_dout" Labels [0, 0] SrcBlock "To Register15" SrcPort 1 DstBlock "plb_memmap" DstPort 25 } Line { Name "LCD_ResetLCD_dout" Labels [0, 0] SrcBlock "To Register14" SrcPort 1 DstBlock "plb_memmap" DstPort 24 } Line { Name "LCD_Reset_dout" Labels [0, 0] SrcBlock "To Register13" SrcPort 1 DstBlock "plb_memmap" DstPort 23 } Line { Name "LCD_RamWrite_dout" Labels [0, 0] SrcBlock "To Register12" SrcPort 1 DstBlock "plb_memmap" DstPort 22 } Line { Name "LCD_LineOffset_dout" Labels [0, 0] SrcBlock "To Register11" SrcPort 1 DstBlock "plb_memmap" DstPort 21 } Line { Name "LCD_FirstStart_dout" Labels [0, 0] SrcBlock "To Register10" SrcPort 1 DstBlock "plb_memmap" DstPort 20 } Line { Name "LCD_FirstEnd_dout" Labels [0, 0] SrcBlock "To Register9" SrcPort 1 DstBlock "plb_memmap" DstPort 19 } Line { Name "LCD_DividerSelect_dout" Labels [0, 0] SrcBlock "To Register8" SrcPort 1 DstBlock "plb_memmap" DstPort 18 } Line { Name "LCD_ConfigLocation_dout" Labels [0, 0] SrcBlock "To Register7" SrcPort 1 DstBlock "plb_memmap" DstPort 17 } Line { Name "LCD_ColSet_dout" Labels [0, 0] SrcBlock "To Register6" SrcPort 1 DstBlock "plb_memmap" DstPort 16 } Line { Name "LCD_CharactersSelect_dout" Labels [0, 0] SrcBlock "To Register5" SrcPort 1 DstBlock "plb_memmap" DstPort 15 } Line { Name "LCD_CharacterOffset_dout" Labels [0, 0] SrcBlock "To Register4" SrcPort 1 DstBlock "plb_memmap" DstPort 14 } Line { Name "LCD_BackgroundColor_dout" Labels [0, 0] SrcBlock "To Register3" SrcPort 1 DstBlock "plb_memmap" DstPort 13 } Line { Name "Buzzer_Period_dout" Labels [0, 0] SrcBlock "To Register2" SrcPort 1 DstBlock "plb_memmap" DstPort 12 } Line { Name "Buzzer_Enable_dout" Labels [0, 0] SrcBlock "To Register1" SrcPort 1 DstBlock "plb_memmap" DstPort 11 } Line { Name "Buzzer_DutyCycle_dout" Labels [0, 0] SrcBlock "To Register" SrcPort 1 DstBlock "plb_memmap" DstPort 10 } Line { Name "Trackball_dout" Labels [0, 0] SrcBlock "From Register3" SrcPort 1 DstBlock "plb_memmap" DstPort 9 } Line { Name "DIP_Switch_dout" Labels [0, 0] SrcBlock "From Register2" SrcPort 1 DstBlock "plb_memmap" DstPort 8 } Line { Name "Buttons_Small_dout" Labels [0, 0] SrcBlock "From Register1" SrcPort 1 DstBlock "plb_memmap" DstPort 7 } Line { Name "Buttons_Big_dout" Labels [0, 0] SrcBlock "From Register" SrcPort 1 DstBlock "plb_memmap" DstPort 6 } Line { Name "RNWReg" Labels [0, 0] SrcBlock "plb_decode" SrcPort 6 DstBlock "plb_memmap" DstPort 4 } Line { Name "linearAddr" Labels [0, 0] SrcBlock "plb_decode" SrcPort 9 DstBlock "plb_memmap" DstPort 3 } Line { Name "bankAddr" Labels [0, 0] SrcBlock "plb_decode" SrcPort 5 DstBlock "plb_memmap" DstPort 2 } Line { Name "wrDBusReg" Labels [0, 0] SrcBlock "plb_decode" SrcPort 1 DstBlock "plb_memmap" DstPort 1 } Line { Name "Sl_rdDBus" Labels [0, 0] SrcBlock "plb_decode" SrcPort 8 DstBlock "Sl_rdDBus" DstPort 1 } Line { Name "Sl_rdDAck" Labels [0, 0] SrcBlock "plb_decode" SrcPort 7 DstBlock "Sl_rdDAck" DstPort 1 } Line { Name "Sl_rdComp" Labels [0, 0] SrcBlock "plb_decode" SrcPort 3 DstBlock "Sl_rdComp" DstPort 1 } Line { Name "addrPref" Labels [0, 0] SrcBlock "sg_plb_addrpref" SrcPort 1 DstBlock "plb_decode" DstPort 7 } Line { Name "PLB_wrDBus" Labels [0, 0] SrcBlock "PLB_wrDBus" SrcPort 1 DstBlock "plb_decode" DstPort 5 } Line { Name "PLB_RNW" Labels [0, 0] SrcBlock "PLB_RNW" SrcPort 1 DstBlock "plb_decode" DstPort 4 } Line { Name "PLB_PAValid" Labels [0, 0] SrcBlock "PLB_PAValid" SrcPort 1 DstBlock "plb_decode" DstPort 3 } Line { Name "PLB_ABus" Labels [0, 0] SrcBlock "PLB_ABus" SrcPort 1 DstBlock "plb_decode" DstPort 2 } Line { Name "SPLB_Rst" Labels [0, 0] SrcBlock "SPLB_Rst" SrcPort 1 DstBlock "plb_decode" DstPort 1 } Line { SrcBlock "Constant6" SrcPort 1 DstBlock "sg_plb_addrpref" DstPort 1 } Line { Name "Sl_wait" Labels [0, 0] SrcBlock "Constant5" SrcPort 1 DstBlock "Sl_wait" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "PLB_wrDBus" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "PLB_RNW" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "PLB_PAValid" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "PLB_ABus" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "SPLB_Rst" DstPort 1 } Line { SrcBlock "Sl_wrComp" SrcPort 1 DstBlock "Terminator6" DstPort 1 } Line { SrcBlock "Sl_wrDAck" SrcPort 1 DstBlock "Terminator5" DstPort 1 } Line { SrcBlock "Sl_wait" SrcPort 1 DstBlock "Terminator4" DstPort 1 } Line { SrcBlock "Sl_rdDBus" SrcPort 1 DstBlock "Terminator3" DstPort 1 } Line { SrcBlock "Sl_rdDAck" SrcPort 1 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "Sl_rdComp" SrcPort 1 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "Sl_addrAck" SrcPort 1 DstBlock "Terminator" DstPort 1 } } } Block { BlockType SubSystem Name "Interactive I/O" Ports [] Position [125, 60, 175, 88] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Interactive I/O" Location [97, 275, 617, 416] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType SubSystem Name "8xDebounce" Ports [1, 1] Position [845, 136, 885, 154] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "8xDebounce" Location [2, 74, 1910, 1156] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "d" Position [60, 48, 90, 62] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [99, 70, 121, 90] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [99, 110, 121, 130] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay2" Ports [1, 1] Position [99, 150, 121, 170] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay3" Ports [1, 1] Position [99, 190, 121, 210] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay4" Ports [1, 1] Position [99, 230, 121, 250] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay5" Ports [1, 1] Position [99, 270, 121, 290] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay6" Ports [1, 1] Position [99, 310, 121, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical" Ports [8, 1] Position [135, 25, 195, 365] ShowName off SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "8" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,261" block_type "logical" block_version "10.1.2" sg_icon_stat "60,340,1,1,white,blue,0,84119f55,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "q" Position [220, 188, 250, 202] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Delay6" SrcPort 1 DstBlock "Logical" DstPort 8 } Line { SrcBlock "Delay2" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 4 } Branch { DstBlock "Delay3" DstPort 1 } } Line { SrcBlock "d" SrcPort 1 Points [15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { DstBlock "Delay" DstPort 1 } } Line { SrcBlock "Delay5" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 7 } Branch { DstBlock "Delay6" DstPort 1 } } Line { SrcBlock "Delay4" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay5" DstPort 1 } Branch { DstBlock "Logical" DstPort 6 } } Line { SrcBlock "Delay3" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay4" DstPort 1 } Branch { DstBlock "Logical" DstPort 5 } } Line { SrcBlock "Delay1" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay2" DstPort 1 } Branch { DstBlock "Logical" DstPort 3 } } Line { SrcBlock "Delay" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay1" DstPort 1 } Branch { DstBlock "Logical" DstPort 2 } } Line { SrcBlock "Logical" SrcPort 1 DstBlock "q" DstPort 1 } } } Block { BlockType SubSystem Name "8xDebounce1" Ports [1, 1] Position [845, 186, 885, 204] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "8xDebounce1" Location [2, 74, 1910, 1156] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "d" Position [60, 48, 90, 62] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [99, 70, 121, 90] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [99, 110, 121, 130] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay2" Ports [1, 1] Position [99, 150, 121, 170] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay3" Ports [1, 1] Position [99, 190, 121, 210] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay4" Ports [1, 1] Position [99, 230, 121, 250] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay5" Ports [1, 1] Position [99, 270, 121, 290] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay6" Ports [1, 1] Position [99, 310, 121, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical" Ports [8, 1] Position [135, 25, 195, 365] ShowName off SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "8" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,261" block_type "logical" block_version "10.1.2" sg_icon_stat "60,340,1,1,white,blue,0,84119f55,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "q" Position [220, 188, 250, 202] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Logical" SrcPort 1 DstBlock "q" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 2 } Branch { DstBlock "Delay1" DstPort 1 } } Line { SrcBlock "Delay1" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 3 } Branch { DstBlock "Delay2" DstPort 1 } } Line { SrcBlock "Delay3" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 5 } Branch { DstBlock "Delay4" DstPort 1 } } Line { SrcBlock "Delay4" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 6 } Branch { DstBlock "Delay5" DstPort 1 } } Line { SrcBlock "Delay5" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay6" DstPort 1 } Branch { DstBlock "Logical" DstPort 7 } } Line { SrcBlock "d" SrcPort 1 Points [15, 0] Branch { DstBlock "Delay" DstPort 1 } Branch { DstBlock "Logical" DstPort 1 } } Line { SrcBlock "Delay2" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay3" DstPort 1 } Branch { DstBlock "Logical" DstPort 4 } } Line { SrcBlock "Delay6" SrcPort 1 DstBlock "Logical" DstPort 8 } } } Block { BlockType SubSystem Name "8xDebounce2" Ports [1, 1] Position [845, 236, 885, 254] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "8xDebounce2" Location [2, 74, 1910, 1156] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "d" Position [60, 48, 90, 62] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [99, 70, 121, 90] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [99, 110, 121, 130] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay2" Ports [1, 1] Position [99, 150, 121, 170] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay3" Ports [1, 1] Position [99, 190, 121, 210] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay4" Ports [1, 1] Position [99, 230, 121, 250] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay5" Ports [1, 1] Position [99, 270, 121, 290] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay6" Ports [1, 1] Position [99, 310, 121, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical" Ports [8, 1] Position [135, 25, 195, 365] ShowName off SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "8" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,261" block_type "logical" block_version "10.1.2" sg_icon_stat "60,340,1,1,white,blue,0,84119f55,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "q" Position [220, 188, 250, 202] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Delay6" SrcPort 1 DstBlock "Logical" DstPort 8 } Line { SrcBlock "Delay2" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 4 } Branch { DstBlock "Delay3" DstPort 1 } } Line { SrcBlock "d" SrcPort 1 Points [15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { DstBlock "Delay" DstPort 1 } } Line { SrcBlock "Delay5" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 7 } Branch { DstBlock "Delay6" DstPort 1 } } Line { SrcBlock "Delay4" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay5" DstPort 1 } Branch { DstBlock "Logical" DstPort 6 } } Line { SrcBlock "Delay3" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay4" DstPort 1 } Branch { DstBlock "Logical" DstPort 5 } } Line { SrcBlock "Delay1" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay2" DstPort 1 } Branch { DstBlock "Logical" DstPort 3 } } Line { SrcBlock "Delay" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay1" DstPort 1 } Branch { DstBlock "Logical" DstPort 2 } } Line { SrcBlock "Logical" SrcPort 1 DstBlock "q" DstPort 1 } } } Block { BlockType SubSystem Name "8xDebounce3" Ports [1, 1] Position [845, 286, 885, 304] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "8xDebounce3" Location [2, 74, 1910, 1156] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "d" Position [60, 48, 90, 62] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [99, 70, 121, 90] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [99, 110, 121, 130] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay2" Ports [1, 1] Position [99, 150, 121, 170] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay3" Ports [1, 1] Position [99, 190, 121, 210] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay4" Ports [1, 1] Position [99, 230, 121, 250] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay5" Ports [1, 1] Position [99, 270, 121, 290] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay6" Ports [1, 1] Position [99, 310, 121, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical" Ports [8, 1] Position [135, 25, 195, 365] ShowName off SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "8" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,261" block_type "logical" block_version "10.1.2" sg_icon_stat "60,340,1,1,white,blue,0,84119f55,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "q" Position [220, 188, 250, 202] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Logical" SrcPort 1 DstBlock "q" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 2 } Branch { DstBlock "Delay1" DstPort 1 } } Line { SrcBlock "Delay1" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 3 } Branch { DstBlock "Delay2" DstPort 1 } } Line { SrcBlock "Delay3" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 5 } Branch { DstBlock "Delay4" DstPort 1 } } Line { SrcBlock "Delay4" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 6 } Branch { DstBlock "Delay5" DstPort 1 } } Line { SrcBlock "Delay5" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay6" DstPort 1 } Branch { DstBlock "Logical" DstPort 7 } } Line { SrcBlock "d" SrcPort 1 Points [15, 0] Branch { DstBlock "Delay" DstPort 1 } Branch { DstBlock "Logical" DstPort 1 } } Line { SrcBlock "Delay2" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay3" DstPort 1 } Branch { DstBlock "Logical" DstPort 4 } } Line { SrcBlock "Delay6" SrcPort 1 DstBlock "Logical" DstPort 8 } } } Block { BlockType SubSystem Name "8xDebounce4" Ports [1, 1] Position [845, 331, 885, 349] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "8xDebounce4" Location [2, 74, 1910, 1156] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "d" Position [60, 48, 90, 62] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [99, 70, 121, 90] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [99, 110, 121, 130] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay2" Ports [1, 1] Position [99, 150, 121, 170] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay3" Ports [1, 1] Position [99, 190, 121, 210] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay4" Ports [1, 1] Position [99, 230, 121, 250] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay5" Ports [1, 1] Position [99, 270, 121, 290] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay6" Ports [1, 1] Position [99, 310, 121, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "10.1.2" sg_icon_stat "22,20,1,1,white,blue,0,fc531c0e,down" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical" Ports [8, 1] Position [135, 25, 195, 365] ShowName off SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "8" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,261" block_type "logical" block_version "10.1.2" sg_icon_stat "60,340,1,1,white,blue,0,84119f55,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "q" Position [220, 188, 250, 202] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Delay6" SrcPort 1 DstBlock "Logical" DstPort 8 } Line { SrcBlock "Delay2" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 4 } Branch { DstBlock "Delay3" DstPort 1 } } Line { SrcBlock "d" SrcPort 1 Points [15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { DstBlock "Delay" DstPort 1 } } Line { SrcBlock "Delay5" SrcPort 1 Points [0, 0] Branch { DstBlock "Logical" DstPort 7 } Branch { DstBlock "Delay6" DstPort 1 } } Line { SrcBlock "Delay4" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay5" DstPort 1 } Branch { DstBlock "Logical" DstPort 6 } } Line { SrcBlock "Delay3" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay4" DstPort 1 } Branch { DstBlock "Logical" DstPort 5 } } Line { SrcBlock "Delay1" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay2" DstPort 1 } Branch { DstBlock "Logical" DstPort 3 } } Line { SrcBlock "Delay" SrcPort 1 Points [0, 0] Branch { DstBlock "Delay1" DstPort 1 } Branch { DstBlock "Logical" DstPort 2 } } Line { SrcBlock "Logical" SrcPort 1 DstBlock "q" DstPort 1 } } } Block { BlockType Reference Name "Buttons_Big" Ports [1, 1] Position [95, 130, 160, 150] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "2" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Buttons_Small" Ports [1, 1] Position [95, 255, 160, 275] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "6" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat" Ports [5, 1] Position [1085, 135, 1145, 195] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Output wi" "ll be cast to an unsigned value with the binary point at zero." num_inputs "5" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,336,165" block_type "concat" block_version "10.1.2" sg_icon_stat "60,60,1,1,white,blue,0,b68db4a4,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14 30 " "34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54 41 " "54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 60" " 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('black');" "port_label('input',5,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [1175, 184, 1200, 206] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "1" n_bits "16" bin_pt "14" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 instruction" "s is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "25,22,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 20 2" "7 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 23 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 26 2" "6 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','COMME" "NT: end icon text');\n" } Block { BlockType Constant Name "Constant1" Position [680, 180, 710, 210] ShowName off Value "0" } Block { BlockType Constant Name "Constant10" Position [680, 280, 710, 310] ShowName off Value "0" } Block { BlockType Constant Name "Constant11" Position [680, 325, 710, 355] ShowName off Value "0" } Block { BlockType Constant Name "Constant12" Position [680, 130, 710, 160] ShowName off Value "0" } Block { BlockType Reference Name "Constant13" Ports [0, 1] Position [730, 429, 755, 451] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "1" n_bits "1" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruction" "s is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "25,22,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 20 2" "7 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 23 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 26 2" "6 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','COMME" "NT: end icon text');\n" } Block { BlockType Reference Name "Constant2" Ports [0, 1] Position [300, 159, 325, 181] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "1" n_bits "16" bin_pt "14" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 instruction" "s is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "25,22,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 20 2" "7 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 23 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 26 2" "6 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','COMME" "NT: end icon text');\n" } Block { BlockType Constant Name "Constant3" Position [25, 125, 55, 155] ShowName off Value "0" } Block { BlockType Reference Name "Constant4" Ports [0, 1] Position [300, 284, 325, 306] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "1" n_bits "16" bin_pt "14" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 instruction" "s is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "25,22,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 20 2" "7 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 23 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 26 2" "6 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','COMME" "NT: end icon text');\n" } Block { BlockType Constant Name "Constant5" Position [25, 250, 55, 280] ShowName off Value "0" } Block { BlockType Reference Name "Constant6" Ports [0, 1] Position [300, 394, 325, 416] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "1" n_bits "16" bin_pt "14" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 instruction" "s is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "25,22,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 20 2" "7 29 31 38 32 26 22 28 22 26 32 38 31 29 27 20 ],[3 7 13 19 23 23 21 23 23 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 26 2" "6 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','COMME" "NT: end icon text');\n" } Block { BlockType Constant Name "Constant7" Position [25, 360, 55, 390] ShowName off Value "0" } Block { BlockType Constant Name "Constant9" Position [680, 230, 710, 260] ShowName off Value "0" } Block { BlockType Reference Name "DIP_Switch" Ports [1, 1] Position [95, 365, 160, 385] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "4" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register" Ports [0, 1] Position [45, 477, 105, 533] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'LEDs'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "8" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,234" block_type "fromreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "LEDs" Ports [1, 1] Position [375, 495, 435, 515] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register" Ports [1, 1] Position [920, 177, 955, 213] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register1" Ports [1, 1] Position [995, 177, 1030, 213] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register10" Ports [1, 1] Position [835, 422, 870, 458] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register11" Ports [1, 1] Position [835, 472, 870, 508] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register12" Ports [1, 1] Position [835, 527, 870, 563] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register13" Ports [1, 1] Position [920, 227, 955, 263] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register14" Ports [1, 1] Position [995, 227, 1030, 263] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register15" Ports [1, 1] Position [920, 277, 955, 313] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register16" Ports [1, 1] Position [995, 277, 1030, 313] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register17" Ports [1, 1] Position [920, 322, 955, 358] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register18" Ports [1, 1] Position [995, 322, 1030, 358] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register19" Ports [1, 1] Position [920, 127, 955, 163] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register2" Ports [1, 1] Position [205, 122, 240, 158] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register20" Ports [1, 1] Position [995, 127, 1030, 163] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register3" Ports [1, 1] Position [280, 122, 315, 158] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register4" Ports [1, 1] Position [205, 247, 240, 283] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register5" Ports [1, 1] Position [280, 247, 315, 283] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register6" Ports [1, 1] Position [205, 357, 240, 393] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register7" Ports [1, 1] Position [280, 357, 315, 393] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register8" Ports [1, 1] Position [195, 487, 230, 523] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register9" Ports [1, 1] Position [270, 487, 305, 523] NamePlacement "alternate" ShowName off SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "10.1.2" sg_icon_stat "35,36,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');p" "ort_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode','on'" ");\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Terminator Name "Terminator" Position [1380, 170, 1400, 190] ShowName off } Block { BlockType Terminator Name "Terminator1" Position [510, 145, 530, 165] ShowName off } Block { BlockType Terminator Name "Terminator2" Position [505, 270, 525, 290] ShowName off } Block { BlockType Terminator Name "Terminator3" Position [505, 380, 525, 400] ShowName off } Block { BlockType Terminator Name "Terminator4" Position [505, 495, 525, 515] ShowName off } Block { BlockType Terminator Name "Terminator6" Position [1005, 430, 1025, 450] ShowName off } Block { BlockType Terminator Name "Terminator7" Position [1005, 480, 1025, 500] ShowName off } Block { BlockType Terminator Name "Terminator8" Position [1005, 535, 1025, 555] ShowName off } Block { BlockType Reference Name "To Register" Ports [2, 1] Position [1250, 152, 1310, 208] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'Trackball'" init "0" ownership "Locally owned and initialized" explicit_data_type on arith_type "Unsigned" n_bits "5" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,266" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "To Register1" Ports [2, 1] Position [380, 127, 440, 183] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'Buttons_Big'" init "0" ownership "Locally owned and initialized" explicit_data_type on arith_type "Unsigned" n_bits "2" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,266" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "To Register2" Ports [2, 1] Position [380, 252, 440, 308] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'Buttons_Small'" init "0" ownership "Locally owned and initialized" explicit_data_type on arith_type "Unsigned" n_bits "6" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,266" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "To Register3" Ports [2, 1] Position [380, 362, 440, 418] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/To Register" SourceType "Xilinx Shared Memory Based To Register Bloc" "k" infoedit "Register block that writes data to a shared" " memory register. Delay of one sample period." shared_memory_name "'DIP_Switch'" init "0" ownership "Locally owned and initialized" explicit_data_type on arith_type "Unsigned" n_bits "4" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,266" block_type "toreg" block_version "10.1.2" sg_icon_stat "60,56,1,1,white,blue,0,77cabcdf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('input',1,'din');\ncolor('black')" ";port_label('input',2,'en');\ncolor('black');port_label('output',1,'dout');\n" "fprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_OX" Ports [1, 1] Position [750, 185, 815, 205] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_OXn" Ports [1, 1] Position [750, 235, 815, 255] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_OY" Ports [1, 1] Position [750, 285, 815, 305] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_OYn" Ports [1, 1] Position [750, 330, 815, 350] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_SEL1" Ports [1, 1] Position [905, 535, 965, 555] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_SEL2" Ports [1, 1] Position [750, 135, 815, 155] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Round (unbiased: +/- Inf)" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,406" block_type "gatewayin" block_version "10.1.2" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_XSCN" Ports [1, 1] Position [905, 430, 965, 450] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Trackball_YSCN" Ports [1, 1] Position [905, 480, 965, 500] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "Buttons_Big" DstPort 1 } Line { SrcBlock "Register3" SrcPort 1 DstBlock "To Register1" DstPort 1 } Line { SrcBlock "Register2" SrcPort 1 DstBlock "Register3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "To Register1" DstPort 2 } Line { SrcBlock "Buttons_Big" SrcPort 1 DstBlock "Register2" DstPort 1 } Line { SrcBlock "Constant5" SrcPort 1 DstBlock "Buttons_Small" DstPort 1 } Line { SrcBlock "Register5" SrcPort 1 DstBlock "To Register2" DstPort 1 } Line { SrcBlock "Register4" SrcPort 1 DstBlock "Register5" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "To Register2" DstPort 2 } Line { SrcBlock "Buttons_Small" SrcPort 1 DstBlock "Register4" DstPort 1 } Line { SrcBlock "Constant7" SrcPort 1 DstBlock "DIP_Switch" DstPort 1 } Line { SrcBlock "Register7" SrcPort 1 DstBlock "To Register3" DstPort 1 } Line { SrcBlock "Register6" SrcPort 1 DstBlock "Register7" DstPort 1 } Line { SrcBlock "Constant6" SrcPort 1 DstBlock "To Register3" DstPort 2 } Line { SrcBlock "DIP_Switch" SrcPort 1 DstBlock "Register6" DstPort 1 } Line { SrcBlock "To Register3" SrcPort 1 DstBlock "Terminator3" DstPort 1 } Line { SrcBlock "To Register2" SrcPort 1 DstBlock "Terminator2" DstPort 1 } Line { SrcBlock "To Register1" SrcPort 1 DstBlock "Terminator1" DstPort 1 } Line { SrcBlock "From Register" SrcPort 1 DstBlock "Register8" DstPort 1 } Line { SrcBlock "Register8" SrcPort 1 DstBlock "Register9" DstPort 1 } Line { SrcBlock "Register9" SrcPort 1 DstBlock "LEDs" DstPort 1 } Line { SrcBlock "LEDs" SrcPort 1 DstBlock "Terminator4" DstPort 1 } Line { SrcBlock "Trackball_OX" SrcPort 1 DstBlock "8xDebounce1" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "To Register" DstPort 2 } Line { SrcBlock "Register" SrcPort 1 DstBlock "Register1" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Trackball_OX" DstPort 1 } Line { SrcBlock "To Register" SrcPort 1 DstBlock "Terminator" DstPort 1 } Line { SrcBlock "Trackball_OXn" SrcPort 1 DstBlock "8xDebounce2" DstPort 1 } Line { SrcBlock "Register13" SrcPort 1 DstBlock "Register14" DstPort 1 } Line { SrcBlock "Constant9" SrcPort 1 DstBlock "Trackball_OXn" DstPort 1 } Line { SrcBlock "Trackball_OY" SrcPort 1 DstBlock "8xDebounce3" DstPort 1 } Line { SrcBlock "Register15" SrcPort 1 DstBlock "Register16" DstPort 1 } Line { SrcBlock "Constant10" SrcPort 1 DstBlock "Trackball_OY" DstPort 1 } Line { SrcBlock "Trackball_OYn" SrcPort 1 DstBlock "8xDebounce4" DstPort 1 } Line { SrcBlock "Register17" SrcPort 1 DstBlock "Register18" DstPort 1 } Line { SrcBlock "Constant11" SrcPort 1 DstBlock "Trackball_OYn" DstPort 1 } Line { SrcBlock "Register10" SrcPort 1 DstBlock "Trackball_XSCN" DstPort 1 } Line { SrcBlock "Register11" SrcPort 1 DstBlock "Trackball_YSCN" DstPort 1 } Line { SrcBlock "Trackball_XSCN" SrcPort 1 DstBlock "Terminator6" DstPort 1 } Line { SrcBlock "Trackball_YSCN" SrcPort 1 DstBlock "Terminator7" DstPort 1 } Line { SrcBlock "Constant13" SrcPort 1 Points [35, 0] Branch { DstBlock "Register10" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "Register11" DstPort 1 } Branch { Points [0, 55] DstBlock "Register12" DstPort 1 } } } Line { SrcBlock "Constant12" SrcPort 1 DstBlock "Trackball_SEL2" DstPort 1 } Line { SrcBlock "Trackball_SEL2" SrcPort 1 DstBlock "8xDebounce" DstPort 1 } Line { SrcBlock "Register19" SrcPort 1 DstBlock "Register20" DstPort 1 } Line { SrcBlock "Register20" SrcPort 1 DstBlock "Concat" DstPort 1 } Line { SrcBlock "Register1" SrcPort 1 Points [10, 0; 0, -40] DstBlock "Concat" DstPort 2 } Line { SrcBlock "Register14" SrcPort 1 Points [15, 0; 0, -80] DstBlock "Concat" DstPort 3 } Line { SrcBlock "Register16" SrcPort 1 Points [20, 0; 0, -120] DstBlock "Concat" DstPort 4 } Line { SrcBlock "Register18" SrcPort 1 Points [25, 0; 0, -155] DstBlock "Concat" DstPort 5 } Line { SrcBlock "Concat" SrcPort 1 DstBlock "To Register" DstPort 1 } Line { SrcBlock "Register12" SrcPort 1 DstBlock "Trackball_SEL1" DstPort 1 } Line { SrcBlock "Trackball_SEL1" SrcPort 1 DstBlock "Terminator8" DstPort 1 } Line { SrcBlock "8xDebounce" SrcPort 1 DstBlock "Register19" DstPort 1 } Line { SrcBlock "8xDebounce1" SrcPort 1 DstBlock "Register" DstPort 1 } Line { SrcBlock "8xDebounce2" SrcPort 1 DstBlock "Register13" DstPort 1 } Line { SrcBlock "8xDebounce3" SrcPort 1 DstBlock "Register15" DstPort 1 } Line { SrcBlock "8xDebounce4" SrcPort 1 DstBlock "Register17" DstPort 1 } Annotation { Name "Trackball has six mechanical switches:\nScr" "olling:\n Up shorts YSCN-OY\n Down shorts YSCN-OYn\n Right shorts XSCN-OX" "\n Left shorts XSCN-OXn\nPushing the ball shorts SEL1-SEL2\n\nThe board has " "1K pulldown resistors on\nOX,OXn,OY,OYn,SEL2" Position [830, 677] HorizontalAlignment "left" } } } Block { BlockType SubSystem Name "LCD Controller" Ports [] Position [125, 15, 175, 43] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "LCD Controller" Location [52, 87, 1757, 1074] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Reference Name "CS" Ports [1, 1] Position [1475, 440, 1535, 460] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "CommandROM" Ports [4, 3] Position [640, 307, 840, 538] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "CommandROM" Location [558, 165, 923, 397] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "105" Block { BlockType Inport Name "SendCmds" Position [55, 243, 85, 257] IconDisplay "Port number" } Block { BlockType Inport Name "TransferDone" Position [55, 273, 85, 287] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "TotalNoOfCmds" Position [435, 403, 465, 417] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "Reset" Position [370, 228, 400, 242] Port "4" IconDisplay "Port number" } Block { BlockType Reference Name "Accumulator" Ports [3, 1] Position [505, 316, 565, 374] SourceBlock "xbsIndex_r4/Accumulator" SourceType "Xilinx Accumulator Block" infoedit "Adder or subtractor-based accumulator. " " Output type and binary point position match the input.

Hardware notes:" " When \"Reinitialize with input 'b' on reset\" is selected, the accumulator i" "s forced to run at the system rate even if the input 'b' is running at a slow" "er rate." operation "Add" n_bits "7" overflow "Wrap" scale "1" rst on hasbypass off en on dbl_ovrd off use_behavioral_HDL on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,449" block_type "accum" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,ccf906bf,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 5 15" " 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 54 54" " 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'b');\ncolor('black" "');port_label('input',2,'rst');\ncolor('black');port_label('input',3,'en');\n" "color('black');port_label('output',1,'q');\nfprintf('','COMMENT: end icon tex" "t');\n" } Block { BlockType Reference Name "Accumulator1" Ports [2, 1] Position [1265, 736, 1325, 794] SourceBlock "xbsIndex_r4/Accumulator" SourceType "Xilinx Accumulator Block" infoedit "Adder or subtractor-based accumulator. " " Output type and binary point position match the input.

Hardware notes:" " When \"Reinitialize with input 'b' on reset\" is selected, the accumulator i" "s forced to run at the system rate even if the input 'b' is running at a slow" "er rate." operation "Add" n_bits "4" overflow "Wrap" scale "1" rst on hasbypass off en off dbl_ovrd off use_behavioral_HDL on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,449" block_type "accum" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,1b1827f6,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 5 15" " 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 54 54" " 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'b');\ncolor('black" "');port_label('input',2,'rst');\ncolor('black');port_label('output',1,'q');\n" "fprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "AddSub" Ports [2, 1] Position [530, 396, 590, 454] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Subtraction" use_carryin off use_carryout off en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "addsub" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,46b4c804,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 5 15" " 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 54 54" " 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf{a -" " b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Command Memory" Ports [1, 1] Position [1050, 216, 1170, 254] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Command Memory" Location [871, 268, 1217, 496] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Addr_9b" Position [250, 253, 280, 267] IconDisplay "Port number" } Block { BlockType Reference Name "16LSB" Ports [1, 1] Position [740, 228, 780, 242] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "16" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "16MSB" Ports [1, 1] Position [740, 283, 780, 297] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "16" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "MSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8MSB" Ports [1, 1] Position [410, 253, 450, 267] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [490, 277, 520, 303] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "32" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "30,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant1" Ports [0, 1] Position [490, 307, 520, 333] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "0" n_bits "8" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "30,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "LSB" Ports [1, 1] Position [410, 173, 450, 187] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux" Ports [3, 1] Position [835, 150, 880, 320] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,303" block_type "mux" block_version "8.2.02" sg_icon_stat "45,170,1,1,white,blue,3,613f58e1,ri" "ght" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npat" "ch([10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 " "63 70 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\np" "lot([0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end ico" "n graphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_l" "abel('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('bl" "ack');port_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on" "');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Shared Memory" Ports [3, 1] Position [570, 245, 650, 335] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/Shared Memory" SourceType "Xilinx Shared Memory Random Access " "Memory Block" shared_memory_name "'LCD_Commands'" depth "2^8 % 2^9" ownership "Locally Owned and Initialized" initVector "sharedMem_commands_init" mutex "Unprotected" mode "Read and Write" write_mode "Read After Write" time_out "0" latency "1" explicit_data_type on arith_type "Unsigned" n_bits "32" bin_pt "0" xl_use_area off xl_area "[0,0,0,0,0,0,0]" implementation "Block RAM" use_rpm "off" has_advanced_control "0" sggui_pos "20,20,384,381" block_type "shmem" block_version "10.1.2" sg_icon_stat "80,90,1,1,white,blue,0,e2c38f9a,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 80 80 0 ],[0 0 90 90 ],[0.77 0.82 0.91]);\npatch([18 5 24 " "5 18 39 45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[14 27 46 65 78 78 72 " "78 78 60 77 65 46 27 15 32 14 14 20 14 14 ],[0.98 0.96 0.92]);\nplot([0 80 80" " 0 0 ],[0 0 90 90 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('" "','COMMENT: begin icon text');\ncolor('black');port_label('input',1,'addr');" "\ncolor('black');port_label('input',2,'din');\ncolor('black');port_label('inp" "ut',3,'we');\ncolor('black');port_label('output',1,'dout');\nfprintf('','COMM" "ENT: end icon text');\n" } Block { BlockType Outport Name "Data_16b" Position [980, 228, 1010, 242] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Shared Memory" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Shared Memory" DstPort 3 } Line { SrcBlock "LSB" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Data_16b" DstPort 1 } Line { SrcBlock "Addr_9b" SrcPort 1 Points [70, 0] Branch { Points [0, -80] DstBlock "LSB" DstPort 1 } Branch { DstBlock "8MSB" DstPort 1 } } Line { SrcBlock "Shared Memory" SrcPort 1 Points [45, 0] Branch { DstBlock "16MSB" DstPort 1 } Branch { Points [0, -55] DstBlock "16LSB" DstPort 1 } } Line { SrcBlock "16MSB" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "16LSB" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "8MSB" SrcPort 1 DstBlock "Shared Memory" DstPort 1 } } } Block { BlockType Reference Name "Concat" Ports [2, 1] Position [890, 205, 950, 265] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,336,165" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat2" Ports [2, 1] Position [1900, 430, 1960, 490] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant11" Ports [0, 1] Position [1525, 627, 1580, 653] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "hex2dec('15C')" n_bits "9" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,3a5ddb87,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'348');\nfprintf(''," "'COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant2" Ports [0, 1] Position [665, 532, 720, 558] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "0" n_bits "16" bin_pt "14" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant3" Ports [0, 1] Position [445, 442, 500, 468] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "1" n_bits "1" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant4" Ports [0, 1] Position [960, 702, 1015, 728] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "8" n_bits "4" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,35d8d1e2,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'8');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant5" Ports [0, 1] Position [1525, 327, 1580, 353] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "hex2dec('115')" n_bits "9" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,5adc856b,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'277');\nfprintf(''," "'COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant6" Ports [0, 1] Position [1525, 477, 1580, 503] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "hex2dec('175')" n_bits "9" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,8987f239,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'373');\nfprintf(''," "'COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert" Ports [1, 1] Position [400, 310, 445, 340] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "45,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert1" Ports [1, 1] Position [1200, 750, 1235, 780] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "35,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert2" Ports [1, 1] Position [1500, 880, 1545, 910] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "1" bin_pt "0" quantization "Truncate" overflow "Wrap" latency "5" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "45,30,1,1,white,blue,0,aac82443,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\ncolor('bl" "ack');disp('\\newlinez^{-5}','texmode','on');\nfprintf('','COMMENT: end icon " "text');\n" } Block { BlockType Reference Name "Counter" Ports [2, 1] Position [435, 220, 495, 280] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters a" "re the least expensive in hardware. A count limited counter is implemented b" "y combining a counter with a comparator." cnt_type "Free Running" cnt_to "Inf" operation "Up" start_count "127" cnt_by_val "1" arith_type "Unsigned" n_bits "7" bin_pt "0" load_pin off rst on en on explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,630" block_type "counter" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,46c73e85,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('bla" "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'out')" ";\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Counter1" Ports [2, 1] Position [1135, 865, 1195, 925] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters a" "re the least expensive in hardware. A count limited counter is implemented b" "y combining a counter with a comparator." cnt_type "Count Limited" cnt_to "17435" operation "Up" start_count "0" cnt_by_val "1" arith_type "Unsigned" n_bits "15" bin_pt "0" load_pin off rst on en on explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,630" block_type "counter" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,46c73e85,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('bla" "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'out')" ";\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [245, 277, 305, 333] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop. If register retimin" "g is enabled, the delay line is a chain of flip-flops." en off latency "4" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,256" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,c2217bc4,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-4}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register1" Ports [0, 1] Position [1440, 365, 1485, 415] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_FirstStart'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register2" Ports [0, 1] Position [1525, 400, 1570, 450] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_FirstEnd'" init "131" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register3" Ports [0, 1] Position [1535, 665, 1580, 715] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_BackgroundColor'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register4" Ports [0, 1] Position [1440, 515, 1485, 565] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_SecondStart'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register5" Ports [0, 1] Position [1525, 545, 1570, 595] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_SecondEnd'" init "131" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register6" Ports [0, 1] Position [775, 195, 820, 245] NamePlacement "alternate" ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_ConfigLocation'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "2" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter1" Ports [1, 1] Position [1800, 406, 1855, 464] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Inverter2" Ports [1, 1] Position [735, 401, 790, 459] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [130, 235, 185, 295] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,f4a65842,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical1" Ports [2, 1] Position [370, 360, 425, 420] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','texm" "ode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical2" Ports [2, 1] Position [1005, 750, 1060, 810] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','texm" "ode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical3" Ports [2, 1] Position [1120, 735, 1175, 795] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','texm" "ode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux1" Ports [3, 1] Position [750, 493, 795, 597] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,613f58e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');" "\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux2" Ports [3, 1] Position [1070, 538, 1115, 642] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,613f58e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');" "\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux3" Ports [10, 1] Position [1610, 218, 1655, 712] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "9" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,494,1,1,white,blue,3,62ea264b,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');port_label('input',4,'d2');\nco" "lor('black');port_label('input',5,'d3');\ncolor('black');port_label('input',6" ",'d4');\ncolor('black');port_label('input',7,'d5');\ncolor('black');port_labe" "l('input',8,'d6');\ncolor('black');port_label('input',9,'d7');\ncolor('black'" ");port_label('input',10,'d8');\ncolor('black');disp('\\bf{}','texmode','on');" "\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Neg Edge Detector" Ports [1, 1] Position [1340, 864, 1465, 926] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Neg Edge Detector" Location [971, 353, 1386, 494] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Input Signal" Position [25, 33, 55, 47] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [170, 57, 230, 113] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a c" "hain, each link of which is an SRL16 followed by a flip-flop. If register ret" "iming is enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,fc531c0e,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 " "6 15 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 5" "0 50 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 0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [100, 56, 155, 114] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's com" "plement) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,237" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 5" "1 51 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: e" "nd icon text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [280, 25, 335, 85] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "NOR" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,0f2a8a4d,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlinenor\\newlinez^{-0}','" "texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Rising Edge" Position [385, 48, 415, 62] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Input Signal" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { Points [0, 45] DstBlock "Inverter" DstPort 1 } } Line { SrcBlock "Delay" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Logical" DstPort 2 } Line { SrcBlock "Inverter" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Logical" SrcPort 1 DstBlock "Rising Edge" DstPort 1 } } } Block { BlockType Reference Name "Register" Ports [3, 1] Position [1585, 887, 1645, 943] SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst on en on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,923c1847,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black" "');port_label('input',2,'rst');\ncolor('black');port_label('input',3,'en');\n" "color('black');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}" "','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational" Ports [2, 1] Position [630, 362, 685, 418] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator B" "lock" mode "a<=b" en off latency "1" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "relational" block_version "8.2.02" sg_icon_stat "55,56,1,1,white,blue,0,8e8b0a36,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50" " 38 50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a<=b}\\newl" "inez^{-1}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational1" Ports [2, 1] Position [1035, 672, 1090, 728] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator B" "lock" mode "a

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice3" Ports [1, 1] Position [1715, 420, 1775, 450] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "8" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice4" Ports [1, 1] Position [1235, 880, 1295, 910] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "1" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice5" Ports [1, 1] Position [1430, 275, 1490, 305] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "9" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Outport Name "DataToSend" Position [2005, 453, 2035, 467] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "StartTransfer" Position [1165, 583, 1195, 597] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "CmdsDone" Position [1695, 908, 1725, 922] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "From Register6" SrcPort 1 DstBlock "Concat" DstPort 1 } Line { SrcBlock "Concat" SrcPort 1 DstBlock "Command Memory" DstPort 1 } Line { SrcBlock "Slice3" SrcPort 1 DstBlock "Inverter1" DstPort 1 } Line { SrcBlock "Inverter1" SrcPort 1 Points [5, 0; 0, 10] DstBlock "Concat2" DstPort 1 } Line { SrcBlock "Slice2" SrcPort 1 Points [90, 0; 0, -10] DstBlock "Concat2" DstPort 2 } Line { SrcBlock "SendCmds" SrcPort 1 Points [15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { Points [0, 95] DstBlock "Accumulator" DstPort 2 } } Line { SrcBlock "TransferDone" SrcPort 1 Points [5, 0] Branch { DstBlock "Logical" DstPort 2 } Branch { Points [0, 515] DstBlock "Logical2" DstPort 2 } } Line { SrcBlock "Logical" SrcPort 1 Points [40, 0] Branch { DstBlock "Delay" DstPort 1 } Branch { DstBlock "Counter" DstPort 2 } } Line { SrcBlock "Reset" SrcPort 1 Points [0, 0] DstBlock "Counter" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 Points [25, 0; 0, 20] Branch { DstBlock "Convert" DstPort 1 } Branch { Points [0, 50] Branch { DstBlock "Logical1" DstPort 1 } Branch { Points [0, 205; 365, 0] Branch { DstBlock "Mux1" DstPort 3 } Branch { Points [0, 45] DstBlock "Mux2" DstPort 3 } } } } Line { SrcBlock "Accumulator" SrcPort 1 Points [20, 0; 0, 30] DstBlock "Relational" DstPort 1 } Line { SrcBlock "Relational" SrcPort 1 Points [15, 0; 0, 40] Branch { DstBlock "Inverter2" DstPort 1 } Branch { Points [0, 55] Branch { Points [0, 25] DstBlock "Mux1" DstPort 1 } Branch { Points [-360, 0; 0, -80] DstBlock "Logical1" DstPort 2 } } } Line { SrcBlock "Convert" SrcPort 1 DstBlock "Accumulator" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "AddSub" SrcPort 1 Points [10, 0; 0, -20] DstBlock "Relational" DstPort 2 } Line { SrcBlock "TotalNoOfCmds" SrcPort 1 DstBlock "AddSub" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [5, 0; 0, -15] DstBlock "AddSub" DstPort 2 } Line { SrcBlock "Inverter2" SrcPort 1 Points [110, 0; 0, 125] Branch { Points [0, 210] DstBlock "Logical2" DstPort 1 } Branch { DstBlock "Mux2" DstPort 1 } } Line { SrcBlock "Logical1" SrcPort 1 Points [30, 0; 0, -25] DstBlock "Accumulator" DstPort 3 } Line { SrcBlock "Logical2" SrcPort 1 Points [15, 0] Branch { DstBlock "Logical3" DstPort 2 } Branch { Points [0, 130] DstBlock "Counter1" DstPort 2 } } Line { SrcBlock "Accumulator1" SrcPort 1 Points [25, 0] Branch { Points [0, -110; -340, 0; 0, 30] DstBlock "Relational1" DstPort 1 } Branch { Points [150, 0; 0, -525] DstBlock "Mux3" DstPort 1 } } Line { SrcBlock "Relational1" SrcPort 1 Points [5, 0; 0, 50] DstBlock "Logical3" DstPort 1 } Line { SrcBlock "Logical3" SrcPort 1 DstBlock "Convert1" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "Relational1" DstPort 2 } Line { SrcBlock "Convert1" SrcPort 1 Points [10, 0] DstBlock "Accumulator1" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "StartTransfer" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 Points [70, 0; 0, 45] DstBlock "Mux2" DstPort 2 } Line { SrcBlock "Counter1" SrcPort 1 DstBlock "Slice4" DstPort 1 } Line { SrcBlock "Neg Edge Detector" SrcPort 1 DstBlock "Convert2" DstPort 1 } Line { SrcBlock "Register" SrcPort 1 DstBlock "CmdsDone" DstPort 1 } Line { SrcBlock "Slice4" SrcPort 1 DstBlock "Neg Edge Detector" DstPort 1 } Line { SrcBlock "Convert2" SrcPort 1 Points [5, 0] Branch { DstBlock "Register" DstPort 1 } Branch { Points [0, 40] DstBlock "Register" DstPort 3 } } Line { SrcBlock "Reset1" SrcPort 1 Points [25, 0; 0, -50] DstBlock "Register" DstPort 2 } Line { SrcBlock "Reset2" SrcPort 1 DstBlock "Counter1" DstPort 1 } Line { SrcBlock "Reset3" SrcPort 1 Points [0, -30] DstBlock "Accumulator1" DstPort 2 } Line { SrcBlock "Constant5" SrcPort 1 DstBlock "Mux3" DstPort 3 } Line { SrcBlock "From Register1" SrcPort 1 DstBlock "Mux3" DstPort 4 } Line { SrcBlock "From Register2" SrcPort 1 Points [0, 15] DstBlock "Mux3" DstPort 5 } Line { SrcBlock "Constant6" SrcPort 1 DstBlock "Mux3" DstPort 6 } Line { SrcBlock "From Register4" SrcPort 1 DstBlock "Mux3" DstPort 7 } Line { SrcBlock "From Register5" SrcPort 1 Points [10, 0; 0, 20] DstBlock "Mux3" DstPort 8 } Line { SrcBlock "Slice5" SrcPort 1 DstBlock "Mux3" DstPort 2 } Line { SrcBlock "Mux3" SrcPort 1 Points [0, -10; 20, 0] Branch { Points [0, -20] DstBlock "Slice3" DstPort 1 } Branch { Points [0, 30] DstBlock "Slice2" DstPort 1 } } Line { SrcBlock "Concat2" SrcPort 1 DstBlock "DataToSend" DstPort 1 } Line { SrcBlock "Constant11" SrcPort 1 DstBlock "Mux3" DstPort 9 } Line { SrcBlock "From Register3" SrcPort 1 DstBlock "Mux3" DstPort 10 } Line { SrcBlock "Command Memory" SrcPort 1 Points [120, 0; 0, 55] DstBlock "Slice5" DstPort 1 } Line { SrcBlock "Counter" SrcPort 1 DstBlock "Concat" DstPort 2 } Annotation { Name "We invert the first bit because 0 means" " command and 1 is data\nThe user inputs the opposite in the PowerPC" Position [1532, 208] } } } Block { BlockType Reference Name "Convert" Ports [1, 1] Position [1200, 435, 1245, 465] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating req" "uire hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "45,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 15 2" "3 25 27 35 28 22 17 23 17 22 28 35 27 25 23 15 ],[3 8 15 22 27 27 25 27 27 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 30 " "30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg" "in icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert1" Ports [1, 1] Position [315, 845, 355, 875] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating req" "uire hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,461,375" block_type "convert" block_version "8.2.02" sg_icon_stat "40,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 15 2" "3 25 27 35 28 22 17 23 17 22 28 35 27 25 23 15 ],[3 8 15 22 27 27 25 27 27 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 30 " "30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg" "in icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert2" Ports [1, 1] Position [270, 325, 315, 355] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating req" "uire hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "45,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 15 2" "3 25 27 35 28 22 17 23 17 22 28 35 27 25 23 15 ],[3 8 15 22 27 27 25 27 27 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 30 " "30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg" "in icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType SubSystem Name "DataROM" Ports [3, 2] Position [640, 662, 840, 898] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "DataROM" Location [412, 77, 1856, 1062] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "105" Block { BlockType Inport Name "TransferDone" Position [600, 813, 630, 827] IconDisplay "Port number" } Block { BlockType Inport Name "CmdsDone" Position [600, 843, 630, 857] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Reset" Position [60, 368, 90, 382] NamePlacement "alternate" Port "3" IconDisplay "Port number" } Block { BlockType Reference Name "4LSB" Ports [1, 1] Position [575, 421, 620, 439] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "4" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "45,18,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 18 18 ],[0.77 0.82 0.91]);\npatch([18 15 19 15 " "18 23 24 25 30 26 22 19 23 19 22 26 30 25 24 23 18 ],[2 5 9 13 16 16 15 16 16" " 12 16 13 9 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 45 45 0 0 ],[0 0 18" " 18 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(''," "'COMMENT: end icon text');\n" } Block { BlockType Reference Name "4MSB" Ports [1, 1] Position [575, 381, 620, 399] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "4" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "45,18,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 18 18 ],[0.77 0.82 0.91]);\npatch([18 15 19 15 " "18 23 24 25 30 26 22 19 23 19 22 26 30 25 24 23 18 ],[2 5 9 13 16 16 15 16 16" " 12 16 13 9 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 45 45 0 0 ],[0 0 18" " 18 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(''," "'COMMENT: end icon text');\n" } Block { BlockType Reference Name "AddSub1" Ports [2, 1] Position [690, 346, 750, 404] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Addition" use_carryin off use_carryout off en off latency "0" precision "User Defined" arith_type "Unsigned" n_bits "4" bin_pt "0" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,307" block_type "addsub" block_version "10.1.2" sg_icon_stat "60,58,1,1,white,blue,0,36a47907,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 5 15" " 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 54 54" " 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf{a +" " b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "AddSub2" Ports [2, 1] Position [690, 416, 750, 474] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Addition" use_carryin off use_carryout off en off latency "0" precision "User Defined" arith_type "Unsigned" n_bits "4" bin_pt "0" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,307" block_type "addsub" block_version "10.1.2" sg_icon_stat "60,58,1,1,white,blue,0,36a47907,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 5 15" " 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 54 54" " 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf{a +" " b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Character Buffer\nShared Memory" Ports [1, 1] Position [995, 356, 1095, 394] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Character Buffer\nShared Memory" Location [684, 176, 986, 377] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "181" Block { BlockType Inport Name "Addr_11b" Position [15, 93, 45, 107] IconDisplay "Port number" } Block { BlockType Reference Name "2LSB" Ports [1, 1] Position [280, 43, 320, 57] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "2" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+0" Ports [1, 1] Position [700, 183, 740, 197] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+16" Ports [1, 1] Position [700, 113, 740, 127] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "16" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+24" Ports [1, 1] Position [700, 78, 740, 92] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "24" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+8" Ports [1, 1] Position [700, 148, 740, 162] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "8" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "9MSB" Ports [1, 1] Position [280, 153, 320, 167] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "9" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "MSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [285, 177, 315, 203] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "32" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "30,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant1" Ports [0, 1] Position [285, 207, 315, 233] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "0" n_bits "8" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "30,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux" Ports [5, 1] Position [775, 35, 820, 205] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "4" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,303" block_type "mux" block_version "8.2.02" sg_icon_stat "45,170,1,1,white,blue,3,27e96ab5,ri" "ght" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npat" "ch([10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 " "63 70 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\np" "lot([0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end ico" "n graphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_l" "abel('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('bl" "ack');port_label('input',3,'d1');\ncolor('black');port_label('input',4,'d2');" "\ncolor('black');port_label('input',5,'d3');\ncolor('black');disp('\\bf{}','t" "exmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Shared Memory" Ports [3, 1] Position [365, 145, 445, 235] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/Shared Memory" SourceType "Xilinx Shared Memory Random Access " "Memory Block" shared_memory_name "'LCD_Characters'" depth "2^9 % 2^11" ownership "Locally Owned and Initialized" initVector "sharedMem_characters_init" mutex "Unprotected" mode "Read and Write" write_mode "Read After Write" time_out "0" latency "1" explicit_data_type on arith_type "Unsigned" n_bits "32" bin_pt "0" xl_use_area off xl_area "[0,0,0,0,0,0,0]" implementation "Block RAM" use_rpm "off" has_advanced_control "0" sggui_pos "321,494,384,381" block_type "shmem" block_version "10.1.2" sg_icon_stat "80,90,1,1,white,blue,0,e2c38f9a,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 80 80 0 ],[0 0 90 90 ],[0.77 0.82 0.91]);\npatch([18 5 24 " "5 18 39 45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[14 27 46 65 78 78 72 " "78 78 60 77 65 46 27 15 32 14 14 20 14 14 ],[0.98 0.96 0.92]);\nplot([0 80 80" " 0 0 ],[0 0 90 90 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('" "','COMMENT: begin icon text');\ncolor('black');port_label('input',1,'addr');" "\ncolor('black');port_label('input',2,'din');\ncolor('black');port_label('inp" "ut',3,'we');\ncolor('black');port_label('output',1,'dout');\nfprintf('','COMM" "ENT: end icon text');\n" } Block { BlockType Outport Name "Data_8b" Position [885, 113, 915, 127] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Shared Memory" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Shared Memory" DstPort 3 } Line { SrcBlock "Shared Memory" SrcPort 1 Points [210, 0] Branch { Points [0, -35] Branch { Points [0, -35] Branch { DstBlock "8LSB+16" DstPort 1 } Branch { Points [0, -35] DstBlock "8LSB+24" DstPort 1 } } Branch { DstBlock "8LSB+8" DstPort 1 } } Branch { DstBlock "8LSB+0" DstPort 1 } } Line { SrcBlock "2LSB" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "8LSB+24" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "8LSB+16" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "8LSB+8" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "8LSB+0" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "9MSB" SrcPort 1 DstBlock "Shared Memory" DstPort 1 } Line { SrcBlock "Addr_11b" SrcPort 1 Points [150, 0] Branch { Points [0, -50] DstBlock "2LSB" DstPort 1 } Branch { Points [0, 60] DstBlock "9MSB" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Data_8b" DstPort 1 } Annotation { Name "We want this memory block to be 32-" "bits on the PLB46,\nso user code can write it efficiently. But the logic in t" "his\nmodel wants byte-addressable memory, so we decode\nthe 2LSB of the addre" "ss here." Position [417, 324] } } } Block { BlockType SubSystem Name "Character Map\nShared Memory" Ports [1, 1] Position [1300, 417, 1390, 453] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Character Map\nShared Memory" Location [1847, 723, 2806, 1348] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "147" Block { BlockType Inport Name "Addr_14b" Position [100, 268, 130, 282] IconDisplay "Port number" } Block { BlockType Reference Name "12MSB" Ports [1, 1] Position [220, 268, 260, 282] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "12" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "MSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "2LSB" Ports [1, 1] Position [220, 158, 260, 172] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "2" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+0" Ports [1, 1] Position [550, 298, 590, 312] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+16" Ports [1, 1] Position [550, 228, 590, 242] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "16" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+24" Ports [1, 1] Position [550, 193, 590, 207] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "24" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "8LSB+8" Ports [1, 1] Position [550, 263, 590, 277] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "8" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "40,14,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [225, 292, 255, 318] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "32" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "30,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant1" Ports [0, 1] Position [225, 322, 255, 348] ShowName off SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Boolean" const "0" n_bits "8" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,400,346" block_type "constant" block_version "10.1.2" sg_icon_stat "30,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux" Ports [5, 1] Position [625, 150, 670, 320] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "4" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,303" block_type "mux" block_version "8.2.02" sg_icon_stat "45,170,1,1,white,blue,3,27e96ab5,ri" "ght" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npat" "ch([10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 " "63 70 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\np" "lot([0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end ico" "n graphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_l" "abel('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('bl" "ack');port_label('input',3,'d1');\ncolor('black');port_label('input',4,'d2');" "\ncolor('black');port_label('input',5,'d3');\ncolor('black');disp('\\bf{}','t" "exmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Shared Memory" Ports [3, 1] Position [305, 260, 385, 350] AttributesFormatString "<< % >>" SourceBlock "xbsIndex_r4/Shared Memory" SourceType "Xilinx Shared Memory Random Access " "Memory Block" shared_memory_name "'LCD_CharacterMap'" depth "2^12 % 2^14" ownership "Locally Owned and Initialized" initVector "sharedMem_charactermap_init" mutex "Unprotected" mode "Read and Write" write_mode "Read After Write" time_out "0" latency "1" explicit_data_type on arith_type "Unsigned" n_bits "32" bin_pt "0" xl_use_area off xl_area "[0,0,0,0,0,0,0]" implementation "Block RAM" use_rpm "off" has_advanced_control "0" sggui_pos "321,494,384,381" block_type "shmem" block_version "10.1.2" sg_icon_stat "80,90,1,1,white,blue,0,e2c38f9a,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 80 80 0 ],[0 0 90 90 ],[0.77 0.82 0.91]);\npatch([18 5 24 " "5 18 39 45 51 74 56 39 27 46 27 39 56 74 51 45 39 18 ],[14 27 46 65 78 78 72 " "78 78 60 77 65 46 27 15 32 14 14 20 14 14 ],[0.98 0.96 0.92]);\nplot([0 80 80" " 0 0 ],[0 0 90 90 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('" "','COMMENT: begin icon text');\ncolor('black');port_label('input',1,'addr');" "\ncolor('black');port_label('input',2,'din');\ncolor('black');port_label('inp" "ut',3,'we');\ncolor('black');port_label('output',1,'dout');\nfprintf('','COMM" "ENT: end icon text');\n" } Block { BlockType Outport Name "Data_8b" Position [785, 228, 815, 242] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Shared Memory" SrcPort 1 Points [110, 0] Branch { Points [0, -35] Branch { Points [0, -35] Branch { DstBlock "8LSB+16" DstPort 1 } Branch { Points [0, -35] DstBlock "8LSB+24" DstPort 1 } } Branch { DstBlock "8LSB+8" DstPort 1 } } Branch { DstBlock "8LSB+0" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Shared Memory" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Shared Memory" DstPort 3 } Line { SrcBlock "2LSB" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Addr_14b" SrcPort 1 Points [55, 0] Branch { DstBlock "12MSB" DstPort 1 } Branch { Points [0, -110] DstBlock "2LSB" DstPort 1 } } Line { SrcBlock "8LSB+24" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "8LSB+16" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "8LSB+8" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "8LSB+0" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "12MSB" SrcPort 1 DstBlock "Shared Memory" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Data_8b" DstPort 1 } Annotation { Name "We want this memory block to be 32-" "bits on the PLB46,\nso user code can write it efficiently. But the logic in t" "his\nmodel wants byte-addressable memory, so we decode\nthe 2LSB of the addre" "ss here." Position [337, 69] } } } Block { BlockType Reference Name "Concat" Ports [2, 1] Position [1175, 405, 1235, 465] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat1" Ports [3, 1] Position [855, 345, 915, 405] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "3" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,336,165" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,97cf21e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',3,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat3" Ports [2, 1] Position [495, 620, 555, 680] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat4" Ports [2, 1] Position [2230, 555, 2290, 615] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat5" Ports [2, 1] Position [1555, 485, 1615, 545] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. Outpu" "t will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('blac" "k');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant10" Ports [0, 1] Position [1470, 462, 1525, 488] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "1" bin_pt "0" explicit_period off period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant4" Ports [0, 1] Position [225, 607, 280, 633] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "1" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant5" Ports [0, 1] Position [225, 737, 280, 763] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "1" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant6" Ports [0, 1] Position [580, 657, 635, 683] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "3" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant7" Ports [0, 1] Position [580, 697, 635, 723] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "4" n_bits "3" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,b20b18e0,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'4');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant8" Ports [0, 1] Position [580, 737, 635, 763] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "1" n_bits "3" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,06094819,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'1');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant9" Ports [0, 1] Position [960, 782, 1015, 808] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "1" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert" Ports [1, 1] Position [405, 620, 450, 650] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "45,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert1" Ports [1, 1] Position [395, 700, 440, 730] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "45,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Counter" Ports [3, 1] Position [945, 660, 1005, 720] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters a" "re the least expensive in hardware. A count limited counter is implemented b" "y combining a counter with a comparator." cnt_type "Free Running" cnt_to "Inf" operation "Up" start_count "0" cnt_by_val "1" arith_type "Unsigned" n_bits "3" bin_pt "0" load_pin on rst off en on explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,630" block_type "counter" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,904db1eb,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'load');\ncolor('bl" "ack');port_label('input',2,'din');\ncolor('black');port_label('input',3,'en')" ";\ncolor('black');port_label('output',1,'out');\nfprintf('','COMMENT: end ico" "n text');\n" } Block { BlockType Reference Name "Counter1" Ports [2, 1] Position [125, 360, 185, 420] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters a" "re the least expensive in hardware. A count limited counter is implemented b" "y combining a counter with a comparator." cnt_type "Free Running" cnt_to "Inf" operation "Up" start_count "2^14-1" cnt_by_val "1" arith_type "Unsigned" n_bits "14" bin_pt "0" load_pin off rst on en on explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,630" block_type "counter" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,46c73e85,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('bla" "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'out')" ";\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [1015, 952, 1075, 1008] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop. If register retimin" "g is enabled, the delay line is a chain of flip-flops." en off latency "4" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,256" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,c2217bc4,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-4}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register1" Ports [0, 1] Position [1675, 595, 1720, 645] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_ColSet'" init "hex2dec('175')" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register2" Ports [0, 1] Position [1675, 700, 1720, 750] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_RamWrite'" init "hex2dec('15C')" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register3" Ports [0, 1] Position [1670, 490, 1715, 540] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_RowSet'" init "hex2dec('115')" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "9" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register4" Ports [0, 1] Position [730, 285, 775, 335] NamePlacement "alternate" ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_CharactersSelect'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "3" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register5" Ports [0, 1] Position [465, 435, 510, 485] NamePlacement "alternate" ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_CharacterOffset'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "4" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register7" Ports [0, 1] Position [555, 320, 600, 370] NamePlacement "alternate" ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Registe" "r Block" infoedit "Register block that reads data to a sha" "red memory register. Delay of one sample period." shared_memory_name "'LCD_LineOffset'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "4" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter2" Ports [1, 1] Position [845, 804, 890, 846] Orientation "left" SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "8.2.02" sg_icon_stat "45,42,1,1,white,blue,0,1ab4a85f,left" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Inverter3" Ports [1, 1] Position [2130, 531, 2185, 589] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [670, 805, 725, 865] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','texm" "ode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical1" Ports [2, 1] Position [1135, 810, 1190, 870] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','texm" "ode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux2" Ports [5, 1] Position [690, 638, 735, 742] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "4" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,27e96ab5,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');port_label('input',4,'d2');\nco" "lor('black');port_label('input',5,'d3');\ncolor('black');disp('\\bf{}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux3" Ports [9, 1] Position [1925, 429, 1975, 741] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "8" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "50,312,1,1,white,blue,3,ee37f7b8,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');port_label('input',4,'d2');\nco" "lor('black');port_label('input',5,'d3');\ncolor('black');port_label('input',6" ",'d4');\ncolor('black');port_label('input',7,'d5');\ncolor('black');port_labe" "l('input',8,'d6');\ncolor('black');port_label('input',9,'d7');\ncolor('black'" ");disp('\\bf{}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Pos Edge Detector" Ports [1, 1] Position [770, 579, 895, 641] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Pos Edge Detector" Location [971, 353, 1386, 494] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Input Signal" Position [25, 33, 55, 47] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [170, 57, 230, 113] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a c" "hain, each link of which is an SRL16 followed by a flip-flop. If register ret" "iming is enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,fc531c0e,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 " "6 15 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 5" "0 50 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 0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [100, 56, 155, 114] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's com" "plement) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,237" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 5" "1 51 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: e" "nd icon text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [280, 25, 335, 85] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','" "texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Rising Edge" Position [385, 48, 415, 62] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Input Signal" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { Points [0, 45] DstBlock "Inverter" DstPort 1 } } Line { SrcBlock "Delay" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Logical" DstPort 2 } Line { SrcBlock "Inverter" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Logical" SrcPort 1 DstBlock "Rising Edge" DstPort 1 } } } Block { BlockType Reference Name "Register" Ports [1, 1] Position [1020, 485, 1065, 525] SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst off en off dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,348,193" block_type "register" block_version "10.1.2" sg_icon_stat "45,40,1,1,white,blue,0,ac6b57db,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black" "');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode'," "'on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational" Ports [2, 1] Position [315, 557, 370, 613] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator B" "lock" mode "a=b" en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "relational" block_version "8.2.02" sg_icon_stat "55,56,1,1,white,blue,0,1b68ef8e,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50" " 38 50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a=b}\\newli" "nez^{-0}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational1" Ports [2, 1] Position [315, 687, 370, 743] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator B" "lock" mode "a=b" en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "relational" block_version "8.2.02" sg_icon_stat "55,56,1,1,white,blue,0,1b68ef8e,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50" " 38 50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a=b}\\newli" "nez^{-0}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Relational2" Ports [2, 1] Position [1040, 752, 1095, 808] SourceBlock "xbsIndex_r4/Relational" SourceType "Xilinx Arithmetic Relational Operator B" "lock" mode "a=b" en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "relational" block_version "8.2.02" sg_icon_stat "55,56,1,1,white,blue,0,1b68ef8e,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[6 15 28 41 50 50 46 50 50" " 38 50 41 28 15 6 18 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black" "');port_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a=b}\\newli" "nez^{-0}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Scope Name "Scope2" Ports [2] Position [2090, 823, 2155, 967] Floating off Location [1, 45, 1913, 1113] Open off NumInputPorts "2" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" } YMin "0~-5" YMax "500~5" SaveName "ScopeData2" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Reference Name "Slice10" Ports [1, 1] Position [1735, 555, 1795, 585] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "4" boolean_output off mode "Upper Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice11" Ports [1, 1] Position [1735, 660, 1795, 690] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "4" boolean_output off mode "Lower Bit Location + Width" bit1 "4" base1 "MSB of Input" bit0 "6" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice4" Ports [1, 1] Position [290, 375, 350, 405] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "6" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice5" Ports [1, 1] Position [290, 490, 350, 520] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "6" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,449,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice6" Ports [1, 1] Position [220, 555, 280, 585] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "6" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice7" Ports [1, 1] Position [220, 685, 280, 715] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "4" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "6" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice8" Ports [1, 1] Position [2045, 595, 2105, 625] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "8" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice9" Ports [1, 1] Position [2045, 545, 2105, 575] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "8" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 1] Position [850, 703, 900, 777] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Subsystem" Location [1049, 695, 1274, 807] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "6bitval" Position [35, 148, 65, 162] IconDisplay "Port number" } Block { BlockType Inport Name "TransferDone" Position [35, 178, 65, 192] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Not0" Position [35, 233, 65, 247] Port "3" IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [115, 166, 160, 204] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a c" "hain, each link of which is an SRL16 followed by a flip-flop. If register ret" "iming is enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "8.2.02" sg_icon_stat "45,38,1,1,white,blue,0,fc531c0e,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 " "6 15 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 5" "0 50 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 0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical1" Ports [2, 1] Position [220, 225, 275, 285] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','" "texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical2" Ports [2, 1] Position [220, 140, 275, 200] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','" "texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical3" Ports [2, 1] Position [320, 180, 375, 240] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,f4a65842,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','t" "exmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Out1" Position [420, 203, 450, 217] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "6bitval" SrcPort 1 DstBlock "Logical2" DstPort 1 } Line { SrcBlock "TransferDone" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Logical3" SrcPort 1 Points [0, 0] DstBlock "Out1" DstPort 1 } Line { SrcBlock "Logical2" SrcPort 1 Points [15, 0; 0, 25] DstBlock "Logical3" DstPort 1 } Line { SrcBlock "Logical1" SrcPort 1 Points [15, 0; 0, -30] DstBlock "Logical3" DstPort 2 } Line { SrcBlock "Not0" SrcPort 1 DstBlock "Logical1" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 Points [20, 0] Branch { DstBlock "Logical2" DstPort 2 } Branch { Points [0, 85] DstBlock "Logical1" DstPort 2 } } } } Block { BlockType SubSystem Name "Subsystem1" Ports [1, 2] Position [1810, 531, 1890, 604] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Subsystem1" Location [1219, 835, 1479, 1042] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "4bits" Position [35, 43, 65, 57] IconDisplay "Port number" } Block { BlockType Reference Name "AddSub" Ports [2, 1] Position [310, 51, 370, 109] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Addition" use_carryin off use_carryout off en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "addsub" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,36a47907,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 " "5 15 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 5" "4 54 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('b" "lack');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf" "{a + b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "AddSub1" Ports [2, 1] Position [310, 151, 370, 209] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Addition" use_carryin off use_carryout off en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "addsub" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,36a47907,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 " "5 15 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 5" "4 54 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('b" "lack');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf" "{a + b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat6" Ports [2, 1] Position [190, 35, 250, 95] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. O" "utput will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 " "4 14 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 5" "4 54 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('" "black');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [75, 67, 130, 93] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "3" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant1" Ports [0, 1] Position [190, 127, 245, 153] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "3" n_bits "8" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,bdb1da60,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'3');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant2" Ports [0, 1] Position [190, 182, 245, 208] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "10" n_bits "8" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,037f1011,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'10');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Start" Position [430, 73, 460, 87] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "End" Position [430, 173, 460, 187] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "4bits" SrcPort 1 DstBlock "Concat6" DstPort 1 } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Concat6" DstPort 2 } Line { SrcBlock "Concat6" SrcPort 1 Points [25, 0] Branch { DstBlock "AddSub" DstPort 1 } Branch { Points [0, 100] DstBlock "AddSub1" DstPort 1 } } Line { SrcBlock "Constant1" SrcPort 1 Points [45, 0] DstBlock "AddSub" DstPort 2 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "AddSub1" DstPort 2 } Line { SrcBlock "AddSub" SrcPort 1 DstBlock "Start" DstPort 1 } Line { SrcBlock "AddSub1" SrcPort 1 DstBlock "End" DstPort 1 } } } Block { BlockType SubSystem Name "Subsystem2" Ports [1, 2] Position [1810, 636, 1890, 709] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Subsystem2" Location [431, 85, 1875, 1086] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "4bits" Position [35, 43, 65, 57] IconDisplay "Port number" } Block { BlockType Reference Name "AddSub" Ports [2, 1] Position [310, 51, 370, 109] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Addition" use_carryin off use_carryout off en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "addsub" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,36a47907,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 " "5 15 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 5" "4 54 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('b" "lack');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf" "{a + b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "AddSub1" Ports [2, 1] Position [310, 151, 370, 209] SourceBlock "xbsIndex_r4/AddSub" SourceType "Xilinx Adder/Subtractor Block" mode "Addition" use_carryin off use_carryout off en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off use_behavioral_HDL off pipelined off use_rpm on xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "addsub" block_version "8.2.02" sg_icon_stat "60,58,1,1,white,blue,0,36a47907,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([15 5 19 " "5 15 30 34 38 54 41 29 20 34 20 29 41 54 38 34 30 15 ],[6 16 30 44 54 54 50 5" "4 54 41 53 44 30 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('b" "lack');port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf" "{a + b}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Concat6" Ports [2, 1] Position [190, 35, 250, 95] SourceBlock "xbsIndex_r4/Concat" SourceType "Xilinx Bus Concatenator Block" infoedit "Concatenates two or more inputs. O" "utput will be cast to an unsigned value with the binary point at zero." num_inputs "2" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "concat" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,df1e5aba,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 " "4 14 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 5" "4 54 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('" "black');port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [75, 67, 130, 93] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "0" n_bits "3" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,72d575a1,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'0');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant1" Ports [0, 1] Position [190, 127, 245, 153] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "3" n_bits "8" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,bdb1da60,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'3');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Constant2" Ports [0, 1] Position [190, 182, 245, 208] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "10" n_bits "8" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 ins" "tructions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,037f1011,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22" " 16 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 23 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 26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME" "NT: begin icon text');\ncolor('black');port_label('output',1,'10');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Start" Position [430, 73, 460, 87] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "End" Position [430, 173, 460, 187] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "AddSub1" SrcPort 1 DstBlock "End" DstPort 1 } Line { SrcBlock "AddSub" SrcPort 1 DstBlock "Start" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "AddSub1" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [45, 0] DstBlock "AddSub" DstPort 2 } Line { SrcBlock "Concat6" SrcPort 1 Points [25, 0] Branch { Points [0, 100] DstBlock "AddSub1" DstPort 1 } Branch { DstBlock "AddSub" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Concat6" DstPort 2 } Line { SrcBlock "4bits" SrcPort 1 DstBlock "Concat6" DstPort 1 } } } Block { BlockType Outport Name "Data" Position [2340, 578, 2370, 592] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "StartTransfer" Position [1145, 973, 1175, 987] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Register" SrcPort 1 Points [0, -55] DstBlock "Concat" DstPort 2 } Line { SrcBlock "Slice5" SrcPort 1 DstBlock "Register" DstPort 1 } Line { SrcBlock "Concat" SrcPort 1 DstBlock "Character Map\nShared Memory" DstPort 1 } Line { SrcBlock "Character Buffer\nShared Memory" SrcPort 1 Points [15, 0; 0, 45] DstBlock "Concat" DstPort 1 } Line { SrcBlock "Counter1" SrcPort 1 Points [15, 0] Branch { DstBlock "Slice4" DstPort 1 } Branch { Points [0, 60] Branch { Points [70, 0] DstBlock "Slice5" DstPort 1 } Branch { Points [0, 120] Branch { DstBlock "Slice6" DstPort 1 } Branch { Points [0, 130] Branch { DstBlock "Slice7" DstPort 1 } Branch { Points [0, 330; 1445, 0; 0, -355] Branch { DstBlock "Slice11" DstPort 1 } Branch { Points [0, -105] DstBlock "Slice10" DstPort 1 } } } } } } Line { SrcBlock "Slice4" SrcPort 1 Points [200, 0] Branch { DstBlock "4MSB" DstPort 1 } Branch { Points [0, 40] DstBlock "4LSB" DstPort 1 } } Line { SrcBlock "TransferDone" SrcPort 1 DstBlock "Logical" DstPort 1 } Line { SrcBlock "CmdsDone" SrcPort 1 DstBlock "Logical" DstPort 2 } Line { SrcBlock "Reset" SrcPort 1 DstBlock "Counter1" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 Points [35, 0] Branch { DstBlock "StartTransfer" DstPort 1 } Branch { Points [0, -50] DstBlock "Scope2" DstPort 2 } } Line { SrcBlock "Slice6" SrcPort 1 DstBlock "Relational" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 Points [5, 0; 0, -20] DstBlock "Relational" DstPort 2 } Line { SrcBlock "Slice7" SrcPort 1 DstBlock "Relational1" DstPort 1 } Line { SrcBlock "Constant5" SrcPort 1 Points [5, 0; 0, -20] DstBlock "Relational1" DstPort 2 } Line { SrcBlock "Relational" SrcPort 1 Points [15, 0; 0, 25] Branch { DstBlock "Convert" DstPort 1 } Branch { Points [360, 0] Branch { DstBlock "Pos Edge Detector" DstPort 1 } Branch { Points [0, 105] DstBlock "Subsystem" DstPort 1 } } } Line { SrcBlock "Relational1" SrcPort 1 DstBlock "Convert1" DstPort 1 } Line { SrcBlock "Convert" SrcPort 1 DstBlock "Concat3" DstPort 1 } Line { SrcBlock "Convert1" SrcPort 1 Points [15, 0; 0, -50] DstBlock "Concat3" DstPort 2 } Line { SrcBlock "Mux2" SrcPort 1 DstBlock "Counter" DstPort 2 } Line { SrcBlock "Concat3" SrcPort 1 DstBlock "Mux2" DstPort 1 } Line { SrcBlock "Constant6" SrcPort 1 Points [15, 0] Branch { DstBlock "Mux2" DstPort 2 } Branch { Points [0, 20] DstBlock "Mux2" DstPort 3 } } Line { SrcBlock "Constant7" SrcPort 1 DstBlock "Mux2" DstPort 4 } Line { SrcBlock "Constant8" SrcPort 1 Points [20, 0; 0, -20] DstBlock "Mux2" DstPort 5 } Line { SrcBlock "Logical" SrcPort 1 Points [35, 0] Branch { Points [0, 20] Branch { Points [0, 125] DstBlock "Delay" DstPort 1 } Branch { DstBlock "Logical1" DstPort 2 } } Branch { Points [0, -95] DstBlock "Subsystem" DstPort 2 } } Line { SrcBlock "Counter" SrcPort 1 Points [5, 0; 0, 15] Branch { Points [0, 60] DstBlock "Relational2" DstPort 1 } Branch { Points [620, 0; 0, -260] DstBlock "Mux3" DstPort 1 } } Line { SrcBlock "Constant9" SrcPort 1 DstBlock "Relational2" DstPort 2 } Line { SrcBlock "Relational2" SrcPort 1 Points [10, 0; 0, 45] Branch { DstBlock "Logical1" DstPort 1 } Branch { DstBlock "Inverter2" DstPort 1 } } Line { SrcBlock "Logical1" SrcPort 1 Points [15, 0; 0, 65; -1130, 0; 0, -500] DstBlock "Counter1" DstPort 2 } Line { SrcBlock "Pos Edge Detector" SrcPort 1 Points [15, 0; 0, 60] DstBlock "Counter" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 1 Points [5, 0; 0, -30] DstBlock "Counter" DstPort 3 } Line { SrcBlock "Inverter2" SrcPort 1 Points [-30, 0; 0, -60] DstBlock "Subsystem" DstPort 3 } Line { SrcBlock "Mux3" SrcPort 1 Points [10, 0] Branch { Points [15, 0] Branch { Points [0, 25] DstBlock "Slice8" DstPort 1 } Branch { Points [0, -25] DstBlock "Slice9" DstPort 1 } } Branch { Points [0, 275] DstBlock "Scope2" DstPort 1 } } Line { SrcBlock "Slice9" SrcPort 1 DstBlock "Inverter3" DstPort 1 } Line { SrcBlock "Inverter3" SrcPort 1 Points [5, 0; 0, 10] DstBlock "Concat4" DstPort 1 } Line { SrcBlock "Slice8" SrcPort 1 Points [90, 0; 0, -10] DstBlock "Concat4" DstPort 2 } Line { SrcBlock "Concat4" SrcPort 1 DstBlock "Data" DstPort 1 } Line { SrcBlock "Concat5" SrcPort 1 Points [0, -35] DstBlock "Mux3" DstPort 2 } Line { SrcBlock "Constant10" SrcPort 1 Points [5, 0; 0, 25] DstBlock "Concat5" DstPort 1 } Line { SrcBlock "Character Map\nShared Memory" SrcPort 1 Points [25, 0; 0, 95] DstBlock "Concat5" DstPort 2 } Line { SrcBlock "From Register3" SrcPort 1 DstBlock "Mux3" DstPort 3 } Line { SrcBlock "From Register1" SrcPort 1 DstBlock "Mux3" DstPort 6 } Line { SrcBlock "From Register2" SrcPort 1 DstBlock "Mux3" DstPort 9 } Line { SrcBlock "Subsystem1" SrcPort 1 DstBlock "Mux3" DstPort 4 } Line { SrcBlock "Subsystem1" SrcPort 2 DstBlock "Mux3" DstPort 5 } Line { SrcBlock "Subsystem2" SrcPort 1 DstBlock "Mux3" DstPort 7 } Line { SrcBlock "Subsystem2" SrcPort 2 DstBlock "Mux3" DstPort 8 } Line { SrcBlock "Slice10" SrcPort 1 DstBlock "Subsystem1" DstPort 1 } Line { SrcBlock "Slice11" SrcPort 1 DstBlock "Subsystem2" DstPort 1 } Line { SrcBlock "Concat1" SrcPort 1 DstBlock "Character Buffer\nShared Memory" DstPort 1 } Line { SrcBlock "From Register4" SrcPort 1 Points [35, 0; 0, 45] DstBlock "Concat1" DstPort 1 } Line { SrcBlock "AddSub1" SrcPort 1 DstBlock "Concat1" DstPort 2 } Line { SrcBlock "From Register7" SrcPort 1 Points [35, 0; 0, 15] DstBlock "AddSub1" DstPort 1 } Line { SrcBlock "4MSB" SrcPort 1 DstBlock "AddSub1" DstPort 2 } Line { SrcBlock "4LSB" SrcPort 1 DstBlock "AddSub2" DstPort 1 } Line { SrcBlock "From Register5" SrcPort 1 DstBlock "AddSub2" DstPort 2 } Line { SrcBlock "AddSub2" SrcPort 1 Points [45, 0; 0, -50] DstBlock "Concat1" DstPort 3 } Annotation { Name "We invert the first bit because 0 means" " command and 1 is data\nThe user inputs the opposite in the PowerPC" Position [2147, 503] } } } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [450, 27, 510, 83] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain, ea" "ch link of which is an SRL16 followed by a flip-flop. If register retiming is" " enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,269" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,fc531c0e,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register" Ports [0, 1] Position [115, 875, 160, 925] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'LCD_Reset'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register3" Ports [0, 1] Position [535, 455, 580, 505] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'LCD_TotalCmdTransfer'" init "10" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "8" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register4" Ports [0, 1] Position [1125, 425, 1170, 475] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'LCD_DividerSelect'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register5" Ports [0, 1] Position [195, 315, 240, 365] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'LCD_Send'" init "0" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,379,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "From Register6" Ports [0, 1] Position [345, 30, 390, 80] ShowName off AttributesFormatString "From Register\\n<< % >>" SourceBlock "xbsIndex_r4/From Register" SourceType "Xilinx Shared Memory Based From Register Bl" "ock" infoedit "Register block that reads data to a shared " "memory register. Delay of one sample period." shared_memory_name "'LCD_ResetLCD'" init "1" period "1" ownership "Locally owned and initialized" arith_type "Unsigned" n_bits "1" bin_pt "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,381,246" block_type "fromreg" block_version "8.2.02" sg_icon_stat "45,50,1,1,white,blue,0,4b212927,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 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 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 0 56" " 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');port_label('output',1,'dout');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Logical1" Ports [2, 1] Position [205, 830, 260, 890] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,f4a65842,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 " "32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52 40 " "52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 0 60" " 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be" "gin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmode'," "'on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux" Ports [3, 1] Position [1170, 278, 1215, 382] NamePlacement "alternate" SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,613f58e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([10 3" " 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 70 70" " 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot([0 4" "5 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon graphi" "cs');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label('in" "put',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black');po" "rt_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');\nfpr" "intf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux1" Ports [3, 1] Position [965, 338, 1010, 442] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,613f58e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([10 3" " 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 70 70" " 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot([0 4" "5 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon graphi" "cs');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label('in" "put',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black');po" "rt_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');\nfpr" "intf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Pos Edge Detector" Ports [1, 1] Position [360, 309, 485, 371] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Pos Edge Detector" Location [971, 353, 1386, 494] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Input Signal" Position [25, 33, 55, 47] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [170, 57, 230, 113] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop. If register retimin" "g is enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,fc531c0e,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [100, 56, 155, 114] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,237" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [280, 25, 335, 85] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','texm" "ode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Rising Edge" Position [385, 48, 415, 62] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Input Signal" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { Points [0, 45] DstBlock "Inverter" DstPort 1 } } Line { SrcBlock "Delay" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Logical" DstPort 2 } Line { SrcBlock "Inverter" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Logical" SrcPort 1 DstBlock "Rising Edge" DstPort 1 } } } Block { BlockType Reference Name "Reset" Ports [1, 1] Position [100, 810, 165, 830] SourceBlock "xbsIndex_r4/Gateway In" SourceType "Xilinx Gateway In Block" infoedit "Gateway in block. Converts inputs of type " "Simulink integer, double and fixed point to Xilinx fixed point type.

Ha" "rdware notes: In hardware these blocks become top level input ports." arith_type "Unsigned" n_bits "1" bin_pt "0" quantization "Truncate" overflow "Wrap" period "1" dbl_ovrd off timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,432" block_type "gatewayin" block_version "8.2.02" sg_icon_stat "65,20,1,1,white,yellow,0,bc55d28f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 65 65 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([27 24 29 24 27 3" "2 33 34 40 36 32 29 34 29 32 36 40 34 33 32 27 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 65 65 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,'\\fontsize{11pt}\\bf In " "','texmode','on');\ncolor('black');port_label('output',1,' ');\nfprintf('','C" "OMMENT: end icon text');\n" } Block { BlockType Reference Name "ResetLCD" Ports [1, 1] Position [575, 45, 635, 65] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "SCL" Ports [1, 1] Position [1475, 380, 1535, 400] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "SDI" Ports [1, 1] Position [1475, 320, 1535, 340] SourceBlock "xbsIndex_r4/Gateway Out" SourceType "Xilinx Gateway Out Block" infoedit "Gateway out block. Converts Xilinx fixed p" "oint inputs into ouputs of type Simulink integer, double, or fixed point.

<" "P>Hardware notes: In hardware these blocks become top level output ports or " "are discarded, depending on how they are configured." hdl_port on timing_constraint "None" locs_specified off LOCs "{}" xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "gatewayout" block_version "10.1.2" sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right" sg_mask_display "fprintf('','COMMENT: begin icon graphics');" "\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2" "9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[2 5 10 15 18 18 17 18 18 14" " 18 15 10 5 2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 20 2" "0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi" "n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por" "t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "SPI" Ports [4, 4] Position [1265, 298, 1440, 542] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "SPI" Location [352, 74, 1796, 1059] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Data_to_transfer" Position [1295, 533, 1325, 547] IconDisplay "Port number" } Block { BlockType Inport Name "Send" Position [55, 338, 85, 352] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "DividerSelect" Position [575, 168, 605, 182] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "Reset" Position [120, 433, 150, 447] Port "4" IconDisplay "Port number" } Block { BlockType Reference Name "Constant" Ports [0, 1] Position [300, 257, 355, 283] SourceBlock "xbsIndex_r4/Constant" SourceType "Xilinx Constant Block Block" arith_type "Unsigned" const "15" n_bits "4" bin_pt "0" explicit_period on period "1" dsp48_infoedit "The use of this block for DSP48 instruc" "tions is deprecated. Please use the Opmode block." equ "P=C" opselect "C" inp2 "PCIN>>17" opr "+" inp1 "P" carry "CIN" dbl_ovrd off has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "constant" block_version "8.2.02" sg_icon_stat "55,26,1,1,white,blue,0,f7427cc9,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 26 26 ],[0.77 0.82 0.91]);\npatch([20 16 22 16 " "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" "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 " "26 26 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: " "begin icon text');\ncolor('black');port_label('output',1,'15');\nfprintf('','" "COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert" Ports [1, 1] Position [1105, 275, 1145, 305] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "40,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Convert1" Ports [1, 1] Position [1640, 275, 1680, 305] SourceBlock "xbsIndex_r4/Convert" SourceType "Xilinx Type Converter Block" infoedit "Hardware notes: rounding and saturating" " require hardware resources; truncating and wrapping do not." arith_type "Boolean" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" latency "0" dbl_ovrd off pipeline off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,374,375" block_type "convert" block_version "8.2.02" sg_icon_stat "40,30,1,1,white,blue,0,74901e60,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 " "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" "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" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'cast');\nfprintf('" "','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Counter" Ports [2, 1] Position [1195, 260, 1255, 320] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters a" "re the least expensive in hardware. A count limited counter is implemented b" "y combining a counter with a comparator." cnt_type "Count Limited" cnt_to "8" operation "Up" start_count "0" cnt_by_val "1" arith_type "Unsigned" n_bits "4" bin_pt "0" load_pin off rst on en on explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,630" block_type "counter" block_version "8.2.02" sg_icon_stat "60,60,1,1,white,blue,0,46c73e85,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54" " 41 54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('bla" "ck');port_label('input',2,'en');\ncolor('black');port_label('output',1,'out')" ";\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Counter1" Ports [4, 1] Position [410, 257, 470, 318] SourceBlock "xbsIndex_r4/Counter" SourceType "Xilinx Counter Block" infoedit "Hardware notes: Free running counters a" "re the least expensive in hardware. A count limited counter is implemented b" "y combining a counter with a comparator." cnt_type "Free Running" cnt_to "8" operation "Up" start_count "15" cnt_by_val "1" arith_type "Unsigned" n_bits "4" bin_pt "0" load_pin on rst on en on explicit_period "on" period "1" dbl_ovrd off use_behavioral_HDL off use_rpm off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,630" block_type "counter" block_version "8.2.02" sg_icon_stat "60,61,1,1,white,blue,0,a6c633f8,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 61 61 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14" " 30 34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[7 17 31 45 55 55 51 55 55" " 42 55 46 31 16 7 20 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 " "0 61 61 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'load');\ncolor('bl" "ack');port_label('input',2,'din');\ncolor('black');port_label('input',3,'rst'" ");\ncolor('black');port_label('input',4,'en');\ncolor('black');port_label('ou" "tput',1,'out');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Data_Latch" Ports [4, 1] Position [1385, 467, 1530, 658] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Data_Latch" Location [1132, 605, 1392, 867] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Bit_select" Position [590, 108, 620, 122] IconDisplay "Port number" } Block { BlockType Inport Name "Data to transmit" Position [360, 343, 390, 357] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "LatchData" Position [360, 423, 390, 437] Port "3" IconDisplay "Port number" } Block { BlockType Inport Name "Reset" Position [360, 383, 390, 397] Port "4" IconDisplay "Port number" } Block { BlockType Reference Name "Mux" Ports [10, 1] Position [725, 85, 775, 640] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "9" en off latency "1" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "50,555,1,1,white,blue,3,2c6c21d6,ri" "ght" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 50 50 0 ],[0 79.2857 475.714 555 ],[0.77 0.82 0.91]);\npat" "ch([11 3 15 3 11 24 28 32 46 35 24 16 28 16 24 35 46 32 28 24 11 ],[258 266 2" "78 290 298 298 294 298 298 287 298 290 278 266 258 269 258 258 262 258 258 ]," "[0.98 0.96 0.92]);\nplot([0 50 50 0 0 ],[0 79.2857 475.714 555 0 ]);\nfprintf" "('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin icon text');\n" "color('black');port_label('input',1,'sel');\ncolor('black');port_label('input" "',2,'d0');\ncolor('black');port_label('input',3,'d1');\ncolor('black');port_l" "abel('input',4,'d2');\ncolor('black');port_label('input',5,'d3');\ncolor('bla" "ck');port_label('input',6,'d4');\ncolor('black');port_label('input',7,'d5');" "\ncolor('black');port_label('input',8,'d6');\ncolor('black');port_label('inpu" "t',9,'d7');\ncolor('black');port_label('input',10,'d8');\ncolor('black');disp" "('\\bf{ z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Register" Ports [3, 1] Position [450, 362, 510, 418] SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst on en on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,923c1847,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 " "6 15 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 5" "0 50 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 0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('b" "lack');port_label('input',2,'rst');\ncolor('black');port_label('input',3,'en'" ");\ncolor('black');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{" "-1}}','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice" Ports [1, 1] Position [605, 155, 665, 185] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "8" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice1" Ports [1, 1] Position [605, 210, 665, 240] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "7" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice2" Ports [1, 1] Position [605, 265, 665, 295] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "6" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice3" Ports [1, 1] Position [605, 320, 665, 350] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "5" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice4" Ports [1, 1] Position [605, 375, 665, 405] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "4" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice5" Ports [1, 1] Position [605, 430, 665, 460] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "3" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice6" Ports [1, 1] Position [605, 485, 665, 515] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "2" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice7" Ports [1, 1] Position [605, 540, 665, 570] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "1" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice8" Ports [1, 1] Position [605, 595, 665, 625] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from" " each input sample and presents it at the output. The output type is ordinar" "ily unsigned with binary point at zero, but can be Boolean when the slice is " "one bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "0" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24" " 17 22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 " "27 27 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ]," "[0 0 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMM" "ENT: begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "SPI_data" Position [875, 358, 905, 372] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Bit_select" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Slice" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Slice1" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "Slice2" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "Slice3" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "Slice4" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "Slice5" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "Slice6" SrcPort 1 DstBlock "Mux" DstPort 8 } Line { SrcBlock "Slice7" SrcPort 1 DstBlock "Mux" DstPort 9 } Line { SrcBlock "Slice8" SrcPort 1 DstBlock "Mux" DstPort 10 } Line { SrcBlock "Data to transmit" SrcPort 1 Points [30, 0; 0, 20] DstBlock "Register" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "SPI_data" DstPort 1 } Line { SrcBlock "Register" SrcPort 1 Points [30, 0] Branch { Points [0, -55] Branch { Points [0, -55] Branch { Points [0, -55] Branch { Points [0, -55] DstBlock "Slice" DstPort 1 } Branch { DstBlock "Slice1" DstPort 1 } } Branch { DstBlock "Slice2" DstPort 1 } } Branch { DstBlock "Slice3" DstPort 1 } } Branch { DstBlock "Slice4" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Slice5" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Slice6" DstPort 1 } Branch { Points [0, 55] Branch { Points [0, 55] DstBlock "Slice8" DstPort 1 } Branch { DstBlock "Slice7" DstPort 1 } } } } } Line { SrcBlock "Reset" SrcPort 1 DstBlock "Register" DstPort 2 } Line { SrcBlock "LatchData" SrcPort 1 Points [30, 0; 0, -20] DstBlock "Register" DstPort 3 } Annotation { Name "Splits 9 bit data into one bit samp" "les without changing sample rate" Position [664, 674] } } } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [935, 262, 995, 318] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop. If register retimin" "g is enabled, the delay line is a chain of flip-flops." en off latency "2" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,256" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,0a7a6cf1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-2}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Delay1" Ports [1, 1] Position [935, 337, 995, 393] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a chain" ", each link of which is an SRL16 followed by a flip-flop. If register retimin" "g is enabled, the delay line is a chain of flip-flops." en off latency "6" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,256" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,23386583,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('z^{-6}','texmode','on');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [415, 361, 470, 419] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Inverter1" Ports [1, 1] Position [1390, 261, 1445, 319] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's complem" "ent) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 51 51" " 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: end i" "con text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [145, 300, 200, 360] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "OR" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,f4a65842,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13" " 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 52 52" " 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ],[0 " "0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');disp('\\newlineor\\newlinez^{-0}','texmo" "de','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux" Ports [3, 1] Position [670, 238, 715, 342] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,613f58e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');" "\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Mux1" Ports [3, 1] Position [1045, 238, 1090, 342] SourceBlock "xbsIndex_r4/Mux" SourceType "Xilinx Bus Multiplexer Block" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "14" quantization "Truncate" overflow "Wrap" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "mux" block_version "8.2.02" sg_icon_stat "45,104,1,1,white,blue,3,613f58e1,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[0.77 0.82 0.91]);\npatch([" "10 3 14 3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[34 41 52 63 7" "0 70 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot(" "[0 45 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon gr" "aphics');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label" "('input',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black'" ");port_label('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');" "\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType SubSystem Name "Pos Edge Detector" Ports [1, 1] Position [775, 259, 900, 321] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Pos Edge Detector" Location [971, 353, 1386, 494] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Input Signal" Position [25, 33, 55, 47] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [170, 57, 230, 113] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a c" "hain, each link of which is an SRL16 followed by a flip-flop. If register ret" "iming is enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,fc531c0e,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 " "6 15 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 5" "0 50 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 0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [100, 56, 155, 114] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's com" "plement) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,237" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 5" "1 51 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: e" "nd icon text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [280, 25, 335, 85] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','" "texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Rising Edge" Position [385, 48, 415, 62] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Input Signal" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { Points [0, 45] DstBlock "Inverter" DstPort 1 } } Line { SrcBlock "Delay" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Logical" DstPort 2 } Line { SrcBlock "Inverter" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Logical" SrcPort 1 DstBlock "Rising Edge" DstPort 1 } } } Block { BlockType SubSystem Name "Pos Edge Detector2" Ports [1, 1] Position [1480, 259, 1605, 321] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off MaskHideContents off System { Name "Pos Edge Detector2" Location [336, 80, 1780, 1081] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000" "00]" TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Input Signal" Position [25, 33, 55, 47] IconDisplay "Port number" } Block { BlockType Reference Name "Delay" Ports [1, 1] Position [170, 57, 230, 113] SourceBlock "xbsIndex_r4/Delay" SourceType "Xilinx Delay Block" infoedit "Hardware notes: A delay line is a c" "hain, each link of which is an SRL16 followed by a flip-flop. If register ret" "iming is enabled, the delay line is a chain of flip-flops." en off latency "1" dbl_ovrd off reg_retiming off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "delay" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,fc531c0e,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 " "6 15 30 34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 5" "0 50 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 0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('z^{-1}','texmode','on');\nfpri" "ntf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Inverter" Ports [1, 1] Position [100, 56, 155, 114] SourceBlock "xbsIndex_r4/Inverter" SourceType "Xilinx Inverter Block" infoedit "Bitwise logical negation (one's com" "plement) operator." en off latency "0" dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "20,20,356,237" block_type "inv" block_version "8.2.02" sg_icon_stat "55,58,1,1,white,blue,0,1ab4a85f,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 58 58 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[7 16 29 42 51 51 47 5" "1 51 39 51 42 29 16 7 19 7 7 11 7 7 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 58 58 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('not');\nfprintf('','COMMENT: e" "nd icon text');\n" } Block { BlockType Reference Name "Logical" Ports [2, 1] Position [280, 25, 335, 85] SourceBlock "xbsIndex_r4/Logical" SourceType "Xilinx Logical Block Block" logical_function "AND" inputs "2" en off latency "0" precision "Full" arith_type "Unsigned" n_bits "16" bin_pt "0" align_bp on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "logical" block_version "8.2.02" sg_icon_stat "55,60,1,1,white,blue,0,087b5522,rig" "ht" sg_mask_display "fprintf('','COMMENT: begin icon gra" "phics');\npatch([0 55 55 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([13 4 17 " "4 13 28 32 36 52 40 28 19 32 19 28 40 52 36 32 28 13 ],[8 17 30 43 52 52 48 5" "2 52 40 52 43 30 17 8 20 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 55 55 0 0 ]" ",[0 0 60 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COM" "MENT: begin icon text');\ncolor('black');disp('\\newlineand\\newlinez^{-0}','" "texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Rising Edge" Position [385, 48, 415, 62] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Input Signal" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Logical" DstPort 1 } Branch { Points [0, 45] DstBlock "Inverter" DstPort 1 } } Line { SrcBlock "Delay" SrcPort 1 Points [15, 0; 0, -15] DstBlock "Logical" DstPort 2 } Line { SrcBlock "Inverter" SrcPort 1 DstBlock "Delay" DstPort 1 } Line { SrcBlock "Logical" SrcPort 1 DstBlock "Rising Edge" DstPort 1 } } } Block { BlockType Reference Name "Register" Ports [3, 1] Position [230, 282, 290, 338] SourceBlock "xbsIndex_r4/Register" SourceType "Xilinx Register Block" init "0" rst on en on dbl_ovrd off xl_use_area off xl_area "[0,0,0,0,0,0,0]" has_advanced_control "0" sggui_pos "-1,-1,-1,-1" block_type "register" block_version "8.2.02" sg_icon_stat "60,56,1,1,white,blue,0,923c1847,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15" " 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" " 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 " "0 56 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT" ": begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black" "');port_label('input',2,'rst');\ncolor('black');port_label('input',3,'en');\n" "color('black');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}" "','texmode','on');\nfprintf('','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice" Ports [1, 1] Position [515, 275, 575, 305] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "2" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice1" Ports [1, 1] Position [1300, 275, 1360, 305] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "3" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Reference Name "Slice2" Ports [1, 1] Position [515, 325, 575, 355] SourceBlock "xbsIndex_r4/Slice" SourceType "Xilinx Bit Slice Extractor Block" infoedit "Extracts a given range of bits from eac" "h input sample and presents it at the output. The output type is ordinarily " "unsigned with binary point at zero, but can be Boolean when the slice is one " "bit wide.

Hardware notes: In hardware this block costs nothing." nbits "1" boolean_output off mode "Lower Bit Location + Width" bit1 "0" base1 "MSB of Input" bit0 "3" base0 "LSB of Input" dbl_ovrd off has_advanced_control "0" sggui_pos "20,20,442,407" block_type "slice" block_version "8.2.02" sg_icon_stat "60,30,1,1,white,blue,0,b1026674,right" sg_mask_display "fprintf('','COMMENT: begin icon graphic" "s');\npatch([0 60 60 0 ],[0 0 30 30 ],[0.77 0.82 0.91]);\npatch([22 17 24 17 " "22 30 32 34 42 35 29 24 30 24 29 35 42 34 32 30 22 ],[3 8 15 22 27 27 25 27 2" "7 20 26 21 15 9 4 10 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0" " 30 30 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT:" " begin icon text');\ncolor('black');port_label('output',1,'[a:b]');\nfprintf(" "'','COMMENT: end icon text');\n" } Block { BlockType Outport Name "Data" Position [1585, 558, 1615, 572] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "SCL" Position [795, 368, 825, 382] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "CS#" Position [495, 383, 525, 397] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Done" Position [1735, 283, 1765, 297] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Counter1" SrcPort 1 Points [10, 0] Branch { DstBlock "Slice" DstPort 1 } Branch { Points [0, 50] DstBlock "Slice2" DstPort 1 } } Line { SrcBlock "Pos Edge Detector" SrcPort 1 Points [10, 0] Branch { DstBlock "Delay" DstPort 1 } Branch { Points [0, 75] DstBlock "Delay1" DstPort 1 } } Line { SrcBlock "Counter" SrcPort 1 Points [15, 0] Branch { DstBlock "Slice1" DstPort 1 } Branch { Points [0, 205] DstBlock "Data_Latch" DstPort 1 } } Line { SrcBlock "Register" SrcPort 1 Points [95, 0] Branch { Points [0, 80] DstBlock "Inverter" DstPort 1 } Branch { DstBlock "Counter1" DstPort 4 } } Line { SrcBlock "Send" SrcPort 1 Points [5, 0] Branch { Points [30, 0] Branch { DstBlock "Logical" DstPort 2 } Branch { Points [0, -55] DstBlock "Register" DstPort 1 } } Branch { Points [0, 240] DstBlock "Data_Latch" DstPort 3 } } Line { SrcBlock "Slice1" SrcPort 1 DstBlock "Inverter1" DstPort 1 } Line { SrcBlock "Pos Edge Detector2" SrcPort 1 DstBlock "Convert1" DstPort 1 } Line { SrcBlock "Inverter" SrcPort 1 Points [0, 0] DstBlock "CS#" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 Points [25, 0] Branch { DstBlock "Pos Edge Detector" DstPort 1 } Branch { Points [0, 85] DstBlock "SCL" DstPort 1 } } Line { SrcBlock "DividerSelect" SrcPort 1 Points [25, 0] Branch { Points [0, 0; 0, 80] DstBlock "Mux" DstPort 1 } Branch { Points [380, 0; 0, 80] DstBlock "Mux1" DstPort 1 } } Line { SrcBlock "Slice" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Slice2" SrcPort 1 Points [35, 0; 0, -15] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Delay" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Delay1" SrcPort 1 Points [15, 0; 0, -40] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Convert" DstPort 1 } Line { SrcBlock "Data_Latch" SrcPort 1 Points [0, 0] DstBlock "Data" DstPort 1 } Line { SrcBlock "Data_to_transfer" SrcPort 1 Points [0, 0] DstBlock "Data_Latch" DstPort 2 } Line { SrcBlock "Constant" SrcPort 1 Points [10, 0; 0, 10] DstBlock "Counter1" DstPort 2 } Line { SrcBlock "Logical" SrcPort 1 DstBlock "Register" DstPort 3 } Line { SrcBlock "Convert" SrcPort 1 Points [15, 0; 0, 15] DstBlock "Counter" DstPort 2 } Line { SrcBlock "Reset" SrcPort 1 Points [55, 0] Branch { Points [0, -130] DstBlock "Register" DstPort 2 } Branch { Points [165, 0] Branch { Points [0, -145] DstBlock "Counter1" DstPort 3 } Branch { Points [800, 0] Branch { Points [0, -165] DstBlock "Counter" DstPort 1 } Branch { Points [0, 190] DstBlock "Data_Latch" DstPort 4 } } } } Line { SrcBlock "Convert1" SrcPort 1 Points [15, 0] Branch { DstBlock "Done" DstPort 1 } Branch { Points [0, -65; -1305, 0] Branch { DstBlock "Counter1" DstPort 1 } Branch { Points [-280, 0; 0, 90] DstBlock "Logical" DstPort 1 } } } Line { SrcBlock "Inverter1" SrcPort 1 DstBlock "Pos Edge Detector2" DstPort 1 } } } Block { BlockType Scope Name "Scope" Ports [6] Position [1675, 321, 1740, 464] Floating off Location [1, 45, 1913, 1113] Open off NumInputPorts "6" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" axes5 "%" axes6 "%" } YMin "-5~-5~-5~-5~-5~-5" YMax "5~5~5~5~5~5" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Step Name "Step1" Position [25, 805, 55, 835] Time "10" Before "1" After "0" SampleTime "1" } Line { SrcBlock "Convert2" SrcPort 1 DstBlock "Pos Edge Detector" DstPort 1 } Line { SrcBlock "Pos Edge Detector" SrcPort 1 DstBlock "CommandROM" DstPort 1 } Line { SrcBlock "Convert" SrcPort 1 DstBlock "SPI" DstPort 3 } Line { SrcBlock "SPI" SrcPort 4 Points [35, 0] Branch { Points [90, 0; 0, -105] DstBlock "Scope" DstPort 4 } Branch { Points [0, 85; -980, 0] Branch { Points [0, -200] DstBlock "CommandROM" DstPort 2 } Branch { Points [0, 105] DstBlock "DataROM" DstPort 1 } } } Line { SrcBlock "SPI" SrcPort 1 DstBlock "SDI" DstPort 1 } Line { SrcBlock "SPI" SrcPort 2 DstBlock "SCL" DstPort 1 } Line { SrcBlock "SPI" SrcPort 3 DstBlock "CS" DstPort 1 } Line { SrcBlock "Step1" SrcPort 1 DstBlock "Reset" DstPort 1 } Line { SrcBlock "Reset" SrcPort 1 Points [15, 0; 0, 25] DstBlock "Logical1" DstPort 1 } Line { SrcBlock "From Register" SrcPort 1 Points [20, 0; 0, -25] DstBlock "Logical1" DstPort 2 } Line { SrcBlock "Logical1" SrcPort 1 DstBlock "Convert1" DstPort 1 } Line { SrcBlock "From Register3" SrcPort 1 Points [40, 0] DstBlock "CommandROM" DstPort 3 } Line { SrcBlock "From Register4" SrcPort 1 DstBlock "Convert" DstPort 1 } Line { SrcBlock "SDI" SrcPort 1 DstBlock "Scope" DstPort 1 } Line { SrcBlock "SCL" SrcPort 1 Points [5, 0; 0, -35] DstBlock "Scope" DstPort 2 } Line { SrcBlock "CS" SrcPort 1 Points [20, 0; 0, -70] DstBlock "Scope" DstPort 3 } Line { SrcBlock "CommandROM" SrcPort 3 Points [0, -5; 30, 0] Branch { Points [0, 130; -430, 0; 0, 155] DstBlock "DataROM" DstPort 2 } Branch { Points [0, -140] Branch { DstBlock "Mux1" DstPort 1 } Branch { Points [0, -60] DstBlock "Mux" DstPort 1 } } } Line { SrcBlock "Convert1" SrcPort 1 Points [35, 0] Branch { DstBlock "DataROM" DstPort 3 } Branch { Points [0, -295; 220, 0] Branch { Points [0, -60] DstBlock "CommandROM" DstPort 4 } Branch { Points [620, 0; 0, -55] DstBlock "SPI" DstPort 4 } } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "SPI" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "SPI" DstPort 2 } Line { SrcBlock "CommandROM" SrcPort 1 Points [0, -20] DstBlock "Mux" DstPort 2 } Line { SrcBlock "CommandROM" SrcPort 2 Points [95, 0; 0, -35] DstBlock "Mux1" DstPort 2 } Line { SrcBlock "DataROM" SrcPort 1 Points [255, 0; 0, -355] DstBlock "Mux" DstPort 3 } Line { SrcBlock "DataROM" SrcPort 2 Points [105, 0] DstBlock "Mux1" DstPort 3 } Line { SrcBlock "From Register5" SrcPort 1 DstBlock "Convert2" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 DstBlock "ResetLCD" DstPort 1 } Line { SrcBlock "From Register6" SrcPort 1 DstBlock "Delay" DstPort 1 } Annotation { Name "Use gateway for simulation" Position [235, 286] } } } Annotation { Name "TODO:\n-Add interrupt control\n -Maskable per " "input" Position [202, 74] HorizontalAlignment "left" } } } MatData { NumRecords 1 DataRecord { Tag DataTag0 Data " %)30 . R'X 8 ( @ % " "\" $ ! 0 % 0 !@ $ , 7, !V86QU97, . P 8 ( " " 0 % \" $ \" 0 . 0 8 ( ! " " % \" $ + 0 0 \"P $A$3\"!.971L:7-T . 2 " " 8 ( ! % \" $ 8 0 0 & $5X<&]R=\"!" "A7-T96T #@ $@ & \" " " 0 !0 @ ! & $ $ !@ !!8V-O#H 8 ( @ % \" $ ! 0 " " % 0 \" $ 0 =&%R9V5T,0!T87)G970R X \"P&0 !@ @ \" " " 4 ( 0 $ ! 4 ! > 0 /P# !I;F9O961I= " " !X:6QI;GAF86UI;'D !P87)T " " !S<&5E9 !P86-K86=E " " !S>6YT:&5S:7-?=&]O;%]S9V%D=F%N8V5D !S>6YT:&5S" ":7-?=&]O; !D:7)E8W1O7" "-C;&M?<&5R:6]D !I;F-R7VYE=&QI#0" " #@ #@ & \" 0 !0 @ ! \" $ $ @ " "!X8S1V" "'0G*3L*9G!R:6YT9B@G)RPG0T]-345.5#H@96YD(&EC;VX@=&5X=\"\"P@26YC+B @06QL(%)I9VAT2!F;W)M" "+\"!W:71H;W5T('1H92!E>'!L:6-I=\"!W\"P@26YC+BP@:7,@" "7-T96U<;D=E;F5R871O&Q3>7-G96Y'54DH)U-A=F4G*2(@+SX*(#QL:6)R" "87)I97,^\"B @/&QI8G)A&)S26YD97@B(\"\\^\"B @/&QI8G)A" "&)S0F%S:6,B(\"\\^\"B @/&QI8G)A&)S5&]O;',B(\"\\^\"B \\+VQI8G)A7-T96U?;6]D96P@9FEL93TB7-T96TN;61L" "(B O/@H@/&)L;V-K9W5I(&QA8F5L/2)8:6QI;G@@4WES=&5M($=E;F5R871O3TB=')U92(@9&5F875L=#TB(%-Y#0B(&QA8" "F5L/2)8:6QI;G@@9F%M:6QY(B O/@H@(#QE9&ET8F]X(&5V86QU871E/2)F86QS92(@;F%M93TB<&" "%R=\"(@9&5F875L=#TB>&,T=G-X,S4B(&QA8F5L/2)087)T(B O/@H@(#QE9&ET8F]X(&5V86QU87" "1E/2)F86QS92(@;F%M93TB6YT:&5S" ":7-?=&]O;\"(@9&5F875L=#TB6%-4(B!L86)E;#TB4WEN=&AE6YP;&EF>2!0\"!E=F%L=6%T93TB=')U92(@;F%M93T" "B=&5S=&)E;F-H(B!D969A=6QT/2)O9F8B(&QA8F5L/2)497-T8F5N8V@B(\"\\^\"B @/&5D:71B;" "W@@979A;'5A=&4](G1R=64B(&YA;64](G-I;75L:6YK7W!E\"!E=F%L=6%T93TB=')U92(@;F%M93" "TB7-T96T@8VQO8VL@<&5R:6]D(B" " O/@H@(#QC:&5C:V)O>\"!E=F%L=6%T93TB=')U92(@;F%M93TB:6YC7=H97)E(&EN(%-U8E-" "Y" "7-T96TB(\"\\^\"B @(#QI=&5M('9A;'5E/2).;R!7:&5R92!I;B!3=6)3>7-T96TB(\"\\^\"B @" "/\"]L:7-T8F]X/@H@(#QL:7-T8F]X(&5V86QU871E/2)T7=H97)E(&EN(%-U8E-Y#X*(\" \\8VAE8VMB;W@@979A;'5A=&4](G1R=64B(&YA;64](G)U;E" "]C;W)E9V5N(B!D969A=6QT/2)O9F8B(&QA8F5L/2)2=6X@0V]R94=E;B(@+SX*(\" \\8VAE8VMB;" "W@@979A;'5A=&4](G1R=64B(&YA;64](F1E<')E8V%T961?8V]N=')O;\"(@9&5F875L=#TB;V9F(" "B!L86)E;#TB4VAO=R!D97!R96-A=&5D(&-O;G1R;VQS(B O/@H@(#QH:61D96YV87(@979A;'5A=&" "4](G1R=64B(&YA;64](F5V86Q?9FEE;&0B(&1E9F%U;'0](C B(\"\\^\"B \\+V)L;V-K9W5I/@H" "\\+W-Y&9A;6EL>0 '!A<" "G0 '-P965D '" "!A8VMA9V4 '-Y;G1H97-I0 " " '1E0 '9E&,R=G W, . , 8 ( ! % \" $ \" " " 0 0 ( +38 X X !@ @ $ 4 ( 0 8 " " ! ! & 9F8Q-3$W . , 8 ( ! % \" " " 0 0 X P !@ @ $ 4 ( 0 " " , ! ! P!84U0 #@ $@ & \" 0 !0 @ ! " " $@ $ $ !( N+W!L8C0V7W5S97)I;U]V,#D . , 8 (" " ! % \" 0 0 X P !@ @ " " $ 4 ( 0 , ! ! P!O9F8 #@ # & \" " " 0 !0 @ ! @ $ $ \" #$P . , 8 ( " "! % \" 0 0 X P !@ @ $" " 4 ( ! ! #@ # & \" 0 " " !0 @ $ $ . , 8 ( ! " " % \" 0 0 X !( !@ @ $ " " 4 ( 0 !@ ! ! 8 06-C;W)D:6YG('1O($)L;V-K($UA'0G*3L*9G!R:6YT9B@G)RPG0T]-345.5#H@96YD(&EC;VX@=&5X=\"" "\"P@26YC+B @06QL(%)I9VAT" "2!F;W)M+\"!W:71H;W5T('1H92!E>'!L:6-I=\"!W\"P@26YC+BP@:7,@7-T96U<;D=E;F5R871O&Q3>7-G96Y'54DH)U" "-A=F4G*2(@+SX*(#QL:6)R87)I97,^\"B @/&QI8G)A&)S26YD97@B(\"\\^\"B " "@/&QI8G)A&)S0F%S:6,B(\"\\^\"B @/&QI8G)A&)S5&]O;',B(" "\"\\^\"B \\+VQI8G)A7-T96U?;6]D96P@9FEL93TB7-T96TN;61L(B O/@H@/&)L;V-K9W5I(&QA8F5L/2)8:6QI;G@@4WES=&5M($=E;F5" "R871O3TB=')U92(@9&5F875L=#TB(%-Y#0B(&QA8F5L/2)8:6QI;G@@9F%M:6QY(B O/@H@(#QE9&ET8F]X(&5V86QU871E" "/2)F86QS92(@;F%M93TB<&%R=\"(@9&5F875L=#TB>&,T=G-X,S4B(&QA8F5L/2)087)T(B O/@H@" "(#QE9&ET8F]X(&5V86QU871E/2)F86QS92(@;F%M93TB6YT:&5S:7-?=&]O;\"(@9&5F875L=#TB6%-4(B!L86)E;#TB4WEN=&AE6YP;&EF>2!0\"!E=F%L=" "6%T93TB=')U92(@;F%M93TB=&5S=&)E;F-H(B!D969A=6QT/2)O9F8B(&QA8F5L/2)497-T8F5N8V" "@B(\"\\^\"B @/&5D:71B;W@@979A;'5A=&4](G1R=64B(&YA;64](G-I;75L:6YK7W!E\"!E=F%L" "=6%T93TB=')U92(@;F%M93TB7-T" "96T@8VQO8VL@<&5R:6]D(B O/@H@(#QC:&5C:V)O>\"!E=F%L=6%T93TB=')U92(@;F%M93TB:6YC" "7=H97)E(&EN(%-U8E-Y7-T96TB(\"\\^\"B @(#QI=&5M('9A;'5E/2).;R!7:&5R92!I;B!3=" "6)3>7-T96TB(\"\\^\"B @/\"]L:7-T8F]X/@H@(#QL:7-T8F]X(&5V86QU871E/2)T7=H97)E(&EN(%-U8E-Y#X*(\" \\8VAE8VMB;W@@979A;'5A=&4]" "(G1R=64B(&YA;64](G)U;E]C;W)E9V5N(B!D969A=6QT/2)O9F8B(&QA8F5L/2)2=6X@0V]R94=E;" "B(@+SX*(\" \\8VAE8VMB;W@@979A;'5A=&4](G1R=64B(&YA;64](F1E<')E8V%T961?8V]N=')O" ";\"(@9&5F875L=#TB;V9F(B!L86)E;#TB4VAO=R!D97!R96-A=&5D(&-O;G1R;VQS(B O/@H@(#QH" ":61D96YV87(@979A;'5A=&4](G1R=64B(&YA;64](F5V86Q?9FEE;&0B(&1E9F%U;'0](C B(\"\\" "^\"B \\+V)L;V-K9W5I/@H\\+W-Y&QE9&MP;W-T9V5N X ! !@ @ $ 4 ( " " 0 T ! ! - >&QE9&MS971T:6YG

&QE9&MP&QE9&" "MU<&1A=&5F;@ X \"@! !@ @ \" 4 ( 0 $ ! " " 4 ! 8 0 #@! !E>'!O'!O'!O'!O&EL:6YX9F%M:6QY " " <&%R= &,T=G-X,S4. , 8 ( ! % \" $ # " " 0 0 , +3$P X X !@ @ $ 4 ( 0 4 " " ! ! % 9F8V-C@ . , 8 ( ! % \" " " 0 0 X P !@ @ $ 4 ( 0 " " , ! ! P!84U0 #@ $ & \" 0 !0 @ ! " " \"0 $ $ D N+VYE=&QI'0G*3L* . " " , 8 ( ! % \" 0 0 X #" "P\"P !@ @ $ 4 ( 0 +L+ ! ! \"[\"P /\"$M" "+2 @*B @0V]P>7)I9VAT(\"AC*2 R,# U+\"!8:6QI;G@L($EN8RX@($%L;\"!2:6=H=',@4F5S97" ")V960N(\" @(\" @(\" @(\" @+2T^/\"$M+2 @*B @4F5P7!E/2)S>7-G96XB('-I;75L:6YK;F%M93TB(%-Y&Q3>7-G96Y'54DH)V1E;&5T92\"!E=F%L=6%T93TB9F%L7-T96T@1V5N97)A=&]R(B O/@H@(#QE9&ET8" "F]X(&5V86QU871E/2)F86QS92(@;F%M93TB>&EL:6YX9F%M:6QY(B!D969A=6QT/2)6:7)T97@T(B" "!L86)E;#TB6&EL:6YX(&9A;6EL>2(@+SX*(\" \\961I=&)O>\"!E=F%L=6%T93TB9F%L#,U(B!L86)E;#TB4&%R=\"(@+SX*(\" \\961I=&)O>" "\"!E=F%L=6%T93TB9F%L\"!E=F%L=6%T93TB9F%L\"!E=F%L=6%T93TB=')U92(@" ";F%M93TB#X*(\" \\9" "61I=&)O>\"!E=F%L=6%T93TB9F%L2(@9&5F875L=#TB+B]N971L:" "7-T(B!L86)E;#TB5&%R9V5T(&1I2(@+SX*(\" \\8VAE8VMB;W@@979A;'5A=&4](G1R" "=64B(&YA;64](G1E\"!E=F%L=6%T93TB=')U92(@;F%M93TB=')I;5]V8FET7-T96TB(&QA8F5L/2)4#X*(\" \\;&ES=&)O>\"!E=F%L=6%T93TB=')U92(@;F%M93TB9&)L7V" "]V7-T96TB(\"\\^\"B @(#QI=" "&5M('9A;'5E/2).;R!7:&5R92!I;B!3=6)3>7-T96TB(\"\\^\"B @/\"]L:7-T8F]X/@H@(#QL:7" "-T8F]X(&5V86QU871E/2)T7=H97)E($%V86EL86)L92(@+SX*(\" @/&ET96T@=F%L=64](DYO=\"!.965D960@+2!!;')E86" "1Y($=E;F5R871E9\"(@+SX*(\" \\+VQI7-G96YB;&]C:SX* . , 8 ( ! " "% \" 0 0 X ! !@ @ $ 4" " ( 0 T ! ! - 0VQO8VL@16YA8FQE

" " 0 + $ !I;F9O961I= !X:6QI;GAF86UI;'D " " !P87)T !S<&5E9 " " !P86-K86=E !S>6YT:&5S:7-?=&]O;" "%]S9V%D=F%N8V5D !S>6YT:&5S:7-?=&]O; !D:7)E8W1O7-C;&M?<&5R:6]D !I;F-R7VYE" "=&QI'0G*3L* . , 8 ( ! % \" " " 0 0 X #P\"P !@ @ $ 4 ( 0 +L+ " " ! ! \"[\"P /\"$M+2 @*B @0V]P>7)I9VAT(\"AC*2 R,# U+\"!8:6QI;G@L(" "$EN8RX@($%L;\"!2:6=H=',@4F5S97)V960N(\" @(\" @(\" @(\" @+2T^/\"$M+2 @*B @4F5P" "&Q3>7-G96Y'54DH)V1E;&5T92\"!E=F%L=6%T93TB9F%L7-T96T" "@1V5N97)A=&]R(B O/@H@(#QE9&ET8F]X(&5V86QU871E/2)F86QS92(@;F%M93TB>&EL:6YX9F%M" ":6QY(B!D969A=6QT/2)6:7)T97@T(B!L86)E;#TB6&EL:6YX(&9A;6EL>2(@+SX*(\" \\961I=&)" "O>\"!E=F%L=6%T93TB9F%L#,U(B!L86)E;#T" "B4&%R=\"(@+SX*(\" \\961I=&)O>\"!E=F%L=6%T93TB9F%L\"!E=F%L=6%T93TB9F%L\"!E=F%L=6%T93TB=')U92(@;F%M93TB#X*(\" \\961I=&)O>\"!E=F%L=6%T93TB9F%L2(@9&5F875L=#TB+B]N971L:7-T(B!L86)E;#TB5&%R9V5T(&1I2(@+SX*(\" " "\\8VAE8VMB;W@@979A;'5A=&4](G1R=64B(&YA;64](G1E\"!E=F%L=6%T93TB=')U92(@;F%M93TB=')I;5]V8F" "ET7-T96TB(&QA8F5L/2)47-T96TB(\"\\^\"B @(#QI=&5M('9A;'5E/2).;R!7:&5R92!I;B!3=6)3>7-T96TB(\"\\" "^\"B @/\"]L:7-T8F]X/@H@(#QL:7-T8F]X(&5V86QU871E/2)T7=H97)E($%V86EL86)L92(@+SX*(\" @/&ET96T@=F%L=6" "4](DYO=\"!.965D960@+2!!;')E861Y($=E;F5R871E9\"(@+SX*(\" \\+VQI7-G96YB;&]C:SX* . " " , 8 ( ! % \" 0 0 X " "! !@ @ $ 4 ( 0 T ! ! - 0VQO8VL" "@16YA8FQE

0 ;6%J7W-L:61E<@ " ";6EN;W)?5]S;&ED97( :7-$979E;&]P;" "65N= =7-E0W5S=&]M0G5S26YT97)F86-E 8W5S=&]M0G5S26YT97)F86-E5F" "%L=64 #@ #@ & \" 8 !0 @ ! 0 $ \"0 " " @ X P !@ @ $ 4 ( ! " " ! #@ $ & \" 0 !0 @ ! $ $ " " $ ! !T87)G971?9&ER96-T;W)Y#@ $@ & \" 0 !0 @ " " ! $@ $ $ !( N+W!L8C0V7W5S97)I;U]V,#D . , 8" " ( ! % \" $ ! 0 0 $ ,0 X P !@ " " @ $ 4 ( 0 ( ! ! @ P,0 #@ # & " "\" 0 !0 @ ! 0 $ $ ! &$ . . 8 (" " !@ % \" $ ! 0 ) \" / _#@ #@" " & \" 8 !0 @ ! 0 $ \"0 @ \"N1^%Z%" "*[_/PX X !@ @ & 4 ( 0 $ ! D ( " " ! 6$ . . 8 ( !@ % \" $ ! 0 " " ) \" #@ #@ & \" 8 !0 @ ! 0 " " $ \"0 @ X P !@ @ & 4 ( " " ! D " } }