Model {
  Name			  "fxpdemo_series_cascade_form"
  Version		  5.0
  SaveDefaultBlockParams  on
  SampleTimeColors	  off
  LibraryLinkDisplay	  "none"
  WideLines		  on
  ShowLineDimensions	  off
  ShowPortDataTypes	  on
  ShowLoopsOnError	  on
  IgnoreBidirectionalLines off
  ShowStorageClass	  off
  ExecutionOrder	  off
  RecordCoverage	  off
  CovPath		  "/"
  CovSaveName		  "covdata"
  CovMetricSettings	  "d"
  CovNameIncrementing	  off
  CovHtmlReporting	  on
  covSaveCumulativeToWorkspaceVar on
  CovSaveSingleToWorkspaceVar on
  CovCumulativeVarName	  "covCumulativeData"
  CovCumulativeReport	  off
  DataTypeOverride	  "UseLocalSettings"
  MinMaxOverflowLogging	  "MinMaxAndOverflow"
  MinMaxOverflowArchiveMode "Overwrite"
  BlockNameDataTip	  off
  BlockParametersDataTip  on
  BlockDescriptionStringDataTip	off
  ToolBar		  on
  StatusBar		  on
  BrowserShowLibraryLinks off
  BrowserLookUnderMasks	  off
  Created		  "Tue Jul 07 12:09:50 1998"
  Creator		  "andyb"
  UpdateHistory		  "UpdateHistoryNever"
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "andyb"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Wed May 22 12:17:10 2002"
  ModelVersionFormat	  "1.%<AutoIncrement:40>"
  ConfigurationManager	  "none"
  SimParamPage		  "Solver"
  LinearizationMsg	  "none"
  Profile		  off
  ParamWorkspaceSource	  "MATLABWorkspace"
  AccelSystemTargetFile	  "accel.tlc"
  AccelTemplateMakefile	  "accel_default_tmf"
  AccelMakeCommand	  "make_rtw"
  TryForcingSFcnDF	  off
  ExtModeMexFile	  "ext_comm"
  ExtModeBatchMode	  off
  ExtModeTrigType	  "manual"
  ExtModeTrigMode	  "oneshot"
  ExtModeTrigPort	  "1"
  ExtModeTrigElement	  "any"
  ExtModeTrigDuration	  1000
  ExtModeTrigHoldOff	  0
  ExtModeTrigDelay	  0
  ExtModeTrigDirection	  "rising"
  ExtModeTrigLevel	  0
  ExtModeArchiveMode	  "off"
  ExtModeAutoIncOneShot	  off
  ExtModeIncDirWhenArm	  off
  ExtModeAddSuffixToVar	  off
  ExtModeWriteAllDataToWs off
  ExtModeArmWhenConnect	  off
  ExtModeSkipDownloadWhenConnect off
  ExtModeLogAll		  on
  ExtModeAutoUpdateStatusClock off
  BufferReuse		  on
  RTWExpressionDepthLimit 5
  SimulationMode	  "normal"
  Solver		  "FixedStepDiscrete"
  SolverMode		  "SingleTasking"
  StartTime		  "0.0"
  StopTime		  "200.0"
  MaxOrder		  5
  MaxStep		  "auto"
  MinStep		  "auto"
  MaxNumMinSteps	  "-1"
  InitialStep		  "auto"
  FixedStep		  "1"
  RelTol		  "1e-3"
  AbsTol		  "auto"
  OutputOption		  "RefineOutputTimes"
  OutputTimes		  "[]"
  Refine		  "1"
  LoadExternalInput	  off
  ExternalInput		  "[t, u]"
  LoadInitialState	  off
  InitialState		  "xInitial"
  SaveTime		  on
  TimeSaveName		  "tout"
  SaveState		  off
  StateSaveName		  "xout"
  SaveOutput		  on
  OutputSaveName	  "yout"
  SaveFinalState	  off
  FinalStateName	  "xFinal"
  SaveFormat		  "Array"
  Decimation		  "1"
  LimitDataPoints	  off
  MaxDataPoints		  "1000"
  SignalLoggingName	  "sigsOut"
  ConsistencyChecking	  "none"
  ArrayBoundsChecking	  "none"
  AlgebraicLoopMsg	  "warning"
  BlockPriorityViolationMsg "warning"
  MinStepSizeMsg	  "warning"
  InheritedTsInSrcMsg	  "warning"
  DiscreteInheritContinuousMsg "warning"
  MultiTaskRateTransMsg	  "error"
  SingleTaskRateTransMsg  "none"
  CheckForMatrixSingularity "none"
  IntegerOverflowMsg	  "none"
  Int32ToFloatConvMsg	  "warning"
  ParameterDowncastMsg	  "warning"
  ParameterOverflowMsg	  "warning"
  ParameterPrecisionLossMsg "none"
  UnderSpecifiedDataTypeMsg "none"
  UnnecessaryDatatypeConvMsg "none"
  VectorMatrixConversionMsg "none"
  InvalidFcnCallConnMsg	  "error"
  SignalLabelMismatchMsg  "none"
  UnconnectedInputMsg	  "warning"
  UnconnectedOutputMsg	  "warning"
  UnconnectedLineMsg	  "warning"
  SfunCompatibilityCheckMsg "none"
  RTWInlineParameters	  on
  BlockReductionOpt	  on
  BooleanDataType	  on
  ConditionallyExecuteInputs on
  ParameterPooling	  on
  OptimizeBlockIOStorage  on
  ZeroCross		  on
  AssertionControl	  "UseLocalSettings"
  ProdHWDeviceType	  "Microprocessor"
  ProdHWWordLengths	  "8,16,32,32"
  RTWSystemTargetFile	  "grt.tlc"
  RTWTemplateMakefile	  "grt_default_tmf"
  RTWMakeCommand	  "make_rtw"
  RTWGenerateCodeOnly	  off
  RTWRetainRTWFile	  off
  TLCProfiler		  off
  TLCDebug		  off
  TLCCoverage		  off
  TLCAssertion		  off
  RTWOptions		  "-aEnforceIntegerDowncast=1 -aExtMode=0 -aExtModeTes"
"ting=0 -aFoldNonRolledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1"
" -aGenerateReport=1 -aIgnoreCustomStorageClasses=1 -aIncDataTypeInIds=0 -aInc"
"HierarchyInIds=0 -aInlineInvariantSignals=0 -aInlinedPrmAccess=\"Literals\" -"
"aLocalBlockOutputs=1 -aLogVarNameModifier=\"rt_\" -aMaxRTWIdLen=31 -aPrefixMo"
"delToSubsysFcnNames=1 -aRTWVerbose=1 -aRollThreshold=5 -aShowEliminatedStatem"
"ents=0"
  BlockDefaults {
    Orientation		    "right"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    NamePlacement	    "normal"
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ShowAdditionalParam     off
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
    }
    Block {
      BlockType		      Scope
      Floating		      off
      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	      "0"
    }
    Block {
      BlockType		      "S-Function"
      FunctionName	      "system"
      PortCounts	      "[]"
      SFunctionModules	      "''"
    }
    Block {
      BlockType		      SignalGenerator
      WaveForm		      "sine"
      Amplitude		      "1"
      Frequency		      "1"
      Units		      "Hertz"
      VectorParams1D	      on
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      ShowAdditionalParam     off
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
    }
    Block {
      BlockType		      UnitDelay
      X0		      "0"
      SampleTime	      "1"
      RTWStateStorageClass    "Auto"
    }
  }
  AnnotationDefaults {
    HorizontalAlignment	    "center"
    VerticalAlignment	    "middle"
    ForegroundColor	    "black"
    BackgroundColor	    "white"
    DropShadow		    off
    FontName		    "Helvetica"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  LineDefaults {
    FontName		    "Helvetica"
    FontSize		    9
    FontWeight		    "normal"
    FontAngle		    "normal"
  }
  System {
    Name		    "fxpdemo_series_cascade_form"
    Location		    [6, 72, 1022, 427]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "usletter"
    PaperUnits		    "inches"
    ZoomFactor		    "77"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      " To FixPt"
      Ports		      [1, 1]
      Position		      [95, 161, 140, 199]
      SourceBlock	      "fixpt_lib_4/Data Type/Gateway In"
      SourceType	      "Fixed-Point Gateway In"
      InRealWorld	      "Real World Value"
      OutputDataTypeScalingMode	"Specify via dialog"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^-10"
      LockScale		      off
      RndMeth		      "Floor"
      DoSatur		      off
    }
    Block {
      BlockType		      UnitDelay
      Name		      "FixPtUnit\nDelay2"
      Position		      [795, 191, 835, 229]
      X0		      "0.0"
      SampleTime	      "1.0"
    }
    Block {
      BlockType		      Reference
      Name		      "From FixPt"
      Ports		      [1, 1]
      Position		      [1130, 121, 1175, 159]
      SourceBlock	      "fixpt_lib_4/Data Type/Gateway Out"
      SourceType	      "Fixed-Point Gateway Out"
      OutRealWorld	      "Real World Value"
      OutBuiltInType	      "double"
      RndMeth		      "Floor"
      DoSatur		      off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [320, 266, 360, 304]
      Orientation	      "left"
      Gain		      "-0.1"
      ShowAdditionalParam     on
      ParameterDataTypeMode   "Specify via dialog"
      ParameterDataType	      "sfix( 16 )"
      ParameterScalingMode    "Best Precision: Column-wise"
      ParameterScaling	      "2^-18"
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain1"
      Position		      [440, 176, 480, 214]
      Gain		      "0.5"
      ShowAdditionalParam     on
      ParameterDataTypeMode   "Specify via dialog"
      ParameterDataType	      "sfix( 16 )"
      ParameterScalingMode    "Best Precision: Column-wise"
      ParameterScaling	      "2^-15"
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain2"
      Position		      [675, 271, 715, 309]
      Orientation	      "left"
      Gain		      "0.6"
      ShowAdditionalParam     on
      ParameterDataTypeMode   "Specify via dialog"
      ParameterDataType	      "sfix( 16 )"
      ParameterScalingMode    "Best Precision: Column-wise"
      ParameterScaling	      "2^-15"
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain3"
      Position		      [790, 340, 830, 380]
      Orientation	      "left"
      Gain		      "-0.9"
      ShowAdditionalParam     on
      ParameterDataTypeMode   "Specify via dialog"
      ParameterDataType	      "sfix( 16 )"
      ParameterScalingMode    "Best Precision: Column-wise"
      ParameterScaling	      "2^-15"
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain4"
      Position		      [795, 121, 835, 159]
      Gain		      "1.7"
      ShowAdditionalParam     on
      ParameterDataTypeMode   "Specify via dialog"
      ParameterDataType	      "sfix( 16 )"
      ParameterScalingMode    "Best Precision: Column-wise"
      ParameterScaling	      "2^-14"
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Gain
      Name		      "Gain5"
      Position		      [910, 191, 950, 229]
      ShowAdditionalParam     on
      ParameterDataTypeMode   "Specify via dialog"
      ParameterDataType	      "sfix( 16 )"
      ParameterScalingMode    "Best Precision: Column-wise"
      ParameterScaling	      "2^-14"
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      SignalGenerator
      Name		      "Input"
      Position		      [15, 165, 45, 195]
      WaveForm		      "square"
      Frequency		      "0.005"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux3"
      Ports		      [2, 1]
      Position		      [1215, 88, 1230, 157]
      Inputs		      "2"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Output\nComparison"
      Ports		      [1]
      Position		      [1270, 110, 1300, 140]
      Location		      [10, 82, 921, 602]
      Open		      off
      NumInputPorts	      "1"
      TickLabels	      "on"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      TimeRange		      "200"
      YMin		      "-8"
      YMax		      "10"
      SaveToWorkspace	      on
      SaveName		      "OutputComparison"
      DataFormat	      "StructureWithTime"
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [210, 166, 250, 224]
      ShowAdditionalParam     on
      InputSameDT	      off
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Sum1"
      Ports		      [4, 1]
      Position		      [555, 155, 600, 260]
      Inputs		      "++++"
      ShowAdditionalParam     on
      InputSameDT	      off
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Sum
      Name		      "Sum2"
      Ports		      [3, 1]
      Position		      [1015, 32, 1060, 248]
      Inputs		      "+++"
      ShowAdditionalParam     on
      InputSameDT	      off
      OutDataTypeMode	      "Specify via dialog"
      OutScaling	      "2^-10"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      UnitDelay
      Name		      "Unit Delay"
      Position		      [325, 176, 365, 214]
      X0		      "0.0"
      SampleTime	      "1.0"
    }
    Block {
      BlockType		      UnitDelay
      Name		      "Unit Delay1"
      Position		      [680, 191, 720, 229]
      X0		      "0.0"
      SampleTime	      "1.0"
    }
    Line {
      SrcBlock		      " To FixPt"
      SrcPort		      1
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Input"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		" To FixPt"
	DstPort			1
      }
      Branch {
	Points			[0, -165; 1120, 0]
	DstBlock		"Mux3"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [-125, 0; 0, -75]
      DstBlock		      "Sum"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      Points		      [55, 0]
      Branch {
	DstBlock		"Unit Delay"
	DstPort			1
      }
      Branch {
	Points			[0, -25]
	DstBlock		"Sum1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Unit Delay"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Gain1"
	DstPort			1
      }
      Branch {
	Points			[0, 90]
	DstBlock		"Gain"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain1"
      SrcPort		      1
      DstBlock		      "Sum1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Gain2"
      SrcPort		      1
      Points		      [-140, 0; 0, -45]
      DstBlock		      "Sum1"
      DstPort		      4
    }
    Line {
      SrcBlock		      "Sum1"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	DstBlock		"Unit Delay1"
	DstPort			1
      }
      Branch {
	Points			[0, -140]
	DstBlock		"Sum2"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Unit Delay1"
      SrcPort		      1
      Points		      [55, 0]
      Branch {
	DstBlock		"FixPtUnit\nDelay2"
	DstPort			1
      }
      Branch {
	Points			[0, 80]
	DstBlock		"Gain2"
	DstPort			1
      }
      Branch {
	DstBlock		"Gain4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain3"
      SrcPort		      1
      Points		      [-280, 0; 0, -140]
      DstBlock		      "Sum1"
      DstPort		      3
    }
    Line {
      SrcBlock		      "FixPtUnit\nDelay2"
      SrcPort		      1
      Points		      [15, 0; 0, 0]
      Branch {
	Points			[0, 150]
	DstBlock		"Gain3"
	DstPort			1
      }
      Branch {
	DstBlock		"Gain5"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Gain5"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      3
    }
    Line {
      SrcBlock		      "Gain4"
      SrcPort		      1
      DstBlock		      "Sum2"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Sum2"
      SrcPort		      1
      DstBlock		      "From FixPt"
      DstPort		      1
    }
    Line {
      SrcBlock		      "From FixPt"
      SrcPort		      1
      DstBlock		      "Mux3"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Mux3"
      SrcPort		      1
      DstBlock		      "Output\nComparison"
      DstPort		      1
    }
    Annotation {
      Name		      "b"
      Position		      [461, 236]
      FontSize		      12
    }
    Annotation {
      Name		      "c"
      Position		      [696, 331]
      FontSize		      12
    }
    Annotation {
      Name		      "d"
      Position		      [811, 401]
      FontSize		      12
    }
    Annotation {
      Name		      "f"
      Position		      [926, 181]
      FontSize		      12
    }
    Annotation {
      Name		      "a"
      Position		      [341, 326]
      FontSize		      12
    }
    Annotation {
      Name		      "e"
      Position		      [806, 106]
      FontSize		      12
    }
  }
}
