📄 wifi.mdl
字号:
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "PPDU"
Position [25, 173, 55, 187]
}
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"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "PSDU"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
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"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "Header"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
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"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "SFD"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
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"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 2
Name "SERVICE"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 3
Name "LENGTH"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
Port {
PortNumber 4
Name "CRC"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
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]
}
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
}
Line {
Name "Header"
Labels [0, 0]
SrcBlock "Demux1"
SrcPort 2
DstBlock "Demux3"
DstPort 1
}
Line {
Name "Preamble"
Labels [0, 0]
SrcBlock "Demux1"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
Name "PLCP"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
Name "PSDU"
Labels [0, 0]
SrcBlock "Demux"
SrcPort 2
DstBlock "PSDU"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Demodulate and despread"
Ports [1, 1]
Position [650, 102, 745, 178]
AttributesFormatString "%<BlockChoice> "
LinkData {
BlockName "11Mbps demod"
DialogParameters {
Short_preamble "on"
}
BlockName "11Mbps demod/PLCP demod"
DialogParameters {
BlockChoice "PLCP demod for long preamble"
}
BlockName "1Mbps demod/PLCP demod"
DialogParameters {
BlockChoice "PLCP demod for short preamble"
}
BlockName "2Mbps demod"
DialogParameters {
Short_preamble "on"
}
BlockName "2Mbps demod/PLCP demod"
DialogParameters {
BlockChoice "PLCP demod for long preamble"
}
BlockName "5.5Mbps demod"
DialogParameters {
Short_preamble "on"
}
BlockName "5.5Mbps demod/PLCP demod"
DialogParameters {
BlockChoice "PLCP demod for long preamble"
}
}
BlockChoice "11Mbps demod"
TemplateBlock "WiFi_lib/Demodulate and despread"
MemberBlocks "11Mbps demod,1Mbps demod,2Mbps demod,5.5Mbp"
"s demod"
TreatAsAtomicUnit off
Port {
PortNumber 1
Name "PPDU"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Demodulate and despread"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Chips"
Position [20, 40, 40, 60]
ForegroundColor "yellow"
}
Block {
BlockType Reference
Name "11Mbps demod"
Ports [1, 1]
Position [100, 40, 140, 80]
SourceBlock "WiFi_lib/11Mbps demod"
SourceType ""
Short_preamble on
}
Block {
BlockType Outport
Name "PPDU"
Position [200, 40, 220, 60]
}
Line {
SrcBlock "Chips"
SrcPort 1
DstBlock "11Mbps demod"
DstPort 1
}
Line {
SrcBlock "11Mbps demod"
SrcPort 1
DstBlock "PPDU"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Move to frame\nboundary\n"
Ports [1, 1]
Position [525, 122, 595, 158]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "PPDU_size_chips-11"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Move to symbol\nboundary\n"
Ports [1, 1]
Position [440, 121, 470, 159]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "Filter_delay_chips_correction"
ic "0"
reset_popup "None"
}
Block {
BlockType SubSystem
Name "Rx Front"
Ports [1, 1]
Position [145, 110, 220, 170]
TreatAsAtomicUnit off
System {
Name "Rx Front"
Location [64, 344, 810, 512]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Signal"
Position [120, 73, 150, 87]
}
Block {
BlockType Gain
Name "Gain"
Position [585, 65, 615, 95]
ShowName off
Gain "1/Samples_per_chips"
}
Block {
BlockType SubSystem
Name "Mix from"
Ports [1, 1]
Position [295, 56, 340, 104]
ShowName off
AttributesFormatString "%<BlockChoice>"
LinkData {
BlockName "Mix from\ncenter frequency/Vector\nSc"
"ope"
DialogParameters {
OpenScopeImmediately "off"
LineColors "[1 0 0]"
YMin "-1.35082863252636"
YMax "1.35082863252639"
LineStyles "--|--"
FigPos "[75 73 830 420]"
}
}
ShowPortLabels off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -