dspddc_R12p1.mdl
上传用户:asli888
上传日期:2013-05-03
资源大小:7045k
文件大小:132k
源码类别:

matlab例程

开发平台:

Matlab

  1. # $Revision: 1.2 $
  2. Model {
  3.   Name   "dspddc_R12p1"
  4.   Version   4.1.1
  5.   SampleTimeColors   on
  6.   LibraryLinkDisplay   "none"
  7.   WideLines   on
  8.   ShowLineDimensions   on
  9.   ShowPortDataTypes   on
  10.   ShowStorageClass   off
  11.   ExecutionOrder   off
  12.   RecordCoverage   off
  13.   CovPath   "/"
  14.   CovSaveName   "covdata"
  15.   CovMetricSettings   "dw"
  16.   CovNameIncrementing   off
  17.   CovHtmlReporting   on
  18.   BlockNameDataTip   off
  19.   BlockParametersDataTip  off
  20.   BlockDescriptionStringDataTip off
  21.   ToolBar   on
  22.   StatusBar   on
  23.   BrowserShowLibraryLinks off
  24.   BrowserLookUnderMasks   off
  25.   Created   "Tue Feb 19 10:13:38 2002"
  26.   Creator   "schim"
  27.   UpdateHistory   "UpdateHistoryNever"
  28.   ModifiedByFormat   "%<Auto>"
  29.   LastModifiedBy   "sconahan"
  30.   ModifiedDateFormat   "%<Auto>"
  31.   LastModifiedDate   "Mon Jun 03 10:15:02 2002"
  32.   ModelVersionFormat   "1.%<AutoIncrement:359>"
  33.   ConfigurationManager   "None"
  34.   SimParamPage   "Optimization"
  35.   StartTime   "0.0"
  36.   StopTime   "inf"
  37.   SolverMode   "SingleTasking"
  38.   Solver   "FixedStepDiscrete"
  39.   RelTol   "1e-3"
  40.   AbsTol   "auto"
  41.   Refine   "1"
  42.   MaxStep   "auto"
  43.   MinStep   "auto"
  44.   MaxNumMinSteps   "-1"
  45.   InitialStep   "auto"
  46.   FixedStep   "auto"
  47.   MaxOrder   5
  48.   OutputOption   "RefineOutputTimes"
  49.   OutputTimes   "[]"
  50.   LoadExternalInput   off
  51.   ExternalInput   "[t, u]"
  52.   SaveTime   off
  53.   TimeSaveName   "tout"
  54.   SaveState   off
  55.   StateSaveName   "xout"
  56.   SaveOutput   off
  57.   OutputSaveName   "yout"
  58.   LoadInitialState   off
  59.   InitialState   "xInitial"
  60.   SaveFinalState   off
  61.   FinalStateName   "xFinal"
  62.   SaveFormat   "Array"
  63.   LimitDataPoints   off
  64.   MaxDataPoints   "1000"
  65.   Decimation   "1"
  66.   AlgebraicLoopMsg   "warning"
  67.   MinStepSizeMsg   "warning"
  68.   UnconnectedInputMsg   "warning"
  69.   UnconnectedOutputMsg   "warning"
  70.   UnconnectedLineMsg   "warning"
  71.   InheritedTsInSrcMsg   "warning"
  72.   SingleTaskRateTransMsg  "none"
  73.   MultiTaskRateTransMsg   "error"
  74.   IntegerOverflowMsg   "warning"
  75.   CheckForMatrixSingularity "none"
  76.   UnnecessaryDatatypeConvMsg "none"
  77.   Int32ToFloatConvMsg   "warning"
  78.   InvalidFcnCallConnMsg   "error"
  79.   SignalLabelMismatchMsg  "none"
  80.   LinearizationMsg   "none"
  81.   VectorMatrixConversionMsg "none"
  82.   SfunCompatibilityCheckMsg "none"
  83.   BlockPriorityViolationMsg "warning"
  84.   ArrayBoundsChecking   "none"
  85.   ConsistencyChecking   "none"
  86.   ZeroCross   on
  87.   Profile   off
  88.   SimulationMode   "normal"
  89.   RTWSystemTargetFile   "grt.tlc"
  90.   RTWOptions   "-aEnforceIntegerDowncast=1 -aExtMode=0 -aFoldNonRol"
  91. "ledExpr=1 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor"
  92. "ageClasses=1 -aIncHierarchyInIds=0 -aInlineInvariantSignals=1 -aLocalBlockOut"
  93. "puts=1 -aLogVarNameModifier="rt_" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl"
  94. "iminatedStatements=1"
  95.   RTWInlineParameters   on
  96.   RTWRetainRTWFile   off
  97.   RTWTemplateMakefile   "grt_default_tmf"
  98.   RTWMakeCommand   "make_rtw"
  99.   RTWGenerateCodeOnly   off
  100.   TLCProfiler   off
  101.   TLCDebug   off
  102.   TLCCoverage   off
  103.   AccelSystemTargetFile   "accel.tlc"
  104.   AccelTemplateMakefile   "accel_default_tmf"
  105.   AccelMakeCommand   "make_rtw"
  106.   TryForcingSFcnDF   off
  107.   ExtModeMexFile   "ext_comm"
  108.   ExtModeBatchMode   off
  109.   ExtModeTrigType   "manual"
  110.   ExtModeTrigMode   "normal"
  111.   ExtModeTrigPort   "1"
  112.   ExtModeTrigElement   "any"
  113.   ExtModeTrigDuration   1000
  114.   ExtModeTrigHoldOff   0
  115.   ExtModeTrigDelay   0
  116.   ExtModeTrigDirection   "rising"
  117.   ExtModeTrigLevel   0
  118.   ExtModeArchiveMode   "off"
  119.   ExtModeAutoIncOneShot   off
  120.   ExtModeIncDirWhenArm   off
  121.   ExtModeAddSuffixToVar   off
  122.   ExtModeWriteAllDataToWs off
  123.   ExtModeArmWhenConnect   on
  124.   ExtModeSkipDownloadWhenConnect off
  125.   ExtModeLogAll   on
  126.   ExtModeAutoUpdateStatusClock on
  127.   OptimizeBlockIOStorage  on
  128.   BufferReuse   on
  129.   ParameterPooling   on
  130.   BlockReductionOpt   on
  131.   RTWExpressionDepthLimit 5
  132.   BooleanDataType   on
  133.   BlockDefaults {
  134.     Orientation     "right"
  135.     ForegroundColor     "black"
  136.     BackgroundColor     "white"
  137.     DropShadow     off
  138.     NamePlacement     "normal"
  139.     FontName     "Helvetica"
  140.     FontSize     10
  141.     FontWeight     "normal"
  142.     FontAngle     "normal"
  143.     ShowName     on
  144.   }
  145.   AnnotationDefaults {
  146.     HorizontalAlignment     "center"
  147.     VerticalAlignment     "middle"
  148.     ForegroundColor     "black"
  149.     BackgroundColor     "white"
  150.     DropShadow     off
  151.     FontName     "Helvetica"
  152.     FontSize     10
  153.     FontWeight     "normal"
  154.     FontAngle     "normal"
  155.   }
  156.   LineDefaults {
  157.     FontName     "Helvetica"
  158.     FontSize     9
  159.     FontWeight     "normal"
  160.     FontAngle     "normal"
  161.   }
  162.   System {
  163.     Name     "dspddc_R12p1"
  164.     Location     [30, 91, 447, 514]
  165.     Open     on
  166.     ModelBrowserVisibility  off
  167.     ModelBrowserWidth     212
  168.     ScreenColor     "white"
  169.     PaperOrientation     "landscape"
  170.     PaperPositionMode     "auto"
  171.     PaperType     "usletter"
  172.     PaperUnits     "inches"
  173.     ZoomFactor     "89"
  174.     ReportName     "simulink-default.rpt"
  175.     Block {
  176.       BlockType       SubSystem
  177.       Name       "CFIR1"
  178.       Ports       [1, 1]
  179.       Position       [172, 240, 288, 270]
  180.       Orientation       "down"
  181.       ShowName       off
  182.       FontName       "Arial"
  183.       FontSize       12
  184.       ShowPortLabels       on
  185.       TreatAsAtomicUnit       off
  186.       RTWSystemCode       "Auto"
  187.       RTWFcnNameOpts       "Auto"
  188.       RTWFileNameOpts       "Auto"
  189.       MaskDisplay       "disp('Compensation FIR')"
  190.       MaskIconFrame       on
  191.       MaskIconOpaque       on
  192.       MaskIconRotate       "none"
  193.       MaskIconUnits       "autoscale"
  194.       System {
  195. Name "CFIR1"
  196. Location [220, 234, 757, 333]
  197. Open off
  198. ModelBrowserVisibility off
  199. ModelBrowserWidth 200
  200. ScreenColor "automatic"
  201. PaperOrientation "landscape"
  202. PaperPositionMode "auto"
  203. PaperType "usletter"
  204. PaperUnits "inches"
  205. ZoomFactor "100"
  206. Block {
  207.   BlockType   Inport
  208.   Name   "In"
  209.   Position   [25, 28, 55, 42]
  210.   Port   "1"
  211.   LatchInput   off
  212.   Interpolate   on
  213. }
  214. Block {
  215.   BlockType   Goto
  216.   Name   "Goto"
  217.   Position   [430, 65, 515, 85]
  218.   ShowName   off
  219.   GotoTag   "CFIR_OUT"
  220.   TagVisibility   "global"
  221. }
  222. Block {
  223.   BlockType   SubSystem
  224.   Name   "Subsystem"
  225.   Ports   [1, 1]
  226.   Position   [140, 17, 185, 53]
  227.   ShowName   off
  228.   ShowPortLabels   on
  229.   TreatAsAtomicUnit   off
  230.   RTWSystemCode   "Auto"
  231.   RTWFcnNameOpts   "Auto"
  232.   RTWFileNameOpts   "Auto"
  233.   MaskPromptString   "Coarse Gain (0,1, ... 7)"
  234.   MaskStyleString   "edit"
  235.   MaskTunableValueString  "on"
  236.   MaskEnableString   "on"
  237.   MaskVisibilityString   "on"
  238.   MaskToolTipString   "on"
  239.   MaskVariables   "bits=@1;"
  240.   MaskDisplay   "disp(['Coarse' 10 'Gain'])"
  241.   MaskIconFrame   on
  242.   MaskIconOpaque   on
  243.   MaskIconRotate   "none"
  244.   MaskIconUnits   "autoscale"
  245.   MaskValueString   "0"
  246.   System {
  247.     Name     "Subsystem"
  248.     Location     [163, 371, 728, 470]
  249.     Open     off
  250.     ModelBrowserVisibility  off
  251.     ModelBrowserWidth     200
  252.     ScreenColor     "automatic"
  253.     PaperOrientation     "landscape"
  254.     PaperPositionMode     "auto"
  255.     PaperType     "usletter"
  256.     PaperUnits     "inches"
  257.     ZoomFactor     "100"
  258.     Block {
  259.       BlockType       Inport
  260.       Name       "24-bit In"
  261.       Position       [25, 28, 55, 42]
  262.       Port       "1"
  263.       LatchInput       off
  264.       Interpolate       on
  265.     }
  266.     Block {
  267.       BlockType       Reference
  268.       Name       "Conversion"
  269.       Ports       [1, 1]
  270.       Position       [245, 15, 285, 55]
  271.       SourceBlock       "fixpt_lib_3p1/Data Type/Conversion"
  272.       SourceType       "Fixed-Point to Fixed-Point Conversion"
  273.       ConvertRealWorld       "Real World Value"
  274.       OutputDataTypeScalingMode "Specify via dialog"
  275.       OutDataType       "sfix(24)"
  276.       OutScaling       "2^12"
  277.       LockScale       off
  278.       RndMeth       "Nearest"
  279.       DoSatur       off
  280.       DblOver       off
  281.       dolog       on
  282.     }
  283.     Block {
  284.       BlockType       Reference
  285.       Name       "Conversion1"
  286.       Ports       [1, 1]
  287.       Position       [365, 15, 405, 55]
  288.       SourceBlock       "fixpt_lib_3p1/Data Type/Conversion"
  289.       SourceType       "Fixed-Point to Fixed-Point Conversion"
  290.       ConvertRealWorld       "Real World Value"
  291.       OutputDataTypeScalingMode "Specify via dialog"
  292.       OutDataType       "sfix(20)"
  293.       OutScaling       "2^12"
  294.       LockScale       off
  295.       RndMeth       "Nearest"
  296.       DoSatur       off
  297.       DblOver       off
  298.       dolog       on
  299.     }
  300.     Block {
  301.       BlockType       SubSystem
  302.       Name       "ShiftnArithmetic"
  303.       Ports       [1, 1]
  304.       Position       [130, 24, 170, 46]
  305.       ShowPortLabels       on
  306.       TreatAsAtomicUnit       off
  307.       RTWSystemCode       "Auto"
  308.       RTWFcnNameOpts       "Auto"
  309.       RTWFileNameOpts       "Auto"
  310.       MaskPromptString       "Shift bits right how many places (negat"
  311. "ive is shift left):|Shift binary point right how many places (negative is shi"
  312. "ft left):"
  313.       MaskStyleString       "edit,edit"
  314.       MaskTunableValueString  "on,on"
  315.       MaskCallbackString      "|"
  316.       MaskEnableString       "on,on"
  317.       MaskVisibilityString    "on,on"
  318.       MaskToolTipString       "on,on"
  319.       MaskVariables       "nBitShiftRight=@1;nBinPtShiftRight=@2;"
  320.       MaskInitialization      "netExponent = nBinPtShiftRight - nBitSh"
  321. "iftRight;ndstr = ['Vy = Vu'];nif netExponent ~= 0n  dstr = [dstr,' * 2^',n"
  322. "um2str(netExponent)];nendndstr = [dstr,'\nQy = Qu'];nif nBitShiftRight > "
  323. "0n  dstr = [dstr,' >> ',num2str(nBitShiftRight)];nelseif nBitShiftRight < 0"
  324. "n dstr = [dstr,' << ',num2str(-nBitShiftRight)];nendndstr = [dstr,'\nEy ="
  325. " Eu'];nif nBinPtShiftRight > 0n  dstr = [dstr,' + ',num2str(nBinPtShiftRigh"
  326. "t)];nelseif nBinPtShiftRight < 0n  dstr = [dstr,' - ',num2str(-nBinPtShiftR"
  327. "ight)];nend"
  328.       MaskIconFrame       on
  329.       MaskIconOpaque       on
  330.       MaskIconRotate       "none"
  331.       MaskIconUnits       "autoscale"
  332.       MaskValueString       "-1*bits|0"
  333.       MaskVariableAliases     ","
  334.       System {
  335. Name "ShiftnArithmetic"
  336. Location [161, 387, 650, 661]
  337. Open off
  338. ModelBrowserVisibility off
  339. ModelBrowserWidth 200
  340. ScreenColor "automatic"
  341. PaperOrientation "landscape"
  342. PaperPositionMode "auto"
  343. PaperType "usletter"
  344. PaperUnits "inches"
  345. ZoomFactor "100"
  346. Block {
  347.   BlockType   Inport
  348.   Name   "u"
  349.   Position   [25, 158, 55, 172]
  350.   Port   "1"
  351.   LatchInput   off
  352.   Interpolate   on
  353. }
  354. Block {
  355.   BlockType   Reference
  356.   Name   "Data TypenPropagation"
  357.   Ports   [3]
  358.   Position   [295, 50, 335, 90]
  359.   SourceBlock   "fixpt_lib_3p1/Data Type/Data Typen"
  360. "Propagation"
  361.   SourceType   "Fixed-Point Data Type Propagation"
  362.   PropDataTypeMode   "Inherit via propagation rule"
  363.   PropDataType   "sfix(16)"
  364.   IfRefDouble   "double"
  365.   IfRefSingle   "single"
  366.   IsSigned   "IsSigned1"
  367.   NumBitsBase   "NumBits1"
  368.   NumBitsMult   "1"
  369.   NumBitsAdd   "0"
  370.   NumBitsAllowFinal   "1:128"
  371.   PropScalingMode   "Inherit via propagation rule"
  372.   PropScaling   "2^-10"
  373.   ValuesUsedBestPrec   "[5 -7]"
  374.   SlopeBase   "Slope1"
  375.   SlopeMult   "2^nBinPtShiftRight"
  376.   SlopeAdd   "0"
  377.   BiasBase   "Bias1"
  378.   BiasMult   "2^netExponent"
  379.   BiasAdd   "0"
  380.   DblOver   off
  381. }
  382. Block {
  383.   BlockType   Reference
  384.   Name   "Gain"
  385.   Ports   [1, 1]
  386.   Position   [120, 143, 165, 187]
  387.   SourceBlock   "fixpt_lib_3p1/Math/Gain"
  388.   SourceType   "Fixed-Point Gain"
  389.   gainval   "2^netExponent"
  390.   GainDataTypeScalingMode "Specify via dialog"
  391.   GainDataType   "sfix(24)"
  392.   GainScaling   "2^-14"
  393.   VecRadixGroup   "Best Precision: Matrix-wise"
  394.   OutputDataTypeScalingMode "Specify via dialog"
  395.   OutDataType   "sfix(24)"
  396.   OutScaling   "2^8"
  397.   LockScale   off
  398.   RndMeth   "Floor"
  399.   DoSatur   off
  400.   DblOver   off
  401.   dolog   on
  402.   ElevsMatrix   "Element-wise(K.*u)"
  403. }
  404. Block {
  405.   BlockType   Outport
  406.   Name   "y"
  407.   Position   [345, 158, 375, 172]
  408.   Port   "1"
  409.   OutputWhenDisabled   "held"
  410.   InitialOutput   "[]"
  411. }
  412. Line {
  413.   SrcBlock   "Gain"
  414.   SrcPort   1
  415.   Points   [90, 0]
  416.   Branch {
  417.     Points     [0, -80]
  418.     DstBlock     "Data TypenPropagation"
  419.     DstPort     3
  420.   }
  421.   Branch {
  422.     DstBlock     "y"
  423.     DstPort     1
  424.   }
  425. }
  426. Line {
  427.   SrcBlock   "u"
  428.   SrcPort   1
  429.   Points   [35, 0]
  430.   Branch {
  431.     Points     [0, -110; 160, 0]
  432.     Branch {
  433.     Points     [0, 15]
  434.     DstBlock     "Data TypenPropagation"
  435.     DstPort     2
  436.     }
  437.     Branch {
  438.     DstBlock     "Data TypenPropagation"
  439.     DstPort     1
  440.     }
  441.   }
  442.   Branch {
  443.     DstBlock     "Gain"
  444.     DstPort     1
  445.   }
  446. }
  447.       }
  448.     }
  449.     Block {
  450.       BlockType       Outport
  451.       Name       "20-bit Out"
  452.       Position       [485, 28, 515, 42]
  453.       Port       "1"
  454.       OutputWhenDisabled      "held"
  455.       InitialOutput       "[]"
  456.     }
  457.     Line {
  458.       SrcBlock       "ShiftnArithmetic"
  459.       SrcPort       1
  460.       DstBlock       "Conversion"
  461.       DstPort       1
  462.     }
  463.     Line {
  464.       SrcBlock       "24-bit In"
  465.       SrcPort       1
  466.       DstBlock       "ShiftnArithmetic"
  467.       DstPort       1
  468.     }
  469.     Line {
  470.       SrcBlock       "Conversion"
  471.       SrcPort       1
  472.       DstBlock       "Conversion1"
  473.       DstPort       1
  474.     }
  475.     Line {
  476.       SrcBlock       "Conversion1"
  477.       SrcPort       1
  478.       DstBlock       "20-bit Out"
  479.       DstPort       1
  480.     }
  481.   }
  482. }
  483. Block {
  484.   BlockType   SubSystem
  485.   Name   "Subsystem1"
  486.   Ports   [1, 1]
  487.   Position   [265, 15, 320, 55]
  488.   ShowName   off
  489.   ShowPortLabels   on
  490.   TreatAsAtomicUnit   off
  491.   RTWSystemCode   "Auto"
  492.   RTWFcnNameOpts   "Auto"
  493.   RTWFileNameOpts   "Auto"
  494.   MaskPromptString   "CFIR coefficients"
  495.   MaskStyleString   "edit"
  496.   MaskTunableValueString  "on"
  497.   MaskEnableString   "on"
  498.   MaskVisibilityString   "on"
  499.   MaskToolTipString   "on"
  500.   MaskVariables   "h=@1;"
  501.   MaskDisplay   "disp(['CFIR' 10 'Dec by 2'])"
  502.   MaskIconFrame   on
  503.   MaskIconOpaque   on
  504.   MaskIconRotate   "none"
  505.   MaskIconUnits   "autoscale"
  506.   MaskValueString   "[-0.000732421875 -0.00091552734375 0.003936"
  507. "76757813 0.01202392578125 0.00631713867188 -0.0267333984375 -0.0592041015625 "
  508. "-0.02371215820313 0.11474609375 0.28945922851563 0.3701171875 0.2894592285156"
  509. "3 0.11474609375 -0.02371215820313 -0.0592041015625 -0.0267333984375 0.0063171"
  510. "3867188 0.01202392578125 0.00393676757813 -0.00091552734375 -0.000732421875]"
  511.   System {
  512.     Name     "Subsystem1"
  513.     Location     [189, 464, 835, 647]
  514.     Open     off
  515.     ModelBrowserVisibility  off
  516.     ModelBrowserWidth     200
  517.     ScreenColor     "automatic"
  518.     PaperOrientation     "landscape"
  519.     PaperPositionMode     "auto"
  520.     PaperType     "usletter"
  521.     PaperUnits     "inches"
  522.     ZoomFactor     "100"
  523.     Block {
  524.       BlockType       Inport
  525.       Name       "In1"
  526.       Position       [15, 43, 45, 57]
  527.       Port       "1"
  528.       LatchInput       off
  529.       Interpolate       on
  530.     }
  531.     Block {
  532.       BlockType       Reference
  533.       Name       "Downsample"
  534.       Ports       [1, 1]
  535.       Position       [145, 33, 180, 67]
  536.       SourceBlock       "dspsigops/Downsample"
  537.       SourceType       "Downsample"
  538.       N       "2"
  539.       phase       "0"
  540.       ic       "0"
  541.       smode       "Allow multirate"
  542.       fmode       "Maintain input frame size"
  543.     }
  544.     Block {
  545.       BlockType       Reference
  546.       Name       "Downsample1"
  547.       Ports       [1, 1]
  548.       Position       [145, 103, 180, 137]
  549.       SourceBlock       "dspsigops/Downsample"
  550.       SourceType       "Downsample"
  551.       N       "2"
  552.       phase       "0"
  553.       ic       "0"
  554.       smode       "Allow multirate"
  555.       fmode       "Maintain input frame size"
  556.     }
  557.     Block {
  558.       BlockType       Reference
  559.       Name       "FIR"
  560.       Ports       [1, 1]
  561.       Position       [260, 30, 380, 70]
  562.       SourceBlock       "fixpt_lib_3p1/Filters/FIR"
  563.       SourceType       "Fixed-Point FIR"
  564.       mgainval       "h(1:2:length(h))"
  565.       vinit       "0"
  566.       samptime       "-1"
  567.       GainDataTypeScalingMode "Specify via dialog"
  568.       GainDataType       "sfix( 16 )"
  569.       GainScaling       "2^-14"
  570.       MatRadixGroup       "Best Precision: Matrix-wise"
  571.       OutputDataTypeScalingMode "Specify via dialog"
  572.       OutDataType       "sfix(20)"
  573.       OutScaling       "2^12"
  574.       LockScale       off
  575.       RndMeth       "Nearest"
  576.       DoSatur       off
  577.       DblOver       off
  578.       dolog       on
  579.     }
  580.     Block {
  581.       BlockType       Reference
  582.       Name       "FIR1"
  583.       Ports       [1, 1]
  584.       Position       [260, 100, 380, 140]
  585.       SourceBlock       "fixpt_lib_3p1/Filters/FIR"
  586.       SourceType       "Fixed-Point FIR"
  587.       mgainval       "h(2:2:length(h))"
  588.       vinit       "0"
  589.       samptime       "-1"
  590.       GainDataTypeScalingMode "Specify via dialog"
  591.       GainDataType       "sfix( 16 )"
  592.       GainScaling       "2^-14"
  593.       MatRadixGroup       "Best Precision: Matrix-wise"
  594.       OutputDataTypeScalingMode "Specify via dialog"
  595.       OutDataType       "sfix(20)"
  596.       OutScaling       "2^12"
  597.       LockScale       off
  598.       RndMeth       "Nearest"
  599.       DoSatur       off
  600.       DblOver       off
  601.       dolog       on
  602.     }
  603.     Block {
  604.       BlockType       Reference
  605.       Name       "Integer Delay"
  606.       Ports       [1, 1]
  607.       Position       [57, 70, 83, 95]
  608.       Orientation       "down"
  609.       NamePlacement       "alternate"
  610.       ShowName       off
  611.       SourceBlock       "dspsigops/Integer Delay"
  612.       SourceType       "Integer Delay"
  613.       delay       "1"
  614.       ic       "0"
  615.     }
  616.     Block {
  617.       BlockType       Reference
  618.       Name       "Sum"
  619.       Ports       [2, 1]
  620.       Position       [465, 14, 515, 156]
  621.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  622.       SourceType       "Fixed-Point Sum"
  623.       listofsigns       "++"
  624.       OutputDataTypeScalingMode "Inherit via internal rule"
  625.       OutDataType       "sfix(16)"
  626.       OutScaling       "2^-10"
  627.       LockScale       off
  628.       RndMeth       "Nearest"
  629.       DoSatur       off
  630.       DblOver       off
  631.       dolog       on
  632.     }
  633.     Block {
  634.       BlockType       Outport
  635.       Name       "Out1"
  636.       Position       [600, 78, 630, 92]
  637.       Port       "1"
  638.       OutputWhenDisabled      "held"
  639.       InitialOutput       "[]"
  640.     }
  641.     Line {
  642.       SrcBlock       "In1"
  643.       SrcPort       1
  644.       Points       [20, 0]
  645.       Branch {
  646. DstBlock "Downsample"
  647. DstPort 1
  648.       }
  649.       Branch {
  650. DstBlock "Integer Delay"
  651. DstPort 1
  652.       }
  653.     }
  654.     Line {
  655.       SrcBlock       "Integer Delay"
  656.       SrcPort       1
  657.       Points       [0, 20]
  658.       DstBlock       "Downsample1"
  659.       DstPort       1
  660.     }
  661.     Line {
  662.       SrcBlock       "Downsample1"
  663.       SrcPort       1
  664.       DstBlock       "FIR1"
  665.       DstPort       1
  666.     }
  667.     Line {
  668.       SrcBlock       "Downsample"
  669.       SrcPort       1
  670.       DstBlock       "FIR"
  671.       DstPort       1
  672.     }
  673.     Line {
  674.       SrcBlock       "FIR1"
  675.       SrcPort       1
  676.       DstBlock       "Sum"
  677.       DstPort       2
  678.     }
  679.     Line {
  680.       SrcBlock       "FIR"
  681.       SrcPort       1
  682.       DstBlock       "Sum"
  683.       DstPort       1
  684.     }
  685.     Line {
  686.       SrcBlock       "Sum"
  687.       SrcPort       1
  688.       DstBlock       "Out1"
  689.       DstPort       1
  690.     }
  691.   }
  692. }
  693. Block {
  694.   BlockType   Outport
  695.   Name   "Out"
  696.   Position   [430, 28, 460, 42]
  697.   Port   "1"
  698.   OutputWhenDisabled   "held"
  699.   InitialOutput   "[]"
  700. }
  701. Line {
  702.   SrcBlock   "In"
  703.   SrcPort   1
  704.   DstBlock   "Subsystem"
  705.   DstPort   1
  706. }
  707. Line {
  708.   SrcBlock   "Subsystem"
  709.   SrcPort   1
  710.   DstBlock   "Subsystem1"
  711.   DstPort   1
  712. }
  713. Line {
  714.   SrcBlock   "Subsystem1"
  715.   SrcPort   1
  716.   Points   [75, 0]
  717.   Branch {
  718.     DstBlock     "Out"
  719.     DstPort     1
  720.   }
  721.   Branch {
  722.     Points     [0, 40]
  723.     DstBlock     "Goto"
  724.     DstPort     1
  725.   }
  726. }
  727.       }
  728.     }
  729.     Block {
  730.       BlockType       SubSystem
  731.       Name       "CIC"
  732.       Ports       [1, 1]
  733.       Position       [173, 185, 287, 215]
  734.       Orientation       "down"
  735.       NamePlacement       "alternate"
  736.       ShowName       off
  737.       FontName       "Arial"
  738.       FontSize       12
  739.       ShowPortLabels       on
  740.       TreatAsAtomicUnit       off
  741.       RTWSystemCode       "Auto"
  742.       RTWFcnNameOpts       "Auto"
  743.       RTWFileNameOpts       "Auto"
  744.       MaskDisplay       "disp('CIC Decimator')"
  745.       MaskIconFrame       on
  746.       MaskIconOpaque       on
  747.       MaskIconRotate       "none"
  748.       MaskIconUnits       "autoscale"
  749.       System {
  750. Name "CIC"
  751. Location [35, 129, 1005, 418]
  752. Open off
  753. ModelBrowserVisibility off
  754. ModelBrowserWidth 200
  755. ScreenColor "automatic"
  756. PaperOrientation "landscape"
  757. PaperPositionMode "auto"
  758. PaperType "usletter"
  759. PaperUnits "inches"
  760. ZoomFactor "100"
  761. Block {
  762.   BlockType   Inport
  763.   Name   "20-bit In"
  764.   Position   [25, 98, 55, 112]
  765.   Port   "1"
  766.   LatchInput   off
  767.   Interpolate   on
  768. }
  769. Block {
  770.   BlockType   SubSystem
  771.   Name   "Comb1"
  772.   Ports   [1, 1]
  773.   Position   [95, 169, 140, 201]
  774.   ShowPortLabels   on
  775.   TreatAsAtomicUnit   off
  776.   RTWSystemCode   "Auto"
  777.   RTWFcnNameOpts   "Auto"
  778.   RTWFileNameOpts   "Auto"
  779.   System {
  780.     Name     "Comb1"
  781.     Location     [94, 585, 394, 716]
  782.     Open     off
  783.     ModelBrowserVisibility  off
  784.     ModelBrowserWidth     200
  785.     ScreenColor     "automatic"
  786.     PaperOrientation     "landscape"
  787.     PaperPositionMode     "auto"
  788.     PaperType     "usletter"
  789.     PaperUnits     "inches"
  790.     ZoomFactor     "100"
  791.     Block {
  792.       BlockType       Inport
  793.       Name       "In"
  794.       Position       [25, 25, 55, 40]
  795.       Orientation       "down"
  796.       Port       "1"
  797.       LatchInput       off
  798.       Interpolate       on
  799.     }
  800.     Block {
  801.       BlockType       Reference
  802.       Name       "Integer Delay"
  803.       Ports       [1, 1]
  804.       Position       [70, 44, 90, 76]
  805.       ShowName       off
  806.       SourceBlock       "dspsigops/Integer Delay"
  807.       SourceType       "Integer Delay"
  808.       delay       "1"
  809.       ic       "0"
  810.     }
  811.     Block {
  812.       BlockType       Reference
  813.       Name       "Sum"
  814.       Ports       [2, 1]
  815.       Position       [180, 46, 220, 104]
  816.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  817.       SourceType       "Fixed-Point Sum"
  818.       listofsigns       "-+"
  819.       OutputDataTypeScalingMode "Specify via dialog"
  820.       OutDataType       "sfix(50)"
  821.       OutScaling       "2^-18"
  822.       LockScale       off
  823.       RndMeth       "Nearest"
  824.       DoSatur       off
  825.       DblOver       off
  826.       dolog       on
  827.     }
  828.     Block {
  829.       BlockType       Outport
  830.       Name       "Out"
  831.       Position       [245, 68, 275, 82]
  832.       Port       "1"
  833.       OutputWhenDisabled      "held"
  834.       InitialOutput       "[]"
  835.     }
  836.     Line {
  837.       SrcBlock       "Integer Delay"
  838.       SrcPort       1
  839.       DstBlock       "Sum"
  840.       DstPort       1
  841.     }
  842.     Line {
  843.       SrcBlock       "In"
  844.       SrcPort       1
  845.       Points       [0, 0; 0, 15]
  846.       Branch {
  847. Points [0, 30]
  848. DstBlock "Sum"
  849. DstPort 2
  850.       }
  851.       Branch {
  852. DstBlock "Integer Delay"
  853. DstPort 1
  854.       }
  855.     }
  856.     Line {
  857.       SrcBlock       "Sum"
  858.       SrcPort       1
  859.       DstBlock       "Out"
  860.       DstPort       1
  861.     }
  862.   }
  863. }
  864. Block {
  865.   BlockType   SubSystem
  866.   Name   "Comb2"
  867.   Ports   [1, 1]
  868.   Position   [225, 169, 270, 201]
  869.   ShowPortLabels   on
  870.   TreatAsAtomicUnit   off
  871.   RTWSystemCode   "Auto"
  872.   RTWFcnNameOpts   "Auto"
  873.   RTWFileNameOpts   "Auto"
  874.   System {
  875.     Name     "Comb2"
  876.     Location     [94, 585, 394, 716]
  877.     Open     off
  878.     ModelBrowserVisibility  off
  879.     ModelBrowserWidth     200
  880.     ScreenColor     "automatic"
  881.     PaperOrientation     "landscape"
  882.     PaperPositionMode     "auto"
  883.     PaperType     "usletter"
  884.     PaperUnits     "inches"
  885.     ZoomFactor     "100"
  886.     Block {
  887.       BlockType       Inport
  888.       Name       "In"
  889.       Position       [25, 25, 55, 40]
  890.       Orientation       "down"
  891.       Port       "1"
  892.       LatchInput       off
  893.       Interpolate       on
  894.     }
  895.     Block {
  896.       BlockType       Reference
  897.       Name       "Integer Delay"
  898.       Ports       [1, 1]
  899.       Position       [70, 44, 90, 76]
  900.       ShowName       off
  901.       SourceBlock       "dspsigops/Integer Delay"
  902.       SourceType       "Integer Delay"
  903.       delay       "1"
  904.       ic       "0"
  905.     }
  906.     Block {
  907.       BlockType       Reference
  908.       Name       "Sum"
  909.       Ports       [2, 1]
  910.       Position       [180, 46, 220, 104]
  911.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  912.       SourceType       "Fixed-Point Sum"
  913.       listofsigns       "-+"
  914.       OutputDataTypeScalingMode "Specify via dialog"
  915.       OutDataType       "sfix(50)"
  916.       OutScaling       "2^-18"
  917.       LockScale       off
  918.       RndMeth       "Nearest"
  919.       DoSatur       off
  920.       DblOver       off
  921.       dolog       on
  922.     }
  923.     Block {
  924.       BlockType       Outport
  925.       Name       "Out"
  926.       Position       [245, 68, 275, 82]
  927.       Port       "1"
  928.       OutputWhenDisabled      "held"
  929.       InitialOutput       "[]"
  930.     }
  931.     Line {
  932.       SrcBlock       "Sum"
  933.       SrcPort       1
  934.       DstBlock       "Out"
  935.       DstPort       1
  936.     }
  937.     Line {
  938.       SrcBlock       "In"
  939.       SrcPort       1
  940.       Points       [0, 0; 0, 15]
  941.       Branch {
  942. DstBlock "Integer Delay"
  943. DstPort 1
  944.       }
  945.       Branch {
  946. Points [0, 30]
  947. DstBlock "Sum"
  948. DstPort 2
  949.       }
  950.     }
  951.     Line {
  952.       SrcBlock       "Integer Delay"
  953.       SrcPort       1
  954.       DstBlock       "Sum"
  955.       DstPort       1
  956.     }
  957.   }
  958. }
  959. Block {
  960.   BlockType   SubSystem
  961.   Name   "Comb3"
  962.   Ports   [1, 1]
  963.   Position   [345, 169, 390, 201]
  964.   ShowPortLabels   on
  965.   TreatAsAtomicUnit   off
  966.   RTWSystemCode   "Auto"
  967.   RTWFcnNameOpts   "Auto"
  968.   RTWFileNameOpts   "Auto"
  969.   System {
  970.     Name     "Comb3"
  971.     Location     [94, 585, 394, 716]
  972.     Open     off
  973.     ModelBrowserVisibility  off
  974.     ModelBrowserWidth     200
  975.     ScreenColor     "automatic"
  976.     PaperOrientation     "landscape"
  977.     PaperPositionMode     "auto"
  978.     PaperType     "usletter"
  979.     PaperUnits     "inches"
  980.     ZoomFactor     "100"
  981.     Block {
  982.       BlockType       Inport
  983.       Name       "In"
  984.       Position       [25, 25, 55, 40]
  985.       Orientation       "down"
  986.       Port       "1"
  987.       LatchInput       off
  988.       Interpolate       on
  989.     }
  990.     Block {
  991.       BlockType       Reference
  992.       Name       "Integer Delay"
  993.       Ports       [1, 1]
  994.       Position       [70, 44, 90, 76]
  995.       ShowName       off
  996.       SourceBlock       "dspsigops/Integer Delay"
  997.       SourceType       "Integer Delay"
  998.       delay       "1"
  999.       ic       "0"
  1000.     }
  1001.     Block {
  1002.       BlockType       Reference
  1003.       Name       "Sum"
  1004.       Ports       [2, 1]
  1005.       Position       [180, 46, 220, 104]
  1006.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1007.       SourceType       "Fixed-Point Sum"
  1008.       listofsigns       "-+"
  1009.       OutputDataTypeScalingMode "Specify via dialog"
  1010.       OutDataType       "sfix(50)"
  1011.       OutScaling       "2^-18"
  1012.       LockScale       off
  1013.       RndMeth       "Nearest"
  1014.       DoSatur       off
  1015.       DblOver       off
  1016.       dolog       on
  1017.     }
  1018.     Block {
  1019.       BlockType       Outport
  1020.       Name       "Out"
  1021.       Position       [245, 68, 275, 82]
  1022.       Port       "1"
  1023.       OutputWhenDisabled      "held"
  1024.       InitialOutput       "[]"
  1025.     }
  1026.     Line {
  1027.       SrcBlock       "Integer Delay"
  1028.       SrcPort       1
  1029.       DstBlock       "Sum"
  1030.       DstPort       1
  1031.     }
  1032.     Line {
  1033.       SrcBlock       "In"
  1034.       SrcPort       1
  1035.       Points       [0, 0; 0, 15]
  1036.       Branch {
  1037. Points [0, 30]
  1038. DstBlock "Sum"
  1039. DstPort 2
  1040.       }
  1041.       Branch {
  1042. DstBlock "Integer Delay"
  1043. DstPort 1
  1044.       }
  1045.     }
  1046.     Line {
  1047.       SrcBlock       "Sum"
  1048.       SrcPort       1
  1049.       DstBlock       "Out"
  1050.       DstPort       1
  1051.     }
  1052.   }
  1053. }
  1054. Block {
  1055.   BlockType   SubSystem
  1056.   Name   "Comb4"
  1057.   Ports   [1, 1]
  1058.   Position   [480, 169, 525, 201]
  1059.   ShowPortLabels   on
  1060.   TreatAsAtomicUnit   off
  1061.   RTWSystemCode   "Auto"
  1062.   RTWFcnNameOpts   "Auto"
  1063.   RTWFileNameOpts   "Auto"
  1064.   System {
  1065.     Name     "Comb4"
  1066.     Location     [94, 585, 394, 716]
  1067.     Open     off
  1068.     ModelBrowserVisibility  off
  1069.     ModelBrowserWidth     200
  1070.     ScreenColor     "automatic"
  1071.     PaperOrientation     "landscape"
  1072.     PaperPositionMode     "auto"
  1073.     PaperType     "usletter"
  1074.     PaperUnits     "inches"
  1075.     ZoomFactor     "100"
  1076.     Block {
  1077.       BlockType       Inport
  1078.       Name       "In"
  1079.       Position       [25, 25, 55, 40]
  1080.       Orientation       "down"
  1081.       Port       "1"
  1082.       LatchInput       off
  1083.       Interpolate       on
  1084.     }
  1085.     Block {
  1086.       BlockType       Reference
  1087.       Name       "Integer Delay"
  1088.       Ports       [1, 1]
  1089.       Position       [70, 44, 90, 76]
  1090.       ShowName       off
  1091.       SourceBlock       "dspsigops/Integer Delay"
  1092.       SourceType       "Integer Delay"
  1093.       delay       "1"
  1094.       ic       "0"
  1095.     }
  1096.     Block {
  1097.       BlockType       Reference
  1098.       Name       "Sum"
  1099.       Ports       [2, 1]
  1100.       Position       [180, 46, 220, 104]
  1101.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1102.       SourceType       "Fixed-Point Sum"
  1103.       listofsigns       "-+"
  1104.       OutputDataTypeScalingMode "Specify via dialog"
  1105.       OutDataType       "sfix(50)"
  1106.       OutScaling       "2^-18"
  1107.       LockScale       off
  1108.       RndMeth       "Nearest"
  1109.       DoSatur       off
  1110.       DblOver       off
  1111.       dolog       on
  1112.     }
  1113.     Block {
  1114.       BlockType       Outport
  1115.       Name       "Out"
  1116.       Position       [245, 68, 275, 82]
  1117.       Port       "1"
  1118.       OutputWhenDisabled      "held"
  1119.       InitialOutput       "[]"
  1120.     }
  1121.     Line {
  1122.       SrcBlock       "Sum"
  1123.       SrcPort       1
  1124.       DstBlock       "Out"
  1125.       DstPort       1
  1126.     }
  1127.     Line {
  1128.       SrcBlock       "In"
  1129.       SrcPort       1
  1130.       Points       [0, 0; 0, 15]
  1131.       Branch {
  1132. DstBlock "Integer Delay"
  1133. DstPort 1
  1134.       }
  1135.       Branch {
  1136. Points [0, 30]
  1137. DstBlock "Sum"
  1138. DstPort 2
  1139.       }
  1140.     }
  1141.     Line {
  1142.       SrcBlock       "Integer Delay"
  1143.       SrcPort       1
  1144.       DstBlock       "Sum"
  1145.       DstPort       1
  1146.     }
  1147.   }
  1148. }
  1149. Block {
  1150.   BlockType   SubSystem
  1151.   Name   "Comb5"
  1152.   Ports   [1, 1]
  1153.   Position   [605, 169, 650, 201]
  1154.   ShowPortLabels   on
  1155.   TreatAsAtomicUnit   off
  1156.   RTWSystemCode   "Auto"
  1157.   RTWFcnNameOpts   "Auto"
  1158.   RTWFileNameOpts   "Auto"
  1159.   System {
  1160.     Name     "Comb5"
  1161.     Location     [94, 585, 394, 716]
  1162.     Open     off
  1163.     ModelBrowserVisibility  off
  1164.     ModelBrowserWidth     200
  1165.     ScreenColor     "automatic"
  1166.     PaperOrientation     "landscape"
  1167.     PaperPositionMode     "auto"
  1168.     PaperType     "usletter"
  1169.     PaperUnits     "inches"
  1170.     ZoomFactor     "100"
  1171.     Block {
  1172.       BlockType       Inport
  1173.       Name       "In"
  1174.       Position       [25, 25, 55, 40]
  1175.       Orientation       "down"
  1176.       Port       "1"
  1177.       LatchInput       off
  1178.       Interpolate       on
  1179.     }
  1180.     Block {
  1181.       BlockType       Reference
  1182.       Name       "Integer Delay"
  1183.       Ports       [1, 1]
  1184.       Position       [70, 44, 90, 76]
  1185.       ShowName       off
  1186.       SourceBlock       "dspsigops/Integer Delay"
  1187.       SourceType       "Integer Delay"
  1188.       delay       "1"
  1189.       ic       "0"
  1190.     }
  1191.     Block {
  1192.       BlockType       Reference
  1193.       Name       "Sum"
  1194.       Ports       [2, 1]
  1195.       Position       [180, 46, 220, 104]
  1196.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1197.       SourceType       "Fixed-Point Sum"
  1198.       listofsigns       "-+"
  1199.       OutputDataTypeScalingMode "Specify via dialog"
  1200.       OutDataType       "sfix(50)"
  1201.       OutScaling       "2^-18"
  1202.       LockScale       off
  1203.       RndMeth       "Nearest"
  1204.       DoSatur       off
  1205.       DblOver       off
  1206.       dolog       on
  1207.     }
  1208.     Block {
  1209.       BlockType       Outport
  1210.       Name       "Out"
  1211.       Position       [245, 68, 275, 82]
  1212.       Port       "1"
  1213.       OutputWhenDisabled      "held"
  1214.       InitialOutput       "[]"
  1215.     }
  1216.     Line {
  1217.       SrcBlock       "Integer Delay"
  1218.       SrcPort       1
  1219.       DstBlock       "Sum"
  1220.       DstPort       1
  1221.     }
  1222.     Line {
  1223.       SrcBlock       "In"
  1224.       SrcPort       1
  1225.       Points       [0, 0; 0, 15]
  1226.       Branch {
  1227. Points [0, 30]
  1228. DstBlock "Sum"
  1229. DstPort 2
  1230.       }
  1231.       Branch {
  1232. DstBlock "Integer Delay"
  1233. DstPort 1
  1234.       }
  1235.     }
  1236.     Line {
  1237.       SrcBlock       "Sum"
  1238.       SrcPort       1
  1239.       DstBlock       "Out"
  1240.       DstPort       1
  1241.     }
  1242.   }
  1243. }
  1244. Block {
  1245.   BlockType   Reference
  1246.   Name   "Conversion"
  1247.   Ports   [1, 1]
  1248.   Position   [720, 165, 785, 205]
  1249.   SourceBlock   "fixpt_lib_3p1/Data Type/Conversion"
  1250.   SourceType   "Fixed-Point to Fixed-Point Conversion"
  1251.   ConvertRealWorld   "Real World Value"
  1252.   OutputDataTypeScalingMode "Specify via dialog"
  1253.   OutDataType   "sfix(24)"
  1254.   OutScaling   "2^8"
  1255.   LockScale   off
  1256.   RndMeth   "Nearest"
  1257.   DoSatur   off
  1258.   DblOver   off
  1259.   dolog   on
  1260. }
  1261. Block {
  1262.   BlockType   Reference
  1263.   Name   "Downsample"
  1264.   Ports   [1, 1]
  1265.   Position   [800, 88, 835, 122]
  1266.   SourceBlock   "dspsigops/Downsample"
  1267.   SourceType   "Downsample"
  1268.   N   "64"
  1269.   phase   "0"
  1270.   ic   "0"
  1271.   smode   "Allow multirate"
  1272.   fmode   "Maintain input frame size"
  1273. }
  1274. Block {
  1275.   BlockType   Goto
  1276.   Name   "Goto"
  1277.   Position   [85, 38, 165, 62]
  1278.   ShowName   off
  1279.   GotoTag   "MIXER_OUT"
  1280.   TagVisibility   "global"
  1281. }
  1282. Block {
  1283.   BlockType   Goto
  1284.   Name   "Goto1"
  1285.   Position   [865, 218, 920, 242]
  1286.   ShowName   off
  1287.   GotoTag   "CIC_OUT"
  1288.   TagVisibility   "global"
  1289. }
  1290. Block {
  1291.   BlockType   SubSystem
  1292.   Name   "Integrator1"
  1293.   Ports   [1, 1]
  1294.   Position   [145, 89, 190, 121]
  1295.   ShowPortLabels   on
  1296.   TreatAsAtomicUnit   off
  1297.   RTWSystemCode   "Auto"
  1298.   RTWFcnNameOpts   "Auto"
  1299.   RTWFileNameOpts   "Auto"
  1300.   System {
  1301.     Name     "Integrator1"
  1302.     Location     [116, 150, 506, 281]
  1303.     Open     off
  1304.     ModelBrowserVisibility  off
  1305.     ModelBrowserWidth     200
  1306.     ScreenColor     "automatic"
  1307.     PaperOrientation     "landscape"
  1308.     PaperPositionMode     "auto"
  1309.     PaperType     "usletter"
  1310.     PaperUnits     "inches"
  1311.     ZoomFactor     "100"
  1312.     Block {
  1313.       BlockType       Inport
  1314.       Name       "In"
  1315.       Position       [25, 73, 55, 87]
  1316.       Port       "1"
  1317.       LatchInput       off
  1318.       Interpolate       on
  1319.     }
  1320.     Block {
  1321.       BlockType       Reference
  1322.       Name       "Integer Delay"
  1323.       Ports       [1, 1]
  1324.       Position       [195, 54, 235, 86]
  1325.       ShowName       off
  1326.       SourceBlock       "dspsigops/Integer Delay"
  1327.       SourceType       "Integer Delay"
  1328.       delay       "1"
  1329.       ic       "0"
  1330.     }
  1331.     Block {
  1332.       BlockType       Reference
  1333.       Name       "Sum"
  1334.       Ports       [2, 1]
  1335.       Position       [90, 50, 130, 90]
  1336.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1337.       SourceType       "Fixed-Point Sum"
  1338.       listofsigns       "++"
  1339.       OutputDataTypeScalingMode "Specify via dialog"
  1340.       OutDataType       "sfix(50)"
  1341.       OutScaling       "2^-18"
  1342.       LockScale       off
  1343.       RndMeth       "Nearest"
  1344.       DoSatur       off
  1345.       DblOver       off
  1346.       dolog       on
  1347.     }
  1348.     Block {
  1349.       BlockType       Outport
  1350.       Name       "Out"
  1351.       Position       [325, 62, 355, 78]
  1352.       Port       "1"
  1353.       OutputWhenDisabled      "held"
  1354.       InitialOutput       "[]"
  1355.     }
  1356.     Line {
  1357.       SrcBlock       "Sum"
  1358.       SrcPort       1
  1359.       DstBlock       "Integer Delay"
  1360.       DstPort       1
  1361.     }
  1362.     Line {
  1363.       SrcBlock       "Integer Delay"
  1364.       SrcPort       1
  1365.       Points       [0, 0; 30, 0]
  1366.       Branch {
  1367. Points [0, -40; -205, 0; 0, 30]
  1368. DstBlock "Sum"
  1369. DstPort 1
  1370.       }
  1371.       Branch {
  1372. DstBlock "Out"
  1373. DstPort 1
  1374.       }
  1375.     }
  1376.     Line {
  1377.       SrcBlock       "In"
  1378.       SrcPort       1
  1379.       DstBlock       "Sum"
  1380.       DstPort       2
  1381.     }
  1382.   }
  1383. }
  1384. Block {
  1385.   BlockType   SubSystem
  1386.   Name   "Integrator2"
  1387.   Ports   [1, 1]
  1388.   Position   [265, 89, 310, 121]
  1389.   ShowPortLabels   on
  1390.   TreatAsAtomicUnit   off
  1391.   RTWSystemCode   "Auto"
  1392.   RTWFcnNameOpts   "Auto"
  1393.   RTWFileNameOpts   "Auto"
  1394.   System {
  1395.     Name     "Integrator2"
  1396.     Location     [116, 150, 506, 281]
  1397.     Open     off
  1398.     ModelBrowserVisibility  off
  1399.     ModelBrowserWidth     200
  1400.     ScreenColor     "automatic"
  1401.     PaperOrientation     "landscape"
  1402.     PaperPositionMode     "auto"
  1403.     PaperType     "usletter"
  1404.     PaperUnits     "inches"
  1405.     ZoomFactor     "100"
  1406.     Block {
  1407.       BlockType       Inport
  1408.       Name       "In"
  1409.       Position       [25, 73, 55, 87]
  1410.       Port       "1"
  1411.       LatchInput       off
  1412.       Interpolate       on
  1413.     }
  1414.     Block {
  1415.       BlockType       Reference
  1416.       Name       "Integer Delay"
  1417.       Ports       [1, 1]
  1418.       Position       [195, 54, 235, 86]
  1419.       ShowName       off
  1420.       SourceBlock       "dspsigops/Integer Delay"
  1421.       SourceType       "Integer Delay"
  1422.       delay       "1"
  1423.       ic       "0"
  1424.     }
  1425.     Block {
  1426.       BlockType       Reference
  1427.       Name       "Sum"
  1428.       Ports       [2, 1]
  1429.       Position       [90, 50, 130, 90]
  1430.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1431.       SourceType       "Fixed-Point Sum"
  1432.       listofsigns       "++"
  1433.       OutputDataTypeScalingMode "Specify via dialog"
  1434.       OutDataType       "sfix(50)"
  1435.       OutScaling       "2^-18"
  1436.       LockScale       off
  1437.       RndMeth       "Nearest"
  1438.       DoSatur       off
  1439.       DblOver       off
  1440.       dolog       on
  1441.     }
  1442.     Block {
  1443.       BlockType       Outport
  1444.       Name       "Out"
  1445.       Position       [325, 62, 355, 78]
  1446.       Port       "1"
  1447.       OutputWhenDisabled      "held"
  1448.       InitialOutput       "[]"
  1449.     }
  1450.     Line {
  1451.       SrcBlock       "In"
  1452.       SrcPort       1
  1453.       DstBlock       "Sum"
  1454.       DstPort       2
  1455.     }
  1456.     Line {
  1457.       SrcBlock       "Integer Delay"
  1458.       SrcPort       1
  1459.       Points       [0, 0; 30, 0]
  1460.       Branch {
  1461. DstBlock "Out"
  1462. DstPort 1
  1463.       }
  1464.       Branch {
  1465. Points [0, -40; -205, 0; 0, 30]
  1466. DstBlock "Sum"
  1467. DstPort 1
  1468.       }
  1469.     }
  1470.     Line {
  1471.       SrcBlock       "Sum"
  1472.       SrcPort       1
  1473.       DstBlock       "Integer Delay"
  1474.       DstPort       1
  1475.     }
  1476.   }
  1477. }
  1478. Block {
  1479.   BlockType   SubSystem
  1480.   Name   "Integrator3"
  1481.   Ports   [1, 1]
  1482.   Position   [400, 89, 445, 121]
  1483.   ShowPortLabels   on
  1484.   TreatAsAtomicUnit   off
  1485.   RTWSystemCode   "Auto"
  1486.   RTWFcnNameOpts   "Auto"
  1487.   RTWFileNameOpts   "Auto"
  1488.   System {
  1489.     Name     "Integrator3"
  1490.     Location     [116, 150, 506, 281]
  1491.     Open     off
  1492.     ModelBrowserVisibility  off
  1493.     ModelBrowserWidth     200
  1494.     ScreenColor     "automatic"
  1495.     PaperOrientation     "landscape"
  1496.     PaperPositionMode     "auto"
  1497.     PaperType     "usletter"
  1498.     PaperUnits     "inches"
  1499.     ZoomFactor     "100"
  1500.     Block {
  1501.       BlockType       Inport
  1502.       Name       "In"
  1503.       Position       [25, 73, 55, 87]
  1504.       Port       "1"
  1505.       LatchInput       off
  1506.       Interpolate       on
  1507.     }
  1508.     Block {
  1509.       BlockType       Reference
  1510.       Name       "Integer Delay"
  1511.       Ports       [1, 1]
  1512.       Position       [195, 54, 235, 86]
  1513.       ShowName       off
  1514.       SourceBlock       "dspsigops/Integer Delay"
  1515.       SourceType       "Integer Delay"
  1516.       delay       "1"
  1517.       ic       "0"
  1518.     }
  1519.     Block {
  1520.       BlockType       Reference
  1521.       Name       "Sum"
  1522.       Ports       [2, 1]
  1523.       Position       [90, 50, 130, 90]
  1524.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1525.       SourceType       "Fixed-Point Sum"
  1526.       listofsigns       "++"
  1527.       OutputDataTypeScalingMode "Specify via dialog"
  1528.       OutDataType       "sfix(50)"
  1529.       OutScaling       "2^-18"
  1530.       LockScale       off
  1531.       RndMeth       "Nearest"
  1532.       DoSatur       off
  1533.       DblOver       off
  1534.       dolog       on
  1535.     }
  1536.     Block {
  1537.       BlockType       Outport
  1538.       Name       "Out"
  1539.       Position       [325, 62, 355, 78]
  1540.       Port       "1"
  1541.       OutputWhenDisabled      "held"
  1542.       InitialOutput       "[]"
  1543.     }
  1544.     Line {
  1545.       SrcBlock       "Sum"
  1546.       SrcPort       1
  1547.       DstBlock       "Integer Delay"
  1548.       DstPort       1
  1549.     }
  1550.     Line {
  1551.       SrcBlock       "Integer Delay"
  1552.       SrcPort       1
  1553.       Points       [0, 0; 30, 0]
  1554.       Branch {
  1555. Points [0, -40; -205, 0; 0, 30]
  1556. DstBlock "Sum"
  1557. DstPort 1
  1558.       }
  1559.       Branch {
  1560. DstBlock "Out"
  1561. DstPort 1
  1562.       }
  1563.     }
  1564.     Line {
  1565.       SrcBlock       "In"
  1566.       SrcPort       1
  1567.       DstBlock       "Sum"
  1568.       DstPort       2
  1569.     }
  1570.   }
  1571. }
  1572. Block {
  1573.   BlockType   SubSystem
  1574.   Name   "Integrator4"
  1575.   Ports   [1, 1]
  1576.   Position   [530, 89, 575, 121]
  1577.   ShowPortLabels   on
  1578.   TreatAsAtomicUnit   off
  1579.   RTWSystemCode   "Auto"
  1580.   RTWFcnNameOpts   "Auto"
  1581.   RTWFileNameOpts   "Auto"
  1582.   System {
  1583.     Name     "Integrator4"
  1584.     Location     [116, 150, 506, 281]
  1585.     Open     off
  1586.     ModelBrowserVisibility  off
  1587.     ModelBrowserWidth     200
  1588.     ScreenColor     "automatic"
  1589.     PaperOrientation     "landscape"
  1590.     PaperPositionMode     "auto"
  1591.     PaperType     "usletter"
  1592.     PaperUnits     "inches"
  1593.     ZoomFactor     "100"
  1594.     Block {
  1595.       BlockType       Inport
  1596.       Name       "In"
  1597.       Position       [25, 73, 55, 87]
  1598.       Port       "1"
  1599.       LatchInput       off
  1600.       Interpolate       on
  1601.     }
  1602.     Block {
  1603.       BlockType       Reference
  1604.       Name       "Integer Delay"
  1605.       Ports       [1, 1]
  1606.       Position       [195, 54, 235, 86]
  1607.       ShowName       off
  1608.       SourceBlock       "dspsigops/Integer Delay"
  1609.       SourceType       "Integer Delay"
  1610.       delay       "1"
  1611.       ic       "0"
  1612.     }
  1613.     Block {
  1614.       BlockType       Reference
  1615.       Name       "Sum"
  1616.       Ports       [2, 1]
  1617.       Position       [90, 50, 130, 90]
  1618.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1619.       SourceType       "Fixed-Point Sum"
  1620.       listofsigns       "++"
  1621.       OutputDataTypeScalingMode "Specify via dialog"
  1622.       OutDataType       "sfix(50)"
  1623.       OutScaling       "2^-18"
  1624.       LockScale       off
  1625.       RndMeth       "Nearest"
  1626.       DoSatur       off
  1627.       DblOver       off
  1628.       dolog       on
  1629.     }
  1630.     Block {
  1631.       BlockType       Outport
  1632.       Name       "Out"
  1633.       Position       [325, 62, 355, 78]
  1634.       Port       "1"
  1635.       OutputWhenDisabled      "held"
  1636.       InitialOutput       "[]"
  1637.     }
  1638.     Line {
  1639.       SrcBlock       "In"
  1640.       SrcPort       1
  1641.       DstBlock       "Sum"
  1642.       DstPort       2
  1643.     }
  1644.     Line {
  1645.       SrcBlock       "Integer Delay"
  1646.       SrcPort       1
  1647.       Points       [0, 0; 30, 0]
  1648.       Branch {
  1649. DstBlock "Out"
  1650. DstPort 1
  1651.       }
  1652.       Branch {
  1653. Points [0, -40; -205, 0; 0, 30]
  1654. DstBlock "Sum"
  1655. DstPort 1
  1656.       }
  1657.     }
  1658.     Line {
  1659.       SrcBlock       "Sum"
  1660.       SrcPort       1
  1661.       DstBlock       "Integer Delay"
  1662.       DstPort       1
  1663.     }
  1664.   }
  1665. }
  1666. Block {
  1667.   BlockType   SubSystem
  1668.   Name   "Integrator5"
  1669.   Ports   [1, 1]
  1670.   Position   [670, 89, 715, 121]
  1671.   ShowPortLabels   on
  1672.   TreatAsAtomicUnit   off
  1673.   RTWSystemCode   "Auto"
  1674.   RTWFcnNameOpts   "Auto"
  1675.   RTWFileNameOpts   "Auto"
  1676.   System {
  1677.     Name     "Integrator5"
  1678.     Location     [116, 150, 506, 281]
  1679.     Open     off
  1680.     ModelBrowserVisibility  off
  1681.     ModelBrowserWidth     200
  1682.     ScreenColor     "automatic"
  1683.     PaperOrientation     "landscape"
  1684.     PaperPositionMode     "auto"
  1685.     PaperType     "usletter"
  1686.     PaperUnits     "inches"
  1687.     ZoomFactor     "100"
  1688.     Block {
  1689.       BlockType       Inport
  1690.       Name       "In"
  1691.       Position       [25, 73, 55, 87]
  1692.       Port       "1"
  1693.       LatchInput       off
  1694.       Interpolate       on
  1695.     }
  1696.     Block {
  1697.       BlockType       Reference
  1698.       Name       "Integer Delay"
  1699.       Ports       [1, 1]
  1700.       Position       [195, 54, 235, 86]
  1701.       ShowName       off
  1702.       SourceBlock       "dspsigops/Integer Delay"
  1703.       SourceType       "Integer Delay"
  1704.       delay       "1"
  1705.       ic       "0"
  1706.     }
  1707.     Block {
  1708.       BlockType       Reference
  1709.       Name       "Sum"
  1710.       Ports       [2, 1]
  1711.       Position       [90, 50, 130, 90]
  1712.       SourceBlock       "fixpt_lib_3p1/Math/Sum"
  1713.       SourceType       "Fixed-Point Sum"
  1714.       listofsigns       "++"
  1715.       OutputDataTypeScalingMode "Specify via dialog"
  1716.       OutDataType       "sfix(50)"
  1717.       OutScaling       "2^-18"
  1718.       LockScale       off
  1719.       RndMeth       "Nearest"
  1720.       DoSatur       off
  1721.       DblOver       off
  1722.       dolog       on
  1723.     }
  1724.     Block {
  1725.       BlockType       Outport
  1726.       Name       "Out"
  1727.       Position       [325, 62, 355, 78]
  1728.       Port       "1"
  1729.       OutputWhenDisabled      "held"
  1730.       InitialOutput       "[]"
  1731.     }
  1732.     Line {
  1733.       SrcBlock       "Sum"
  1734.       SrcPort       1
  1735.       DstBlock       "Integer Delay"
  1736.       DstPort       1
  1737.     }
  1738.     Line {
  1739.       SrcBlock       "Integer Delay"
  1740.       SrcPort       1
  1741.       Points       [0, 0; 30, 0]
  1742.       Branch {
  1743. Points [0, -40; -205, 0; 0, 30]
  1744. DstBlock "Sum"
  1745. DstPort 1
  1746.       }
  1747.       Branch {
  1748. DstBlock "Out"
  1749. DstPort 1
  1750.       }
  1751.     }
  1752.     Line {
  1753.       SrcBlock       "In"
  1754.       SrcPort       1
  1755.       DstBlock       "Sum"
  1756.       DstPort       2
  1757.     }
  1758.   }
  1759. }
  1760. Block {
  1761.   BlockType   Outport
  1762.   Name   "24-bit Out"
  1763.   Position   [860, 178, 890, 192]
  1764.   Port   "1"
  1765.   OutputWhenDisabled   "held"
  1766.   InitialOutput   "[]"
  1767. }
  1768. Line {
  1769.   SrcBlock   "20-bit In"
  1770.   SrcPort   1
  1771.   Points   [10, 0]
  1772.   Branch {
  1773.     DstBlock     "Goto"
  1774.     DstPort     1
  1775.   }
  1776.   Branch {
  1777.     DstBlock     "Integrator1"
  1778.     DstPort     1
  1779.   }
  1780. }
  1781. Line {
  1782.   SrcBlock   "Integrator1"
  1783.   SrcPort   1
  1784.   DstBlock   "Integrator2"
  1785.   DstPort   1
  1786. }
  1787. Line {
  1788.   SrcBlock   "Integrator2"
  1789.   SrcPort   1
  1790.   DstBlock   "Integrator3"
  1791.   DstPort   1
  1792. }
  1793. Line {
  1794.   SrcBlock   "Integrator3"
  1795.   SrcPort   1
  1796.   DstBlock   "Integrator4"
  1797.   DstPort   1
  1798. }
  1799. Line {
  1800.   SrcBlock   "Integrator4"
  1801.   SrcPort   1
  1802.   DstBlock   "Integrator5"
  1803.   DstPort   1
  1804. }
  1805. Line {
  1806.   SrcBlock   "Integrator5"
  1807.   SrcPort   1
  1808.   DstBlock   "Downsample"
  1809.   DstPort   1
  1810. }
  1811. Line {
  1812.   SrcBlock   "Downsample"
  1813.   SrcPort   1
  1814.   Points   [20, 0; 0, 40; -790, 0; 0, 40]
  1815.   DstBlock   "Comb1"
  1816.   DstPort   1
  1817. }
  1818. Line {
  1819.   SrcBlock   "Comb1"
  1820.   SrcPort   1
  1821.   DstBlock   "Comb2"
  1822.   DstPort   1
  1823. }
  1824. Line {
  1825.   SrcBlock   "Comb2"
  1826.   SrcPort   1
  1827.   DstBlock   "Comb3"
  1828.   DstPort   1
  1829. }
  1830. Line {
  1831.   SrcBlock   "Comb3"
  1832.   SrcPort   1
  1833.   DstBlock   "Comb4"
  1834.   DstPort   1
  1835. }
  1836. Line {
  1837.   SrcBlock   "Comb4"
  1838.   SrcPort   1
  1839.   DstBlock   "Comb5"
  1840.   DstPort   1
  1841. }
  1842. Line {
  1843.   SrcBlock   "Comb5"
  1844.   SrcPort   1
  1845.   DstBlock   "Conversion"
  1846.   DstPort   1
  1847. }
  1848. Line {
  1849.   SrcBlock   "Conversion"
  1850.   SrcPort   1
  1851.   Points   [35, 0]
  1852.   Branch {
  1853.     DstBlock     "24-bit Out"
  1854.     DstPort     1
  1855.   }
  1856.   Branch {
  1857.     Points     [0, 45]
  1858.     DstBlock     "Goto1"
  1859.     DstPort     1
  1860.   }
  1861. }
  1862.       }
  1863.     }
  1864.     Block {
  1865.       BlockType       SubSystem
  1866.       Name       "Demo Notes"
  1867.       Ports       []
  1868.       Position       [45, 254, 127, 300]
  1869.       BackgroundColor       "cyan"
  1870.       ShowName       off
  1871.       OpenFcn       "web(which('dspddc.html'))"
  1872.       ShowPortLabels       on
  1873.       TreatAsAtomicUnit       off
  1874.       RTWSystemCode       "Auto"
  1875.       RTWFcnNameOpts       "Auto"
  1876.       RTWFileNameOpts       "Auto"
  1877.       MaskDisplay       "disp('Notes')"
  1878.       MaskIconFrame       on
  1879.       MaskIconOpaque       on
  1880.       MaskIconRotate       "none"
  1881.       MaskIconUnits       "autoscale"
  1882.       System {
  1883. Name "Demo Notes"
  1884. Location [373, 360, 771, 685]
  1885. Open off
  1886. ModelBrowserVisibility off
  1887. ModelBrowserWidth 200
  1888. ScreenColor "white"
  1889. PaperOrientation "landscape"
  1890. PaperPositionMode "auto"
  1891. PaperType "usletter"
  1892. PaperUnits "inches"
  1893. ZoomFactor "100"
  1894.       }
  1895.     }
  1896.     Block {
  1897.       BlockType       Reference
  1898.       Name       "FixPtnGUI"
  1899.       Ports       []
  1900.       Position       [90, 310, 130, 350]
  1901.       BackgroundColor       "orange"
  1902.       ShowName       off
  1903.       FontName       "Arial"
  1904.       SourceBlock       "fixpt_lib_3p1/FixPtnGUI"
  1905.       SourceType       "Fixed-Point GUI"
  1906.     }
  1907.     Block {
  1908.       BlockType       SubSystem
  1909.       Name       "GSM Source"
  1910.       Ports       [0, 1]
  1911.       Position       [55, 62, 140, 98]
  1912.       ShowName       off
  1913.       FontName       "Arial"
  1914.       ShowPortLabels       on
  1915.       TreatAsAtomicUnit       off
  1916.       RTWSystemCode       "Auto"
  1917.       RTWFcnNameOpts       "Auto"
  1918.       RTWFileNameOpts       "Auto"
  1919.       MaskType       "GSM Source"
  1920.       MaskDisplay       "disp(['GSM' 10 'Source']);nport_label('output'"
  1921. ", 1, 'A/D');"
  1922.       MaskIconFrame       on
  1923.       MaskIconOpaque       on
  1924.       MaskIconRotate       "none"
  1925.       MaskIconUnits       "autoscale"
  1926.       System {
  1927. Name "GSM Source"
  1928. Location [76, 92, 412, 220]
  1929. Open off
  1930. ModelBrowserVisibility off
  1931. ModelBrowserWidth 200
  1932. ScreenColor "automatic"
  1933. PaperOrientation "landscape"
  1934. PaperPositionMode "auto"
  1935. PaperType "usletter"
  1936. PaperUnits "inches"
  1937. ZoomFactor "100"
  1938. Block {
  1939.   BlockType   Reference
  1940.   Name   "Conversion"
  1941.   Ports   [1, 1]
  1942.   Position   [165, 25, 205, 65]
  1943.   SourceBlock   "fixpt_lib_3p1/Data Type/Conversion"
  1944.   SourceType   "Fixed-Point to Fixed-Point Conversion"
  1945.   ConvertRealWorld   "Real World Value"
  1946.   OutputDataTypeScalingMode "Specify via dialog"
  1947.   OutDataType   "sfix(14)"
  1948.   OutScaling   "2^-13"
  1949.   LockScale   off
  1950.   RndMeth   "Nearest"
  1951.   DoSatur   on
  1952.   DblOver   off
  1953.   dolog   on
  1954. }
  1955. Block {
  1956.   BlockType   Sin
  1957.   Name   "Sine Wave"
  1958.   Position   [40, 25, 80, 65]
  1959.   SineType   "Time-based"
  1960.   Amplitude   "1"
  1961.   Bias   "0"
  1962.   Frequency   "2*pi*69.1e6*5/24"
  1963.   Phase   "0"
  1964.   Samples   "10"
  1965.   Offset   "0"
  1966.   SampleTime   "1/69.333e6"
  1967.   VectorParams1D   on
  1968. }
  1969. Block {
  1970.   BlockType   Outport
  1971.   Name   "Out1"
  1972.   Position   [280, 38, 310, 52]
  1973.   ShowName   off
  1974.   Port   "1"
  1975.   OutputWhenDisabled   "held"
  1976.   InitialOutput   "[]"
  1977. }
  1978. Line {
  1979.   SrcBlock   "Sine Wave"
  1980.   SrcPort   1
  1981.   DstBlock   "Conversion"
  1982.   DstPort   1
  1983. }
  1984. Line {
  1985.   SrcBlock   "Conversion"
  1986.   SrcPort   1
  1987.   DstBlock   "Out1"
  1988.   DstPort   1
  1989. }
  1990.       }
  1991.     }
  1992.     Block {
  1993.       BlockType       SubSystem
  1994.       Name       "NCO"
  1995.       Ports       [0, 1]
  1996.       Position       [213, 15, 267, 45]
  1997.       Orientation       "down"
  1998.       NamePlacement       "alternate"
  1999.       ShowName       off
  2000.       FontName       "Arial"
  2001.       FontSize       12
  2002.       ShowPortLabels       on
  2003.       TreatAsAtomicUnit       off
  2004.       RTWSystemCode       "Auto"
  2005.       RTWFcnNameOpts       "Auto"
  2006.       RTWFileNameOpts       "Auto"
  2007.       MaskType       "NCO"
  2008.       MaskDisplay       "disp('NCO')"
  2009.       MaskIconFrame       on
  2010.       MaskIconOpaque       on
  2011.       MaskIconRotate       "none"
  2012.       MaskIconUnits       "autoscale"
  2013.       System {
  2014. Name "NCO"
  2015. Location [97, 174, 668, 381]
  2016. Open off
  2017. ModelBrowserVisibility off
  2018. ModelBrowserWidth 212
  2019. ScreenColor "automatic"
  2020. PaperOrientation "landscape"
  2021. PaperPositionMode "auto"
  2022. PaperType "usletter"
  2023. PaperUnits "inches"
  2024. ZoomFactor "100"
  2025. Block {
  2026.   BlockType   Reference
  2027.   Name   "16-bit Phase Offset"
  2028.   Ports   [0, 1]
  2029.   Position   [25, 108, 125, 132]
  2030.   SourceBlock   "fixpt_lib_3p1/Sources/Constant"
  2031.   SourceType   "Fixed-Point Constant"
  2032.   constval   "0"
  2033.   OutputDataTypeScalingMode "Specify via dialog"
  2034.   OutDataType   "ufix(16)"
  2035.   OutScaling   "2^0"
  2036.   ConRadixGroup   "Use Specified Scaling"
  2037.   DblOver   off
  2038.   VectInt   on
  2039. }
  2040. Block {
  2041.   BlockType   Reference
  2042.   Name   "32-bit Tuning Freq"
  2043.   Ports   [0, 1]
  2044.   Position   [25, 68, 125, 92]
  2045.   NamePlacement   "alternate"
  2046.   SourceBlock   "fixpt_lib_3p1/Sources/Constant"
  2047.   SourceType   "Fixed-Point Constant"
  2048.   constval   " (5/24) * (2^32)"
  2049.   OutputDataTypeScalingMode "Specify via dialog"
  2050.   OutDataType   "ufix(32)"
  2051.   OutScaling   "2^0"
  2052.   ConRadixGroup   "Use Specified Scaling"
  2053.   DblOver   off
  2054.   VectInt   on
  2055. }
  2056. Block {
  2057.   BlockType   Goto
  2058.   Name   "Goto"
  2059.   Position   [480, 136, 540, 154]
  2060.   ShowName   off
  2061.   GotoTag   "NCO_IQ"
  2062.   TagVisibility   "global"
  2063. }
  2064. Block {
  2065.   BlockType   SubSystem
  2066.   Name   "Subsystem"
  2067.   Ports   [2, 1]
  2068.   Position   [185, 61, 280, 139]
  2069.   ShowName   off
  2070.   ShowPortLabels   on
  2071.   TreatAsAtomicUnit   off
  2072.   RTWSystemCode   "Auto"
  2073.   RTWFcnNameOpts   "Auto"
  2074.   RTWFileNameOpts   "Auto"
  2075.   MaskPromptString   "Enable dithering|Number of dither bits (1-1"
  2076. "9):"
  2077.   MaskStyleString   "checkbox,edit"
  2078.   MaskTunableValueString  "on,on"
  2079.   MaskCallbackString   "|"
  2080.   MaskEnableString   "on,on"
  2081.   MaskVisibilityString   "on,on"
  2082.   MaskToolTipString   "on,on"
  2083.   MaskVariables   "enable_dither=@1;bits=@2;"
  2084.   MaskDisplay   "disp('NCO')"
  2085.   MaskIconFrame   on
  2086.   MaskIconOpaque   off
  2087.   MaskIconRotate   "none"
  2088.   MaskIconUnits   "autoscale"
  2089.   MaskValueString   "on|5"
  2090.   MaskVariableAliases   ","
  2091.   System {
  2092.     Name     "Subsystem"
  2093.     Location     [162, 338, 911, 529]
  2094.     Open     off
  2095.     ModelBrowserVisibility  off
  2096.     ModelBrowserWidth     200
  2097.     ScreenColor     "automatic"
  2098.     PaperOrientation     "landscape"
  2099.     PaperPositionMode     "auto"
  2100.     PaperType     "usletter"
  2101.     PaperUnits     "inches"
  2102.     ZoomFactor     "100"
  2103.     Block {
  2104.       BlockType       Inport
  2105.       Name       "FREQ"
  2106.       Position       [25, 53, 55, 67]
  2107.       Port       "1"
  2108.       LatchInput       off
  2109.       Interpolate       on
  2110.     }
  2111.     Block {
  2112.       BlockType       Inport
  2113.       Name       "PHASE"
  2114.       Position       [25, 103, 55, 117]
  2115.       Port       "2"
  2116.       LatchInput       off
  2117.       Interpolate       on
  2118.     }
  2119.     Block {
  2120.       BlockType       Reference
  2121.       Name       "Integer Delay"
  2122.       Ports       [1, 1]
  2123.       Position       [170, 42, 215, 78]
  2124.       SourceBlock       "dspsigops/Integer Delay"
  2125.       SourceType       "Integer Delay"
  2126.       delay       "1"
  2127.       ic       "0"
  2128.     }
  2129.     Block {
  2130.       BlockType       SubSystem
  2131.       Name       "Subsystem"
  2132.       Ports       [2, 1]
  2133.       Position       [285, 46, 360, 99]
  2134.       ShowName       off
  2135.       ShowPortLabels       on
  2136.       TreatAsAtomicUnit       off
  2137.       RTWSystemCode       "Auto"
  2138.       RTWFcnNameOpts       "Auto"
  2139.       RTWFileNameOpts       "Auto"
  2140.       MaskDisplay       "disp(['Sum and\nretain\n23 MSBs'])"
  2141.       MaskIconFrame       on
  2142.       MaskIconOpaque       on
  2143.       MaskIconRotate       "none"
  2144.       MaskIconUnits       "autoscale"
  2145.       System {
  2146. Name "Subsystem"
  2147. Location [440, 283, 855, 435]
  2148. Open off
  2149. ModelBrowserVisibility off
  2150. ModelBrowserWidth 200
  2151. ScreenColor "automatic"
  2152. PaperOrientation "landscape"
  2153. PaperPositionMode "auto"
  2154. PaperType "usletter"
  2155. PaperUnits "inches"
  2156. ZoomFactor "100"
  2157. Block {
  2158.   BlockType   Inport
  2159.   Name   "In1"
  2160.   Position   [110, 43, 140, 57]
  2161.   Port   "1"
  2162.   LatchInput   off
  2163.   Interpolate   on
  2164. }
  2165. Block {
  2166.   BlockType   Inport
  2167.   Name   "In2"
  2168.   Position   [25, 108, 55, 122]
  2169.   Port   "2"
  2170.   LatchInput   off
  2171.   Interpolate   on
  2172. }
  2173. Block {
  2174.   BlockType   DataTypeConversion
  2175.   Name   "Data Type Conversion"
  2176.   Position   [80, 101, 135, 129]
  2177.   ShowName   off
  2178.   DataType   "uint32"
  2179.   SaturateOnIntegerOverflow off
  2180. }
  2181. Block {
  2182.   BlockType   SubSystem
  2183.   Name   "Retain 23 MSBs"
  2184.   Ports   [1, 1]
  2185.   Position   [260, 29, 335, 71]
  2186.   ShowPortLabels   on
  2187.   TreatAsAtomicUnit   off
  2188.   RTWSystemCode   "Auto"
  2189.   RTWFcnNameOpts   "Auto"
  2190.   RTWFileNameOpts   "Auto"
  2191.   System {
  2192.     Name     "Retain 23 MSBs"
  2193.     Location     [693, 100, 993, 192]
  2194.     Open     off
  2195.     ModelBrowserVisibility  off
  2196.     ModelBrowserWidth     200
  2197.     ScreenColor     "automatic"
  2198.     PaperOrientation     "landscape"
  2199.     PaperPositionMode     "auto"
  2200.     PaperType     "usletter"
  2201.     PaperUnits     "inches"
  2202.     ZoomFactor     "100"
  2203.     Block {
  2204.     BlockType     Inport
  2205.     Name     "In"
  2206.     Position     [25, 38, 55, 52]
  2207.     Port     "1"
  2208.     LatchInput     off
  2209.     Interpolate     on
  2210.     }
  2211.     Block {
  2212.     BlockType     Reference
  2213.     Name     "Conversion"
  2214.     Ports     [1, 1]
  2215.     Position     [80, 25, 120, 65]
  2216.     SourceBlock     "fixpt_lib_3p1/Data Type/Conversio"
  2217. "n"
  2218.     SourceType     "Fixed-Point to Fixed-Point Conver"
  2219. "sion"
  2220.     ConvertRealWorld     "Real World Value"
  2221.     OutputDataTypeScalingMode "Specify via dialog"
  2222.     OutDataType     "ufix(23)"
  2223.     OutScaling     "2^9"
  2224.     LockScale     off
  2225.     RndMeth     "Nearest"
  2226.     DoSatur     off
  2227.     DblOver     off
  2228.     dolog     on
  2229.     }
  2230.     Block {
  2231.     BlockType     Reference
  2232.     Name     "Conversion1"
  2233.     Ports     [1, 1]
  2234.     Position     [180, 25, 220, 65]
  2235.     SourceBlock     "fixpt_lib_3p1/Data Type/Conversio"
  2236. "n"
  2237.     SourceType     "Fixed-Point to Fixed-Point Conver"
  2238. "sion"
  2239.     ConvertRealWorld     "Stored Integer"
  2240.     OutputDataTypeScalingMode "Specify via dialog"
  2241.     OutDataType     "ufix(23)"
  2242.     OutScaling     "2^0"
  2243.     LockScale     off
  2244.     RndMeth     "Floor"
  2245.     DoSatur     off
  2246.     DblOver     off
  2247.     dolog     on
  2248.     }
  2249.     Block {
  2250.     BlockType     Outport
  2251.     Name     "Out"
  2252.     Position     [245, 38, 275, 52]
  2253.     Port     "1"
  2254.     OutputWhenDisabled     "held"
  2255.     InitialOutput     "[]"
  2256.     }
  2257.     Line {
  2258.     SrcBlock     "Conversion"
  2259.     SrcPort     1
  2260.     DstBlock     "Conversion1"
  2261.     DstPort     1
  2262.     }
  2263.     Line {
  2264.     SrcBlock     "Conversion1"
  2265.     SrcPort     1
  2266.     DstBlock     "Out"
  2267.     DstPort     1
  2268.     }
  2269.     Line {
  2270.     SrcBlock     "In"
  2271.     SrcPort     1
  2272.     DstBlock     "Conversion"
  2273.     DstPort     1
  2274.     }
  2275.   }
  2276. }
  2277. Block {
  2278.   BlockType   Sum
  2279.   Name   "Sum1"
  2280.   Ports   [2, 1]
  2281.   Position   [175, 40, 195, 60]
  2282.   ShowName   off
  2283.   IconShape   "round"
  2284.   Inputs   "|++"
  2285.   SaturateOnIntegerOverflow off
  2286. }
  2287. Block {
  2288.   BlockType   Outport
  2289.   Name   "Out"
  2290.   Position   [360, 43, 390, 57]
  2291.   Port   "1"
  2292.   OutputWhenDisabled   "held"
  2293.   InitialOutput   "[]"
  2294. }
  2295. Line {
  2296.   SrcBlock   "Data Type Conversion"
  2297.   SrcPort   1
  2298.   Points   [45, 0]
  2299.   DstBlock   "Sum1"
  2300.   DstPort   2
  2301. }
  2302. Line {
  2303.   SrcBlock   "Sum1"
  2304.   SrcPort   1
  2305.   DstBlock   "Retain 23 MSBs"
  2306.   DstPort   1
  2307. }
  2308. Line {
  2309.   SrcBlock   "In1"
  2310.   SrcPort   1
  2311.   DstBlock   "Sum1"
  2312.   DstPort   1
  2313. }
  2314. Line {
  2315.   SrcBlock   "Retain 23 MSBs"
  2316.   SrcPort   1
  2317.   DstBlock   "Out"
  2318.   DstPort   1
  2319. }
  2320. Line {
  2321.   SrcBlock   "In2"
  2322.   SrcPort   1
  2323.   DstBlock   "Data Type Conversion"
  2324.   DstPort   1
  2325. }
  2326.       }
  2327.     }
  2328.     Block {
  2329.       BlockType       SubSystem
  2330.       Name       "Subsystem1"
  2331.       Ports       [2, 1]
  2332.       Position       [410, 61, 485, 114]
  2333.       ShowName       off
  2334.       ShowPortLabels       on
  2335.       TreatAsAtomicUnit       off
  2336.       RTWSystemCode       "Auto"
  2337.       RTWFcnNameOpts       "Auto"
  2338.       RTWFileNameOpts       "Auto"
  2339.       MaskDisplay       "disp(['Sum and\nretain\n18 MSBs'])"
  2340.       MaskIconFrame       on
  2341.       MaskIconOpaque       on
  2342.       MaskIconRotate       "none"
  2343.       MaskIconUnits       "autoscale"
  2344.       System {
  2345. Name "Subsystem1"
  2346. Location [454, 375, 962, 527]
  2347. Open off
  2348. ModelBrowserVisibility off
  2349. ModelBrowserWidth 200
  2350. ScreenColor "automatic"
  2351. PaperOrientation "landscape"
  2352. PaperPositionMode "auto"
  2353. PaperType "usletter"
  2354. PaperUnits "inches"
  2355. ZoomFactor "100"
  2356. Block {
  2357.   BlockType   Inport
  2358.   Name   "In1"
  2359.   Position   [25, 43, 55, 57]
  2360.   Port   "1"
  2361.   LatchInput   off
  2362.   Interpolate   on
  2363. }
  2364. Block {
  2365.   BlockType   Inport
  2366.   Name   "In2"
  2367.   Position   [25, 108, 55, 122]
  2368.   Port   "2"
  2369.   LatchInput   off
  2370.   Interpolate   on
  2371. }
  2372. Block {
  2373.   BlockType   SubSystem
  2374.   Name   "Retain 18 MSBs"
  2375.   Ports   [1, 1]
  2376.   Position   [215, 39, 290, 81]
  2377.   ShowPortLabels   on
  2378.   TreatAsAtomicUnit   off
  2379.   RTWSystemCode   "Auto"
  2380.   RTWFcnNameOpts   "Auto"
  2381.   RTWFileNameOpts   "Auto"
  2382.   System {
  2383.     Name     "Retain 18 MSBs"
  2384.     Location     [693, 100, 993, 192]
  2385.     Open     off
  2386.     ModelBrowserVisibility  off
  2387.     ModelBrowserWidth     200
  2388.     ScreenColor     "automatic"
  2389.     PaperOrientation     "landscape"
  2390.     PaperPositionMode     "auto"
  2391.     PaperType     "usletter"
  2392.     PaperUnits     "inches"
  2393.     ZoomFactor     "100"
  2394.     Block {
  2395.     BlockType     Inport
  2396.     Name     "In"
  2397.     Position     [25, 38, 55, 52]
  2398.     Port     "1"
  2399.     LatchInput     off
  2400.     Interpolate     on
  2401.     }
  2402.     Block {
  2403.     BlockType     Reference
  2404.     Name     "Conversion"
  2405.     Ports     [1, 1]
  2406.     Position     [80, 25, 120, 65]
  2407.     SourceBlock     "fixpt_lib_3p1/Data Type/Conversio"
  2408. "n"
  2409.     SourceType     "Fixed-Point to Fixed-Point Conver"
  2410. "sion"
  2411.     ConvertRealWorld     "Real World Value"
  2412.     OutputDataTypeScalingMode "Specify via dialog"
  2413.     OutDataType     "ufix(23)"
  2414.     OutScaling     "2^5"
  2415.     LockScale     off
  2416.     RndMeth     "Nearest"
  2417.     DoSatur     off
  2418.     DblOver     off
  2419.     dolog     on
  2420.     }
  2421.     Block {
  2422.     BlockType     Reference
  2423.     Name     "Conversion1"
  2424.     Ports     [1, 1]
  2425.     Position     [180, 25, 220, 65]
  2426.     SourceBlock     "fixpt_lib_3p1/Data Type/Conversio"
  2427. "n"
  2428.     SourceType     "Fixed-Point to Fixed-Point Conver"
  2429. "sion"
  2430.     ConvertRealWorld     "Stored Integer"
  2431.     OutputDataTypeScalingMode "Specify via dialog"
  2432.     OutDataType     "ufix(18)"
  2433.     OutScaling     "2^0"
  2434.     LockScale     off
  2435.     RndMeth     "Nearest"
  2436.     DoSatur     off
  2437.     DblOver     off
  2438.     dolog     on
  2439.     }
  2440.     Block {
  2441.     BlockType     Outport
  2442.     Name     "Out"
  2443.     Position     [245, 38, 275, 52]
  2444.     Port     "1"
  2445.     OutputWhenDisabled     "held"
  2446.     InitialOutput     "[]"
  2447.     }
  2448.     Line {
  2449.     SrcBlock     "In"
  2450.     SrcPort     1
  2451.     DstBlock     "Conversion"
  2452.     DstPort     1
  2453.     }
  2454.     Line {
  2455.     SrcBlock     "Conversion1"
  2456.     SrcPort     1
  2457.     DstBlock     "Out"
  2458.     DstPort     1
  2459.     }
  2460.     Line {
  2461.     SrcBlock     "Conversion"
  2462.     SrcPort     1
  2463.     DstBlock     "Conversion1"
  2464.     DstPort     1
  2465.     }
  2466.   }
  2467. }
  2468. Block {
  2469.   BlockType   Reference
  2470.   Name   "Sum"
  2471.   Ports   [2, 1]
  2472.   Position   [125, 40, 165, 80]
  2473.   SourceBlock   "fixpt_lib_3p1/Math/Sum"
  2474.   SourceType   "Fixed-Point Sum"
  2475.   listofsigns   "++"
  2476.   OutputDataTypeScalingMode "Specify via dialog"
  2477.   OutDataType   "ufix(23)"
  2478.   OutScaling   "2^0"
  2479.   LockScale   off
  2480.   RndMeth   "Nearest"
  2481.   DoSatur   off
  2482.   DblOver   off
  2483.   dolog   on
  2484. }
  2485. Block {
  2486.   BlockType   Outport
  2487.   Name   "Out"
  2488.   Position   [355, 53, 385, 67]
  2489.   Port   "1"
  2490.   OutputWhenDisabled   "held"
  2491.   InitialOutput   "[]"
  2492. }
  2493. Line {
  2494.   SrcBlock   "In2"
  2495.   SrcPort   1
  2496.   Points   [35, 0; 0, -45]
  2497.   DstBlock   "Sum"
  2498.   DstPort   2
  2499. }
  2500. Line {
  2501.   SrcBlock   "Retain 18 MSBs"
  2502.   SrcPort   1
  2503.   DstBlock   "Out"
  2504.   DstPort   1
  2505. }
  2506. Line {
  2507.   SrcBlock   "In1"
  2508.   SrcPort   1
  2509.   DstBlock   "Sum"
  2510.   DstPort   1
  2511. }
  2512. Line {
  2513.   SrcBlock   "Sum"
  2514.   SrcPort   1
  2515.   DstBlock   "Retain 18 MSBs"
  2516.   DstPort   1
  2517. }
  2518.       }
  2519.     }
  2520.     Block {
  2521.       BlockType       SubSystem
  2522.       Name       "Subsystem2"
  2523.       Ports       [0, 1]
  2524.       Position       [343, 130, 407, 170]
  2525.       Orientation       "up"
  2526.       ShowName       off