www.pudn.com > wcdma_simulink.rar > koe_channel_rake.mdl
Model {
Name "koe_channel_rake"
Version 3.00
SimParamPage "Solver"
SampleTimeColors on
InvariantConstants off
WideVectorLines off
ShowLineWidths on
ShowPortDataTypes off
StartTime "0.0"
StopTime "2"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect off
PreLoadFcn "N=32; C=[1 1 -1 -1];"
Created "Wed May 12 14:25:07 1999"
Creator "maarit"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%"
LastModifiedBy "maarit"
ModifiedDateFormat "%"
LastModifiedDate "Sun Jun 20 15:19:14 1999"
ModelVersionFormat "1.%"
ConfigurationManager "none"
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "koe_channel_rake"
Location [90, 127, 1278, 942]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom off
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Channel estimator"
Ports [2, 3, 0, 0, 0]
Position [480, 336, 555, 414]
ShowName off
SourceBlock "utra_lib/Channel models/Channel estimator"
SourceType ""
threshold "0.05"
nSlot "16"
}
Block {
BlockType Reference
Name "Delayed ber calculation1"
Ports [2, 1, 0, 0, 0]
Position [215, 655, 415, 755]
Orientation "down"
NamePlacement "alternate"
SourceBlock "utra_lib/Test functions/Delayed ber calculation"
SourceType ""
N "16*N"
nFrames "1"
}
Block {
BlockType Reference
Name "Direct ber calculation1"
Ports [2, 1, 0, 0, 0]
Position [381, 45, 539, 140]
Orientation "up"
SourceBlock "utra_lib/Test functions/Direct ber calculation"
SourceType ""
N "N*length(C)/2"
nFrames "1"
}
Block {
BlockType Display
Name "Display35"
Ports [1, 0, 0, 0, 0]
Position [190, 768, 280, 802]
Orientation "left"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Display36"
Ports [1, 0, 0, 0, 0]
Position [280, 16, 380, 44]
Orientation "left"
NamePlacement "alternate"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType ToWorkspace
Name "To Workspace10"
Position [520, 275, 565, 305]
ShowName off
VariableName "chan1"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace11"
Position [480, 460, 530, 490]
ShowName off
VariableName "delay1"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace12"
Position [340, 770, 400, 800]
ShowName off
VariableName "ber"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace13"
Position [525, 210, 585, 240]
ShowName off
VariableName "chanout"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace14"
Position [585, 15, 645, 45]
ShowName off
VariableName "ber1"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace15"
Position [240, 210, 300, 240]
Orientation "up"
ShowName off
VariableName "chanin"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace16"
Position [1085, 395, 1145, 425]
ShowName off
VariableName "flag"
Buffer "inf"
Decimation "1"
SampleTime "1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace4"
Position [160, 95, 220, 125]
ShowName off
VariableName "in"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace7"
Position [465, 545, 525, 575]
Orientation "left"
NamePlacement "alternate"
ShowName off
VariableName "out"
Buffer "inf"
Decimation "1"
SampleTime "1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace8"
Position [610, 275, 655, 305]
ShowName off
VariableName "chan"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace9"
Position [590, 455, 640, 485]
ShowName off
VariableName "delay"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType Reference
Name "channel3"
Ports [2, 4, 0, 0, 0]
Position [285, 287, 420, 453]
ShowName off
FontName "helvetica"
FontWeight "bold"
SourceBlock "utra_lib/Channel models/channel2"
SourceType ""
N "N*length(C)/2"
nSlot "16"
RM "[0.9 0 0.1]"
DM "[0 1 2]"
HP "1"
snr "0"
P "0"
nCode "length(C)"
}
Block {
BlockType Reference
Name "data source 01 ..10"
Ports [0, 1, 0, 0, 0]
Position [17, 25, 93, 85]
Orientation "down"
ShowName off
SourceBlock "utra_lib/Source blocks/data source 01 ..10"
SourceType "koe"
nFrames "1"
N "16*N"
}
Block {
BlockType Reference
Name "demodulation"
Ports [4, 2, 0, 0, 0]
Position [885, 292, 1015, 448]
FontName "helvetica"
SourceBlock "utra_lib/Modulation blocks/dl_RX_demodulation/"
"demodulation"
SourceType ""
nBuff_in "N"
nBuff_out "N*16"
nSlot "16"
nControl "0"
}
Block {
BlockType Reference
Name "dl_rake"
Ports [5, 4, 0, 0, 0]
Position [680, 289, 840, 451]
FontName "helvetica"
FontSize 12
FontWeight "bold"
SourceBlock "utra_lib/Receivers/dl_rake"
SourceType ""
N_rake "N*length(C)/2"
nSlot "16"
nPilot "0"
th "0.1"
nFin "1"
C "C"
}
Block {
BlockType Reference
Name "hard decission"
Ports [1, 1, 0, 0, 0]
Position [435, 165, 535, 205]
Orientation "up"
SourceBlock "utra_lib/Test functions/hard decission"
SourceType ""
mode on
N "N*length(C)/2"
thres "0"
nFrames "1"
}
Block {
BlockType Reference
Name "hard decission1"
Ports [1, 1, 0, 0, 0]
Position [440, 610, 540, 650]
Orientation "left"
NamePlacement "alternate"
SourceBlock "utra_lib/Test functions/hard decission"
SourceType ""
mode off
N "16*N"
thres "0"
nFrames "1"
}
Block {
BlockType Reference
Name "intra_interleaving1"
Ports [1, 1, 0, 0, 0]
Position [42, 205, 168, 275]
Orientation "down"
NamePlacement "alternate"
SourceBlock "utra_lib/Modulation blocks/dl_TX_modulation/in"
"tra_interleaving"
SourceType ""
bits_in_frame "16*N"
nFrames "1"
nSlot "16"
Intra_int_flag "0"
}
Block {
BlockType Reference
Name "modulation1"
Ports [1, 2, 0, 0, 0]
Position [155, 288, 225, 457]
SourceBlock "utra_lib/Modulation blocks/dl_TX_modulation/mo"
"dulation"
SourceType ""
Ndisc "N"
C "C"
nSlot "16"
}
Line {
SrcBlock "hard decission"
SrcPort 1
Points [0, -5]
DstBlock "Direct ber calculation1"
DstPort 2
}
Line {
SrcBlock "Direct ber calculation1"
SrcPort 1
Points [0, -10]
Branch {
DstBlock "Display36"
DstPort 1
}
Branch {
DstBlock "To Workspace14"
DstPort 1
}
}
Line {
Labels [2, 0]
SrcBlock "Channel estimator"
SrcPort 1
Points [0, -5; 30, 0]
Branch {
Points [0, -55]
DstBlock "To Workspace8"
DstPort 1
}
Branch {
Points [75, 0]
DstBlock "dl_rake"
DstPort 2
}
}
Line {
SrcBlock "modulation1"
SrcPort 1
Points [40, 0]
Branch {
DstBlock "channel3"
DstPort 1
}
Branch {
Points [0, -70; 45, 0]
Branch {
Points [105, 0]
DstBlock "Direct ber calculation1"
DstPort 1
}
Branch {
Points [-45, 0]
DstBlock "To Workspace15"
DstPort 1
}
}
}
Line {
SrcBlock "hard decission1"
SrcPort 1
Points [-70, 0]
DstBlock "Delayed ber calculation1"
DstPort 2
}
Line {
SrcBlock "channel3"
SrcPort 1
Points [60, 0]
Branch {
DstBlock "dl_rake"
DstPort 1
}
Branch {
Points [0, -85]
Branch {
DstBlock "hard decission"
DstPort 1
}
Branch {
DstBlock "To Workspace13"
DstPort 1
}
}
}
Line {
SrcBlock "modulation1"
SrcPort 2
DstBlock "channel3"
DstPort 2
}
Line {
SrcBlock "channel3"
SrcPort 4
DstBlock "dl_rake"
DstPort 5
}
Line {
SrcBlock "channel3"
SrcPort 3
Points [0, 5; 20, 0]
Branch {
DstBlock "Channel estimator"
DstPort 2
}
Branch {
Points [0, 80]
DstBlock "To Workspace11"
DstPort 1
}
}
Line {
SrcBlock "Channel estimator"
SrcPort 3
DstBlock "dl_rake"
DstPort 4
}
Line {
SrcBlock "Channel estimator"
SrcPort 2
Points [10, 0]
Branch {
Points [95, 0]
DstBlock "dl_rake"
DstPort 3
}
Branch {
Points [0, 95]
DstBlock "To Workspace9"
DstPort 1
}
}
Line {
SrcBlock "channel3"
SrcPort 2
Points [25, 0]
Branch {
Points [15, 0]
DstBlock "Channel estimator"
DstPort 1
}
Branch {
Points [0, -60]
DstBlock "To Workspace10"
DstPort 1
}
}
Line {
SrcBlock "Delayed ber calculation1"
SrcPort 1
Points [0, 25]
Branch {
DstBlock "Display35"
DstPort 1
}
Branch {
DstBlock "To Workspace12"
DstPort 1
}
}
Line {
SrcBlock "data source 01 ..10"
SrcPort 1
Points [0, 20]
Branch {
DstBlock "To Workspace4"
DstPort 1
}
Branch {
Points [0, 60]
Branch {
Points [50, 0]
DstBlock "intra_interleaving1"
DstPort 1
}
Branch {
Labels [1, 0]
Points [0, 465; 210, 0]
DstBlock "Delayed ber calculation1"
DstPort 1
}
}
}
Line {
SrcBlock "intra_interleaving1"
SrcPort 1
Points [0, 95]
DstBlock "modulation1"
DstPort 1
}
Line {
SrcBlock "dl_rake"
SrcPort 1
DstBlock "demodulation"
DstPort 1
}
Line {
SrcBlock "dl_rake"
SrcPort 2
DstBlock "demodulation"
DstPort 2
}
Line {
SrcBlock "dl_rake"
SrcPort 3
DstBlock "demodulation"
DstPort 3
}
Line {
SrcBlock "dl_rake"
SrcPort 4
DstBlock "demodulation"
DstPort 4
}
Line {
SrcBlock "demodulation"
SrcPort 1
Points [10, 0; 0, 230; -395, 0]
Branch {
DstBlock "To Workspace7"
DstPort 1
}
Branch {
Points [0, 70]
DstBlock "hard decission1"
DstPort 1
}
}
Line {
SrcBlock "demodulation"
SrcPort 2
DstBlock "To Workspace16"
DstPort 1
}
Annotation {
Position [1028, 85]
Text "Defined in opening this model:\n\nN = 32\nC = "
"[ 1 1 -1 -1 ]\n"
FontName "helvetica"
FontSize 12
FontWeight "bold"
}
Annotation {
Position [793, 55]
Text "TESTING MODEL FOR\n\nmodulation\nchannel \nrake"
" receiver\ndemodulation"
FontName "helvetica"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [807, 145]
Text "Intra frame interleaver block is just used to o"
"btain \ncorrect sample times. "
}
}
}