www.pudn.com > wcdma_simulink.rar > koe_mod_demod.mdl
Model {
Name "koe_mod_demod"
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];"
Created "Fri Jun 4 13:51:12 1999"
Creator "maarit"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%"
LastModifiedBy "maarit"
ModifiedDateFormat "%"
LastModifiedDate "Sat Jun 19 11:05:22 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"
Location [146, 235, 1336, 1196]
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 Constant
Name "Constant6"
Position [445, 96, 490, 114]
ShowName off
Value "1:20"
}
Block {
BlockType Constant
Name "Constant7"
Position [445, 127, 490, 143]
ShowName off
Value "0:19"
}
Block {
BlockType Constant
Name "Constant8"
Position [435, 158, 480, 172]
ShowName off
Value "1"
}
Block {
BlockType Reference
Name "Delayed ber calculation"
Ports [2, 1, 0, 0, 0]
Position [555, 470, 755, 570]
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 [377, 255, 423, 725]
Orientation "down"
NamePlacement "alternate"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType Display
Name "Display29"
Ports [1, 0, 0, 0, 0]
Position [310, 275, 360, 745]
Orientation "down"
NamePlacement "alternate"
ShowName off
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
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 [525, 577, 625, 613]
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, 185, 95, 215]
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 [685, 580, 745, 610]
ShowName off
VariableName "ber"
Buffer "inf"
Decimation "1"
SampleTime "1"
SaveFormat "Matrix"
}
Block {
BlockType Reference
Name "data source 01 ..10"
Ports [0, 1, 0, 0, 0]
Position [15, 70, 105, 110]
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"
nBuff_out "16*N"
nSlot "16"
nControl "0"
}
Block {
BlockType Reference
Name "hard 1"
Ports [1, 1, 0, 0, 0]
Position [785, 435, 885, 475]
Orientation "left"
ForegroundColor "green"
NamePlacement "alternate"
ShowName off
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 [145, 55, 215, 125]
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 [250, 13, 320, 257]
SourceBlock "utra_lib/DL/dl_TX_modulation/modulation"
SourceType ""
Ndisc "N"
C "C"
nSlot "16"
}
Block {
BlockType Reference
Name "rake1"
Ports [5, 4, 0, 0, 0]
Position [510, 65, 680, 205]
FontName "helvetica"
FontSize 12
FontWeight "bold"
SourceBlock "utra_lib/DL/dl_RX_demodulation/rake"
SourceType ""
N_rake "N*length(C)/2"
nSlot "16"
nPilot "0"
th "0.1"
nFin "1"
SF "length(C)"
C "C"
}
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; 490, 0]
DstBlock "Delayed ber calculation"
DstPort 1
}
}
}
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 "modulation1"
SrcPort 1
Points [90, 0]
Branch {
Points [-15, 0]
DstBlock "Display28"
DstPort 1
}
Branch {
DstBlock "rake1"
DstPort 1
}
}
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 "modulation1"
SrcPort 2
Points [5, 0]
Branch {
DstBlock "rake1"
DstPort 5
}
Branch {
Points [5, 0]
DstBlock "Display29"
DstPort 1
}
}
Line {
SrcBlock "intra_interleaving1"
SrcPort 1
Points [15, 0]
DstBlock "modulation1"
DstPort 1
}
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 1"
DstPort 1
}
}
Line {
SrcBlock "Delayed ber calculation"
SrcPort 1
Points [0, 20]
Branch {
DstBlock "To Workspace3"
DstPort 1
}
Branch {
DstBlock "Display32"
DstPort 1
}
}
Line {
SrcBlock "hard 1"
SrcPort 1
DstBlock "Delayed ber calculation"
DstPort 2
}
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
}
}
}