📄 wcdma_phlayer.mdl
字号:
DstBlock "Wcdma Spreading"
DstPort 3
}
Line {
Name "ocns"
Labels [0, 0]
SrcBlock "Wcdma OCNS Generator"
SrcPort 1
Points [10, 0; 0, -60]
DstBlock "Wcdma Scrambling"
DstPort 5
}
Line {
Name "p-ccpch/sch"
Labels [0, 0]
SrcBlock "Wcdma SCH Multiplexer"
SrcPort 1
DstBlock "Wcdma Power\nAdjustment"
DstPort 4
}
Line {
Name "p-ccpch"
Labels [0, 0]
SrcBlock "Wcdma Scrambling"
SrcPort 4
Points [30, 0]
DstBlock "Wcdma SCH Multiplexer"
DstPort 1
}
Line {
Name "sch"
Labels [0, 0]
SrcBlock "Wcdma SCH \nGenerator"
SrcPort 1
DstBlock "Wcdma SCH Multiplexer"
DstPort 2
}
Line {
SrcBlock "Wcdma Power\nAdjustment"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
Name "ocns"
Labels [1, 1]
SrcBlock "Wcdma Scrambling"
SrcPort 5
DstBlock "Wcdma Power\nAdjustment"
DstPort 5
}
Line {
SrcBlock "Wcdma Power\nAdjustment"
SrcPort 5
DstBlock "Sum"
DstPort 5
}
Line {
SrcBlock "Wcdma Power\nAdjustment"
SrcPort 4
DstBlock "Sum"
DstPort 4
}
Line {
SrcBlock "Wcdma Power\nAdjustment"
SrcPort 3
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Wcdma Power\nAdjustment"
SrcPort 2
DstBlock "Sum"
DstPort 2
}
Line {
Name "pich"
Labels [1, 1]
SrcBlock "Wcdma Scrambling"
SrcPort 3
DstBlock "Wcdma Power\nAdjustment"
DstPort 3
}
Line {
Name "p-cpich"
Labels [1, 1]
SrcBlock "Wcdma Scrambling"
SrcPort 2
DstBlock "Wcdma Power\nAdjustment"
DstPort 2
}
Line {
Name "dpch"
Labels [1, 1]
SrcBlock "Wcdma Scrambling"
SrcPort 1
DstBlock "Wcdma Power\nAdjustment"
DstPort 1
}
Line {
Name "dpch"
Labels [0, 0]
SrcBlock "Wcdma Spreading"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Goto3"
DstPort 1
}
Branch {
DstBlock "Wcdma Scrambling"
DstPort 1
}
}
Line {
Name "p-cpich"
Labels [0, 0]
SrcBlock "Wcdma Spreading"
SrcPort 2
DstBlock "Wcdma Scrambling"
DstPort 2
}
Line {
Name "p-cpich"
Labels [3, 0]
SrcBlock "Wcdma DL Common \nChannels Generator"
SrcPort 1
Points [10, 0; 0, -45]
DstBlock "Wcdma Spreading"
DstPort 2
}
Line {
SrcBlock "Wcdma Spreading"
SrcPort 4
DstBlock "Wcdma Scrambling"
DstPort 4
}
Line {
Name "pich"
Labels [0, 0]
SrcBlock "Wcdma Spreading"
SrcPort 3
DstBlock "Wcdma Scrambling"
DstPort 3
}
Line {
Name "slot"
Labels [0, 0]
SrcBlock "Parallel to\nSerial2"
SrcPort 1
Points [-10, 0; 15, 0]
Branch {
Points [0, 35]
DstBlock "Goto6"
DstPort 1
}
Branch {
DstBlock "Wcdma DPCH\nIQ Mapping"
DstPort 1
}
}
Line {
Name "dpch"
Labels [0, 1]
SrcBlock "Wcdma DPCH\nIQ Mapping"
SrcPort 1
DstBlock "Wcdma Spreading"
DstPort 1
}
Annotation {
Name "Wcdma Base Station Tx Antenna"
Position [459, 64]
FontName "Arial"
FontSize 16
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "Wcdma Channel Models"
Ports [1, 1]
Position [813, 220, 977, 270]
Orientation "down"
NamePlacement "alternate"
ShowName off
AttributesFormatString "%<BlockChoice>"
LinkData {
BlockName "Multipath+AWGN/Multipath Rayleigh Fading Chan"
"nel/Multipath Fading\nChannel"
DialogParameters {
normGain "off"
}
}
ShowPortLabels off
BlockChoice "Multipath+AWGN"
TemplateBlock "wcdma_lib/Wcdma Channel Model/Wcdma Channel Mod"
"els"
MemberBlocks "AWGN,Multipath+AWGN,No Channel"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
Port {
PortNumber 1
Name "Rx Signal"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "Wcdma Channel Models"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ChIn"
Position [20, 40, 40, 60]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Multipath+AWGN"
Ports [1, 1]
Position [100, 40, 140, 80]
SourceBlock "wcdma_lib/Wcdma Channel Model/Multipath+AWG"
"N"
SourceType ""
ShowPortLabels on
}
Block {
BlockType Outport
Name "ChOut"
Position [200, 40, 220, 60]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "ChIn"
SrcPort 1
DstBlock "Multipath+AWGN"
DstPort 1
}
Line {
SrcBlock "Multipath+AWGN"
SrcPort 1
DstBlock "ChOut"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Wcdma Rx\nChannel Decoding Scheme"
Ports [1, 4]
Position [230, 304, 385, 386]
Orientation "left"
NamePlacement "alternate"
AncestorBlock "wcdma_lib/Wcdma Multiplexing\nand Channel Codin"
"g/Wcdma Rx\nChannel Decoding Scheme"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskType "Wcdma DL Rx Channel Decoding Scheme"
MaskDescription "As specified in the 3GPP TS.212 V3.6.0 document"
", the Downlink channel decoding scheme consists of error detection, error cor"
"rection, rate matching, interleaving and transport channels splitting from th"
"e Coded Composite Transport Channel (CCTrCh)."
MaskHelp "As specified in the <a href=\"http://www.3gpp.o"
"rg/specs/download.htm\">3GPP TS.212 V3.6.0</a> document, the <b> Downlink ch"
"annel decoding scheme </b> consists of error detection, error correction, rat"
"e matching, interleaving and transport channels splitting from the <i>Coded C"
"omposite Transport Channel (CCTrCh)</i>."
MaskPromptString "Transport Block Set Size:|Transport Block Size:"
"|TTI (in ms) {10, 20, 40, 80):|CRC Size {24, 16, 12, 8, 0}:|Type of Error Pro"
"tection {None=0, Conv 1/2=1, Conv 1/3=2, Turbo=3}:|Rate Matching Attribute:|P"
"osition of TrCH in Radio Frame {Fixed=0, Flexible=1}:|Number of PhCH:|Slot Fo"
"rmat (0..16):|Check here to validate parameters."
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit,ch"
"eckbox"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "|||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,"
MaskVariables "trBlkSetSize=@1;trBlkSize=@2;tti=@3;crcSize=@4;"
"errorCorr=@5;RMAttribute=@6;posTrCh=@7;numPhCH=@8;slotFormat=@9;checkParams=@"
"10;"
MaskInitialization "numTrBlks = trBlkSetSize./trBlkSize;\n[numBitsT"
"rCh, numPadBits, numCodeWords, numBitsCodeWord] = wcdma_concseg(trBlkSetSize,"
"trBlkSize,crcSize, errorCorr);\ncodeRate = errorCorr+1 - (errorCorr == 3);\nt"
"ailBits = 8 *(errorCorr ~=0);\nnumBitsRM = codeRate.*(numBitsCodeWord+tailBit"
"s).*numCodeWords;\n\ndeltaNimax = wcdma_ratematchinginit(numBitsRM, tti, RMAt"
"tribute, posTrCh, slotFormat, numPhCH);\nnumBitsFirstInt = numBitsRM + deltaN"
"imax;\nnumBitsRF = numBitsFirstInt./(tti/10);\n\nif(checkParams == 1)\nwcdma_"
"checkparamserrorcorr;\nend\n"
MaskDisplay "disp('Wcdma DL Rx\\nChannel Decoding Scheme');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "trBlkSetSize|trBlkSize|tti|crcSize|errorCorr|RM"
"Attribute|posTrCh|numPhCH|slotFormat|off"
MaskTabNameString ",,,,,,,,,"
Port {
PortNumber 1
Name "dtch"
PropagatedSignals "dtch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "synd1"
PropagatedSignals "syn1"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 3
Name "dcch"
PropagatedSignals "dcch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 4
Name "synd2"
PropagatedSignals "syn2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
System {
Name "Wcdma Rx\nChannel Decoding Scheme"
Location [51, 103, 968, 390]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "CCtrChIn1"
Position [15, 150, 45, 160]
Port "1"
IconDisplay "Port number"
LatchInput off
Port {
PortNumber 1
Name "cctrch"
PropagatedSignals "cctrch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "1st DeInterleaver"
Ports [2, 2]
Position [215, 102, 285, 193]
ShowName off
SourceBlock "wcdma_lib/Wcdma Multiplexing\nand Channel C"
"oding/1st DeInterleaver"
SourceType "Wcdma 1st Interleaver"
ShowPortLabels on
Port {
PortNumber 1
Name "dtch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "dcch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Channel\nDecoding"
Ports [2, 2]
Position [445, 107, 515, 198]
ShowName off
SourceBlock "wcdma_lib/Wcdma Multiplexing\nand Channel C"
"oding/Channel\nDecoding"
SourceType "Channel Decoding"
ShowPortLabels on
Port {
PortNumber 1
Name "dtch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "dcch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Code Blk Concatenat\nTrBlk Segment"
Ports [2, 2]
Position [570, 107, 640, 198]
ShowName off
SourceBlock "wcdma_lib/Wcdma Multiplexing\nand Channel C"
"oding/Code Blk Concatenat\nTrBlk Segment"
SourceType "Code BlK Concatenation and TrBlk Segmentati"
"on"
ShowPortLabels on
trBlkSetSize "trBlkSetSize"
trBlkSize "trBlkSize"
crcSize "crcSize"
Port {
PortNumber 1
Name "dtch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
Port {
PortNumber 2
Name "dcch"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Reference
Name "Radio Frame \nConcatenation"
Ports [1, 2]
Position [85, 107, 155, 198]
ShowName off
SourceBlock "wcdma_lib/Wcdma Multiplexing\nand Channel C"
"oding/Radio Frame \nConcatenation"
SourceType "Radio Frame Concatenation"
ShowPortLabels on
numBits "numBitsFirstInt"
tti "tti"
checkDelay on
Port {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -