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

📄 koe_chcode_crc_mask.mdl

📁 此程序给出了WCDMA系统的simulink仿真程序及完整的程序
💻 MDL
📖 第 1 页 / 共 2 页
字号:
Model {  Name			  "koe_chcode_crc_mask"  Version		  3.00  SimParamPage		  "Solver"  SampleTimeColors	  off  InvariantConstants	  off  WideVectorLines	  off  ShowLineWidths	  on  ShowPortDataTypes	  off  StartTime		  "0.0"  StopTime		  "10.0"  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  Created		  "Wed Jun 23 21:34:48 1999"  Creator		  "maarit"  UpdateHistory		  "UpdateHistoryNever"  ModifiedByFormat	  "%<Auto>"  LastModifiedBy	  "maarit"  ModifiedDateFormat	  "%<Auto>"  LastModifiedDate	  "Thu Jun 24 12:03:37 1999"  ModelVersionFormat	  "1.%<AutoIncrement:3>"  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_mask"    Location		    [601, 150, 1101, 410]    Open		    off    ModelBrowserVisibility  off    ModelBrowserWidth	    200    ScreenColor		    "white"    PaperOrientation	    "landscape"    PaperPositionMode	    "auto"    PaperType		    "usletter"    PaperUnits		    "inches"    ZoomFactor		    "100"    AutoZoom		    on    ReportName		    "simulink-default.rpt"    Block {      BlockType		      SubSystem      Name		      "dl_empty1"      Ports		      [0, 0, 0, 0, 0]      Position		      [93, 30, 292, 191]      Orientation	      "left"      ShowPortLabels	      on      MaskPromptString	      "TX channel Type|Channel coding  |Coding ratio  ""     |Spreading code length|Inter frame interleaver |Number of frames for int""er frame interleaver|Number of columns for inter frame interleaver |Intra fra""me interleaver (on or off)"      MaskStyleString	      "popup(Dedicated Transport channel|Primary commo""n control|Secondary common control (FACH or PCH)),popup(Convolutional coding|""Turbo),popup(2|3),popup(4|8|16|32|64|128|256),popup(block interleaver|multist""age interleaver),edit,edit,checkbox"      MaskTunableValueString  "on,on,on,on,on,on,on,on"      MaskCallbackString      "|||||||"      MaskEnableString	      "on,on,on,on,on,on,on,on"      MaskVisibilityString    "on,on,on,on,on,on,on,on"      MaskVariables	      "tx_ch=@1;cType=@2;Kindex=@3;nC=@4;Inter_int_mod""e=@5;nFrames=@6;cols=@7;Intra_int_flag=@8;"      MaskInitialization      "nCode=2^(nC+1);\n      % if you want to specify"" which code is used define ncode=[nCode index]\n[sizes,crc,chCode,C,control]=""dl_start(nCode,cType,Kindex,nFrames,tx_ch);\ninput_block_size=sizes(1);N=size""s(1);bits_in_frame=sizes(2);nFrames=sizes(3);\nnSlot=sizes(5); chips_in_slot=""sizes(6);nCRC=crc(1);crc_poly=crc(2);\ncType=chCode(1);K=chCode(2); nTail=chC""ode(3);ch_poly=[chCode(4:6)];\nnPilot=control(1);TPC=control(2);TFI=control(3"");"      MaskDisplay	      "disp('EMPTY SUBSYSTEM MASK\\n\\nDOWNLINK\\n\\nT""ransportChannel\\n\\n\\n\\n\\n1 - Decicated transport \nchannel\\n2 - Primary"" common control channel\\n3 - Secondary common control channel')\ndisp(tx_ch)"      MaskIconFrame	      on      MaskIconOpaque	      on      MaskIconRotate	      "none"      MaskIconUnits	      "autoscale"      MaskValueString	      "Dedicated Transport channel|Convolutional codin""g|3|256|block interleaver|1|1|off"      System {	Name			"dl_empty1"	Location		[59, 133, 1035, 1112]	Open			on	ModelBrowserVisibility	off	ModelBrowserWidth	200	ScreenColor		"white"	PaperOrientation	"landscape"	PaperPositionMode	"auto"	PaperType		"usletter"	PaperUnits		"inches"	ZoomFactor		"100"	AutoZoom		on	Block {	  BlockType		  Reference	  Name			  "Add CRC2"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [145, 42, 235, 98]	  ShowName		  off	  FontName		  "helvetica"	  SourceBlock		  "utra_lib/Channel coding block/dl_TX_channel""_coding/Add CRC2"	  SourceType		  ""	  N			  "N"	  nCRC			  "nCRC"	  crc_poly		  "crc_poly"	  nFrames		  "nFrames"	}	Block {	  BlockType		  Reference	  Name			  "Add CRC3"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [185, 507, 275, 563]	  ShowName		  off	  FontName		  "helvetica"	  SourceBlock		  "utra_lib/Channel coding block/dl_TX_channel""_coding/Add CRC2"	  SourceType		  ""	  N			  "N"	  nCRC			  "nCRC"	  crc_poly		  "crc_poly"	  nFrames		  "nFrames"	}	Block {	  BlockType		  Constant	  Name			  "Constant"	  Position		  [165, 104, 235, 136]	  ShowName		  off	  Value			  "N+nCRC"	}	Block {	  BlockType		  Constant	  Name			  "Constant1"	  Position		  [620, 415, 650, 445]	  Orientation		  "left"	  Value			  "1"	}	Block {	  BlockType		  Constant	  Name			  "Constant2"	  Position		  [205, 569, 275, 601]	  ShowName		  off	  Value			  "N+nCRC"	}	Block {	  BlockType		  Constant	  Name			  "Constant3"	  Position		  [525, 895, 555, 925]	  Orientation		  "left"	  Value			  "1"	}	Block {	  BlockType		  Reference	  Name			  "Direct ber calculation"	  Ports			  [2, 1, 0, 0, 0]	  Position		  [155, 199, 340, 301]	  SourceBlock		  "utra_lib/Test functions/Direct ber calculat""ion"	  SourceType		  ""	  N			  "N"	  nFrames		  "nFrames"	}	Block {	  BlockType		  Reference	  Name			  "Direct ber calculation1"	  Ports			  [2, 1, 0, 0, 0]	  Position		  [195, 649, 380, 751]	  SourceBlock		  "utra_lib/Test functions/Direct ber calculat""ion"	  SourceType		  ""	  N			  "N"	  nFrames		  "nFrames"	}	Block {	  BlockType		  Display	  Name			  "Display"	  Ports			  [1, 0, 0, 0, 0]	  Position		  [390, 200, 480, 230]	  ShowName		  off	  Format		  "short"	  Decimation		  "1"	  Floating		  off	  SampleTime		  "-1"	}	Block {	  BlockType		  Display	  Name			  "Display1"	  Ports			  [1, 0, 0, 0, 0]	  Position		  [425, 640, 515, 670]	  ShowName		  off	  Format		  "short"	  Decimation		  "1"	  Floating		  off	  SampleTime		  "-1"	}	Block {	  BlockType		  Reference	  Name			  "Rate Matching"	  Ports			  [1, 1, 0, 0, 0]	  Position		  [525, 69, 610, 121]	  SourceBlock		  "utra_lib/Channel coding block/dl_TX_channel""_coding/Rate Matching"	  SourceType		  ""	  r_in			  "K*(N+nCRC)+nTail"	  r_out			  "nFrames*bits_in_frame"	  punk			  "0.2"	  nFrames		  "nFrames"	}	Block {	  BlockType		  ToWorkspace	  Name			  "To Workspace23"	  Position		  [395, 235, 455, 265]	  ShowName		  off	  VariableName		  "ber"	  Buffer		  "inf"	  Decimation		  "1"	  SampleTime		  "nFrames"	  SaveFormat		  "Matrix"	}	Block {	  BlockType		  ToWorkspace	  Name			  "To Workspace24"	  Position		  [110, 470, 170, 500]	  ShowName		  off	  VariableName		  "crc"	  Buffer		  "inf"	  Decimation		  "1"	  SampleTime		  "nFrames"	  SaveFormat		  "Matrix"	}	Block {	  BlockType		  ToWorkspace	  Name			  "To Workspace25"	  Position		  [135, 315, 195, 345]	  ShowName		  off	  VariableName		  "out"	  Buffer		  "inf"	  Decimation		  "1"	  SampleTime		  "nFrames"	  SaveFormat		  "Matrix"	}	Block {	  BlockType		  ToWorkspace	  Name			  "To Workspace26"	  Position		  [105, 160, 165, 190]	  ShowName		  off	  VariableName		  "in"	  Buffer		  "inf"	  Decimation		  "1"	  SampleTime		  "nFrames"	  SaveFormat		  "Matrix"	}	Block {	  BlockType		  ToWorkspace	  Name			  "To Workspace27"	  Position		  [435, 685, 495, 715]	  ShowName		  off	  VariableName		  "ber2"	  Buffer		  "inf"	  Decimation		  "1"	  SampleTime		  "nFrames"	  SaveFormat		  "Matrix"	}	Block {	  BlockType		  Reference	  Name			  "ch_coding"	  Ports			  [2, 2, 0, 0, 0]	  Position		  [310, 47, 450, 143]	  ForegroundColor	  "blue"	  SourceBlock		  "utra_lib/Channel coding block/dl_TX_channel""_coding/ch_coding"	  SourceType		  "wcdma"	  N_chcode		  "N+nCRC"	  cType			  "cType"	  K			  "K"	  nTail			  "nTail"

⌨️ 快捷键说明

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