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

📄 gmsk_mod.mdl

📁 This is GMS down upper converter and down converter in simulink. you may understand the structure in
💻 MDL
📖 第 1 页 / 共 3 页
字号:
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  mul			  "2"
	  seed			  "3465"
	  Ts			  "tsym"
	  frameBased		  "off"
	  sampPerFrame		  "1"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator4"
	  Ports			  [0, 1]
	  Position		  [25, 323, 105, 367]
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  "on"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData "off"
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  mul			  "2"
	  seed			  "19"
	  Ts			  "tsym"
	  frameBased		  "off"
	  sampPerFrame		  "1"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator5"
	  Ports			  [0, 1]
	  Position		  [25, 413, 105, 457]
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  "on"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData "off"
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  mul			  "2"
	  seed			  "3"
	  Ts			  "tsym"
	  frameBased		  "off"
	  sampPerFrame		  "1"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator6"
	  Ports			  [0, 1]
	  Position		  [30, 503, 110, 547]
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  "on"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData "off"
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  mul			  "2"
	  seed			  "77"
	  Ts			  "tsym"
	  frameBased		  "off"
	  sampPerFrame		  "1"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Random Integer\nGenerator7"
	  Ports			  [0, 1]
	  Position		  [30, 683, 110, 727]
	  SourceBlock		  "commrandsrc2/Random Integer\nGenerator"
	  SourceType		  "Random Integer Generator"
	  ShowPortLabels	  "on"
	  SystemSampleTime	  "-1"
	  FunctionWithSeparateData "off"
	  RTWMemSecFuncInitTerm	  "Inherit from model"
	  RTWMemSecFuncExecute	  "Inherit from model"
	  RTWMemSecDataConstants  "Inherit from model"
	  RTWMemSecDataInternal	  "Inherit from model"
	  RTWMemSecDataParameters "Inherit from model"
	  mul			  "2"
	  seed			  "2133"
	  Ts			  "tsym"
	  frameBased		  "off"
	  sampPerFrame		  "1"
	  orient		  "off"
	  outDataType		  "double"
	}
	Block {
	  BlockType		  Outport
	  Name			  "gmsk_data"
	  Position		  [555, 398, 585, 412]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband1"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator2"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband2"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator3"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband3"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag3"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  8
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator4"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband4"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator5"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband5"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag5"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  12
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator6"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag4"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  10
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag3"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  7
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag2"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  6
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag2"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag5"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  11
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag4"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  9
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag1"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag"
	  SrcPort		  2
	  Points		  [55, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag1"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband6"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag6"
	  SrcPort		  2
	  Points		  [45, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  14
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator1"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband6"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag6"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  13
	}
	Line {
	  SrcBlock		  "GMSK\nModulator\nBaseband7"
	  SrcPort		  1
	  DstBlock		  "Complex to\nReal-Imag7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag7"
	  SrcPort		  2
	  Points		  [50, 0; 0, 30]
	  DstBlock		  "Mux2"
	  DstPort		  16
	}
	Line {
	  SrcBlock		  "Random Integer\nGenerator7"
	  SrcPort		  1
	  DstBlock		  "GMSK\nModulator\nBaseband7"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Complex to\nReal-Imag7"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  15
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "gmsk_data"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      Reference
      Name		      "Copyright"
      Ports		      []
      Position		      [517, 242, 716, 340]
      DropShadow	      on
      ShowName		      off
      SourceBlock	      "xbsCopyrightNotice_r4/Copyright"
      SourceType	      "Xilinx Copyright Notice Block"
      infoedit		      "
\nCopyright(C) 2008 by  Xilinx, Inc. All right"
"s reserved.<br>
\n<br>
\nThis file contains proprietary, confidential informa"
"tion of Xilinx, Inc., is distributed under license
\nfrom Xilinx, Inc., and m"
"ay be used, copied and/or disclosed only pursuant to the terms of a valid lic"
"ense
\nagreement with Xilinx, Inc. Xilinx hereby grants you a license to use "
"this file solely for design,
\nsimulation, implementation and creation of des"
"ign files limited to Xilinx devices or technologies. Use 
\nwith non-Xilinx d"
"evices or technologies is expressly prohibited and immediately terminates you"
"r license 
\nunless covered by a separate agreement.<br>
\n<br>
\nXilinx is p"
"roviding this design, code, or information \"as-is\" solely for use in develo"
"ping programs and 
\nsolutions for Xilinx devices, with no obligation on the "
"part of Xilinx to provide support. By providing
\nthis design, code, or infor"
"mation as one possible implementation of this feature, application or standar"
"d,
\nXilinx is making no representation that this implementation is free from"
" any claims of infringement. You
\nare responsible for obtaining any rights y"
"ou may require for your implementation. Xilinx expressly disclaims
\nany warr"
"anty whatsoever with respect to the adequacy of the implementation, including"
" but not limited to any
\nwarranties or representations that this implementat"
"ion is free from claims of infringement, implied warranties
\nof merchantabil"
"ity or fitness for a particular purpose.<br>
\n<br>
\nXilinx products are not"
" intended for use in life support appliances, devices, or systems. Use in suc"
"h 
\napplications is expressly prohibited.<br>
\n<br>
\nAny modifications tha"
"t are made to the Source Code are done at the user's sole risk and will be un"
"supported.<br>
\n<br>
\nThis copyright and support notice must be retained as"
" part of this text at all times. 
\n(c) Copyright 1995-2008 Xilinx, Inc. All "
"rights reserved.
\n      "
      has_advanced_control    "0"
      sggui_pos		      "-1,-1,-1,-1"
      block_type	      "copyright"
      block_version	      "10.1.3"
      sg_icon_stat	      "199,98,-1,-1,beige,white,0,0,right"
      sg_mask_display	      "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 199 199 0 ],[0 0 98 98 ],[0.98 0.96 0.92]);\npatch([73 57 80 57 73 99 "
"106 113 141 119 98 83 106 83 98 119 141 113 106 99 73 ],[11 27 50 73 89 89 82"
" 89 89 67 88 73 50 27 12 33 11 11 18 11 11 ],[0.93 0.92 0.86]);\nplot([0 199 "
"199 0 0 ],[0 0 98 98 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprint"
"f('','COMMENT: begin icon text');\nfprintf('','COMMENT: end icon text');\ndis"
"p('{\\fontsize{12pt}(c) Copyright 1995-2008 Xilinx, Inc.}\\newline \\newline "
"','texmode','on');\ndisp('{\\fontsize{12pt}#-- All rights reserved.}','texmod"
"e','on');\ndisp('\\newline \\newline \\newline \\newline \\newline \\newline{"
"\\fontsize{12pt}Double Click for Copyright Notice}','texmode','on');\n"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Scale and Quantize"
      Ports		      [1, 1]
      Position		      [330, 100, 405, 160]
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      MaskType		      "Scale and Quantize"
      MaskDescription	      "This block scales the data to the maximum repre"
"sentable value with the selected bitwidth and quantizes the data samples acco"
"rdingly."
      MaskPromptString	      "Bitwidth"
      MaskStyleString	      "edit"
      MaskTunableValueString  "on"
      MaskEnableString	      "on"
      MaskVisibilityString    "on"
      MaskToolTipString	      "on"
      MaskVariables	      "bits=@1;"
      MaskIconFrame	      on
      MaskIconOpaque	      on
      MaskIconRotate	      "none"
      MaskIconUnits	      "autoscale"
      MaskValueString	      "12"
      System {
	Name			"Scale and Quantize"
	Location		[687, 217, 1052, 365]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Inport
	  Name			  "In"
	  Position		  [50, 93, 80, 107]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Gain
	  Name			  "Gain"
	  Position		  [140, 45, 275, 155]
	  Gain			  "(2^(bits-1)-1)/2^(bits-1)"
	  ParameterDataTypeMode	  "Inherit via internal rule"
	  OutDataTypeMode	  "Inherit via internal rule"
	  SaturateOnIntegerOverflow off
	}
	Block {
	  BlockType		  Quantizer
	  Name			  "Quantizer"
	  Position		  [330, 80, 370, 120]
	  QuantizationInterval	  "2^(1-bits)"
	  LinearizeAsGain	  off
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out"
	  Position		  [465, 93, 495, 107]
	  IconDisplay		  "Port number"
	  BusOutputAsStruct	  off
	}
	Line {
	  SrcBlock		  "Gain"
	  SrcPort		  1
	  DstBlock		  "Quantizer"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "In"
	  SrcPort		  1
	  DstBlock		  "Gain"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Quantizer"
	  SrcPort		  1
	  DstBlock		  "Out"
	  DstPort		  1
	}
      }
    }
    Block {
      BlockType		      ToWorkspace
      Name		      "To Workspace"
      Position		      [610, 115, 670, 145]
      VariableName	      "gmsk_data"
      MaxDataPoints	      "inf"
      SampleTime	      "-1"
      SaveFormat	      "Structure With Time"
    }
    Line {
      SrcBlock		      "8-channel GMSK modulator"
      SrcPort		      1
      DstBlock		      "Scale and Quantize"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Scale and Quantize"
      SrcPort		      1
      DstBlock		      "To Workspace"
      DstPort		      1
    }
    Annotation {
      Name		      "8-channel GMSK model for input vector capture"
      Position		      [225, 24]
      BackgroundColor	      "lightBlue"
      DropShadow	      on
      TeXMode		      "on"
      UseDisplayTextAsClickCallback off
      FontName		      "Times New Roman"
      FontSize		      12
      FontWeight	      "bold"
    }
  }
}

⌨️ 快捷键说明

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