⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ds_ss_rake.mdl

📁 RAKE receiver for DS-SS systems - rev1.0
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [20, 78, 50, 92]
	      NamePlacement	      "alternate"
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "SC"
	      Position		      [20, 93, 50, 107]
	      Port		      "2"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Integer Delay"
	      Ports		      [1, 1]
	      Position		      [185, 76, 260, 114]
	      ShowName		      off
	      SourceBlock	      "dspbdsp2/Integer Delay"
	      SourceType	      "Integer Delay"
	      delay		      "TD-D"
	      ic		      "0"
	      frame		      off
	      df		      on
	      numChans		      "1"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [100, 77, 130, 108]
	      ShowName		      off
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      SubSystem
	      Name		      "SMF"
	      Ports		      [1, 1]
	      Position		      [285, 68, 375, 122]
	      ShowPortLabels	      on
	      TreatAsAtomicUnit	      off
	      RTWSystemCode	      "Auto"
	      RTWFcnNameOpts	      "Auto"
	      RTWFileNameOpts	      "Auto"
	      MaskType		      "Symbol-matched filter for DS-SS"
	      MaskPromptString	      "Symbol time :|Chip time :"
	      MaskStyleString	      "edit,edit"
	      MaskTunableValueString  "on,on"
	      MaskCallbackString      "|"
	      MaskEnableString	      "on,on"
	      MaskVisibilityString    "on,on"
	      MaskToolTipString	      "on,on"
	      MaskVariables	      "Tb=@1;Tc=@2;"
	      MaskDisplay	      "disp('Symbol-Matched\\nFilter')"
	      MaskIconFrame	      on
	      MaskIconOpaque	      on
	      MaskIconRotate	      "none"
	      MaskIconUnits	      "autoscale"
	      MaskValueString	      "Tb|Tc"
	      MaskVariableAliases     ","
	      System {
		Name			"SMF"
		Location		[63, 705, 550, 882]
		Open			off
		ModelBrowserVisibility	off
		ModelBrowserWidth	200
		ScreenColor		"white"
		PaperOrientation	"landscape"
		PaperPositionMode	"auto"
		PaperType		"usletter"
		PaperUnits		"inches"
		ZoomFactor		"100"
		Block {
		  BlockType		  Inport
		  Name			  "*In"
		  Position		  [15, 88, 45, 102]
		  Port			  "1"
		  LatchInput		  off
		  Interpolate		  on
		}
		Block {
		  BlockType		  ComplexToRealImag
		  Name			  "Complex to\nReal-Imag"
		  Ports			  [1, 2]
		  Position		  [125, 78, 155, 107]
		  ShowName		  off
		  Output		  "RealAndImag"
		}
		Block {
		  BlockType		  Gain
		  Name			  "Gain"
		  Position		  [70, 80, 100, 110]
		  ShowName		  off
		  Gain			  "1/Tb"
		  Multiplication	  "Element-wise(K.*u)"
		  SaturateOnIntegerOverflow on
		}
		Block {
		  BlockType		  Reference
		  Name			  "Integrate and Dump"
		  Ports			  [1, 1]
		  Position		  [180, 48, 260, 92]
		  ShowName		  off
		  SourceBlock		  "comminteg2/Integrate and Dump"
		  SourceType		  "Integrate and Dump"
		  limit			  "inf"
		  td			  "Tb"
		  ts			  "Tc"
		}
		Block {
		  BlockType		  Reference
		  Name			  "Integrate and Dump1"
		  Ports			  [1, 1]
		  Position		  [180, 98, 260, 142]
		  ShowName		  off
		  SourceBlock		  "comminteg2/Integrate and Dump"
		  SourceType		  "Integrate and Dump"
		  limit			  "inf"
		  td			  "Tb"
		  ts			  "Tc"
		}
		Block {
		  BlockType		  RealImagToComplex
		  Name			  "Real-Imag to\nComplex"
		  Ports			  [2, 1]
		  Position		  [350, 78, 380, 107]
		  ShowName		  off
		  Input			  "RealAndImag"
		  ConstantPart		  "0"
		}
		Block {
		  BlockType		  ZeroOrderHold
		  Name			  "Zero-Order\nHold"
		  Position		  [290, 55, 320, 85]
		  ShowName		  off
		  SampleTime		  "Tb"
		}
		Block {
		  BlockType		  ZeroOrderHold
		  Name			  "Zero-Order\nHold1"
		  Position		  [290, 105, 320, 135]
		  ShowName		  off
		  SampleTime		  "Tb"
		}
		Block {
		  BlockType		  Outport
		  Name			  "*Out"
		  Position		  [415, 88, 445, 102]
		  Port			  "1"
		  OutputWhenDisabled	  "held"
		  InitialOutput		  "[]"
		}
		Line {
		  SrcBlock		  "*In"
		  SrcPort		  1
		  DstBlock		  "Gain"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Gain"
		  SrcPort		  1
		  DstBlock		  "Complex to\nReal-Imag"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Integrate and Dump"
		  SrcPort		  1
		  DstBlock		  "Zero-Order\nHold"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Complex to\nReal-Imag"
		  SrcPort		  1
		  Points		  [5, 0]
		  DstBlock		  "Integrate and Dump"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Integrate and Dump1"
		  SrcPort		  1
		  DstBlock		  "Zero-Order\nHold1"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Zero-Order\nHold"
		  SrcPort		  1
		  Points		  [10, 0]
		  DstBlock		  "Real-Imag to\nComplex"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Zero-Order\nHold1"
		  SrcPort		  1
		  Points		  [10, 0]
		  DstBlock		  "Real-Imag to\nComplex"
		  DstPort		  2
		}
		Line {
		  SrcBlock		  "Real-Imag to\nComplex"
		  SrcPort		  1
		  DstBlock		  "*Out"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Complex to\nReal-Imag"
		  SrcPort		  2
		  Points		  [5, 0]
		  DstBlock		  "Integrate and Dump1"
		  DstPort		  1
		}
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [400, 88, 430, 102]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Integer Delay"
	      SrcPort		      1
	      DstBlock		      "SMF"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SMF"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      DstBlock		      "Integer Delay"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "SC"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      2
	    }
	    Annotation {
	      Position		      [276, 145]
	      Text		      "compensate for the delay of CMF (1Tc) a"
"nd path"
	    }
	  }
	}
	Block {
	  BlockType		  From
	  Name			  "From16"
	  Position		  [160, 174, 215, 196]
	  ShowName		  off
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Fingers"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto4"
	  Position		  [505, 50, 560, 70]
	  ShowName		  off
	  GotoTag		  "Fingers"
	  TagVisibility		  "local"
	}
	Block {
	  BlockType		  Math
	  Name			  "Math\nFunction16"
	  Ports			  [1, 1]
	  Position		  [245, 134, 265, 156]
	  ShowName		  off
	  Operator		  "conj"
	  OutputSignalType	  "auto"
	}
	Block {
	  BlockType		  Product
	  Name			  "Produt16"
	  Ports			  [2, 1]
	  Position		  [285, 137, 315, 168]
	  ShowName		  off
	  Inputs		  "2"
	  Multiplication	  "Element-wise(.*)"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem1"
	  Ports			  [1, 1]
	  Position		  [205, 75, 250, 105]
	  ShowName		  off
	  ShowPortLabels	  on
	  TreatAsAtomicUnit	  off
	  RTWSystemCode		  "Auto"
	  RTWFcnNameOpts	  "Auto"
	  RTWFileNameOpts	  "Auto"
	  System {
	    Name		    "Subsystem1"
	    Location		    [197, 630, 505, 809]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "automatic"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [25, 43, 55, 57]
	      Port		      "1"
	      LatchInput	      off
	      Interpolate	      on
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "DSP\nConstant"
	      Ports		      [0, 1]
	      Position		      [40, 99, 75, 131]
	      SourceBlock	      "dspsrcs3/DSP\nConstant"
	      SourceType	      "DSP Constant"
	      Value		      "ones(M,1)"
	      InterpretAs1D	      "on"
	      SampleMode	      "Discrete"
	      Ts		      "Tc"
	      FramebasedOutput	      "off"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Integer Delay3"
	      Ports		      [1, 1]
	      Position		      [180, 45, 210, 75]
	      ShowName		      off
	      SourceBlock	      "dspsigops/Integer Delay"
	      SourceType	      "Integer Delay"
	      delay		      "D"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [105, 44, 130, 71]
	      ShowName		      off
	      Inputs		      "2"
	      Multiplication	      "Element-wise(.*)"
	      SaturateOnIntegerOverflow	on
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out1"
	      Position		      [235, 53, 265, 67]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "DSP\nConstant"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "In1"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Integer Delay3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Integer Delay3"
	      SrcPort		      1
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum8"
	  Ports			  [2, 1]
	  Position		  [455, 48, 475, 72]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "++"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum9"
	  Ports			  [1, 1]
	  Position		  [335, 143, 355, 167]
	  ShowName		  off
	  IconShape		  "rectangular"
	  Inputs		  "+"
	  SaturateOnIntegerOverflow on
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [380, 148, 410, 162]
	  Port			  "1"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "0"
	}
	Line {
	  SrcBlock		  "RxSig"
	  SrcPort		  1
	  DstBlock		  "Fingers"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Produt16"
	  SrcPort		  1
	  DstBlock		  "Sum9"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum9"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction16"
	  SrcPort		  1
	  DstBlock		  "Produt16"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Fingers"
	  SrcPort		  1
	  DstBlock		  "Sum8"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "noise"
	  SrcPort		  1
	  Points		  [-25, 0; 0, 30]
	  DstBlock		  "Sum8"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum8"
	  SrcPort		  1
	  DstBlock		  "Goto4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Weight"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction16"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "From16"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Produt16"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Subsystem1"
	  SrcPort		  1
	  Points		  [50, 0]
	  DstBlock		  "Fingers"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "SC"
	  SrcPort		  1
	  DstBlock		  "Subsystem1"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate Calculation"
      Ports		      [2, 1]
      Position		      [780, 44, 855, 91]
      ShowName		      off
      SourceBlock	      "commsink2/Error Rate Calculation"
      SourceType	      "Error Rate Calculation"
      N			      "2*Drake+2"
      st_delay		      "2*Drake+2"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -