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

📄 koe_chcode_crc.mdl

📁 一个WCDMA接收机的matlab程序
💻 MDL
字号:
Model {  Name			  "koe_chcode_crc"  Version		  3.00  SimParamPage		  "Solver"  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  off  ShowLineWidths	  on  ShowPortDataTypes	  off  StartTime		  "0.0"  StopTime		  "3"  SolverMode		  "Auto"  Solver		  "ode45"  RelTol		  "1e-3"  AbsTol		  "auto"  Refine		  "1"  MaxStep		  "auto"  InitialStep		  "auto"  FixedStep		  "auto"  MaxOrder		  5  OutputOption		  "RefineOutputTimes"  OutputTimes		  "[]"  LoadExternalInput	  off  ExternalInput		  "[t, u]"  SaveTime		  on  TimeSaveName		  "tout"  SaveState		  off  StateSaveName		  "xout"  SaveOutput		  on  OutputSaveName	  "yout"  LoadInitialState	  off  InitialState		  "xInitial"  SaveFinalState	  off  FinalStateName	  "xFinal"  SaveFormat		  "Matrix"  LimitMaxRows		  off  MaxRows		  "1000"  Decimation		  "1"  AlgebraicLoopMsg	  "warning"  MinStepSizeMsg	  "warning"  UnconnectedInputMsg	  "warning"  UnconnectedOutputMsg	  "warning"  UnconnectedLineMsg	  "warning"  InheritedTsInSrcMsg	  "warning"  IntegerOverflowMsg	  "warning"  UnnecessaryDatatypeConvMsg "none"  Int32ToFloatConvMsg	  "warning"  SignalLabelMismatchMsg  "none"  ConsistencyChecking	  "off"  ZeroCross		  on  SimulationMode	  "normal"  BlockDataTips		  on  BlockParametersDataTip  on  BlockAttributesDataTip  off  BlockPortWidthsDataTip  off  BlockDescriptionStringDataTip	off  BlockMaskParametersDataTip off  ToolBar		  on  StatusBar		  on  BrowserShowLibraryLinks off  BrowserLookUnderMasks	  off  OptimizeBlockIOStorage  on  BufferReuse		  on  BooleanDataType	  off  RTWSystemTargetFile	  "grt.tlc"  RTWInlineParameters	  off  RTWRetainRTWFile	  off  RTWTemplateMakefile	  "grt_default_tmf"  RTWMakeCommand	  "make_rtw"  RTWGenerateCodeOnly	  off  ExtModeMexFile	  "ext_comm"  ExtModeBatchMode	  off  ExtModeTrigType	  "manual"  ExtModeTrigMode	  "oneshot"  ExtModeTrigPort	  "1"  ExtModeTrigElement	  "any"  ExtModeTrigDuration	  1000  ExtModeTrigHoldOff	  0  ExtModeTrigDelay	  0  ExtModeTrigDirection	  "rising"  ExtModeTrigLevel	  0  ExtModeArchiveMode	  "off"  ExtModeAutoIncOneShot	  off  ExtModeIncDirWhenArm	  off  ExtModeAddSuffixToVar	  off  ExtModeWriteAllDataToWs off  ExtModeArmWhenConnect	  off  PreLoadFcn		  "N=32;K=3;"  Created		  "Tue May 11 09:37:03 1999"  Creator		  "maarit"  UpdateHistory		  "UpdateHistoryNever"  ModifiedByFormat	  "%<Auto>"  LastModifiedBy	  "maarit"  ModifiedDateFormat	  "%<Auto>"  LastModifiedDate	  "Mon Jun 21 17:54:07 1999"  ModelVersionFormat	  "1.%<AutoIncrement:72>"  ConfigurationManager	  "none"  BlockDefaults {    Orientation		    "right"    ForegroundColor	    "black"    BackgroundColor	    "white"    DropShadow		    off    NamePlacement	    "normal"    FontName		    "Helvetica"    FontSize		    10    FontWeight		    "normal"    FontAngle		    "normal"    ShowName		    on  }  AnnotationDefaults {    HorizontalAlignment	    "center"    VerticalAlignment	    "middle"    ForegroundColor	    "black"    BackgroundColor	    "white"    DropShadow		    off    FontName		    "Helvetica"    FontSize		    10    FontWeight		    "normal"    FontAngle		    "normal"  }  LineDefaults {    FontName		    "Helvetica"    FontSize		    9    FontWeight		    "normal"    FontAngle		    "normal"  }  System {    Name		    "koe_chcode_crc"    Location		    [39, 73, 1260, 1040]    Open		    on    ModelBrowserVisibility  off    ModelBrowserWidth	    200    ScreenColor		    "white"    PaperOrientation	    "landscape"    PaperPositionMode	    "auto"    PaperType		    "usletter"    PaperUnits		    "inches"    ZoomFactor		    "100"    AutoZoom		    on    ReportName		    "simulink-default.rpt"    Block {      BlockType		      Reference      Name		      "Add CRC2"      Ports		      [1, 1, 0, 0, 0]      Position		      [95, 137, 185, 193]      ShowName		      off      FontName		      "helvetica"      SourceBlock	      "utra_lib/Channel coding block/dl_TX_channel_cod""ing/Add CRC2"      SourceType	      ""      N			      "N"      nCRC		      "16"      crc_poly		      "4129"      nFrames		      "1"    }    Block {      BlockType		      Constant      Name		      "Constant2"      Position		      [125, 200, 155, 230]      Value		      "N+16"    }    Block {      BlockType		      Constant      Name		      "Constant3"      Position		      [500, 220, 530, 250]      ShowName		      off      Value		      "1"    }    Block {      BlockType		      Reference      Name		      "Direct ber calculation1"      Ports		      [2, 1, 0, 0, 0]      Position		      [484, 480, 671, 580]      Orientation	      "down"      NamePlacement	      "alternate"      SourceBlock	      "utra_lib/Test functions/Direct ber calculation"      SourceType	      ""      N			      "N"      nFrames		      "1"    }    Block {      BlockType		      Display      Name		      "Display29"      Ports		      [1, 0, 0, 0, 0]      Position		      [722, 260, 788, 1145]      Orientation	      "down"      NamePlacement	      "alternate"      ShowName		      off      FontName		      "helvetica"      FontSize		      8      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display30"      Ports		      [1, 0, 0, 0, 0]      Position		      [15, 276, 55, 904]      Orientation	      "left"      NamePlacement	      "alternate"      ShowName		      off      FontName		      "helvetica"      FontSize		      8      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display31"      Ports		      [1, 0, 0, 0, 0]      Position		      [190, 225, 280, 1095]      Orientation	      "down"      NamePlacement	      "alternate"      ShowName		      off      FontName		      "helvetica"      FontSize		      8      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display32"      Ports		      [1, 0, 0, 0, 0]      Position		      [1000, 255, 1060, 955]      ShowName		      off      FontName		      "helvetica"      FontSize		      8      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display33"      Ports		      [1, 0, 0, 0, 0]      Position		      [552, 625, 618, 655]      Orientation	      "down"      NamePlacement	      "alternate"      ShowName		      off      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      Display      Name		      "Display34"      Ports		      [1, 0, 0, 0, 0]      Position		      [1100, 165, 1170, 195]      ShowName		      off      Format		      "short"      Decimation	      "1"      Floating		      off      SampleTime	      "-1"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace"      Position		      [420, 280, 480, 310]      Orientation	      "down"      NamePlacement	      "alternate"      ShowName		      off      VariableName	      "tail"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace1"      Position		      [1015, 160, 1075, 190]      ShowName		      off      VariableName	      "out"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace12"      Position		      [635, 585, 695, 615]      ShowName		      off      VariableName	      "ber"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace2"      Position		      [1110, 220, 1170, 250]      ShowName		      off      VariableName	      "crc"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace3"      Position		      [105, 80, 165, 110]      ShowName		      off      VariableName	      "in"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace5"      Position		      [580, 90, 640, 120]      ShowName		      off      VariableName	      "coded"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace6"      Position		      [830, 75, 890, 105]      ShowName		      off      VariableName	      "cod"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      ToWorkspace      Name		      "To Workspace7"      Position		      [320, 95, 380, 125]      ShowName		      off      VariableName	      "bcod"      Buffer		      "inf"      Decimation	      "1"      SampleTime	      "-1"      SaveFormat	      "Matrix"    }    Block {      BlockType		      Reference      Name		      "ch_coding"      Ports		      [2, 2, 0, 0, 0]      Position		      [310, 142, 450, 238]      ForegroundColor	      "blue"      SourceBlock	      "utra_lib/Channel coding block/dl_TX_channel_cod""ing/ch_coding"      SourceType	      "wcdma"      N_chcode		      "N+16"      cType		      "1"      K			      "K"      nTail		      "8"      poly		      "[367 435 457]"      nFrames		      "1"    }    Block {      BlockType		      Reference      Name		      "ch_decoding"      Ports		      [2, 2, 0, 0, 0]      Position		      [565, 145, 705, 265]      ForegroundColor	      "blue"      SourceBlock	      "utra_lib/Channel coding block/dl_RX_channel_dec""oding/ch_decoding"      SourceType	      "wcdma"      N_chdecode	      "K*(N+16)+8"      cType		      "1"      K			      "K"      nTail		      "8"      poly		      "[367 435 457]"      nFrames		      "1"      sp0		      "[1 0]"      sp1		      "[ 0 1]"    }    Block {      BlockType		      Mux      Name		      "crc_mux"      Ports		      [2, 1, 0, 0, 0]      Position		      [485, 138, 490, 242]      ShowName		      off      FontName		      "helvetica"      FontSize		      12      Inputs		      "2"      DisplayOption	      "bar"    }    Block {      BlockType		      Reference      Name		      "data source 00 ... 11"      Ports		      [0, 1, 0, 0, 0]      Position		      [15, 135, 60, 195]      SourceBlock	      "utra_lib/Source blocks/data source 00 ... 11"      SourceType	      "koe"      nFrames		      "1"      N			      "32"    }    Block {      BlockType		      Reference      Name		      "remove CRC1"      Ports		      [2, 2, 0, 0, 0]      Position		      [805, 145, 945, 265]      SourceBlock	      "utra_lib/Channel coding block/dl_RX_channel_dec""oding/remove CRC"      SourceType	      ""      nReCRC		      "N+16"      nCRC		      "16"      crc_poly		      "4129"      nFrames		      "1"    }    Line {      SrcBlock		      "Direct ber calculation1"      SrcPort		      1      Points		      [5, 0; 0, 15]      Branch {	DstBlock		"To Workspace12"	DstPort			1      }      Branch {	DstBlock		"Display33"	DstPort			1      }    }    Line {      SrcBlock		      "Constant2"      SrcPort		      1      DstBlock		      "ch_coding"      DstPort		      2    }    Line {      SrcBlock		      "Add CRC2"      SrcPort		      1      Points		      [70, 0]      Branch {	Points			[-25, 0]	DstBlock		"Display31"	DstPort			1      }      Branch {	Points			[30, 0]	Branch {	  DstBlock		  "ch_coding"	  DstPort		  1	}	Branch {	  Points		  [0, -55]	  DstBlock		  "To Workspace7"	  DstPort		  1	}      }    }    Line {      SrcBlock		      "data source 00 ... 11"      SrcPort		      1      Points		      [10, 0]      Branch {	Points			[0, -70]	DstBlock		"To Workspace3"	DstPort			1      }      Branch {	Points			[5, 0]	Branch {	  DstBlock		  "Add CRC2"	  DstPort		  1	}	Branch {	  Points		  [0, 285]	  Branch {	    Points		    [0, 140]	    DstBlock		    "Display30"	    DstPort		    1	  }	  Branch {	    Points		    [450, 0]	    DstBlock		    "Direct ber calculation1"	    DstPort		    1	  }	}      }    }    Line {      SrcBlock		      "ch_coding"      SrcPort		      1      DstBlock		      "crc_mux"      DstPort		      1    }    Line {      SrcBlock		      "Constant3"      SrcPort		      1      DstBlock		      "ch_decoding"      DstPort		      2    }    Line {      SrcBlock		      "ch_decoding"      SrcPort		      2      DstBlock		      "remove CRC1"      DstPort		      2    }    Line {      SrcBlock		      "ch_decoding"      SrcPort		      1      Points		      [45, 0]      Branch {	DstBlock		"Display29"	DstPort			1      }      Branch {	Points			[35, 0; 0, -10]	Branch {	  DstBlock		  "remove CRC1"	  DstPort		  1	}	Branch {	  Points		  [0, -75]	  DstBlock		  "To Workspace6"	  DstPort		  1	}      }    }    Line {      SrcBlock		      "crc_mux"      SrcPort		      1      Points		      [35, 0]      Branch {	Points			[20, 0]	DstBlock		"ch_decoding"	DstPort			1      }      Branch {	Points			[0, -85]	DstBlock		"To Workspace5"	DstPort			1      }    }    Line {      SrcBlock		      "ch_coding"      SrcPort		      2      Points		      [5, 0]      Branch {	DstBlock		"crc_mux"	DstPort			2      }      Branch {	Points			[0, 50]	DstBlock		"To Workspace"	DstPort			1      }    }    Line {      SrcBlock		      "remove CRC1"      SrcPort		      1      Points		      [20, 0]      Branch {	DstBlock		"To Workspace1"	DstPort			1      }      Branch {	Points			[0, 285]	Branch {	  Points		  [0, 145]	  DstBlock		  "Display32"	  DstPort		  1	}	Branch {	  Points		  [-345, 0]	  DstBlock		  "Direct ber calculation1"	  DstPort		  2	}      }    }    Line {      SrcBlock		      "remove CRC1"      SrcPort		      2      Points		      [135, 0]      Branch {	DstBlock		"To Workspace2"	DstPort			1      }      Branch {	DstBlock		"Display34"	DstPort			1      }    }    Annotation {      Position		      [574, 37]      Text		      "PreLoadFcn sets the value:\nN = 32\nK = 3"      FontName		      "helvetica"      FontSize		      14      FontWeight	      "bold"    }    Annotation {      Position		      [312, 23]      Text		      "CHANNEL CODING  and CRC TEST"      FontName		      "helvetica"      FontSize		      14      FontWeight	      "bold"    }  }}

⌨️ 快捷键说明

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