📄 is95revchend2end.mdl
字号:
Floating off
SampleTime "-1"
}
Block {
BlockType From
IconDisplay "Tag"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Inport
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Logic
Operator "AND"
Inputs "2"
AllPortsSameDT on
OutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
SampleTime "-1"
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType "M-S-Function"
MFile "mlfile"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType RealImagToComplex
Input "Real and imag"
ConstantPart "0"
SampleTime "-1"
}
Block {
BlockType Reference
}
Block {
BlockType RelationalOperator
Operator ">="
InputSameDT on
LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza"
"tion)"
LogicDataType "uint(8)"
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Scope
Floating off
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Selector
InputType "Vector"
IndexMode "One-based"
ElementSrc "Internal"
Elements "1"
RowSrc "Internal"
Rows "1"
ColumnSrc "Internal"
Columns "1"
InputPortWidth "-1"
IndexIsStartValue off
OutputPortSize "1"
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType ZeroOrderHold
SampleTime "1"
}
}
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 "is95revchend2end"
Location [63, 148, 1326, 921]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 212
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "a4letter"
PaperUnits "centimeters"
ZoomFactor "70"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "\nSpectrum after\n Multipath and\n AWGN Channel"
Ports [1]
Position [1365, 485, 1405, 535]
NamePlacement "alternate"
SourceBlock "dspsnks4/Spectrum\nScope"
SourceType "Spectrum Scope"
ShowPortLabels off
ScopeProperties off
Domain "Frequency"
HorizSpan "1"
UseBuffer on
BufferSize "1024"
Overlap "0"
inpFftLenInherit off
FFTlength "1024"
numAvg "10"
DisplayProperties on
AxisGrid on
Memory off
FrameNumber off
AxisLegend off
AxisZoom on
OpenScopeAtSimStart on
OpenScopeImmediately off
FigPos "[339 121 602 134]"
AxisProperties off
XUnits "Hertz"
XRange "[-Fs/2...Fs/2]"
InheritXIncr on
XIncr "1.0"
XLabel "Samples"
YUnits "dB"
YMin "-50"
YMax "30"
YLabel "Magnitude, dB"
LineProperties off
wintypeSpecScope "Hann"
RsSpecScope "50"
betaSpecScope "5"
winsampSpecScope "Periodic"
}
Block {
BlockType SubSystem
Name " Spreading and Modulation\n"
Ports [4, 1]
Position [1060, 250, 1160, 330]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name " Spreading and Modulation\n"
Location [0, 82, 1012, 743]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Rate"
Position [25, 48, 55, 62]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Frame In"
Position [25, 88, 55, 102]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "PN I"
Position [265, 43, 295, 57]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "PN Q"
Position [265, 83, 295, 97]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
Ports [2, 2]
Position [100, 35, 200, 115]
SourceBlock "cdmalibv1p1/IS-95A Mobile Station Transmitt"
"er/IS-95A Rev Ch Walsh\nModulation and Spreading"
SourceType "IS-95A Rev Ch Walsh Modulation and Spreadin"
"g"
chType "Traffic"
lngCdMask "1"
wlshOrd "6"
sampTime "1/(50*384)"
}
Block {
BlockType Reference
Name "OQPSK\nDelay"
Ports [1, 1]
Position [455, 70, 495, 100]
SourceBlock "dspobslib/Integer Delay"
SourceType "Integer Delay"
delay "4"
ic "0"
reset_popup "None"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [335, 27, 365, 58]
ShowName off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [335, 67, 365, 98]
ShowName off
RndMeth "Floor"
}
Block {
BlockType RealImagToComplex
Name "Real-Imag to\nComplex"
Ports [2, 1]
Position [540, 48, 570, 77]
ShowName off
Input "Real and imag"
}
Block {
BlockType Terminator
Name "Terminator7"
Position [270, 123, 285, 137]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Reference
Name "Upsample1"
Ports [1, 1]
Position [385, 68, 420, 102]
ShowName off
SourceBlock "dspsigops/Upsample"
SourceType "Upsample"
N "8"
phase "0"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType Reference
Name "Upsample2"
Ports [1, 1]
Position [385, 28, 420, 62]
ShowName off
SourceBlock "dspsigops/Upsample"
SourceType "Upsample"
N "8"
phase "0"
ic "0"
mode "Maintain input frame rate"
}
Block {
BlockType Outport
Name "Out "
Position [590, 58, 620, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
SrcPort 1
Points [40, 0]
Branch {
Points [0, -20]
DstBlock "Product"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Product2"
DstPort 1
}
}
Line {
SrcBlock "Rate"
SrcPort 1
DstBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
DstPort 1
}
Line {
SrcBlock "PN I"
SrcPort 1
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Frame In"
SrcPort 1
DstBlock "IS-95A Rev Ch Walsh\nModulation and Spreadi"
"ng"
DstPort 2
}
Line {
SrcBlock "PN Q"
SrcPort 1
DstBlock "Product2"
DstPort 2
}
Line {
SrcBlock "Product"
SrcPort 1
DstBlock "Upsample2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -