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

📄 cdma2k_lib.mdl

📁 CDMA 2000 simulation using SIMULINK
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      BlockType		      Reference
	      Name		      "AWGN\nChannel"
	      Ports		      [1, 1]
	      Position		      [230, 29, 310, 71]
	      SourceBlock	      "commchan2/AWGN\nChannel"
	      SourceType	      "AWGN Channel"
	      seed		      "67"
	      noiseMode		      "Signal to noise ratio  (Es/No)"
	      EsNodB		      "EcN0"
	      SNRdB		      "10"
	      Ps		      "1"
	      Tsym		      "1/1.2288e6"
	      variance		      "1"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Multipath Rayleigh\nFading Channel"
	      Ports		      [1, 1]
	      Position		      [105, 29, 185, 71]
	      SourceBlock	      "commchan2/Multipath Rayleigh\nFading Ch"
"annel"
	      SourceType	      "Multipath Rayleigh Fading Channel"
	      Fd		      "dopplerFreq"
	      simTs		      "1/(1.2288e6*4)"
	      delayVec		      "delayVector"
	      gainVecdB		      "gainVector"
	      normGain		      off
	      Seed		      "73"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [335, 43, 365, 57]
	    }
	    Line {
	      SrcBlock		      "Multipath Rayleigh\nFading Channel"
	      SrcPort		      1
	      DstBlock		      "AWGN\nChannel"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "AWGN\nChannel"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Multipath Rayleigh\nFading Channel"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "No Channel"
	  Ports			  [1, 1]
	  Position		  [75, 94, 155, 136]
	  TreatAsAtomicUnit	  off
	  System {
	    Name		    "No Channel"
	    Location		    [398, 300, 876, 470]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In"
	      Position		      [100, 63, 130, 77]
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Out"
	      Position		      [350, 63, 380, 77]
	    }
	    Line {
	      SrcBlock		      "In"
	      SrcPort		      1
	      DstBlock		      "Out"
	      DstPort		      1
	    }
	  }
	}
	Annotation {
	  Name			  "CDMA2k Channel Models Sub-library"
	  Position		  [228, 19]
	  FontName		  "Arial"
	  FontSize		  14
	  FontWeight		  "bold"
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "cdma2000 Receiver"
      Ports		      []
      Position		      [330, 114, 432, 165]
      BackgroundColor	      "yellow"
      ShowName		      off
      TreatAsAtomicUnit	      off
      MaskDisplay	      "disp('CDMA2000\\nReceiver')"
      MaskSelfModifiable      on
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      System {
	Name			"cdma2000 Receiver"
	Location		[92, 149, 857, 545]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	Block {
	  BlockType		  SubSystem
	  Name			  "Channel Estimation"
	  Ports			  [2, 1]
	  Position		  [175, 167, 265, 218]
	  TreatAsAtomicUnit	  off
	  MaskType		  "Channel Estimation"
	  MaskDescription	  "Perform Channel Estimation"
	  MaskPromptString	  "Number of Filter Taps for Channel Estimatio"
"n:"
	  MaskStyleString	  "edit"
	  MaskTunableValueString  "on"
	  MaskEnableString	  "on"
	  MaskVisibilityString	  "on"
	  MaskToolTipString	  "on"
	  MaskVariables		  "numTapsChEst=@1;"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  MaskValueString	  "numTapsChEst"
	  System {
	    Name		    "Channel Estimation"
	    Location		    [125, 360, 714, 531]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "cRef"
	      Position		      [50, 58, 80, 72]
	      Port {
		PortNumber		1
		Name			"Ref"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "cRx"
	      Position		      [55, 118, 85, 132]
	      Port		      "2"
	      Port {
		PortNumber		1
		Name			"Output of \nPilot Correlator"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Low Pass Filter"
	      Ports		      [1, 1]
	      Position		      [295, 100, 375, 140]
	      SourceBlock	      "cdma2k_lib/cdma2000 Receiver/Low Pass F"
"ilter"
	      SourceType	      "FIR Interpolation"
	      N			      "numTapsChEst-1"
	      Wn		      "1/4"
	      outputBufInitCond	      "0"
	      Port {
		PortNumber		1
		Name			"channel\nestimate"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [145, 50, 175, 80]
	      ShowName		      off
	      Operator		      "conj"
	      OutputSignalType	      "complex"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product"
	      Ports		      [2, 1]
	      Position		      [205, 104, 240, 131]
	      ShowName		      off
	      Port {
		PortNumber		1
		Name			"noisy\nchannel\nestimate"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "chEst"
	      Position		      [445, 113, 475, 127]
	    }
	    Line {
	      Name		      "Ref"
	      Labels		      [1, 0]
	      SrcBlock		      "cRef"
	      SrcPort		      1
	      DstBlock		      "Math\nFunction"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      Points		      [10, 0]
	      DstBlock		      "Product"
	      DstPort		      1
	    }
	    Line {
	      Name		      "noisy\nchannel\nestimate"
	      Labels		      [1, 1]
	      SrcBlock		      "Product"
	      SrcPort		      1
	      DstBlock		      "Low Pass Filter"
	      DstPort		      1
	    }
	    Line {
	      Name		      "Output of \nPilot Correlator"
	      Labels		      [1, 1]
	      SrcBlock		      "cRx"
	      SrcPort		      1
	      DstBlock		      "Product"
	      DstPort		      2
	    }
	    Line {
	      Name		      "channel\nestimate"
	      Labels		      [0, 0]
	      SrcBlock		      "Low Pass Filter"
	      SrcPort		      1
	      DstBlock		      "chEst"
	      DstPort		      1
	    }
	    Annotation {
	      Name		      "Channel Estimation"
	      Position		      [23, 17]
	      HorizontalAlignment     "left"
	      DropShadow	      on
	      FontName		      "Arial"
	      FontSize		      12
	      FontWeight	      "bold"
	    }
	  }
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Data Correlator"
	  Ports			  [2, 1, 1]
	  Position		  [180, 85, 260, 125]
	  TreatAsAtomicUnit	  on
	  MaskType		  "Data Correlator"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Data Correlator"
	    Location		    [115, 300, 818, 481]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "usletter"
	    PaperUnits		    "inches"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "cIn"
	      Position		      [25, 63, 55, 77]
	      Port {
		PortNumber		1
		Name			"Ticks\nSignal"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "cPNseq"
	      Position		      [20, 123, 50, 137]
	      Port		      "2"
	      Port {
		PortNumber		1
		Name			"Chips\nCode"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      EnablePort
	      Name		      "Enable"
	      Ports		      []
	      Position		      [310, 15, 330, 35]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Downsample"
	      Ports		      [1, 1]
	      Position		      [120, 57, 155, 83]
	      ShowName		      off
	      SourceBlock	      "dspsigops/Downsample"
	      SourceType	      "Downsample"
	      N			      "overSamp"
	      phase		      "0"
	      ic		      "0"
	      smode		      "Force single rate"
	      fmode		      "Maintain input frame rate"
	      Port {
		PortNumber		1
		Name			"Chip\nSignal"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Math
	      Name		      "Math\nFunction"
	      Ports		      [1, 1]
	      Position		      [120, 115, 150, 145]
	      ShowName		      off
	      Operator		      "conj"
	      OutputSignalType	      "complex"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [245, 62, 285, 93]
	      ShowName		      off
	      Inputs		      "**"
	      Port {
		PortNumber		1
		Name			"Correlation"
		TestPoint		off
		LinearAnalysisOutput	off
		LinearAnalysisInput	off
		RTWStorageClass		"Auto"
		DataLogging		off
		DataLoggingNameMode	"SignalName"
		DataLoggingDecimateData	off
		DataLoggingDecimation	"2"
		DataLoggingLimitDataPoints off
		DataLoggingMaxPoints	"5000"
	      }
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product4"
	      Ports		      [2, 1]
	      Position		      [490, 74, 520, 101]
	      ShowName		      off
	      Inputs		      "*/"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [1, 1]
	      Position		      [390, 70, 410, 90]
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "+"
	      InputSameDT	      off
	      OutDataTypeMode	      "Inherit via internal rule"
	    }
	    Block {
	      BlockType		      Width
	      Name		      "Width1"
	      Position		      [415, 120, 445, 150]
	      ShowName		      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "cOutBits"
	      Position		      [585, 83, 615, 97]
	    }
	    Line {
	      SrcBlock		      "Math\nFunction"
	      SrcPort		      1
	      Points		      [75, 0]
	      DstBlock		      "Product2"

⌨️ 快捷键说明

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