www.pudn.com > wcdma_simulink.rar > koe_chcode.mdl
Model {
Name "koe_chcode"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
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=32;K=3;"
Created "Tue May 11 09:37:03 1999"
Creator "maarit"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%"
LastModifiedBy "maarit"
ModifiedDateFormat "%"
LastModifiedDate "Mon Jun 21 17:59:32 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_chcode"
Location [391, 76, 1395, 738]
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 "Constant2"
Position [125, 175, 155, 205]
ShowName off
Value "N"
}
Block {
BlockType Constant
Name "Constant3"
Position [495, 210, 525, 240]
ShowName off
Value "1"
}
Block {
BlockType Reference
Name "Direct ber calculation1"
Ports [2, 1, 0, 0, 0]
Position [294, 320, 481, 420]
Orientation "down"
NamePlacement "alternate"
SourceBlock "utra_lib/Test functions/Direct ber calculation"
SourceType ""
N "N"
nFrames "1"
}
Block {
BlockType Display
Name "Display33"
Ports [1, 0, 0, 0, 0]
Position [352, 515, 418, 545]
Orientation "down"
NamePlacement "alternate"
ShowName off
Format "short"
Decimation "1"
Floating off
SampleTime "-1"
}
Block {
BlockType ToWorkspace
Name "To Workspace12"
Position [435, 475, 495, 505]
ShowName off
VariableName "ber"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace13"
Position [790, 210, 850, 240]
ShowName off
VariableName "flag"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace25"
Position [790, 150, 850, 180]
ShowName off
VariableName "out"
Buffer "inf"
Decimation "1"
SampleTime "-1"
SaveFormat "Matrix"
}
Block {
BlockType ToWorkspace
Name "To Workspace27"
Position [195, 60, 255, 90]
ShowName off
VariableName "in"
Buffer "inf"
Decimation "1"
SampleTime "1"
SaveFormat "Matrix"
}
Block {
BlockType Reference
Name "ch_coding"
Ports [2, 2, 0, 0, 0]
Position [240, 117, 380, 213]
ForegroundColor "blue"
SourceBlock "utra_lib/Channel coding block/dl_TX_channel_cod"
"ing/ch_coding"
SourceType "wcdma"
N_chcode "N"
cType "1"
K "K"
nTail "8"
poly "[367 435 457]"
nFrames "1"
}
Block {
BlockType Reference
Name "ch_decoding"
Ports [2, 2, 0, 0, 0]
Position [560, 135, 700, 255]
ForegroundColor "blue"
SourceBlock "utra_lib/Channel coding block/dl_RX_channel_dec"
"oding/ch_decoding"
SourceType "wcdma"
N_chdecode "K*N+8"
cType "1"
K "K"
nTail "8"
poly "[367 435 457]"
nFrames "1"
sp0 "[1 0]"
sp1 "[ 0 1]"
}
Block {
BlockType Mux
Name "crc_mux"
Ports [2, 1, 0, 0, 0]
Position [415, 113, 420, 217]
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 [25, 110, 115, 170]
SourceBlock "utra_lib/Source blocks/data source 01 ..10"
SourceType "koe"
nFrames "1"
N "N"
}
Line {
SrcBlock "Constant2"
SrcPort 1
DstBlock "ch_coding"
DstPort 2
}
Line {
SrcBlock "ch_coding"
SrcPort 1
DstBlock "crc_mux"
DstPort 1
}
Line {
SrcBlock "ch_coding"
SrcPort 2
DstBlock "crc_mux"
DstPort 2
}
Line {
SrcBlock "crc_mux"
SrcPort 1
DstBlock "ch_decoding"
DstPort 1
}
Line {
SrcBlock "data source 01 ..10"
SrcPort 1
Points [45, 0]
Branch {
DstBlock "ch_coding"
DstPort 1
}
Branch {
Points [0, 140; 175, 0]
DstBlock "Direct ber calculation1"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "To Workspace27"
DstPort 1
}
}
Line {
SrcBlock "Constant3"
SrcPort 1
DstBlock "ch_decoding"
DstPort 2
}
Line {
SrcBlock "Direct ber calculation1"
SrcPort 1
Points [-5, 0; 0, 65]
Branch {
DstBlock "Display33"
DstPort 1
}
Branch {
DstBlock "To Workspace12"
DstPort 1
}
}
Line {
SrcBlock "ch_decoding"
SrcPort 2
DstBlock "To Workspace13"
DstPort 1
}
Line {
SrcBlock "ch_decoding"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "To Workspace25"
DstPort 1
}
Branch {
Points [0, 130; -310, 0]
DstBlock "Direct ber calculation1"
DstPort 2
}
}
Annotation {
Position [109, 327]
Text "PreLoadFcn sets the value:\nN = 32\nK = 3"
FontName "helvetica"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [412, 28]
Text "CHANNEL CODING TEST"
FontName "helvetica"
FontSize 14
FontWeight "bold"
}
}
}