?? wcdmamuxandcoding.mdl
字號:
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Radio Frame \nSegmentation"
Ports [2, 1]
Position [650, 115, 710, 195]
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/Radio Frame \nSegmentation"
SourceType "Radio Frame Segmentation"
Port {
PortNumber 1
Name "cctrch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Rate DeMatching"
Ports [2, 2]
Position [450, 280, 510, 360]
Orientation "left"
NamePlacement "alternate"
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/Rate DeMatching"
SourceType "Rate DeMatching"
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Rate Matching"
Ports [2, 2]
Position [450, 115, 510, 195]
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/Rate Matching"
SourceType "Rate Matching"
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Syndrome\nDectector"
Ports [2, 4]
Position [170, 280, 230, 360]
Orientation "left"
NamePlacement "alternate"
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/Syndrome\nDectector"
SourceType "Syndrome Detector"
}
Block {
BlockType Reference
Name "TrBlk Concatenat\nCode Blk Segment"
Ports [2, 2]
Position [265, 115, 325, 195]
ShowName off
SourceBlock "wcdmalib/Wcdma Multiplexing\nand Channel Coding"
"/TrBlk Concatenat\nCode Blk Segment"
SourceType "TrBlk Concatenation and Code Blk Segmentation"
numBitsTrCh "numBitsTrCh"
numPadBits "numPadBits"
numBitsCodeWord "numBitsCodeWord"
Port {
PortNumber 1
Name "dtch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "dcch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType Reference
Name "Unipolar to\nBipolar\nConverter"
Ports [1, 1]
Position [925, 210, 1005, 250]
Orientation "down"
NamePlacement "alternate"
ShowName off
SourceBlock "commutil2/Unipolar to\nBipolar\nConverter"
SourceType "Unipolar to Bipolar Converter"
M "2"
polarity "Negative"
Port {
PortNumber 1
Name "cctrch"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "aInitial Settings"
Ports []
Position [55, 425, 192, 498]
BackgroundColor "yellow"
DropShadow on
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "WCDMA Initial Settings Demo"
MaskDescription "All the parameters on the mask must be specifie"
"d as a vector where the k-th element corresponds to the settings for the k-th"
" Transport Channel."
MaskPromptString "Transport Block Set Size:|Transport Block Size:"
"|TTI (in ms):|CRC Size {24, 16, 12, 8, 0}:|Type of Error Protection {None=0, "
"Conv 1/2=1, Conv 1/3=2, Turbo=3}:|Rate Matching Attribute:|Position of TrCH i"
"n Radio Frame {Fixed=0, Flexible=1}:|Number of PhCH:|Slot Format (0..16):"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVariables "trBlkSetSize=@1;trBlkSize=@2;tti=@3;crcSize=@4;"
"errorCorr=@5;RMAttribute=@6;posTrCh=@7;numPhCH=@8;slotFormat=@9;"
MaskInitialization "numTrBlks = trBlkSetSize./trBlkSize;\n\n% Assig"
"n Variables to Workspace\nassignin('base','trBlkSize',trBlkSize);\nassignin('"
"base','trBlkSetSize',trBlkSetSize);\nassignin('base','numTrBlks',numTrBlks);"
"\nassignin('base','tti',tti);\nassignin('base','crcSize',crcSize);\nassignin("
"'base','errorCorr',errorCorr);\nassignin('base','RMAttribute',RMAttribute);\n"
"assignin('base','posTrCh',posTrCh);\nassignin('base','numPhCH',numPhCH);\nass"
"ignin('base','slotFormat',slotFormat);\n\n% Check Params\nWcdmaMuxandCodingCh"
"eckParams;\n\n% Compute Input and Output Ports\n[numBitsTrCh, numPadBits, num"
"CodeWords, numBitsCodeWord] = WcdmaConcSeg(trBlkSetSize,trBlkSize,crcSize, er"
"rorCorr);\nassignin('base','numBitsTrCh',numBitsTrCh);\nassignin('base','numP"
"adBits',numPadBits);\nassignin('base','numBitsCodeWord',numBitsCodeWord);\nas"
"signin('base','numCodeWords',numCodeWords);\n\n% Compute Number of Bits at th"
"e input of the Rate Matching Block\ncodeRate = errorCorr+1 - (errorCorr == 3)"
";\ntailBits = 8 *(errorCorr ~=0);\nnumBitsRM = codeRate.*(numBitsCodeWord+tai"
"lBits).*numCodeWords;\nassignin('base','numBitsRM',numBitsRM);\n\n% Compute N"
"umber of Bits at the input of the First Interleaver\ndeltaNimax = WcdmaRateMa"
"tchingInit(numBitsRM, tti, RMAttribute, posTrCh, slotFormat, numPhCH);\nnumBi"
"tsFirstInt = numBitsRM + deltaNimax;\nassignin('base','numBitsFirstInt',numBi"
"tsFirstInt);\n\n% Compute number of Bits per Radio Frame\nnumBitsRF = numBits"
"FirstInt./(tti/10);\nassignin('base','numBitsRF',numBitsRF);\n\n% Compute Tot"
"al Delay Tx-Rx\ntotalBitsDelay = (trBlkSetSize.*(1+2*(numCodeWords>1))).*(tti"
"~=10) + (tti==10 & numCodeWords>1)*2.*trBlkSetSize;\nassignin('base','totalBi"
"tsDelay',totalBitsDelay);"
MaskDisplay "disp('WCDMA Demo:\\nInitial Settings');"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "[244 100]|[244 100]|[20 40]|[16 12]|[2 2]|[256 "
"256]|0|1|11"
MaskVariableAliases ",,,,,,,,"
System {
Name "aInitial Settings"
Location [433, 403, 931, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background1"
Ports []
Position [349, 93, 429, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background1"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background2"
Ports []
Position [439, 93, 519, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background2"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background4"
Ports []
Position [254, 93, 334, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background4"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background5"
Ports []
Position [534, 93, 619, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background5"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background6"
Ports []
Position [159, 93, 239, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background6"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background7"
Ports []
Position [634, 93, 714, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background7"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background8"
Ports []
Position [729, 93, 814, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background8"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "background9"
Ports []
Position [829, 93, 914, 373]
BackgroundColor "lightBlue"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "background9"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Block {
BlockType SubSystem
Name "zbackground3"
Ports []
Position [294, 468, 659, 614]
BackgroundColor "yellow"
ShowName off
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskDisplay "disp('')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "zbackground3"
Location [209, 325, 575, 532]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
}
}
Line {
Name "dtch"
FontName "Arial"
Labels [0, 0; 2, 0]
SrcBlock "Bernoulli Random\nBinary Generator"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -