phy_cdma_coin_sig_recv_rrc_final.mdl

来自「This matlab code is used for reduce PAPR」· MDL 代码 · 共 2,154 行 · 第 1/5 页

MDL
2,154
字号
      MaskIconUnits	      "autoscale"
      MaskValueString	      "17|pn17"
      MaskTabNameString	      ","
      System {
	Name			"Subsystem7"
	Location		[159, 550, 1136, 1088]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [15, 118, 45, 132]
	  ShowName		  off
	  Port			  "1"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Inport
	  Name			  "In2"
	  Position		  [15, 148, 45, 162]
	  ShowName		  off
	  Port			  "2"
	  IconDisplay		  "Port number"
	  LatchInput		  off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Add"
	  Ports			  [2, 1]
	  Position		  [385, 97, 400, 188]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer1"
	  Ports			  [1, 1]
	  Position		  [545, 132, 575, 158]
	  ShowName		  off
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "48"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Buffer3"
	  Ports			  [1, 1]
	  Position		  [725, 137, 740, 173]
	  DropShadow		  on
	  ShowName		  off
	  SourceBlock		  "dspbuff3/Buffer"
	  SourceType		  "Buffer"
	  N			  "768"
	  V			  "0"
	  ic			  "0"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay"
	  Ports			  [1, 1]
	  Position		  [280, 406, 320, 434]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspobslib/Integer Delay"
	  SourceType		  "Integer Delay"
	  delay			  "1"
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay1"
	  Ports			  [1, 1]
	  Position		  [560, 371, 600, 399]
	  ShowName		  off
	  AttributesFormatString  "\\n"
	  SourceBlock		  "dspobslib/Integer Delay"
	  SourceType		  "Integer Delay"
	  delay			  "48+2"
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay2"
	  Ports			  [1, 1]
	  Position		  [185, 70, 205, 85]
	  Orientation		  "down"
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "63"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay3"
	  Ports			  [1, 1]
	  Position		  [185, 190, 205, 205]
	  Orientation		  "up"
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "63"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay4"
	  Ports			  [1, 1]
	  Position		  [275, 110, 290, 130]
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "1"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay5"
	  Ports			  [1, 1]
	  Position		  [275, 155, 290, 175]
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "1"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Delay6"
	  Ports			  [1, 1]
	  Position		  [770, 145, 785, 165]
	  SourceBlock		  "dspsigops/Delay"
	  SourceType		  "Delay"
	  dly_unit		  "Samples"
	  delay			  "718"
	  ic_detail		  off
	  dif_ic_for_ch		  off
	  dif_ic_for_dly	  off
	  ic			  "0"
	  reset_popup		  "None"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Downsample"
	  Ports			  [1, 1]
	  Position		  [210, 343, 245, 377]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Downsample"
	  SourceType		  "Downsample"
	  N			  "64"
	  phase			  "0"
	  ic			  "0"
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame rate"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Downsample1"
	  Ports			  [1, 1]
	  Position		  [205, 403, 240, 437]
	  ShowName		  off
	  SourceBlock		  "dspsigops/Downsample"
	  SourceType		  "Downsample"
	  N			  "64"
	  phase			  "63"
	  ic			  "0"
	  smode			  "Allow multirate"
	  fmode			  "Maintain input frame rate"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain2"
	  Position		  [465, 136, 485, 154]
	  ShowName		  off
	  Gain			  "1/(0.5647/6)"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain3"
	  Position		  [420, 130, 450, 160]
	  ShowName		  off
	  Gain			  "1/64"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Hadamard\nCode Generator"
	  Ports			  [0, 1]
	  Position		  [105, 23, 190, 67]
	  ShowName		  off
	  SourceBlock		  "commseqgen2/Hadamard\nCode Generator"
	  SourceType		  "Hadamard Code Generator"
	  ShowPortLabels	  on
	  length		  "64"
	  index			  "walshcode"
	  ts			  "1/1.2288e6"
	  frameBased		  on
	  sampPerFrame		  "64"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Hadamard\nCode Generator1"
	  Ports			  [0, 1]
	  Position		  [105, 208, 190, 252]
	  ShowName		  off
	  SourceBlock		  "commseqgen2/Hadamard\nCode Generator"
	  SourceType		  "Hadamard Code Generator"
	  ShowPortLabels	  on
	  length		  "64"
	  index			  "walshcode"
	  ts			  "1/1.2288e6"
	  frameBased		  on
	  sampPerFrame		  "64"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Interlacer"
	  Ports			  [2, 1]
	  Position		  [345, 358, 425, 407]
	  ShowName		  off
	  SourceBlock		  "commsequence2/Interlacer"
	  SourceType		  "Interlacer"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Long Code Generator\n1.2288Mcps1"
	  Ports			  [0, 1]
	  Position		  [25, 374, 120, 406]
	  SourceBlock		  "commseqgen2/PN Sequence\nGenerator"
	  SourceType		  "PN Sequence Generator"
	  poly			  "[42 35 33 31 27 26 25 22 21 19 18 17 16 10 "
"7 6 5 3 2 1 0]"
	  ini_sta		  "[1]"
	  shift			  "mask"
	  Ts			  "1/1.2288e6"
	  frameBased		  on
	  sampPerFrame		  "64*24"
	  reset			  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nSum"
	  Ports			  [1, 1]
	  Position		  [300, 106, 325, 134]
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "dspmtrx3/Matrix\nSum"
	  SourceType		  "Matrix Sum"
	  Dim			  "Columns"
	  additionalParams	  off
	  allowOverrides	  on
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Matrix\nSum1"
	  Ports			  [1, 1]
	  Position		  [300, 151, 325, 179]
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag1"
	  SourceBlock		  "dspmtrx3/Matrix\nSum"
	  SourceType		  "Matrix Sum"
	  Dim			  "Columns"
	  additionalParams	  off
	  allowOverrides	  on
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  accumMode		  "Inherit via internal rule"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product"
	  Ports			  [2, 1]
	  Position		  [230, 102, 260, 133]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product1"
	  Ports			  [2, 1]
	  Position		  [230, 147, 260, 178]
	  ShowName		  off
	  InputSameDT		  off
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Product
	  Name			  "Product2"
	  Ports			  [2, 1]
	  Position		  [625, 136, 670, 169]
	  ShowName		  off
	  InputSameDT		  off
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  Rounding
	  Name			  "Rounding\nFunction"
	  Position		  [680, 140, 710, 170]
	  ShowName		  off
	  Operator		  "round"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Subsystem"
	  Ports			  [2, 2]
	  Position		  [65, 109, 110, 171]
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskDisplay		  "disp('RRC\\nRx');"
	  MaskIconFrame		  on
	  MaskIconOpaque	  on
	  MaskIconRotate	  "none"
	  MaskIconUnits		  "autoscale"
	  System {
	    Name		    "Subsystem"
	    Location		    [395, 377, 884, 647]
	    Open		    off
	    ModelBrowserVisibility  off
	    ModelBrowserWidth	    200
	    ScreenColor		    "white"
	    PaperOrientation	    "landscape"
	    PaperPositionMode	    "auto"
	    PaperType		    "A4"
	    PaperUnits		    "centimeters"
	    ZoomFactor		    "100"
	    Block {
	      BlockType		      Inport
	      Name		      "In1"
	      Position		      [365, 38, 395, 52]
	      Orientation	      "left"
	      Port		      "1"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Inport
	      Name		      "In2"
	      Position		      [365, 118, 395, 132]
	      Orientation	      "left"
	      Port		      "2"
	      IconDisplay	      "Port number"
	      LatchInput	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Digital Filter1"
	      Ports		      [1, 1]
	      Position		      [235, 109, 325, 141]
	      Orientation	      "left"
	      DialogController	      "dspDDGCreate"
	      DialogControllerArgs    "DataTag2"
	      SourceBlock	      "dsparch4/Digital Filter"
	      SourceType	      "Digital Filter"
	      TypePopup		      "FIR (all zeros)"
	      IIRFiltStruct	      "Direct form II transposed"
	      AllPoleFiltStruct	      "Direct form"
	      FIRFiltStruct	      "Direct form"
	      CoeffSource	      "Specify via dialog"
	      NumCoeffs		      "[0.000263800397	-0.000214614671"
"	-0.000249140539	-0.000115388681	0.000097834964	0"
".000246249067	0.000227693641	0.00005282224	-0.0001601595"
"57	-0.000264797364	-0.000186876276	0.000022681733"
"	0.000220259766	0.000267140678	0.00012639644	-0.0"
"00108277262	-0.000274012545	-0.000250707551	-0.000047109"
"493	0.000200103966	0.000317087617	0.000213694567	"
"-0.000048853224	-0.000293335291	-0.000345141368	-0.00015"
"5278662	0.000157993539	0.000382269482	0.000354030276"
"	0.000075812558	-0.000275398213	-0.000460461129	-"
"0.000340036239	0.000023004524	0.000394735977	0.000520888"
"975	0.000300095511	-0.000137987364	-0.000508299953"
"	-0.00055615354	-0.000232022704	0.000264361034	0."
"000607092643	0.000558696067	0.000134721588	-0.0003956949"
"63	-0.000680947284	-0.000521028359	-0.000008375305"

⌨️ 快捷键说明

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