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

📄 xcorr.mdl

📁 Chaos in telecommunicatio, ACSK, CSK for three users and COOK shemes
💻 MDL
📖 第 1 页 / 共 4 页
字号:
	  Position		  [250, 362]
	}
	Annotation {
	  Name			  "-x+y"
	  Position		  [108, 97]
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Correlation"
      Ports		      [2, 1]
      Position		      [550, 220, 600, 260]
      DialogController	      "dspDDGCreate"
      DialogControllerArgs    "DataTag0"
      SourceBlock	      "dspstat3/Correlation"
      SourceType	      "Correlation"
      domain		      "Time"
      additionalParams	      off
      allowOverrides	      on
      outputMode	      "Same as accumulator"
      outputWordLength	      "16"
      outputFracLength	      "15"
      accumMode		      "Inherit via internal rule"
      accumWordLength	      "32"
      accumFracLength	      "30"
      prodOutputMode	      "Inherit via internal rule"
      prodOutputWordLength    "32"
      prodOutputFracLength    "30"
      roundingMode	      "Floor"
      overflowMode	      off
      LockScale		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Data signal"
      Ports		      [0, 1]
      Position		      [190, 337, 245, 373]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Data signal"
	Location		[62, 218, 520, 501]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[1.270000, 1.270000, 1.270000, 1.270000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Constant
	  Name			  "Constant"
	  Position		  [110, 160, 140, 190]
	  Value			  "-1"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [105, 25, 135, 55]
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  RandomNumber
	  Name			  "Random\nNumber"
	  Position		  [35, 90, 65, 120]
	  SampleTime		  "2"
	}
	Block {
	  BlockType		  Scope
	  Name			  "Scope4"
	  Ports			  [1]
	  Position		  [110, 224, 140, 256]
	  Floating		  off
	  Location		  [1, 52, 1281, 735]
	  Open			  off
	  NumInputPorts		  "1"
	  ZoomMode		  "xonly"
	  List {
	    ListType		    AxesTitles
	    axes1		    "%<SignalLabel>"
	  }
	  SaveName		  "ScopeData2"
	  DataFormat		  "StructureWithTime"
	  SampleTime		  "0"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch1"
	  Position		  [175, 90, 205, 120]
	  Criteria		  "u2 > Threshold"
	  InputSameDT		  off
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [245, 98, 275, 112]
	  IconDisplay		  "Port number"
	  SampleTime		  "0.01"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Line {
	  SrcBlock		  "Constant"
	  SrcPort		  1
	  Points		  [5, 0; 0, -60]
	  DstBlock		  "Switch1"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [10, 0; 0, 55]
	  DstBlock		  "Switch1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Switch1"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Random\nNumber"
	  SrcPort		  1
	  Points		  [20, 0]
	  Branch {
	    DstBlock		    "Switch1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 135]
	    DstBlock		    "Scope4"
	    DstPort		    1
	  }
	}
      }
    }
    Block {
      BlockType		      Display
      Name		      "Display"
      Ports		      [1]
      Position		      [716, 475, 814, 540]
      Orientation	      "down"
      NamePlacement	      "alternate"
      Decimation	      "1"
      Lockdown		      off
      SampleTime	      ".15"
    }
    Block {
      BlockType		      Reference
      Name		      "Error Rate\nCalculation"
      Ports		      [2, 1]
      Position		      [715, 385, 815, 450]
      Orientation	      "down"
      NamePlacement	      "alternate"
      SourceBlock	      "commsink2/Error Rate\nCalculation"
      SourceType	      "Error Rate Calculation"
      N			      "0"
      st_delay		      "0"
      cp_mode		      "Entire frame"
      subframe		      "[]"
      PMode		      "Port"
      WsName		      "ErrorVec"
      RsMode2		      off
      stop		      off
      numErr		      "100"
      maxBits		      "1e6"
    }
    Block {
      BlockType		      Gain
      Name		      "Gain"
      Position		      [630, 221, 660, 259]
      Gain		      "0.01"
      ParameterDataType	      "sfix(16)"
      ParameterScaling	      "2^0"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
    }
    Block {
      BlockType		      Product
      Name		      "Product"
      Ports		      [2, 1]
      Position		      [275, 232, 305, 263]
      InputSameDT	      off
      OutDataTypeMode	      "Inherit via internal rule"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      OutDataTypeStr	      "Inherit: Inherit via internal rule"
      SaturateOnIntegerOverflow	off
      SampleTime	      "0.01"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope 1"
      Ports		      [1]
      Position		      [275, 364, 305, 396]
      Floating		      off
      Location		      [66, 339, 1180, 547]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope 2"
      Ports		      [1]
      Position		      [275, 109, 305, 141]
      Floating		      off
      Location		      [68, 102, 1236, 455]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData1"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope 3"
      Ports		      [1]
      Position		      [340, 284, 370, 316]
      Floating		      off
      Location		      [105, 248, 1222, 433]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData3"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope 4"
      Ports		      [1]
      Position		      [700, 299, 730, 331]
      Floating		      off
      Location		      [1, 52, 1281, 735]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData4"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope 5"
      Ports		      [1]
      Position		      [825, 224, 855, 256]
      Floating		      off
      Location		      [62, 546, 1179, 731]
      Open		      off
      NumInputPorts	      "1"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
      }
      SaveName		      "ScopeData5"
      DataFormat	      "StructureWithTime"
      SampleTime	      "0"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Treshold detector"
      Ports		      [1, 1]
      Position		      [720, 210, 760, 270]
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      Opaque		      off
      RequestExecContextInheritance off
      MaskHideContents	      off
      System {
	Name			"Treshold detector"
	Location		[920, 144, 1120, 351]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[1.270000, 1.270000, 1.270000, 1.270000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In1"
	  Position		  [25, 93, 55, 107]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant1"
	  Position		  [35, 25, 65, 55]
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Constant2"
	  Position		  [35, 150, 65, 180]
	  Value			  "-1"
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	}
	Block {
	  BlockType		  Switch
	  Name			  "Switch 2"
	  Position		  [90, 85, 120, 115]
	  Criteria		  "u2 > Threshold"
	  Threshold		  "0.0067"
	  InputSameDT		  off
	  OutDataType		  "sfix(16)"
	  OutScaling		  "2^0"
	  SaturateOnIntegerOverflow off
	  SampleTime		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [145, 93, 175, 107]
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Switch 2"
	  SrcPort		  1
	  DstBlock		  "Out1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Switch 2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Constant1"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Switch 2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Constant2"
	  SrcPort		  1
	  Points		  [5, 0]
	  DstBlock		  "Switch 2"
	  DstPort		  3
	}
      }
    }
    Line {
      SrcBlock		      "Chaotic signal"
      SrcPort		      1
      Points		      [20, 0]
      Branch {
	DstBlock		"Scope 2"
	DstPort			1
      }
      Branch {
	DstBlock		"Product"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Data signal"
      SrcPort		      1
      Points		      [10, 0]
      Branch {
	DstBlock		"Scope 1"
	DstPort			1
      }
      Branch {
	DstBlock		"Product"
	DstPort			2
      }
      Branch {
	Points			[480, 0]
	DstBlock		"Error Rate\nCalculation"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Product"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Scope 3"
	DstPort			1
      }
      Branch {
	DstBlock		"AWGN\nChannel"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Chaotic signal1"
      SrcPort		      1
      Points		      [5, 0]
      DstBlock		      "Correlation"
      DstPort		      1
    }
    Line {
      SrcBlock		      "AWGN\nChannel"
      SrcPort		      1
      DstBlock		      "Correlation"
      DstPort		      2
    }
    Line {
      SrcBlock		      "Correlation"
      SrcPort		      1
      DstBlock		      "Gain"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Treshold detector"
      SrcPort		      1
      Points		      [25, 0]
      Branch {
	DstBlock		"Scope 5"
	DstPort			1
      }
      Branch {
	DstBlock		"Error Rate\nCalculation"
	DstPort			2
      }
    }
    Line {
      SrcBlock		      "Gain"
      SrcPort		      1
      Points		      [15, 0]
      Branch {
	DstBlock		"Treshold detector"
	DstPort			1
      }
      Branch {
	Points			[0, 75]
	DstBlock		"Scope 4"
	DstPort			1
      }
    }
    Line {
      SrcBlock		      "Error Rate\nCalculation"
      SrcPort		      1
      DstBlock		      "Display"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  1
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    :     8    (     0         %    \"     $    !     0         .    .     8    (    !     "
    "     %    \"     $    (     0         0    \"    $-O;G9#;W)R"
  }
}

⌨️ 快捷键说明

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