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

📄 ds_cdma2.mdl

📁 在三条径的瑞利信道中
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  Name			  "Sum of\nElements2"
	  Ports			  [1, 1]
	  Position		  [475, 225, 515, 265]
	  Inputs		  "+"
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum of\nElements3"
	  Ports			  [1, 1]
	  Position		  [480, 315, 520, 355]
	  Inputs		  "+"
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum of\nElements4"
	  Ports			  [1, 1]
	  Position		  [495, 420, 535, 460]
	  Inputs		  "+"
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Sum
	  Name			  "Sum of\nElements5"
	  Ports			  [1, 1]
	  Position		  [490, 485, 530, 525]
	  Inputs		  "+"
	  InputSameDT		  off
	  OutScaling		  "2^-10"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [990, 253, 1020, 267]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Delay1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum of\nElements1"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product2"
	  SrcPort		  1
	  DstBlock		  "Sum of\nElements1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum of\nElements"
	  SrcPort		  1
	  Points		  [20, 0; 0, 50]
	  DstBlock		  "Product3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product1"
	  SrcPort		  1
	  DstBlock		  "Sum of\nElements"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  Points		  [0, -5; 50, 0]
	  Branch {
	    DstBlock		    "Product1"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 185]
	    Branch {
	      Points		      [0, 225]
	      DstBlock		      "Product8"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [0, 30]
	      DstBlock		      "Product5"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "In3"
	  SrcPort		  1
	  Points		  [0, 5; 100, 0]
	  Branch {
	    DstBlock		    "Product2"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 160]
	    Branch {
	      Points		      [0, 195]
	      DstBlock		      "Product9"
	      DstPort		      2
	    }
	    Branch {
	      Points		      [205, 0]
	      DstBlock		      "Product6"
	      DstPort		      2
	    }
	  }
	}
	Line {
	  SrcBlock		  "Product3"
	  SrcPort		  1
	  Points		  [15, 0; 0, 145]
	  DstBlock		  "Sum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction"
	  SrcPort		  1
	  Points		  [10, 0]
	  DstBlock		  "Product3"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Sum"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Delay3"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    Points		    [0, -40]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "Product2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Delay1"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Delay3"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 115]
	    Branch {
	      Points		      [0, 140]
	      Branch {
		Points			[0, 150]
		DstBlock		"Product9"
		DstPort			1
	      }
	      Branch {
		Points			[0, 85]
		DstBlock		"Product8"
		DstPort			1
	      }
	    }
	    Branch {
	      Points		      [0, 80]
	      DstBlock		      "Delay2"
	      DstPort		      1
	    }
	  }
	}
	Line {
	  SrcBlock		  "Sum of\nElements3"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum of\nElements2"
	  SrcPort		  1
	  Points		  [50, 0; 0, 40]
	  DstBlock		  "Product4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product6"
	  SrcPort		  1
	  DstBlock		  "Sum of\nElements3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product5"
	  SrcPort		  1
	  DstBlock		  "Sum of\nElements2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product4"
	  SrcPort		  1
	  Points		  [0, -25]
	  DstBlock		  "Sum"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Math\nFunction1"
	  SrcPort		  1
	  Points		  [0, -35]
	  DstBlock		  "Product4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product8"
	  SrcPort		  1
	  DstBlock		  "Sum of\nElements4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Product9"
	  SrcPort		  1
	  DstBlock		  "Sum of\nElements5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum of\nElements4"
	  SrcPort		  1
	  Points		  [60, 0]
	  DstBlock		  "Product7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Sum of\nElements5"
	  SrcPort		  1
	  DstBlock		  "Math\nFunction2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Math\nFunction2"
	  SrcPort		  1
	  Points		  [15, 0]
	  DstBlock		  "Product7"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Product7"
	  SrcPort		  1
	  Points		  [0, -170]
	  DstBlock		  "Sum"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Delay2"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [0, -50]
	    DstBlock		    "Product5"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 40]
	    DstBlock		    "Product6"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Multipath Rayleigh\nFading Channel"
      Ports		      [1, 1]
      Position		      [505, 158, 585, 202]
      SourceBlock	      "commchan2/Multipath Rayleigh\nFading Channel"
      SourceType	      "Multipath Rayleigh Fading Channel"
      ShowPortLabels	      on
      Fd		      "100"
      simTs		      "1e-4/32"
      delayVec		      "[0 8e-4/32 16e-4/32]"
      gainVecdB		      "[0 -3 -6]"
      normGain		      on
      Seed		      "73"
    }
    Block {
      BlockType		      Reference
      Name		      "PN Sequence\nGenerator"
      Ports		      [0, 1]
      Position		      [60, 253, 140, 297]
      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
      SourceType	      "PN Sequence Generator"
      poly		      "[15 13 12 10 9 8 7 5 4 1 0]"
      ini_sta		      "[0 0 1 0 0 0 1 0 0 0 1 0 0 0 1]"
      shift		      "0"
      Ts		      "1e-4/32"
      frameBased	      on
      sampPerFrame	      "32"
      reset		      off
    }
    Block {
      BlockType		      Reference
      Name		      "PN Sequence\nGenerator1"
      Ports		      [0, 1]
      Position		      [60, 48, 140, 92]
      SourceBlock	      "commseqgen2/PN Sequence\nGenerator"
      SourceType	      "PN Sequence Generator"
      poly		      "[15 14 10 7 6 2 0]"
      ini_sta		      "[1 0 0 0 1 0 0 0 1 0 0 0 1 0 0]"
      shift		      "0"
      Ts		      "1e-4/32"
      frameBased	      on
      sampPerFrame	      "32"
      reset		      off
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [350, 116, 395, 149]
      InputSameDT	      off
      RndMeth		      "Floor"
    }
    Block {
      BlockType		      Reference
      Name		      "Random Integer\nGenerator"
      Ports		      [0, 1]
      Position		      [65, 148, 145, 192]
      SourceBlock	      "commrandsrc2/Random Integer\nGenerator"
      SourceType	      "Random Integer Generator"
      ShowPortLabels	      on
      mul		      "2"
      seed		      "37"
      Ts		      "1e-4"
      frameBased	      on
      sampPerFrame	      "1"
      orient		      off
    }
    Block {
      BlockType		      Sum
      Name		      "Sum"
      Ports		      [2, 1]
      Position		      [445, 162, 480, 198]
      ShowName		      off
      Inputs		      "|++"
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
    }
    Line {
      SrcBlock		      "Random Integer\nGenerator"
      SrcPort		      1
      Points		      [30, 0]
      Branch {
	DstBlock		"BPSK\nModulator\nBaseband2"
	DstPort			1
      }
      Branch {
	Points			[0, -40; -140, 0; 0, -110; 985, 0; 0, 65]
	Branch {
	  DstBlock		  "Error Rate\nCalculation1"
	  DstPort		  1
	}
	Branch {
	  Points		  [0, 260]
	  DstBlock		  "Error Rate\nCalculation"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "PN Sequence\nGenerator1"
      SrcPort		      1
      DstBlock		      "BPSK\nModulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "PN Sequence\nGenerator"
      SrcPort		      1
      DstBlock		      "BPSK\nModulator\nBaseband1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "BPSK\nModulator\nBaseband"
      SrcPort		      1
      Points		      [40, 0]
      Branch {
	Points			[0, 55]
	DstBlock		"Product"
	DstPort			1
      }
      Branch {
	DstBlock		"Delay3"
	DstPort			1
      }
    }
    Line {
      Labels		      [1, 0]
      SrcBlock		      "BPSK\nModulator\nBaseband2"
      SrcPort		      1
      Points		      [25, 0; 0, -30]
      DstBlock		      "Product"
      DstPort		      2
    }
    Line {
      SrcBlock		      "BPSK\nModulator\nBaseband1"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	Points			[0, -85]
	DstBlock		"Sum"
	DstPort			2
      }
      Branch {
	DstBlock		"Delay1"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [10, 0; 0, 45]
      DstBlock		      "Sum"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Sum"
      SrcPort		      1
      DstBlock		      "Multipath Rayleigh\nFading Channel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Multipath Rayleigh\nFading Channel"
      SrcPort		      1
      DstBlock		      "AWGN\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      Points		      [60, 0]
      Branch {
	Points			[0, -70]
	DstBlock		"MRC"
	DstPort			2
      }
      Branch {
	Points			[0, 190]
	DstBlock		"EGC"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "MRC"
      SrcPort		      1
      DstBlock		      "BPSK\nDemodulator\nBaseband"
      DstPort		      1
    }
    Line {
      SrcBlock		      "EGC"
      SrcPort		      1
      DstBlock		      "BPSK\nDemodulator\nBaseband1"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Delay3"
      SrcPort		      1
      Points		      [165, 0]
      Branch {
	Labels			[1, 0]
	DstBlock		"MRC"
	DstPort			1
      }
      Branch {
	Points			[0, 260]
	DstBlock		"EGC"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Delay1"
      SrcPort		      1
      Points		      [90, 0]
      Branch {
	Points			[125, 0]
	DstBlock		"MRC"
	DstPort			3
      }
      Branch {
	Points			[0, 135]
	DstBlock		"EGC"
	DstPort			3
      }
    }
    Line {
      SrcBlock		      "BPSK\nDemodulator\nBaseband"
      SrcPort		      1
      DstBlock		      "Error Rate\nCalculation1"
      DstPort		      2
    }
    Line {
      SrcBlock		      "BPSK\nDemodulator\nBaseband1"
      SrcPort		      1
      DstBlock		      "Error Rate\nCalculation"
      DstPort		      2
    }
  }
}

⌨️ 快捷键说明

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