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

📄 crc1.mdl

📁 对于CDMA2000 1X反向信道仿真
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	    Line {
	      SrcBlock		      "Selector"
	      SrcPort		      1
	      Points		      [0, 0; 15, 0]
	      Branch {
		DstBlock		"Sum"
		DstPort			1
	      }
	      Branch {
		Points			[0, 105]
		DstBlock		"Unit Delay"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Relational\nOperator"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Relational\nOperator"
	      SrcPort		      1
	      Points		      [0, 0]
	      DstBlock		      "Out1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Unit Delay"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Constant"
	      SrcPort		      1
	      Points		      [-65, 0; 0, -95]
	      DstBlock		      "Relational\nOperator"
	      DstPort		      2
	    }
	  }
	}
	Block {
	  BlockType		  Reference
	  Name			  "CRC-N Syndrome\nDetector"
	  Ports			  [1, 2]
	  Position		  [185, 167, 275, 218]
	  SourceBlock		  "commcrc2/CRC-N Syndrome\nDetector"
	  SourceType		  "CRC-N Syndrome Detector"
	  ShowPortLabels	  on
	  crcMethod		  "CRC-32"
	  iniStates		  "[0]"
	  numChecksums		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Cumulative\nSum"
	  Ports			  [1, 1]
	  Position		  [610, 47, 690, 83]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag0"
	  SourceBlock		  "dspmathops/Cumulative\nSum"
	  SourceType		  "Cumulative Sum"
	  dim			  "Channels (running sum)"
	  reset_popup		  "None"
	  accumMode		  "Same as input"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Data Type Conversion"
	  Position		  [480, 48, 555, 82]
	  RndMeth		  "Floor"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Display
	  Name			  "Display"
	  Ports			  [1]
	  Position		  [720, 50, 810, 80]
	  Decimation		  "1"
	  Lockdown		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Encoder\nTail Bits"
	  Ports			  [1, 1]
	  Position		  [80, 177, 125, 213]
	  SourceBlock		  "dspsigops/Zero Pad"
	  SourceType		  "Zero Pad"
	  padSigAt		  "End"
	  zpadAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "FrameLength"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  RelationalOperator
	  Name			  "Relational\nOperator"
	  Position		  [395, 47, 425, 78]
	  Operator		  "<="
	  InputSameDT		  off
	  LogicOutDataTypeMode	  "Boolean"
	}
	Block {
	  BlockType		  Terminator
	  Name			  "Terminator"
	  Position		  [310, 170, 330, 190]
	}
	Block {
	  BlockType		  ToWorkspace
	  Name			  "To Workspace"
	  Position		  [755, 175, 815, 205]
	  VariableName		  "MissedFrameNumber"
	  MaxDataPoints		  "inf"
	  SampleTime		  "-1"
	  SaveFormat		  "Array"
	}
	Line {
	  SrcBlock		  "Encoder\nTail Bits"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    Points		    [0, -125]
	    DstBlock		    "Bit comparison"
	    DstPort		    2
	  }
	  Branch {
	    DstBlock		    "CRC-N Syndrome\nDetector"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "CRC-N Syndrome\nDetector"
	  SrcPort		  1
	  DstBlock		  "Terminator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Bit comparison"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "CRC-N Syndrome\nDetector"
	  SrcPort		  2
	  Points		  [100, 0]
	  DstBlock		  "Relational\nOperator"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Relational\nOperator"
	  SrcPort		  1
	  DstBlock		  "Data Type Conversion"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Data Type Conversion"
	  SrcPort		  1
	  DstBlock		  "Cumulative\nSum"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Cumulative\nSum"
	  SrcPort		  1
	  Points		  [0, 0; 5, 0]
	  Branch {
	    DstBlock		    "Display"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 125]
	    DstBlock		    "To Workspace"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "In2"
	  SrcPort		  1
	  DstBlock		  "Bit comparison"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In1"
	  SrcPort		  1
	  DstBlock		  "Encoder\nTail Bits"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      SubSystem
      Name		      "CRC_xinyuan"
      Ports		      [0, 2]
      Position		      [155, 54, 265, 136]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      MaskHideContents	      off
      System {
	Name			"CRC_xinyuan"
	Location		[2, 80, 1014, 722]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Bernoulli Binary\nGenerator"
	  Ports			  [0, 1]
	  Position		  [25, 28, 105, 72]
	  SourceBlock		  "commrandsrc2/Bernoulli Binary\nGenerator"
	  SourceType		  "Bernoulli Binary Generator"
	  ShowPortLabels	  on
	  P			  "0.5"
	  seed			  "61"
	  Ts			  "BitPeriod"
	  frameBased		  on
	  sampPerFrame		  "ProtectedData"
	  orient		  off
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "CRC-N Generator"
	  Ports			  [1, 1]
	  Position		  [180, 25, 270, 75]
	  SourceBlock		  "commcrc2/CRC-N Generator"
	  SourceType		  "CRC-N Generator"
	  ShowPortLabels	  on
	  crcMethod		  "CRC-32"
	  iniStates		  "[0]"
	  numChecksums		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Cumulative\nSum"
	  Ports			  [1, 1]
	  Position		  [190, 172, 270, 208]
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag1"
	  SourceBlock		  "dspmathops/Cumulative\nSum"
	  SourceType		  "Cumulative Sum"
	  dim			  "Channels (running sum)"
	  reset_popup		  "None"
	  accumMode		  "Same as input"
	  accumWordLength	  "32"
	  accumFracLength	  "30"
	  outputMode		  "Same as accumulator"
	  outputWordLength	  "16"
	  outputFracLength	  "15"
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Display
	  Name			  "Display"
	  Ports			  [1]
	  Position		  [320, 175, 410, 205]
	  Decimation		  "1"
	  Lockdown		  off
	}
	Block {
	  BlockType		  Reference
	  Name			  "Pad"
	  Ports			  [1, 1]
	  Position		  [325, 32, 370, 68]
	  SourceBlock		  "dspsigops/Pad"
	  SourceType		  "Pad"
	  padVal		  "0"
	  padSigAt		  "End"
	  padAlong		  "Columns"
	  padNumOutRowsSpecMethod "User-specified"
	  numOutRows		  "FrameLength"
	  padNumOutColsSpecMethod "User-specified"
	  numOutCols		  "1"
	  trunc_flag		  "None"
	}
	Block {
	  BlockType		  Outport
	  Name			  "signal"
	  Position		  [430, 43, 460, 57]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "data"
	  Position		  [445, 153, 475, 167]
	  Port			  "2"
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  Labels		  [0, 0]
	  SrcBlock		  "Bernoulli Binary\nGenerator"
	  SrcPort		  1
	  Points		  [0, 0; 25, 0]
	  Branch {
	    Points		    [0, 140]
	    DstBlock		    "Cumulative\nSum"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "CRC-N Generator"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "CRC-N Generator"
	  SrcPort		  1
	  Points		  [10, 0]
	  Branch {
	    DstBlock		    "Pad"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, 110]
	    DstBlock		    "data"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Pad"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "signal"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Cumulative\nSum"
	  SrcPort		  1
	  Points		  [0, 0]
	  DstBlock		  "Display"
	  DstPort		  1
	}
      }
    }
    Line {
      SrcBlock		      "CRC_xinyuan"
      SrcPort		      2
      Points		      [45, 0; 0, 40]
      DstBlock		      "Binary Symmetric\nChannel"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Binary Symmetric\nChannel"
      SrcPort		      2
      Points		      [35, 0; 0, -15]
      DstBlock		      "CRC_xinsu"
      DstPort		      2
    }
    Line {
      SrcBlock		      "CRC_xinyuan"
      SrcPort		      1
      Points		      [125, 0; 0, 40]
      DstBlock		      "CRC_xinsu"
      DstPort		      1
    }
  }
}
MatData {
  NumRecords		  2
  DataRecord {
    Tag			    DataTag1
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
"-     0         0    #0   $-U;75L871I=F53=6T    "
  }
  DataRecord {
    Tag			    DataTag0
    Data		    "  %)30     .    <     8    (     0         %    "
"\"     $    !     0         .    0     8    (    !          %    \"     $    "
"-     0         0    #0   $-U;75L871I=F53=6T    "
  }
}

⌨️ 快捷键说明

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