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

📄 hbaset4.mdl

📁 《Home Networking Basis》(《家庭网络基础》)的配套MATLAB源代码。包括了以太网和无线以太网等模型。
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	      BlockType		      Demux
	      Name		      "Demux"
	      Ports		      [1, 8]
	      Position		      [250, 33, 255, 127]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "8"
	      BusSelectionMode	      off
	    }
	    Block {
	      BlockType		      Demux
	      Name		      "Demux1"
	      Ports		      [1, 8]
	      Position		      [585, 280, 590, 440]
	      BackgroundColor	      "black"
	      ShowName		      off
	      Outputs		      "8"
	      BusSelectionMode	      off
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion"
	      Ports		      [1, 1]
	      Position		      [165, 64, 215, 96]
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Sample-based"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Frame Status\nConversion1"
	      Ports		      [1, 1]
	      Position		      [860, 359, 910, 391]
	      SourceBlock	      "dspsigattribs/Frame Status\nConversion"
	      SourceType	      "Frame Status Conversion"
	      growRefPort	      off
	      outframe		      "Frame-based"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux"
	      Ports		      [5, 1]
	      Position		      [280, 68, 285, 122]
	      ShowName		      off
	      Inputs		      "5"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Mux
	      Name		      "Mux1"
	      Ports		      [8, 1]
	      Position		      [550, 63, 555, 652]
	      ShowName		      off
	      Inputs		      "8"
	      DisplayOption	      "bar"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch1"
	      Position		      [660, 285, 690, 315]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch2"
	      Position		      [660, 335, 690, 365]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch3"
	      Position		      [660, 385, 690, 415]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch4"
	      Position		      [660, 435, 690, 465]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch5"
	      Position		      [735, 325, 765, 355]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch6"
	      Position		      [735, 395, 765, 425]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Switch
	      Name		      "Switch7"
	      Position		      [800, 360, 830, 390]
	      Threshold		      "0.5"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table1"
	      Ports		      [1, 1]
	      Position		      [465, 67, 520, 123]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[1 -1 0 0 1 -1; 0 1 -1 1 -1 0; 1 -1 0 1"
" -1 0; -1 0 1 1 -1 0; -1 0 1 0 1 -1; 0 1 -1 -1 0 1; 1 -1 0 -1 0 1; -1 0 1 -1 "
"0 1; -1 1 0 0 1 -1; 0 -1 1 1 -1 0; -1 1 0 1 -1 0; 1 0 -1 1 -1 0; 1 0 -1 0 1 -"
"1; 0 -1 1 -1 0 1; -1 1 0 -1 0 1; 1 0 -1 -1 0 1; 1 0 1 -1 -1 0; 1 1 0 -1 0 -1;"
" 1 0 1 -1 0 -1; 0 1 1 -1 0 -1; 0 1 1 -1 -1 0; 1 1 0 0 -1 -1; 1 0 1 0 -1 -1; 0"
" 1 1 0 -1 -1; 0 1 -1 0 1 -1; 0 1 -1 0 -1 1; 0 1 -1 1 1 -1; 0 1 -1 0 0 1; 0 -1"
" 1 0 0 1; 0 -1 1 1 1 -1; 0 -1 1 0 -1 1; 0 -1 1 0 1 -1]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table2"
	      Ports		      [1, 1]
	      Position		      [465, 142, 520, 198]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[0 0 -1 1 1 -1; -1 -1 1 0 0 1; 1 1 -1 0"
" 1 -1; 1 1 -1 0 -1 1; 0 0 1 0 -1 1; 0 0 1 0 1 -1; 0 0 -1 0 0 1; -1 -1 1 1 1 -"
"1; -1 0 -1 1 1 0; -1 -1 0 1 0 1; -1 0 -1 1 0 1; 0 -1 -1 1 0 1; 0 -1 -1 1 1 0;"
" -1 -1 0 0 1 1; -1 0 -1 0 1 1; 0 -1 -1 0 1 1; 1 -1 0 0 -1 1; 0 1 -1 -1 1 0; 1"
" -1 0 -1 1 0; -1 0 1 -1 1 0; -1 0 1 0 -1 1; 0 1 -1 1 0 -1; 1 -1 0 1 0 -1; -1 "
"0 1 1 0 -1; -1 1 0 0 -1 1; 0 -1 1 -1 1 0; -1 1 0 -1 1 0; 1 0 -1 -1 1 0; 1 0 -"
"1 0 -1 1; 0 -1 1 1 0 -1; -1 1 0 1 0 -1; 1 0 -1 1 0 -1]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table3"
	      Ports		      [1, 1]
	      Position		      [465, 217, 520, 273]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[1 0 1 0 0 -1; 1 1 0 0 -1 0; 1 0 1 0 -1"
" 0; 0 1 1 0 -1 0; 0 1 1 0 0 -1; 1 1 0 -1 0 0; 1 0 1 -1 0 0; 0 1 1 -1 0 0; 0 0"
" 0 1 0 0; 0 0 0 -1 1 1; 0 0 0 1 -1 1; 0 0 0 1 1 -1; 0 0 0 -1 1 0; 0 0 0 -1 0 "
"1; 0 0 0 1 -1 0; 0 0 0 1 0 -1; 1 0 1 -1 -1 1; 1 1 0 -1 1 -1; 1 0 1 -1 1 -1; 0"
" 1 1 -1 1 -1; 0 1 1 -1 -1 1; 1 1 0 1 -1 -1; 1 0 1 1 -1 -1; 0 1 1 1 -1 -1; 1 1"
" 1 0 -1 -1; 1 1 1 -1 0 -1; 1 1 1 -1 -1 0; 1 1 0 -1 -1 0; 1 1 0 -1 -1 1; 1 1 0"
" 0 0 -1; -1 -1 1 1 1 0; 0 0 -1 1 1 0]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table4"
	      Ports		      [1, 1]
	      Position		      [465, 292, 520, 348]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[0 -1 0 1 1 0; 0 0 -1 1 0 1; 0 -1 0 1 0"
" 1; -1 0 0 1 0 1; -1 0 0 1 1 0; 0 0 -1 0 1 1; 0 -1 0 0 1 1; -1 0 0 0 1 1; -1 "
"1 -1 1 1 0; -1 -1 1 1 0 1; -1 1 -1 1 0 1; 1 -1 -1 1 0 1; 1 -1 -1 1 1 0; -1 -1"
" 1 0 1 1; -1 1 -1 0 1 1; 1 -1 -1 0 1 1; -1 1 1 0 0 0; 1 -1 1 0 0 0; 1 1 -1 0 "
"0 0; 0 0 1 0 0 0; -1 0 1 0 0 0; 0 -1 1 0 0 0; 1 0 -1 0 0 0; 0 1 -1 0 0 0; 0 -"
"1 -1 1 1 1; -1 0 -1 1 1 1; -1 -1 0 1 1 1; -1 -1 0 1 1 0; 1 1 -1 0 0 -1; 0 0 1"
" 0 0 -1; 1 1 -1 -1 -1 1; 0 0 1 -1 -1 1]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table5"
	      Ports		      [1, 1]
	      Position		      [465, 367, 520, 423]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[1 -1 1 0 0 -1; 1 1 -1 0 -1 0; 1 -1 1 0"
" -1 0; -1 1 1 0 -1 0; -1 1 1 0 0 -1; 1 1 -1 -1 0 0; 1 -1 1 -1 0 0; -1 1 1 -1 "
"0 0; 0 1 0 0 0 -1; 0 0 1 0 -1 0; 0 1 0 0 -1 0; 1 0 0 0 -1 0; 1 0 0 0 0 -1; 0 "
"0 1 -1 0 0; 0 1 0 -1 0 0; 1 0 0 -1 0 0; 1 -1 1 -1 -1 1; 1 1 -1 -1 1 -1; 1 -1 "
"1 -1 1 -1; -1 1 1 -1 1 -1; -1 1 1 -1 -1 1; 1 1 -1 1 -1 -1; 1 -1 1 1 -1 -1; -1"
" 1 1 1 -1 -1; 0 1 0 -1 -1 1; 0 0 1 -1 1 -1; 0 1 0 -1 1 -1; 1 0 0 -1 1 -1; 1 0"
" 0 -1 -1 1; 0 0 1 1 -1 -1; 0 1 0 1 -1 -1; 1 0 0 1 -1 -1]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table6"
	      Ports		      [1, 1]
	      Position		      [465, 442, 520, 498]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[0 -1 0 1 1 -1; 0 0 -1 1 -1 1; 0 -1 0 1"
" -1 1; -1 0 0 1 -1 1; -1 0 0 1 1 -1; 0 0 -1 -1 1 1; 0 -1 0 -1 1 1; -1 0 0 -1 "
"1 1; -1 1 -1 1 1 -1; -1 -1 1 1 -1 1; -1 1 -1 1 -1 1; 1 -1 -1 1 -1 1; 1 -1 -1 "
"1 1 -1; -1 -1 1 -1 1 1; -1 1 -1 -1 1 1; 1 -1 -1 -1 1 1; 0 -1 0 0 0 1; 0 0 -1 "
"0 1 0; 0 -1 0 0 1 0; -1 0 0 0 1 0; -1 0 0 0 0 1; 0 0 -1 1 0 0; 0 -1 0 1 0 0; "
"-1 0 0 1 0 0; -1 1 -1 0 0 1; -1 -1 1 0 1 0; -1 1 -1 0 1 0; 1 -1 -1 0 1 0; 1 -"
"1 -1 0 0 1; -1 -1 1 1 0 0; -1 1 -1 1 0 0; 1 -1 -1 1 0 0]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table7"
	      Ports		      [1, 1]
	      Position		      [465, 517, 520, 573]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[1 -1 1 0 1 -1; 1 1 -1 1 -1 0; 1 -1 1 1"
" -1 0; -1 1 1 1 -1 0; -1 1 1 0 1 -1; 1 1 -1 -1 0 1; 1 -1 1 -1 0 1; -1 1 1 -1 "
"0 1; 0 1 0 0 1 -1; 0 0 1 1 -1 0; 0 1 0 1 -1 0; 1 0 0 1 -1 0; 1 0 0 0 1 -1; 0 "
"0 1 -1 0 1; 0 1 0 -1 0 1; 1 0 0 -1 0 1; 1 -1 1 0 -1 1; 1 1 -1 -1 1 0; 1 -1 1 "
"-1 1 0; -1 1 1 -1 1 0; -1 1 1 0 -1 1; 1 1 -1 1 0 -1; 1 -1 1 1 0 -1; -1 1 1 1 "
"0 -1; 0 1 0 0 -1 1; 0 0 1 -1 1 0; 0 1 0 -1 1 0; 1 0 0 -1 1 0; 1 0 0 0 -1 1; 0"
" 0 1 1 0 -1; 0 1 0 1 0 -1; 1 0 0 1 0 -1]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "T6Table8"
	      Ports		      [1, 1]
	      Position		      [465, 592, 520, 648]
	      SourceBlock	      "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
	      SourceType	      "LookupNDDirect"
	      maskTabDims	      "2"
	      explicitNumDims	      "1"
	      outDims		      "Column"
	      tabIsInput	      off
	      mxTable		      "[1 -1 0 1 1 -1; 0 1 -1 1 -1 1; 1 -1 0 1"
" -1 1; -1 0 1 1 -1 1; -1 0 1 1 1 -1; 0 1 -1 -1 1 1; 1 -1 0 -1 1 1; -1 0 1 -1 "
"1 1; -1 1 0 1 1 -1; 0 -1 1 1 -1 1; -1 1 0 1 -1 1; 1 0 -1 1 -1 1; 1 0 -1 1 1 -"
"1; 0 -1 1 -1 1 1; -1 1 0 -1 1 1; 1 0 -1 -1 1 1; 1 -1 0 0 0 1; 0 1 -1 0 1 0; 1"
" -1 0 0 1 0; -1 0 1 0 1 0; -1 0 1 0 0 1; 0 1 -1 1 0 0; 1 -1 0 1 0 0; -1 0 1 1"
" 0 0; -1 1 0 0 0 1; 0 -1 1 0 1 0; -1 1 0 0 1 0; 1 0 -1 0 1 0; 1 0 -1 0 0 1; 0"
" -1 1 1 0 0; -1 1 0 1 0 0; 1 0 -1 1 0 0]'"
	      clipFlag		      "Warning"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Transmit\nBits"
	      Ports		      [1]
	      Position		      [260, 174, 290, 206]
	      Floating		      off
	      Location		      [89, 145, 1019, 384]
	      Open		      off
	      NumInputPorts	      "1"
	      TickLabels	      "OneTimeTick"
	      ZoomMode		      "on"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      Grid		      "on"
	      TimeRange		      "1e-005"
	      YMin		      "0"
	      YMax		      "1"
	      SaveToWorkspace	      off
	      SaveName		      "ScopeData9"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      on
	      MaxDataPoints	      "5000"
	      Decimation	      "1"
	      SampleInput	      off
	      SampleTime	      "0"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Transmit\nBits1"
	      Ports		      [1]
	      Position		      [865, 469, 895, 501]
	      Floating		      off
	      Location		      [13, 283, 943, 522]
	      Open		      off
	      NumInputPorts	      "1"
	      TickLabels	      "OneTimeTick"
	      ZoomMode		      "on"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      Grid		      "on"
	      TimeRange		      "1e-005"
	      YMin		      "0"
	      YMax		      "1"
	      SaveToWorkspace	      off
	      SaveName		      "ScopeData13"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      on
	      MaxDataPoints	      "5000"
	      Decimation	      "1"
	      SampleInput	      off
	      SampleTime	      "0"
	    }
	    Block {
	      BlockType		      Scope
	      Name		      "Transmit\nBits2"
	      Ports		      [1]
	      Position		      [1025, 479, 1055, 511]
	      Floating		      off
	      Location		      [14, 505, 944, 744]
	      Open		      off
	      NumInputPorts	      "1"
	      TickLabels	      "OneTimeTick"
	      ZoomMode		      "on"
	      List {
		ListType		AxesTitles
		axes1			"%<SignalLabel>"
	      }
	      Grid		      "on"
	      TimeRange		      "2e-006"
	      YMin		      "0"
	      YMax		      "1"
	      SaveToWorkspace	      off
	      SaveName		      "ScopeData14"
	      DataFormat	      "StructureWithTime"
	      LimitDataPoints	      on
	      MaxDataPoints	      "5000"
	      Decimation	      "1"
	      SampleInput	      off
	      SampleTime	      "0"
	    }
	    Block {
	      BlockType		      Reference
	      Name		      "Unbuffer"
	      Ports		      [1, 1]
	      Position		      [940, 351, 990, 399]
	      SourceBlock	      "dspbuff3/Unbuffer"
	      SourceType	      "Unbuffer"
	      ic		      "0"
	    }
	    Block {
	      BlockType		      Outport
	      Name		      "Ternary\nOut"
	      Position		      [1025, 368, 1055, 382]
	      Port		      "1"
	      OutputWhenDisabled      "held"
	      InitialOutput	      "[]"
	    }
	    Line {
	      SrcBlock		      "Switch2"
	      SrcPort		      1
	      DstBlock		      "Switch5"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Switch3"
	      SrcPort		      1
	      DstBlock		      "Switch6"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch4"
	      SrcPort		      1
	      Points		      [25, 0]
	      DstBlock		      "Switch6"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Switch1"
	      SrcPort		      1
	      Points		      [25, 0]
	      DstBlock		      "Switch5"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch5"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Switch7"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Switch6"
	      SrcPort		      1
	      Points		      [15, 0]
	      DstBlock		      "Switch7"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Mux"
	      SrcPort		      1
	      DstBlock		      "Bit to Integer\nConverter"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      1
	      DstBlock		      "Switch1"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      2
	      DstBlock		      "Switch1"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      3
	      Points		      [25, 0; 0, 10]
	      DstBlock		      "Switch2"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      4
	      Points		      [0, 10]
	      DstBlock		      "Switch2"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      5
	      Points		      [50, 0]
	      DstBlock		      "Switch3"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      7
	      Points		      [30, 0; 0, 30]
	      DstBlock		      "Switch4"
	      DstPort		      1
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      8
	      Points		      [20, 0; 0, 30]
	      DstBlock		      "Switch4"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Demux1"
	      SrcPort		      6
	      Points		      [40, 0; 0, 20]
	      DstBlock		      "Switch3"
	      DstPort		      3
	    }
	    Line {
	      SrcBlock		      "Mux1"
	      SrcPort		      1
	      DstBlock		      "Demux1"

⌨️ 快捷键说明

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