📄 phy_cdma_coin_sig_recv_traffic_33_final.mdl
字号:
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType Reference
Name "Spectrum\nScope1"
Ports [1]
Position [495, 315, 530, 365]
ShowName off
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "512"
Overlap "128"
inpFftLenInherit on
FFTlength "512"
numAvg "2"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber on
AxisLegend off
AxisZoom off
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "get(0,'defaultfigureposition')"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-86.6574731835112"
YMax "9.40536607550809"
YLabel "Magnitude-squared, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [0, 1]
Position [180, 115, 240, 135]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "seed"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "seed=@1;"
MaskDisplay "disp('Fundamental Ch\\nEncoder')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "16"
System {
Name "Subsystem1"
Location [77, 438, 823, 592]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Binary Data\nSource"
Ports [0, 1]
Position [45, 40, 135, 90]
ShowName off
AttributesFormatString "Samples per Frame = %<sampPerFrame>\\nSampl"
"e Time = %<Ts>"
FontName "Arial"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
P "0.5"
seed "seed"
Ts "1/(38.4e3)"
frameBased on
sampPerFrame "768"
orient off
outDataType "double"
}
Block {
BlockType Outport
Name "Out1"
Position [405, 58, 435, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Binary Data\nSource"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem3"
Ports [0, 1]
Position [180, 165, 240, 185]
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "seed"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "seed=@1;"
MaskDisplay "disp('Fundamental Ch\\nEncoder')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "48"
System {
Name "Subsystem3"
Location [403, 330, 1149, 484]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Reference
Name "Binary Data\nSource"
Ports [0, 1]
Position [45, 40, 135, 90]
ShowName off
AttributesFormatString "Samples per Frame = %<sampPerFrame>\\nSampl"
"e Time = %<Ts>"
FontName "Arial"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
P "0.5"
seed "seed"
Ts "1/(38.4e3)"
frameBased on
sampPerFrame "768"
orient off
outDataType "double"
}
Block {
BlockType Outport
Name "Out1"
Position [405, 58, 435, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Binary Data\nSource"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem7"
Ports [2, 1]
Position [465, 170, 540, 245]
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskPromptString "walshcode|LongPN Mask"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "walshcode=@1;mask=@2;"
MaskDisplay "disp('Reciever');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "17|pn17"
MaskTabNameString ","
System {
Name "Subsystem7"
Location [2, 74, 1270, 954]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "144"
Block {
BlockType Inport
Name "In1"
Position [15, 158, 45, 172]
ShowName off
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "In2"
Position [15, 188, 45, 202]
ShowName off
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Sum
Name "Add"
Ports [2, 1]
Position [420, 137, 435, 228]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Bipolar to\nUnipolar\nConverter"
Ports [1, 1]
Position [685, 177, 725, 213]
ShowName off
SourceBlock "commutil2/Bipolar to\nUnipolar\nConverter"
SourceType "Bipolar to Unipolar Converter"
ShowPortLabels on
M "2"
polarity "Negative"
}
Block {
BlockType Reference
Name "Buffer1"
Ports [1, 1]
Position [545, 172, 575, 198]
ShowName off
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "48"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Buffer3"
Ports [1, 1]
Position [805, 177, 820, 213]
DropShadow on
ShowName off
SourceBlock "dspbuff3/Buffer"
SourceType "Buffer"
N "768"
V "0"
ic "0"
}
Block {
BlockType Reference
Name "Delay"
Ports [1, 1]
Position [285, 386, 325, 414]
ShowName off
AttributesFormatString "\\n"
SourceBlock "dspobslib/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [550, 351, 590, 379]
ShowName off
AttributesFormatString "\\n"
SourceBlock "dspobslib/Integer Delay"
SourceType "Integer Delay"
delay "48+2"
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay2"
Ports [1, 1]
Position [185, 110, 235, 130]
Orientation "down"
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "63"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay3"
Ports [1, 1]
Position [180, 240, 230, 260]
Orientation "up"
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "63"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay4"
Ports [1, 1]
Position [275, 149, 310, 171]
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay5"
Ports [1, 1]
Position [275, 194, 310, 216]
ShowName off
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Downsample"
Ports [1, 1]
Position [215, 323, 250, 357]
ShowName off
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "64"
phase "0"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "Downsample1"
Ports [1, 1]
Position [210, 383, 245, 417]
ShowName off
SourceBlock "dspsigops/Downsample"
SourceType "Downsample"
N "64"
phase "63"
ic "0"
smode "Allow multirate"
fmode "Maintain input frame rate"
}
Block {
BlockType Gain
Name "Gain2"
Position [500, 176, 520, 194]
ShowName off
Gain "1/(0.5647/6)"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [455, 170, 485, 200]
ShowName off
Gain "1/64"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Hadamard\nCode Generator"
Ports [0, 1]
Position [65, 53, 150, 97]
ShowName off
SourceBlock "commseqgen2/Hadamard\nCode Generator"
SourceType "Hadamard Code Generator"
ShowPortLabels on
length "64"
index "walshcode"
ts "1/1.2288e6"
frameBased on
sampPerFrame "64"
}
Block {
BlockType Reference
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -