www.pudn.com > wcdma_simulink.rar > koe_mod_demod_control.mdl
Model {
Name "koe_mod_demod_control"
Version 3.00
SimParamPage "Solver"
SampleTimeColors on
InvariantConstants off
WideVectorLines off
ShowLineWidths on
ShowPortDataTypes off
StartTime "0.0"
StopTime "3"
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=10;C=[1 -1 1 -1];TFI=4;TPC=2;nPilot=8;"
Created "Fri Jun 4 13:51:12 1999"
Creator "maarit"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%"
LastModifiedBy "maarit"
ModifiedDateFormat "%"
LastModifiedDate "Thu Jun 17 17:03:37 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_mod_demod_control"
Location [60, 56, 1250, 1017]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name " add control"
Ports [0, 1, 0, 0, 0]
Position [60, 62, 160, 138]
FontName "helvetica"
FontSize 12
SourceBlock "utra_lib/DL/dl_TX_modulation/ add control"
SourceType ""
nPilot "nPilot"
nPower "TPC"
nTFI "TFI"
}
Block {
BlockType Constant
Name "Constant6"
Position [475, 96, 520, 114]
ShowName off
Value "1:20"
}
Block {
BlockType Constant
Name "Constant7"
Position [475, 127, 520, 143]
ShowName off
Value "0:19"
}
Block {
BlockType Constant
Name "Constant8"
Position [470, 158, 515, 172]
ShowName off
Value "1"
}
Block {
BlockType Reference
Name "Delayed ber calculation"
Ports [2, 1, 0, 0, 0]
Position [565, 540, 765, 640]
Orientation "down"
NamePlacement "alternate"
SourceBlock "utra_lib/Delayed ber calculation"
SourceType ""
N "16*N"
nFrames "1"
}
Block {
BlockType Display
Name "Display28"
Ports [1, 0, 0, 0, 0]
Position [412, 200, 448, 885]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "helvetica"
FontSize 8
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Display29"
Ports [1, 0, 0, 0, 0]
Position [366, 200, 404, 940]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "helvetica"
FontSize 8
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Display30"
Ports [1, 0, 0, 0, 0]
Position [1024, 155, 1106, 910]
Orientation "down"
NamePlacement "alternate"
ShowName off
FontName "helvetica"
FontSize 8
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Display31"
Ports [1, 0, 0, 0, 0]
Position [900, 170, 1000, 205]
Orientation "down"
NamePlacement "alternate"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Display32"
Ports [1, 0, 0, 0, 0]
Position [535, 647, 635, 683]
Orientation "left"
NamePlacement "alternate"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [940, 25, 1000, 55]
ShowName off
VariableName "out"
Buffer "inf"
Decimation "1"
SampleTime "1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [35, 295, 95, 325]
Orientation "down"
NamePlacement "alternate"
ShowName off
VariableName "in"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace2"
Position [925, 110, 985, 140]
ShowName off
VariableName "flag"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace3"
Position [695, 650, 755, 680]
ShowName off
VariableName "ber"
Buffer "inf"
Decimation "1"
SampleTime "1"
SaveFormat "Matrix"
}
Block {
BlockType Mux
Name "control_mux"
Ports [2, 1, 0, 0, 0]
Position [250, 68, 255, 197]
ShowName off
FontName "helvetica"
FontSize 12
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Reference
Name "data source 01 ..10"
Ports [0, 1, 0, 0, 0]
Position [15, 180, 105, 220]
ShowName off
SourceBlock "utra_lib/Source blocks/data source 01 ..10"
SourceType "koe"
nFrames "1"
N "N*16"
}
Block {
BlockType Reference
Name "demodulation1"
Ports [4, 2, 0, 0, 0]
Position [740, 62, 870, 218]
FontName "helvetica"
SourceBlock "utra_lib/DL/dl_RX_demodulation/demodulation"
SourceType ""
nBuff_in "N+TFI+TPC+nPilot"
nBuff_out "16*N"
nSlot "16"
nControl "nPilot+TFI+TPC"
}
Block {
BlockType Reference
Name "hard decission"
Ports [1, 1, 0, 0, 0]
Position [785, 435, 885, 475]
Orientation "left"
NamePlacement "alternate"
SourceBlock "utra_lib/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 [145, 165, 215, 235]
SourceBlock "utra_lib/DL/dl_TX_modulation/intra_interleaving"
"1"
SourceType ""
bits_in_frame "N*16"
nFrames "1"
nSlot "16"
Intra_int_flag "0"
}
Block {
BlockType Reference
Name "modulation1"
Ports [1, 2, 0, 0, 0]
Position [285, 13, 355, 257]
SourceBlock "utra_lib/DL/dl_TX_modulation/modulation"
SourceType ""
Ndisc "N+nPilot+TPC+TFI"
C "C"
nSlot "16"
}
Block {
BlockType Reference
Name "rake1"
Ports [5, 4, 0, 0, 0]
Position [545, 63, 680, 207]
FontName "helvetica"
FontSize 12
FontWeight "bold"
SourceBlock "utra_lib/DL/dl_RX_demodulation/rake"
SourceType ""
N_rake "(N+nPilot+TFI+TPC)*length(C)/2"
nSlot "16"
nPilot "0"
th "0.1"
nFin "1"
SF "length(C)"
C "C"
}
Line {
SrcBlock "demodulation1"
SrcPort 2
Points [0, -30; 25, 0]
Branch {
Points [50, 0]
DstBlock "Display31"
DstPort 1
}
Branch {
Points [0, -25]
DstBlock "To Workspace2"
DstPort 1
}
}
Line {
SrcBlock "rake1"
SrcPort 1
Points [40, 0]
DstBlock "demodulation1"
DstPort 1
}
Line {
SrcBlock "rake1"
SrcPort 2
DstBlock "demodulation1"
DstPort 2
}
Line {
SrcBlock "rake1"
SrcPort 3
Points [40, 0]
DstBlock "demodulation1"
DstPort 3
}
Line {
SrcBlock "rake1"
SrcPort 4
Points [0, 10]
DstBlock "demodulation1"
DstPort 4
}
Line {
SrcBlock "Constant6"
SrcPort 1
DstBlock "rake1"
DstPort 2
}
Line {
SrcBlock "Constant7"
SrcPort 1
DstBlock "rake1"
DstPort 3
}
Line {
SrcBlock "Constant8"
SrcPort 1
DstBlock "rake1"
DstPort 4
}
Line {
SrcBlock "demodulation1"
SrcPort 1
Points [0, -30; 25, 0]
Branch {
Points [10, 0]
Branch {
Points [155, 0]
DstBlock "Display30"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "To Workspace"
DstPort 1
}
}
Branch {
DstBlock "hard decission"
DstPort 1
}
}
Line {
SrcBlock "hard decission"
SrcPort 1
Points [-65, 0]
DstBlock "Delayed ber calculation"
DstPort 2
}
Line {
SrcBlock "modulation1"
SrcPort 1
Points [90, 0]
Branch {
Points [-20, 0]
DstBlock "Display28"
DstPort 1
}
Branch {
DstBlock "rake1"
DstPort 1
}
}
Line {
SrcBlock "modulation1"
SrcPort 2
Points [5, 0]
Branch {
DstBlock "rake1"
DstPort 5
}
Branch {
Points [0, -10]
DstBlock "Display29"
DstPort 1
}
}
Line {
SrcBlock "control_mux"
SrcPort 1
DstBlock "modulation1"
DstPort 1
}
Line {
SrcBlock " add control"
SrcPort 1
DstBlock "control_mux"
DstPort 1
}
Line {
SrcBlock "intra_interleaving1"
SrcPort 1
Points [15, 0]
DstBlock "control_mux"
DstPort 2
}
Line {
SrcBlock "Delayed ber calculation"
SrcPort 1
Points [0, 20]
Branch {
DstBlock "To Workspace3"
DstPort 1
}
Branch {
DstBlock "Display32"
DstPort 1
}
}
Line {
SrcBlock "data source 01 ..10"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "intra_interleaving1"
DstPort 1
}
Branch {
Points [0, 80]
Branch {
DstBlock "To Workspace1"
DstPort 1
}
Branch {
Points [0, 250; 500, 0]
DstBlock "Delayed ber calculation"
DstPort 1
}
}
}
Annotation {
Position [109, 507]
Text "PreLoadFcn set values:\nN = 10 = input block si"
"ze\nC = [ 1 -1 1 -1] code"
FontName "helvetica"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [761, 317]
Text "bufferoi N *16 mittaisiin palikoihin\n(16 kosk"
"a framessa on 16 slotia ja\ndemodulaation palkian ulostulot paivitettan\n16 *"
" modulaation sisaantulo ajan valein"
FontName "helvetica"
FontSize 12
}
}
}