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

📄 uwb.mdl

📁 超宽带UWB,包括:uwb.mdl: UWB model - open this to begin. uwb_lib.mdl: Library blocks for UWB model. uwb_
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      OutScaling	      "fpscaling(uwb.OFDMWordLength, [16 12; 1"
"2 9; 10 9; 8 7]) "
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nSum"
	      Ports		      [1, 1]
	      Position		      [605, 88, 635, 112]
	      BackgroundColor	      "orange"
	      ShowName		      off
	      DialogController	      "dspDDGCreate"
	      DialogControllerArgs    "DataTag1"
	      SourceBlock	      "dspmtrx3/Matrix\nSum"
	      SourceType	      "Matrix Sum"
	      Dim		      "Rows"
	      additionalParams	      on
	      allowOverrides	      on
	      outputMode	      "User-defined"
	      outputWordLength	      "uwb.OFDMWordLength"
	      outputFracLength	      "fpscaling(uwb.OFDMWordLength, [16 11; 1"
"2 8; 10 6; 8 4], 1) "
	      accumMode		      "User-defined"
	      accumWordLength	      "uwb.OFDMWordLength"
	      accumFracLength	      "fpscaling(uwb.OFDMWordLength, [16 11; 1"
"2 8; 10 6; 8 4], 1) "
	      roundingMode	      "Floor"
	      overflowMode	      off
	      LockScale		      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Matrix\nSum1"
	      Ports		      [1, 1]
	      Position		      [605, 137, 635, 163]
	      BackgroundColor	      "orange"
	      ShowName		      off
	      DialogController	      "dspDDGCreate"
	      DialogControllerArgs    "DataTag2"
	      SourceBlock	      "dspmtrx3/Matrix\nSum"
	      SourceType	      "Matrix Sum"
	      Dim		      "Rows"
	      additionalParams	      on
	      allowOverrides	      on
	      outputMode	      "User-defined"
	      outputWordLength	      "uwb.OFDMWordLength"
	      outputFracLength	      "fpscaling(uwb.OFDMWordLength, [16 11; 1"
"2 8; 10 6; 8 6], 1) "
	      accumMode		      "User-defined"
	      accumWordLength	      "uwb.OFDMWordLength"
	      accumFracLength	      "fpscaling(uwb.OFDMWordLength, [16 11; 1"
"2 8; 10 6; 8 6], 1) "
	      roundingMode	      "Floor"
	      overflowMode	      on
	      LockScale		      off
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product1"
	      Ports		      [2, 1]
	      Position		      [275, 66, 290, 179]
	      BackgroundColor	      "orange"
	      ShowName		      off
	      Inputs		      "**"
	      InputSameDT	      off
	      OutDataTypeMode	      "Specify via dialog"
	      OutDataType	      "uwb.OFDMDataType"
	      OutScaling	      "fpscaling(uwb.OFDMWordLength, [16 12; 1"
"2 10; 10 8; 8 7]) "
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Product
	      Name		      "Product2"
	      Ports		      [2, 1]
	      Position		      [915, 80, 930, 260]
	      BackgroundColor	      "orange"
	      ShowName		      off
	      Inputs		      "**"
	      InputSameDT	      off
	      OutDataTypeMode	      "Specify via dialog"
	      OutDataType	      "uwb.OFDMDataType"
	      OutScaling	      "fpscaling(uwb.OFDMWordLength, [16 8; 12"
" 8; 10 6; 8 5]) "
	      RndMeth		      "Floor"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Remove\nDC component\nfrom signal"
	      Ports		      [1, 1]
	      Position		      [140, 171, 185, 199]
	      InputType		      "Matrix"
	      Elements		      "[1:26 27:53]"
	      Rows		      "[1:61 63:123]"
	      Columns		      "-1"
	      InputPortWidth	      "53"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Remove\nDC component\nfrom training sig"
	      Ports		      [1, 1]
	      Position		      [70, 81, 115, 109]
	      InputType		      "Matrix"
	      Elements		      "[1:26 27:53]"
	      Rows		      "[1:61 63:123]"
	      Columns		      "-1"
	      InputPortWidth	      "53"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape2"
	      Ports		      [1, 1]
	      Position		      [745, 112, 790, 138]
	      ShowName		      off
	      SourceBlock	      "simulink/Math\nOperations/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "Customize"
	      OutputDimensions	      "[122, 3]"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Reshape3"
	      Ports		      [1, 1]
	      Position		      [335, 115, 380, 135]
	      ShowName		      off
	      SourceBlock	      "simulink/Math\nOperations/Reshape"
	      SourceType	      "Reshape"
	      OutputDimensionality    "Customize"
	      OutputDimensions	      "[122*3,uwb.spreadFactor]"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Select\ntraining/data"
	      Ports		      [1, 2]
	      Position		      [215, 116, 260, 249]
	      SourceBlock	      "dspindex/Multiport\nSelector"
	      SourceType	      "Multiport Selector"
	      rowsOrCols	      "Columns"
	      idxCellArray	      "{1:uwb.CEPerFrame, uwb.CEPerFrame+1:uwb"
".OFDMSpreadSymPerFrame+uwb.CEPerFrame}"
	      idxErrMode	      "Clip Index"
	    }
	    Block {
	      BlockType		      Selector
	      Name		      "Selector"
	      Ports		      [1, 1]
	      Position		      [830, 113, 875, 137]
	      ShowName		      off
	      InputType		      "Matrix"
	      Elements		      "[1 3]"
	      Rows		      "-1"
	      Columns		      "mod([0:uwb.OFDMSpreadSymPerFrame-1],3)+"
"1"
	      InputPortWidth	      "3"
	    }
	    Block {
	      BlockType		      Sum
	      Name		      "Sum"
	      Ports		      [2, 1]
	      Position		      [555, 140, 575, 160]
	      BackgroundColor	      "orange"
	      ShowName		      off
	      IconShape		      "round"
	      Inputs		      "|++"
	      InputSameDT	      off
	      OutDataTypeMode	      "Specify via dialog"
	      OutDataType	      "uwb.OFDMDataType"
	      OutScaling	      "fpscaling(uwb.OFDMWordLength, [16 12; 1"
"2 10; 10 8; 8 6]) "
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "fp analysis"
	      Ports		      [1]
	      Position		      [355, 20, 435, 60]
	      BackgroundColor	      "[1.000000, 1.000000, 0.658824]"
	      SourceBlock	      "uwb_lib/fp scope"
	      SourceType	      "Fixed-point analysis and visualization."
	      ShowPortLabels	      on
	      nBits		      "uwb.OFDMWordLength"
	      tolPercent	      "1"
	      eMin		      "-15"
	      eMax		      "10"
	      startFrame	      "2"
	      enableScope	      off
	      resetHistogram	      off
	      refCase		      on
	      override		      "True Doubles"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "out"
	      Position		      [970, 163, 990, 177]
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "rxconst"
	      Position		      [730, 232, 750, 248]
	      Port		      "2"
	      IconDisplay	      "Port number"
	      BusOutputAsStruct	      off
	    }
	    Line {
	      SrcBlock		      "Complex\nConjugate"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Remove\nDC component\nfrom training sig"
	      SrcPort		      1
	      DstBlock		      "Complex\nConjugate"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Remove\nDC component\nfrom signal"
	      SrcPort		      1
	      DstBlock		      "Select\ntraining/data"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product2"
	      SrcPort		      1
	      DstBlock		      "out"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Select\ntraining/data"
	      SrcPort		      1
	      DstBlock		      "Product1"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "trainsig"
	      SrcPort		      1
	      DstBlock		      "Remove\nDC component\nfrom training sig"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "rxsig"
	      SrcPort		      1
	      DstBlock		      "Gain2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Selector"
	      SrcPort		      1
	      DstBlock		      "Product2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Product1"
	      SrcPort		      1
	      Points		      [20, 0]
	      Branch {
		DstBlock		"Reshape3"
		DstPort			1
	      }
	      Branch {
		Points			[0, -85]
		DstBlock		"fp analysis"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Select\ntraining/data"
	      SrcPort		      2
	      Points		      [420, 0]
	      Branch {
		DstBlock		"Product2"
		DstPort			2
	      }
	      Branch {
		Points			[0, 25]
		DstBlock		"rxconst"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Gain2"
	      SrcPort		      1
	      DstBlock		      "Remove\nDC component\nfrom signal"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Reshape2"
	      SrcPort		      1
	      DstBlock		      "Selector"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Reshape3"
	      SrcPort		      1
	      Points		      [35, 0]
	      Branch {
		Points			[0, -25]
		DstBlock		"Complex\nConjugate3"
		DstPort			1
	      }
	      Branch {
		DstBlock		"Complex to\nReal-Imag1"
		DstPort			1
	      }
	    }
	    Line {
	      SrcBlock		      "Complex\nConjugate3"
	      SrcPort		      1
	      DstBlock		      "Matrix\nSum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Division with\ndivisor checking"
	      SrcPort		      1
	      DstBlock		      "Reshape2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nSum"
	      SrcPort		      1
	      DstBlock		      "Division with\ndivisor checking"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Matrix\nSum1"
	      SrcPort		      1
	      DstBlock		      "Division with\ndivisor checking"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Abs"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Abs1"
	      SrcPort		      1
	      DstBlock		      "Sum"
	      DstPort		      2
	    }
	    Line {
	      SrcBlock		      "Sum"
	      SrcPort		      1
	      DstBlock		      "Matrix\nSum1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag1"
	      SrcPort		      1
	      DstBlock		      "Abs"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Complex to\nReal-Imag1"
	      SrcPort		      2
	      DstBlock		      "Abs1"
	      DstPort		      1
	    }
	  }
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Conversion3"
	  Position		  [845, 90, 885, 130]
	  BackgroundColor	  "lightBlue"
	  ShowName		  off
	  OutDataTypeMode	  "Specify via dialog"
	  OutDataType		  "float('double')"
	  OutScaling		  "2^-10"
	  RndMeth		  "Floor"
	}
	Block {
	  BlockType		  DataTypeConversion
	  Name			  "Conversion4"
	  Position		  [70, 89, 110, 131]
	  BackgroundColor	  "[0.800000, 0.533333, 0.792157]"
	  ShowName		  off
	  OutDataTypeMode	  "Specify via dialog"
	  OutDataType		  "uwb.OFDMDataType"
	  OutScaling		  "fpscaling(uwb.OFDMWordLength, [16 13; 12 9;"
" 10 8; 8 6]) "
	  LockScale		  on
	  RndMeth		  "Nearest"
	}
	Block {
	  BlockType		  Reference
	  Name			  "FFT"
	  Ports			  [1, 1]
	  Position		  [340, 93, 380, 127]
	  BackgroundColor	  "orange"
	  ShowName		  off
	  DialogController	  "dspDDGCreate"
	  DialogControllerArgs	  "DataTag3"
	  SourceBlock		  "dspxfrm3/FFT"
	  SourceType		  "FFT"
	  CompMethod		  "Table lookup"
	  TableOpt		  "Speed"
	  BitRevOrder		  off
	  additionalParams	  on
	  SkipNorm		  on
	  allowOverrides	  on
	  firstCoeffMode	  "Specify word length"
	  firstCoeffWordLength	  "uwb.OFDMWordLength"
	  firstCoeffFracLength	  "0"
	  outputMode		  "Binary point scaling"
	  outputWordLength	  "uwb.OFDMWordLength"
	  outputFracLength	  "fpscaling(uwb.OFDMWordLength, [16 8; 12 5; "
"10 3; 8 2], 1) "
	  accumMode		  "Binary point scaling"
	  accumWordLength	  "uwb.OFDMWordLength"
	  accumFracLength	  "fpscaling(uwb.OFDMWordLength, [16 8; 12 5; "
"10 3; 8 2], 1) "
	  prodOutputMode	  "Binary point scaling"
	  prodOutputWordLength	  "uwb.OFDMWordLength"
	  prodOutputFracLength	  "fpscaling(uwb.OFDMWordLength, [16 8; 12 5; "
"10 3; 8 2], 1) "
	  roundingMode		  "Floor"
	  overflowMode		  off
	  LockScale		  off
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto"
	  Position		  [910, 169, 970, 181]
	  ShowName		  off
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "rxEqConst"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto1"
	  Position		  [625, 28, 680, 42]
	  ShowName		  off
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "rxEqSig"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Goto2"
	  Position		  [620, 173, 675, 187]
	  ShowName		  off
	  DialogController	  "Simulink.DDGSource"
	  GotoTag		  "rxConst"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Selector
	  Name			  "Remove\nsync preamble"
	  Ports			  [1, 1]
	  Position		  [255, 95, 300, 125]
	  InputType		  "Matrix"
	  Rows			  "-1"
	  Columns		  "[(uwb.PSPerFrame + uwb.FSPerFrame + 1):uwb."
"OFDMTotSymPerFrame]"
	  InputPortWidth	  "53"
	}
	Block {
	  BlockType		  SubSystem
	  Name			  "Remove guard period,\nprocess suffix, and\n"
"group frames"
	  Ports			  [1, 1]
	  Position		  [145, 83, 215, 137]
	  BackgroundColor	  "orange"
	  ShowName		  off
	  TreatAsAtomicUnit	  off
	  MinAlgLoopOccurrences	  off
	  RTWSystemCode		  "Auto"
	  MaskDisplay		  "disp('Remove GP,\\nProces

⌨️ 快捷键说明

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