📄 is95areversetransmitter.mdl
字号:
}
Line {
SrcBlock "Upsample3"
SrcPort 1
DstBlock "OQPSK\nDelay"
DstPort 1
}
Line {
SrcBlock "Product2"
SrcPort 1
DstBlock "Upsample3"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Upsample1"
DstPort 1
}
Line {
SrcBlock "PN Q"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Frame In"
SrcPort 1
DstBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
DstPort 2
}
Line {
SrcBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
SrcPort 2
Points [15, 0]
DstBlock "Terminator6"
DstPort 1
}
Line {
SrcBlock "PN I"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Rate"
SrcPort 1
DstBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
DstPort 1
}
Line {
SrcBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
SrcPort 1
Points [40, 0]
Branch {
Points [0, 20]
DstBlock "Product2"
DstPort 1
}
Branch {
Points [0, -20]
DstBlock "Product"
DstPort 1
}
}
}
}
Block {
BlockType Reference
Name "Data Rate1"
Ports [0, 1]
Position [15, 93, 90, 137]
NamePlacement "alternate"
ShowName off
SourceBlock "cdmaprivate/Data Rate1"
SourceType "Mobile Station Transmitter Data Rate"
rate "Full"
}
Block {
BlockType Reference
Name "Filtered\nspread\nspectrum\n signal"
Ports [1]
Position [715, 450, 750, 500]
Orientation "left"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "8192"
Overlap "0"
inpFftLenInherit off
FFTlength "1024"
numAvg "10"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom on
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[339 281 602 134]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType SubSystem
Name "Filtering and \nUnbuffering "
Ports [1, 2]
Position [895, 105, 980, 185]
TreatAsAtomicUnit off
System {
Name "Filtering and \nUnbuffering "
Location [328, 648, 724, 780]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Frame in"
Position [25, 58, 55, 72]
}
Block {
BlockType ComplexToRealImag
Name "Complex to\nReal-Imag"
Ports [1, 2]
Position [280, 48, 310, 77]
ShowName off
Output "Real and imag"
}
Block {
BlockType Reference
Name "Pulse Shaping Transmit Filter"
Ports [1, 1]
Position [80, 33, 200, 97]
SourceBlock "cdmaprivate/Pulse Shaping Filter\n(h)"
SourceType "FIR Pulse Shaping Filter"
N "1"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [225, 47, 265, 83]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Scope I"
Position [335, 33, 365, 47]
}
Block {
BlockType Outport
Name "Scope Q"
Position [335, 78, 365, 92]
Port "2"
}
Line {
SrcBlock "Frame in"
SrcPort 1
DstBlock "Pulse Shaping Transmit Filter"
DstPort 1
}
Line {
SrcBlock "Pulse Shaping Transmit Filter"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Complex to\nReal-Imag"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 1
Points [5, 0]
DstBlock "Scope I"
DstPort 1
}
Line {
SrcBlock "Complex to\nReal-Imag"
SrcPort 2
Points [5, 0]
DstBlock "Scope Q"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "IS-95A CRC Generator"
Ports [2, 1]
Position [150, 105, 250, 185]
SourceBlock "cdmalibv1p1/IS-95A Common/IS-95A CRC Generator"
SourceType "IS-95A CRC Generator"
rate_set "Rate Set I"
ch_type "Traffic"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nConvolutional Encoder"
Ports [2, 1]
Position [290, 100, 390, 180]
SourceBlock "cdmalibv1p1/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch\nConvolutional Encoder"
SourceType "IS-95A Rev Ch Convolutional Encoder"
rate_set "Rate Set I"
ch_type "Traffic"
enc_state "[]"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nInterleaver"
Ports [2, 1]
Position [580, 95, 680, 175]
SourceBlock "cdmalibv1p1/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch\nInterleaver//Deinterleaver"
SourceType "IS-95A Rev Ch Interleaver/Deinterleaver"
ch_type "Traffic"
int_select "Interleaver"
}
Block {
BlockType Reference
Name "IS-95A Rev Ch \nRepeater"
Ports [2, 1]
Position [440, 90, 540, 170]
SourceBlock "cdmalibv1p1/IS-95A Mobile Station Transmitter/I"
"S-95A Rev Ch\nRepeater//Derepeater"
SourceType "IS-95A Rev Ch Repeater/Derepeater"
ch_type "Traffic"
rep_select "Derepeater"
}
Block {
BlockType Reference
Name "IS-95A Short Code\nGenerator"
Ports [1, 2]
Position [580, 244, 675, 311]
SourceBlock "cdmalibv1p1/IS-95A Common/IS-95A Short Code\nGe"
"nerator"
SourceType "IS-95A Short Code Generator"
numOut "64"
sampTime "1/(50*384)"
}
Block {
BlockType SubSystem
Name "Model Info"
Ports []
Position [20, 354, 71, 394]
BackgroundColor "lightBlue"
ShowName off
CopyFcn "slcm CopyBlock;"
DeleteFcn "slcm Cancel;"
LoadFcn "slcm LoadBlock;"
PostSaveFcn "slcm('UpdateAllCMBlocksInThisModel')"
InitFcn "slcm('UpdateAllCMBlocksInThisModelInit')"
NameChangeFcn "slcm Rename;"
OpenFcn "cdmademohelp;"
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MaskType "CMBlock"
MaskDescription "This block allows revision control information "
"to be displayed within the model."
MaskPromptString "InitialSaveTempField|InitialBlockCM|BlockCM|Fra"
"me|SaveTempField|DisplayStringWithTags|MaskDisplayString|HorizontalTextAlignm"
"ent|LeftAlignmentValue|SourceBlockDiagram|TagMaxNumber|CMTag1|CMTag2|CMTag3|C"
"MTag4|CMTag5|CMTag6|CMTag7|CMTag8|CMTag9|CMTag10|CMTag11|CMTag12|CMTag13|CMTa"
"g14|CMTag15|CMTag16|CMTag17|CMTag18|CMTag19|CMTag20"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit,ed"
"it,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit,edit"
",edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||||||||||||||||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "off,off,off,off,off,off,off,off,off,off,off,off"
",off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
MaskVariables "InitialSaveTempField=&1;InitialBlockCM=&2;Block"
"CM=&3;Frame=&4;SaveTempField=&5;DisplayStringWithTags=&6;MaskDisplayString=&7"
";HorizontalTextAlignment=&8;LeftAlignmentValue=&9;SourceBlockDiagram=&10;TagM"
"axNumber=@11;CMTag1=&12;CMTag2=&13;CMTag3=&14;CMTag4=&15;CMTag5=&16;CMTag6=&1"
"7;CMTag7=&18;CMTag8=&19;CMTag9=&20;CMTag10=&21;CMTag11=&22;CMTag12=&23;CMTag1"
"3=&24;CMTag14=&25;CMTag15=&26;CMTag16=&27;CMTag17=&28;CMTag18=&29;CMTag19=&30"
";CMTag20=&31;"
MaskDisplay "text(str2num(LeftAlignmentValue), 0.5, MaskDisp"
"layString, 'HorizontalAlignment', HorizontalTextAlignment)\n"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "normalized"
MaskValueString "|none|none|on||Info|Info|Center|0.5|IS95ARevers"
"eTransmitter|20||||||||||||||||||||"
System {
Name "Model Info"
Location [154, 467, 416, 618]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "EmptySubsystem"
Ports []
Position [115, 50, 145, 80]
TreatAsAtomicUnit off
System {
Name "EmptySubsystem"
Location [146, 180, 902, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
}
}
Block {
BlockType Constant
Name "PN Mask"
Position [425, 260, 460, 280]
FontSize 11
Value "[0 0]"
}
Block {
BlockType Reference
Name "Random Binary\nFrame Generator"
Ports [0, 1]
Position [15, 256, 90, 284]
SourceBlock "cdmaprivate/Random Binary\nFrame Generator"
SourceType "Random Binary Frame Generator"
seed "119940"
Ts "1/(50*268)"
N "268"
}
Block {
BlockType Scope
Name "Scope I and Q"
Ports [2]
Position [1015, 105, 1065, 185]
FontName "Arial"
Location [47, 425, 1019, 762]
Open off
NumInputPorts "2"
TickLabels "on"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "I"
axes2 "Q"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
}
TimeRange "0.0001"
YMin "-2~-2"
YMax "2~2"
DataFormat "Array"
}
Block {
BlockType Reference
Name "Spread\nspectrum\nsignal"
Ports [1]
Position [555, 360, 590, 410]
Orientation "left"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ScopeProperties on
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit off
FFTlength "1024"
numAvg "10"
DisplayProperties off
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom on
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[339 439 602 134]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
}
Block {
BlockType Reference
Name "Transmit Filter"
Ports [1, 1]
Position [772, 340, 868, 385]
Orientation "down"
NamePlacement "alternate"
SourceBlock "cdmaprivate/Pulse Shaping Filter\n(h//8)"
SourceType "FIR Pulse Shaping Filter"
N "20"
}
Annotation {
Name "IS-95A Reverse Traffic Channel Transmitter"
Position [550, 29]
ForegroundColor "red"
FontSize 18
FontWeight "bold"
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -