Model { Name "PDF_binary_counter" Version 8.9 SavedCharacterEncoding "windows-1252" GraphicalInterface { NumRootInports 2 Inport { Name "ref" BusObject "" OutputFunctionCall "off" UnitExpr "inherit" } Inport { Name "var" BusObject "" OutputFunctionCall "off" UnitExpr "inherit" } NumRootOutports 1 Outport { Name "phase" BusObject "" BusOutputAsStruct "off" UnitExpr "inherit" } ParameterArgumentNames "" ComputedModelVersion "1.12" NumModelReferences 0 NumTestPointedSignals 0 NumProvidedFunctions 0 NumRequiredFunctions 0 NumResetEvents 0 HasInitializeEvent 0 HasTerminateEvent 0 IsExportFunctionModel 0 NumParameterArguments 0 OrderedModelArguments 1 } LogicAnalyzerGraphicalSettings "" LogicAnalyzerPlugin "on" LogicAnalyzerSignalOrdering "" DiagnosticSuppressor "on" SuppressorTable "22 serialization::archive 11 0 6 0 0 0 8 0" SLCCPlugin "on" slprops.hdlmdlprops { $PropName "HDLParams" $ObjectID 1 Array { Type "Cell" Dimension 2 Cell "HDLSubsystem" Cell "$bdroot" PropName "mdlProps" } } ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 LastSavedArchitecture "win64" Object { $PropName "BdWindowsInfo" $ObjectID 2 $ClassName "Simulink.BDWindowsInfo" Object { $PropName "WindowsInfo" $ObjectID 3 $ClassName "Simulink.WindowInfo" IsActive [1] Location [-7.0, -7.0, 1550.0, 848.0] Object { $PropName "ModelBrowserInfo" $ObjectID 4 $ClassName "Simulink.ModelBrowserInfo" Visible [0] DockPosition "Left" Width [50] Height [50] Filter [9] } Object { $PropName "ExplorerBarInfo" $ObjectID 5 $ClassName "Simulink.ExplorerBarInfo" Visible [0] } Object { $PropName "EditorsInfo" $ObjectID 6 $ClassName "Simulink.EditorInfo" IsActive [1] ViewObjType "SimulinkTopLevel" LoadSaveID "0" Extents [1875.0, 884.0] ZoomFactor [1.6200000000000003] Offset [-19.462962962962592, 288.35802469135808] } Object { $PropName "DockComponentsInfo" $ObjectID 7 $ClassName "Simulink.DockComponentInfo" Type "GLUE2:PropertyInspector" ID "Property Inspector" Visible [0] CreateCallback "" UserData "" Floating [0] DockPosition "Right" Width [512] Height [384] } WindowState "AAAA/wAAAAD9AAAAAgAAAAAAAAC9AAAB+PwCAAAAA/sAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAA" "AAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0Ac" "ABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQAAAAAAP////8AAAB4AP///wAAAAEAAAAAAAAAAPwCA" "AAAAfsAAABUAEcATABVAEUAMgA6AFAAcgBvAHAAZQByAHQAeQBJAG4AcwBwAGUAYwB0AG8AcgAvAFAAcgBvAHAAZQByAHQAeQAgAEkAbgBzAHAAZ" "QBjAHQAbwByAAAAAAD/////AAAANAD///8AAAeAAAADkgAAAAEAAAACAAAAAQAAAAL8AAAAAQAAAAIAAAAP/////wAAAAAA/////wAAAAAAAAAA/" "////wEAAAAA/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA/" "////wEAAACR/////wAAAAAAAAAA/////wEAAAEE/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA/////wEAAAGV/////wAAAAAAAAAA/" "////wAAAAAA/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA/////wEAAAPG/////wAAAAAAAAAA/" "////wEAAAP+/////wAAAAAAAAAA/////wAAAAAA/////wAAAAAAAAAA" } } HideAutomaticNames on Created "Fri Oct 06 12:52:37 2017" Creator "student" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "student" ModifiedDateFormat "%" LastModifiedDate "Fri Oct 06 19:44:22 2017" RTWModifiedTimeStamp 429219386 ModelVersionFormat "1.%" ConfigurationManager "none" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "disabled" WideLines off ShowLineDimensions off ShowPortDataTypes off PortDataTypeDisplayFormat "AliasTypeOnly" ShowEditTimeErrors on ShowEditTimeWarnings on ShowEditTimeAdvisorChecks off ShowPortUnits off ShowDesignRanges off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off VariantCondition off ExecutionContextIcon off ShowLinearizationAnnotations on ShowVisualizeInsertedRTB on ShowMarkup on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off FunctionConnectors off BrowserLookUnderMasks off SimulationMode "normal" VisualizeLoggedSignalsWhenLoggingToFile off PauseTimes "5" NumberOfSteps 1 SnapshotBufferSize 10 SnapshotInterval 10 NumberOfLastSnapshots 0 LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off Object { $PropName "DataLoggingOverride" $ObjectID 8 $ClassName "Simulink.SimulationData.ModelLoggingInfo" model_ "PDF_binary_counter" overrideMode_ [0U] Array { Type "Cell" Dimension 1 Cell "PDF_binary_counter" PropName "logAsSpecifiedByModels_" } Array { Type "Cell" Dimension 1 Cell [] PropName "logAsSpecifiedByModelsSSIDs_" } } 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 ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off OrderedModelArguments on Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 9 Version "1.17.0" DisabledProps [] Description "" Array { Type "Handle" Dimension 10 Simulink.SolverCC { $ObjectID 10 Version "1.17.0" DisabledProps [] Description "" StartTime "0.0" StopTime "10/50e6" AbsTol "auto" FixedStep "Ts" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" EnableMultiTasking off EnableConcurrentExecution off ConcurrentTasks off Solver "FixedStepDiscrete" SolverName "FixedStepDiscrete" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverInfoToggleStatus on IsAutoAppliedInSIP off SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" SampleTimeProperty [] } Simulink.DataIOCC { $ObjectID 11 Version "1.17.0" DisabledProps [] Description "" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Dataset" SignalLoggingSaveFormat "Dataset" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off VisualizeSimOutput on StreamToWorkspace off StreamVariableName "streamout" SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" LoggingToFile off DatasetSignalFormat "timeseries" LoggingFileName "out.mat" LoggingIntervals "[-inf, inf]" } Simulink.OptimizationCC { $ObjectID 12 Version "1.17.0" Array { Type "Cell" Dimension 8 Cell "BooleansAsBitfields" Cell "PassReuseOutputArgsAs" Cell "PassReuseOutputArgsThreshold" Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" Cell "UseSpecifiedMinMax" PropName "DisabledProps" } Description "" BlockReduction on BooleanDataType on ConditionallyExecuteInputs on DefaultParameterBehavior "Inlined" UseDivisionForNetSlopeComputation "off" UseFloatMulNetSlope off DefaultUnderspecifiedDataType "double" UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off CachingGlobalReferences off GlobalBufferReuse on StrengthReduction off AdvancedOptControl "" ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" PassReuseOutputArgsThreshold 12 ExpressionDepthLimit 128 LocalBlockOutputs on RollThreshold 5 StateBitsets off DataBitsets off ActiveStateOutputEnumStorageType "Native Integer" ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on LifeSpan "auto" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "off" AccelVerboseBuild off OptimizeBlockOrder "off" OptimizeDataStoreBuffers on BusAssignmentInplaceUpdate on } Simulink.DebuggingCC { $ObjectID 13 Version "1.17.0" Array { Type "Cell" Dimension 1 Cell "UseOnlyExistingSharedCode" PropName "DisabledProps" } Description "" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Simplified" MergeDetectMultiDrivingBlocksExec "error" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "error" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" UseOnlyExistingSharedCode "error" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "error" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" AllowSymbolicDim on RowMajorDimensionSupport off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "none" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "ErrorLevel1" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" SymbolicDimMinMaxWarning "warning" LossOfSymbolicDimsSimulationWarning "warning" LossOfSymbolicDimsCodeGenerationWarning "error" SymbolicDimsDataTypeCodeGenerationDiagnostic "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "error" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "error" SFTransitionOutsideNaturalParentDiag "warning" SFUnreachableExecutionPathDiag "warning" SFUndirectedBroadcastEventsDiag "warning" SFTransitionActionBeforeConditionDiag "warning" SFOutputUsedAsStateInMooreChartDiag "error" SFTemporalDelaySmallerThanSampleTimeDiag "warning" SFSelfTransitionDiag "warning" SFExecutionAtInitializationDiag "warning" SFMachineParentedDataDiag "warning" IntegerSaturationMsg "warning" AllowedUnitSystems "all" UnitsInconsistencyMsg "warning" AllowAutomaticUnitConversions on UnitDatabase "" } Simulink.HardwareCC { $ObjectID 14 Version "1.17.0" DisabledProps [] Description "" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerLongLong 64 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 64 ProdBitPerSizeT 64 ProdBitPerPtrDiffT 64 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "Float" ProdIntDivRoundTo "Zero" ProdEndianess "LittleEndian" ProdWordSize 64 ProdShiftRightIntArith on ProdLongLongMode off ProdHWDeviceType "Intel->x86-64 (Windows64)" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerLongLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetBitPerSizeT 32 TargetBitPerPtrDiffT 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetLongLongMode off TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on UseEmbeddedCoderFeatures on UseSimulinkCoderFeatures on } Simulink.ModelReferenceCC { $ObjectID 15 Version "1.17.0" DisabledProps [] Description "" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" EnableRefExpFcnMdlSchedulingChecks on CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelDependencies "" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel on SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 16 Version "1.17.0" DisabledProps [] Description "" SimCustomSourceCode "" SimCustomHeaderCode "" SimCustomInitializer "" SimCustomTerminator "" SimReservedNameArray [] SimUserSources "" SimUserIncludeDirs "" SimUserLibraries "" SimUserDefines "" SimCustomCompilerFlags "" SimCustomLinkerFlags "" SFSimEcho on SimCtrlC on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" SimGenImportedTypeDefs off ModelFunctionsGlobalVisibility "on" CompileTimeRecursionLimit 50 EnableRuntimeRecursion on MATLABDynamicMemAlloc on MATLABDynamicMemAllocThreshold 65536 } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 17 Version "1.17.0" Array { Type "Cell" Dimension 13 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" Cell "PortableWordSizes" Cell "GenerateWebview" Cell "GenerateCodeMetricsReport" Cell "GenerateCodeReplacementReport" Cell "GenerateMissedCodeReplacementReport" Cell "GenerateErtSFunction" Cell "CreateSILPILBlock" PropName "DisabledProps" } SystemTargetFile "grt.tlc" HardwareBoard "None" TLCOptions "" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on PackageGeneratedCodeAndArtifacts off PackageName "" TemplateMakefile "grt_default_tmf" PostCodeGenCommand "" Description "" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off RTWBuildHooks [] ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off RTWUseLocalCustomCode off RTWUseSimCustomCode off CustomSourceCode "" CustomHeaderCode "" CustomInclude "" CustomSource "" CustomLibrary "" CustomDefine "" CustomLAPACKCallback "" CustomInitializer "" CustomTerminator "" Toolchain "Automatically locate an installed toolchain" BuildConfiguration "Faster Builds" CustomToolchainOptions [] IncludeHyperlinkInReport off LaunchReport off PortableWordSizes off CreateSILPILBlock "None" CodeExecutionProfiling off CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" CodeProfilingInstrumentation off SILDebugging off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off GenerateMissedCodeReplacementReport off RTWCompilerOptimization "off" ObjectivePriorities [] RTWCustomCompilerOptimizations "" CheckMdlBeforeBuild "Off" SharedConstantsCachingThreshold 1024 Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 18 Version "1.17.0" Array { Type "Cell" Dimension 27 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "InsertPolySpaceComments" Cell "SFDataObjDesc" Cell "MATLABFcnDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InternalIdentifier" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrModelFcn" Cell "CustomSymbolStrFcnArg" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" Cell "CustomSymbolStrUtil" Cell "CustomSymbolStrEmxType" Cell "CustomSymbolStrEmxFcn" Cell "CustomUserTokenString" Cell "ReqsInCode" PropName "DisabledProps" } Description "" Comment "" ForceParamTrailComments off GenerateComments on CommentStyle "Auto" IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off OperatorAnnotations off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M_T" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrModelFcn "$R$N" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" CustomSymbolStrUtil "$N$C" CustomSymbolStrEmxType "emxArray_$M$N" CustomSymbolStrEmxFcn "emx$M$N" CustomUserTokenString "" CustomCommentsFcn "" DefineNamingRule "None" DefineNamingFcn "" ParamNamingRule "None" ParamNamingFcn "" SignalNamingRule "None" SignalNamingFcn "" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InternalIdentifierFile "" InternalIdentifier "Shortened" InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off ReservedNameArray [] } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 19 Version "1.17.0" Array { Type "Cell" Dimension 15 Cell "IncludeMdlTerminateFcn" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "ExistingSharedCode" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "GenerateAllocFcn" Cell "PurelyIntegerCode" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "RemoveDisableFunc" Cell "RemoveResetFunc" PropName "DisabledProps" } Description "" TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "NOT IN USE" TargetLangStandard "C99 (ISO)" CodeReplacementLibrary "None" UtilityFuncGeneration "Auto" MultiwordTypeDef "System defined" MultiwordLength 2048 GenerateFullHeader on InferredTypesCompatibility off ExistingSharedCode "" GenerateSampleERTMain off GenerateTestInterfaces off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Use local settings" CombineOutputUpdateFcns on CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off CodeInterfacePackaging "Nonreusable function" SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on RemoveDisableFunc off RemoveResetFunc off SupportVariableSizeSignals off ParenthesesLevel "Nominal" CastingMode "Nominal" MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant on AutosarCompliant off MDXCompliant off GRTInterface off GenerateAllocFcn off UseToolchainInfoCompliant on GenerateSharedConstants on CoderGroups [] AccessMethods [] LookupTableObjectStructAxisOrder "1,2,3,4,..." UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeMexArgs "" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off GenerateASAP2 off MultiInstanceErrorCode "Error" } PropName "Components" } } SlCovCC.ConfigComp { $ObjectID 20 Version "1.17.0" DisabledProps [] Description "Simulink Coverage Configuration Component" Name "Simulink Coverage" CovEnable off CovScope "EntireSystem" CovIncludeTopModel on RecordCoverage off CovPath "/" CovSaveName "covdata" CovCompData "" CovMetricSettings "dwe" CovFilter "" CovHTMLOptions "" CovNameIncrementing off CovHtmlReporting off CovForceBlockReductionOff on CovEnableCumulative on CovSaveCumulativeToWorkspaceVar off CovSaveSingleToWorkspaceVar off CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovSaveOutputData on CovOutputDir "slcov_output/$ModelName$" CovDataFileName "$ModelName$_cvdata" CovShowResultsExplorer on CovReportOnPause on CovModelRefEnable "off" CovModelRefExcluded "" CovExternalEMLEnable on CovSFcnEnable on CovBoundaryAbsTol 1e-05 CovBoundaryRelTol 0.01 CovUseTimeInterval off CovStartTime 0 CovStopTime 0 CovMcdcMode "Masking" } hdlcoderui.hdlcc { $ObjectID 21 Version "1.17.0" DisabledProps [] Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell " " PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" ExtraOptions "" CurrentDlgPage "Optimization/Signals and Parameters" ConfigPrmDlgPosition [ 145, 124, 1135, 794 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 9 } Object { $PropName "DataTransfer" $ObjectID 22 $ClassName "Simulink.GlobalDataTransfer" DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" DefaultExtrapolationMethodBetweenContTasks "None" AutoInsertRateTranBlk [0] } ExplicitPartitioning off BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on HideAutomaticName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } MaskDefaults { SelfModifiable "off" IconFrame "on" IconOpaque "opaque" RunInitForIconRedraw "analyze" IconRotate "none" PortRotate "default" IconUnits "autoscale" } MaskParameterDefaults { Evaluate "on" Tunable "on" NeverSave "off" Internal "off" ReadOnly "off" Enabled "on" Visible "on" ToolTip "on" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType Delay DelayLengthSource "Dialog" DelayLength "2" DelayLengthUpperLimit "100" InitialConditionSource "Dialog" InitialCondition "0.0" ExternalReset "None" ShowEnablePort off PreventDirectFeedthrough off DiagnosticForDelayLength "None" RemoveDelayLengthCheckInGeneratedCode off InputProcessing "Elements as channels (sample based)" UseCircularBuffer off SampleTime "-1" StateMustResolveToSignalObject off CodeGenStateStorageClass "Auto" } Block { BlockType Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off Unit "inherit" PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType Outport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off Unit "inherit" PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" EnsureOutportIsVirtual off SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" MustResolveToSignalObject off } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off SystemSampleTime "-1" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" FunctionInterfaceSpec "void_void" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" Opaque off MaskHideContents off SFBlockType "NONE" GeneratePreprocessorConditionals off PropagateVariantConditions off TreatAsGroupedWhenPropagatingVariantConditions on ContentPreviewEnabled off IsWebBlock off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType TriggerPort TriggerType "rising" IsSimulinkFunction off Variant off GeneratePreprocessorConditionals off StatesWhenEnabling "inherit" PropagateVarSize "During execution" ShowOutputPort off OutputDataType "auto" SampleTimeType "triggered" SampleTime "1" ZeroCross on DisallowConstTsAndPrmTs off InitialTriggerSignalState "compatibility (no trigger on first evaluation)" PortDimensions "-1" TriggerSignalSampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" Interpolate on } } System { Name "PDF_binary_counter" Location [-7, -7, 1543, 841] Open on PortBlocksUseCompactNotation 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 "162" ReportName "simulink-default.rpt" SIDHighWatermark "115" Block { BlockType Inport Name "ref" SID "112" Position [250, 438, 280, 452] ZOrder 365 IconDisplay "Port number" OutDataTypeStr "boolean" } Block { BlockType Inport Name "var" SID "113" Position [250, 643, 280, 657] ZOrder 366 Port "2" IconDisplay "Port number" OutDataTypeStr "boolean" } Block { BlockType Sum Name "Add2" SID "109" Ports [2, 1] Position [535, 462, 565, 493] ZOrder 363 ShowName off Inputs "+-" InputSameDT off OutDataTypeStr "fixdt(1,M,0)" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Constant1" SID "105" Position [250, 595, 280, 625] ZOrder 359 ShowName off OutDataTypeStr "fixdt(1,phasewidth,0)" } Block { BlockType Constant Name "Constant2" SID "81" Position [250, 390, 280, 420] ZOrder 339 ShowName off OutDataTypeStr "fixdt(1,phasewidth,0)" } Block { BlockType SubSystem Name "D Latch" SID "65" Ports [2, 1] Position [390, 377, 440, 468] ZOrder 321 ShowName off AncestorBlock "simulink_extras/Flip Flops/D Latch" LibraryVersion "*1.59" RequestExecContextInheritance off Variant off Port { PortNumber 1 Name "up" } System { Name "D Latch" Location [-7, -7, 1543, 841] Open off PortBlocksUseCompactNotation 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" SIDHighWatermark "117" SIDPrevWatermark "114" Block { BlockType Inport Name "D" SID "65:105" Position [25, 83, 55, 97] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name ">" SID "65:106" Position [110, 15, 140, 30] ZOrder -2 BlockRotation 270 BlockMirror on Port "2" IconDisplay "Port number" } Block { BlockType SubSystem Name "D Latch" SID "65:107" Ports [1, 1, 0, 1] Position [105, 53, 145, 127] ZOrder -3 TreatAsAtomicUnit on RequestExecContextInheritance off Variant off System { Name "D Latch" Location [-7, -7, 1543, 841] Open off PortBlocksUseCompactNotation 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" SID "65:108" Position [25, 70, 45, 90] ZOrder -1 IconDisplay "Port number" } Block { BlockType TriggerPort Name "Trigger" SID "65:116" Ports [] Position [25, 17, 45, 37] ZOrder 19 VariantControl "Variant" StatesWhenEnabling "held" PortDimensions "1" } Block { BlockType Outport Name "Q" SID "65:111" Position [205, 70, 225, 90] ZOrder -4 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 6 SrcBlock "D" SrcPort 1 DstBlock "Q" DstPort 1 } } } Block { BlockType Outport Name "Q" SID "65:113" Position [190, 83, 220, 97] ZOrder -4 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 5 SrcBlock ">" SrcPort 1 DstBlock "D Latch" DstPort trigger } Line { ZOrder 2 SrcBlock "D Latch" SrcPort 1 DstBlock "Q" DstPort 1 } Line { ZOrder 3 SrcBlock "D" SrcPort 1 DstBlock "D Latch" DstPort 1 } } } Block { BlockType SubSystem Name "D Latch1" SID "106" Ports [2, 1] Position [390, 582, 440, 673] ZOrder 358 ShowName off AncestorBlock "simulink_extras/Flip Flops/D Latch" LibraryVersion "*1.59" RequestExecContextInheritance off Variant off Port { PortNumber 1 Name "down" } System { Name "D Latch1" Location [-7, -7, 1543, 841] Open off PortBlocksUseCompactNotation 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" SIDHighWatermark "117" SIDPrevWatermark "114" Block { BlockType Inport Name "D" SID "106:105" Position [25, 83, 55, 97] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name ">" SID "106:106" Position [110, 15, 140, 30] ZOrder -2 BlockRotation 270 BlockMirror on Port "2" IconDisplay "Port number" } Block { BlockType SubSystem Name "D Latch" SID "106:107" Ports [1, 1, 0, 1] Position [105, 53, 145, 127] ZOrder -3 TreatAsAtomicUnit on RequestExecContextInheritance off Variant off System { Name "D Latch" Location [-7, -7, 1543, 841] Open off PortBlocksUseCompactNotation 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" SID "106:108" Position [25, 70, 45, 90] ZOrder -1 IconDisplay "Port number" } Block { BlockType TriggerPort Name "Trigger" SID "106:116" Ports [] Position [25, 17, 45, 37] ZOrder 19 VariantControl "Variant" StatesWhenEnabling "held" PortDimensions "1" } Block { BlockType Outport Name "Q" SID "106:111" Position [205, 70, 225, 90] ZOrder -4 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 1 SrcBlock "D" SrcPort 1 DstBlock "Q" DstPort 1 } } } Block { BlockType Outport Name "Q" SID "106:113" Position [190, 83, 220, 97] ZOrder -4 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 1 SrcBlock ">" SrcPort 1 DstBlock "D Latch" DstPort trigger } Line { ZOrder 2 SrcBlock "D Latch" SrcPort 1 DstBlock "Q" DstPort 1 } Line { ZOrder 3 SrcBlock "D" SrcPort 1 DstBlock "D Latch" DstPort 1 } } } Block { BlockType Delay Name "Delay" SID "103" Ports [1, 1] Position [395, 323, 430, 357] ZOrder 357 BlockMirror on ShowName off InputPortMap "u0" DelayLength "1" Port { PortNumber 1 Name "count up" } } Block { BlockType Delay Name "Delay1" SID "107" Ports [1, 1] Position [395, 528, 430, 562] ZOrder 362 BlockMirror on ShowName off InputPortMap "u0" DelayLength "1" Port { PortNumber 1 Name "count down" } } Block { BlockType Sum Name "accumulator ref" SID "102" Ports [2, 1] Position [330, 382, 360, 413] ZOrder 356 InputSameDT off OutDataTypeStr "fixdt(1,M,0)" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "accumulator var" SID "104" Ports [2, 1] Position [330, 587, 360, 618] ZOrder 361 InputSameDT off OutDataTypeStr "fixdt(1,M,0)" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "phase" SID "114" Position [625, 473, 655, 487] ZOrder 367 IconDisplay "Port number" } Line { ZOrder 249 SrcBlock "ref" SrcPort 1 DstBlock "D Latch" DstPort 2 } Line { ZOrder 208 SrcBlock "accumulator ref" SrcPort 1 DstBlock "D Latch" DstPort 1 } Line { ZOrder 209 SrcBlock "Constant2" SrcPort 1 DstBlock "accumulator ref" DstPort 2 } Line { Name "count up" ZOrder 213 Labels [1, 1] SrcBlock "Delay" SrcPort 1 Points [-74, 0; 0, 50] DstBlock "accumulator ref" DstPort 1 } Line { Name "count down" ZOrder 216 Labels [1, 1] SrcBlock "Delay1" SrcPort 1 Points [-74, 0; 0, 50] DstBlock "accumulator var" DstPort 1 } Line { ZOrder 220 SrcBlock "accumulator var" SrcPort 1 DstBlock "D Latch1" DstPort 1 } Line { ZOrder 224 SrcBlock "Constant1" SrcPort 1 DstBlock "accumulator var" DstPort 2 } Line { ZOrder 251 SrcBlock "Add2" SrcPort 1 DstBlock "phase" DstPort 1 } Line { ZOrder 250 SrcBlock "var" SrcPort 1 DstBlock "D Latch1" DstPort 2 } Line { Name "down" ZOrder 223 Labels [1, 1] SrcBlock "D Latch1" SrcPort 1 Points [33, 0; 0, -85] Branch { ZOrder 252 DstBlock "Delay1" DstPort 1 } Branch { ZOrder 228 Points [0, -60] DstBlock "Add2" DstPort 2 } } Line { Name "up" ZOrder 186 Labels [1, 1] SrcBlock "D Latch" SrcPort 1 Points [33, 0] Branch { ZOrder 226 Points [0, 45] DstBlock "Add2" DstPort 1 } Branch { ZOrder 225 Points [0, -85] DstBlock "Delay" DstPort 1 } } Annotation { SID "115" Name "\n" "\n" "

Paramet" "ers:

\n

sampletime : Ts

\n

accumulator :" " M

" Position [582, 320, 655, 372] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off HorizontalAlignment "left" VerticalAlignment "top" Interpreter "rich" ZOrder -1 } Annotation { SID "111" Name "Phase Frequency Detector Binary-Counter" Position [211, 297, 676, 697] InternalMargins [0, 0, 0, 0] FixedHeight on FixedWidth on HorizontalAlignment "left" VerticalAlignment "top" ForegroundColor "[0.901961, 0.901961, 1.000000]" BackgroundColor "[0.901961, 0.901961, 1.000000]" DropShadow on AnnotationType "area_annotation" ZOrder 128 FontSize 12 } } }