📄 dspilbclib_9a.mdl
字号:
Annotation {
Name "Decode Regular Code"
Position [332, 65]
}
Annotation {
Name "Decode Augmented Code"
Position [637, 130]
}
}
}
Block {
BlockType SubSystem
Name "Decode Start State"
Ports [4, 1]
Position [40, 57, 250, 173]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Reusable function"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Decode Start State"
Location [37, 103, 941, 315]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Start State Indices"
Position [45, 73, 75, 87]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Gain Index"
Position [45, 138, 75, 152]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Synthesis Filters"
Position [405, 153, 435, 167]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "State First"
Position [725, 88, 755, 102]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Data Type\nDuplicate"
Ports [3]
Position [480, 18, 525, 62]
ShowName off
SourceBlock "simulink/Signal\nAttributes/Data Type\nDuplicate"
SourceType "Data Type Duplicate"
NumInputPorts "3"
}
Block {
BlockType DSPFlip
Name "Flip"
Position [720, 146, 760, 164]
ShowName off
}
Block {
BlockType DSPFlip
Name "Flip1"
Position [480, 115, 525, 135]
ShowName off
}
Block {
BlockType DSPFlip
Name "Flip3"
Position [255, 66, 290, 94]
ShowName off
}
Block {
BlockType FrameConversion
Name "Frame Conversion"
Ports [1, 1]
Position [480, 77, 525, 103]
ShowName off
}
Block {
BlockType Gain
Name "Gain"
Position [310, 125, 365, 165]
ShowName off
Gain "1/4.5"
ParameterDataTypeMode "Inherit via internal rule"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
ParamDataTypeStr "Inherit: Inherit via internal rule"
OutDataTypeMode "Inherit via back propagation"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via back propagation"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "IIR Circular Convolution"
Ports [3, 1]
Position [555, 71, 670, 179]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "IIR Circular Convolution"
Location [47, 107, 364, 349]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [40, 78, 70, 92]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Num"
Position [40, 128, 70, 142]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Den"
Position [40, 178, 70, 192]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Digital Filter"
Ports [3, 1]
Position [105, 62, 215, 208]
ShowName off
DialogController "dspdialog.DigitalFilter"
DialogControllerArgs "DataTag2"
SourceBlock "dsparch4/Digital Filter"
SourceType "Digital Filter"
TypePopup "IIR (poles & zeros)"
IIRFiltStruct "Direct form II transposed"
AllPoleFiltStruct "Direct form"
FIRFiltStruct "Direct form"
CoeffSource "Input port(s)"
NumCoeffs "[1 2]"
DenCoeffs "[1 0.1]"
BiQuadCoeffs "[1 0.3 0.4 1 0.1 0.2]"
LatticeCoeffs "[0.2 0.4]"
denIgnore "on"
FiltPerSampPopup "One filter per frame"
IC "0"
ICnum "0"
ICden "0"
additionalParams "off"
allowOverrides "on"
showCoeff "off"
firstCoeffMode "Same word length as input"
firstCoeffWordLength "16"
firstCoeffFracLength "15"
secondCoeffMode "Same as numerator"
secondCoeffWordLength "16"
secondCoeffFracLength "15"
thirdCoeffMode "Same as input"
thirdCoeffWordLength "16"
thirdCoeffFracLength "15"
showOut "off"
outputMode "Same as accumulator"
outputWordLength "16"
outputFracLength "15"
showAcc "off"
accumMode "Same as product output"
accumWordLength "32"
accumFracLength "30"
showMpy "off"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "30"
showMem "off"
memoryMode "Same as accumulator"
memoryWordLength "16"
memoryFracLength "15"
roundingMode "Floor"
overflowMode "off"
ScaleValues "1"
scaleValueFracLength "14"
tapSumMode "Same as input"
tapSumWordLength "32"
tapSumFracLength "30"
stageIOMode "Same as input"
stageIOWordLength "16"
stageInFracLength "15"
stageOutFracLength "15"
LockScale "off"
FilterSource "Input port(s)"
dfiltObjectName "dfilt.dffir([1 2 1])"
multiplicandMode "Same as output"
multiplicandWordLength "32"
multiplicandFracLength "30"
}
Block {
BlockType ForIterator
Name "For Iterator"
Ports []
Position [130, 18, 185, 42]
ShowName off
ResetStates "reset"
IterationLimit "2"
ShowIterationPort off
}
Block {
BlockType Outport
Name "Out"
Position [260, 128, 290, 142]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Den"
SrcPort 1
DstBlock "Digital Filter"
DstPort 3
}
Line {
SrcBlock "Num"
SrcPort 1
DstBlock "Digital Filter"
DstPort 2
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "Digital Filter"
DstPort 1
}
Line {
SrcBlock "Digital Filter"
SrcPort 1
DstBlock "Out"
DstPort 1
}
}
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [1, 1]
Position [255, 130, 285, 160]
ShowName off
Operator "10^u"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch1"
Ports [3, 1]
Position [790, 83, 815, 167]
ShowName off
Inputs "2"
zeroidx on
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [415, 72, 445, 103]
ShowName off
InputSameDT off
OutDataTypeMode "Inherit via back propagation"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via back propagation"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Scalar Quantizer\nDecoder"
Ports [1, 1]
Position [110, 53, 205, 107]
ShowName off
SourceBlock "dspquant2/Scalar Quantizer\nDecoder"
SourceType "Scalar Quantizer Decoder"
CBsource "Specify via dialog"
invalidin "Clip"
codebook "ilbc.state_sq3Tbl"
dataType "Inherit via back propagation"
isSigned "on"
wordLen "16"
udDataType "sfix(16)"
fracBitsMode "Best precision"
numFracBits "11"
}
Block {
BlockType Reference
Name "Scalar Quantizer\nDecoder1"
Ports [1, 1]
Position [110, 118, 205, 172]
ShowName off
SourceBlock "dspquant2/Scalar Quantizer\nDecoder"
SourceType "Scalar Quantizer Decoder"
CBsource "Specify via dialog"
invalidin "Clip"
codebook "ilbc.state_frgqTbl"
dataType "Inherit via back propagation"
isSigned "on"
wordLen "16"
udDataType "}"
fracBitsMode "Best precision"
numFracBits "11"
}
Block {
BlockType Outport
Name "Start State"
Position [845, 118, 875, 132]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Gain Index"
SrcPort 1
DstBlock "Scalar Quantizer\nDecoder1"
DstPort 1
}
Line {
SrcBlock "Scalar Quantizer\nDecoder1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Math\nFunction"
DstPort 1
}
Branch {
Points [0, -120]
DstBlock "Data Type\nDuplicate"
DstPort 1
}
}
Line {
SrcBlock "Start State Indices"
SrcPort 1
DstBlock "Scalar Quantizer\nDecoder"
DstPort 1
}
Line {
SrcBlock "Scalar Quantizer\nDecoder"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Flip3"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Data Type\nDuplicate"
DstPort 2
}
}
Line {
SrcBlock "Flip1"
SrcPort 1
DstBlock "IIR Circular Convolution"
DstPort 2
}
Line {
SrcBlock "Synthesis Filters"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -35]
DstBlock "Flip1"
DstPort 1
}
Branch {
DstBlock "IIR Circular Convolution"
DstPort 3
}
}
Line {
SrcBlock "Product"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Frame Conversion"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Data Type\nDuplicate"
DstPort 3
}
}
Line {
SrcBlock "IIR Circular Convolution"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Multiport\nSwitch1"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "Flip"
DstPort 1
}
}
Line {
SrcBlock "Math\nFunction"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Frame Conversion"
SrcPort 1
DstBlock "IIR Circular Convolution"
DstPort 1
}
Line {
SrcBlock "Flip"
SrcPort 1
DstBlock "Multiport\nSwitch1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -