📄 wifi.mdl
字号:
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Rx Signal Aligned"
Position [60, 333, 90, 347]
NamePlacement "alternate"
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "State"
Position [240, 45, 270, 75]
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 0, 1]
Position [215, 136, 455, 409]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem"
Location [171, 179, 750, 639]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Rx Signal "
Position [75, 123, 105, 137]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Rx Signal aligned\nto Chip boundary"
Position [75, 243, 105, 257]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType EnablePort
Name "Enable"
Ports []
Position [250, 30, 270, 50]
}
Block {
BlockType Reference
Name "Discrete-Time\nEye Diagram\nScope"
Tag "EyeDiagram"
Ports [1]
Position [370, 226, 415, 274]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "commsink2/Discrete-Time\nEye Diagram\nS"
"cope"
SourceType "Discrete-Time Eye Diagram Scope"
ShowPortLabels on
sampPerSymb "8"
offsetEye "0"
symbPerTrace "1"
numTraces "40"
numNewFrames "40"
LineStyles "-"
LineColors "b"
dupPoints on
fading on
render on
AxisGrid off
yMin "-1.38526904502056"
yMax "1.38777979583567"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
dispDiagram "In-phase and Quadrature"
FrameNumber off
FigPos "[22 -82 434 499]"
figTitle "Rx Signal"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType Reference
Name "Discrete-Time\nScatter Plot\nScope"
Tag "ScatterPlot"
Ports [1]
Position [365, 355, 410, 405]
Diagnostics "AllowInheritedTsInSrc"
SourceBlock "commsink2/Discrete-Time\nScatter Plot\n"
"Scope"
SourceType "Discrete-Time Scatter Plot Scope"
ShowPortLabels on
sampPerSymb "8"
offsetEye "0"
numTraces "100"
numNewFrames "100"
LineMarkers "."
LineColors "b"
fading on
render on
AxisGrid on
xMin "-1"
xMax "1"
yMin "-1"
yMax "1"
inphaseLabel "In-phase Amplitude"
quadratureLabel "Quadrature Amplitude"
openScopeAtSimStart on
FrameNumber off
FigPos "[556 43 356 356]"
figTitle "Rx Chips"
numLinesMax "8"
block_type_ "scatter"
}
Block {
BlockType Reference
Name "Spectrum\nScope"
Ports [1]
Position [380, 105, 415, 155]
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit on
FFTlength "1024"
numAvg "5"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[23 469 431 222]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-20.2099642477694"
YMax "13.0534015069536"
YLabel "Magnitude, dB"
LineProperties off
LineStyles "--"
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Line {
SrcBlock "Rx Signal aligned\nto Chip boundary"
SrcPort 1
Points [60, 0]
Branch {
Points [0, 130]
DstBlock "Discrete-Time\nScatter Plot\nScope"
DstPort 1
}
Branch {
DstBlock "Discrete-Time\nEye Diagram\nScope"
DstPort 1
}
}
Line {
SrcBlock "Rx Signal "
SrcPort 1
DstBlock "Spectrum\nScope"
DstPort 1
}
}
}
Line {
SrcBlock "State"
SrcPort 1
Points [60, 0]
DstBlock "Subsystem"
DstPort enable
}
Line {
SrcBlock "Rx Signal Aligned"
SrcPort 1
DstBlock "Subsystem"
DstPort 2
}
Line {
SrcBlock "Rx Signal"
SrcPort 1
DstBlock "Subsystem"
DstPort 1
}
}
}
Block {
BlockType Display
Name "PSDU data rate"
Ports [1]
Position [840, 477, 930, 503]
Decimation "1"
}
Block {
BlockType SubSystem
Name "Receiver"
Ports [1, 2]
Position [665, 200, 785, 275]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Receiver"
Location [10, 270, 1008, 561]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Rx Signal"
Position [20, 133, 50, 147]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType SubSystem
Name "Deframing"
Ports [1, 1]
Position [840, 102, 925, 178]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "PSDU"
PropagatedSignals "PSDU"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "Deframing"
Location [291, 248, 789, 599]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "PPDU"
Position [25, 173, 55, 187]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [110, 44, 115, 311]
BackgroundColor "black"
ShowName off
Outputs "[PLCP_size PSDU_size]"
Port {
PortNumber 1
Name "PLCP"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "PSDU"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [190, 13, 195, 202]
BackgroundColor "black"
ShowName off
Outputs "[PLCP_preamble_size PLCP_header_size]"
Port {
PortNumber 1
Name "Preamble"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "Header"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [300, 28, 305, 92]
BackgroundColor "black"
ShowName off
Outputs "[Sync_size SFD_size]"
Port {
PortNumber 1
Name "SYNC"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "SFD"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Demux
Name "Demux3"
Ports [1, 4]
Position [300, 118, 305, 192]
BackgroundColor "black"
ShowName off
Outputs "[Signal_size Service_size Length_size C"
"RC_size]"
Port {
PortNumber 1
Name "SIGNAL"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "SERVICE"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 3
Name "LENGTH"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 4
Name "CRC"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Terminator
Name "Terminator"
Position [425, 35, 445, 55]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [425, 65, 445, 85]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator2"
Position [425, 115, 445, 135]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator3"
Position [425, 135, 445, 155]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator4"
Position [425, 155, 445, 175]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator5"
Position [425, 175, 445, 195]
ShowName off
}
Block {
BlockType Outport
Name "PSDU"
Position [265, 238, 295, 252]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
Name "SYNC"
Labels [-1, 1]
SrcBlock "Demux2"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
Name "SFD"
Labels [-1, 1]
SrcBlock "Demux2"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Line {
Name "SIGNAL"
Labels [-1, 1]
SrcBlock "Demux3"
SrcPort 1
DstBlock "Terminator2"
DstPort 1
}
Line {
Name "SERVICE"
Labels [-1, 1]
SrcBlock "Demux3"
SrcPort 2
DstBlock "Terminator3"
DstPort 1
}
Line {
Name "LENGTH"
Labels [-1, 1]
SrcBlock "Demux3"
SrcPort 3
DstBlock "Terminator4"
DstPort 1
}
Line {
Name "CRC"
Labels [-1, 1]
SrcBlock "Demux3"
SrcPort 4
DstBlock "Terminator5"
DstPort 1
}
Line {
SrcBlock "PPDU"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -