📄 hbaset2.mdl
字号:
Ports [2, 1]
Position [620, 30, 655, 55]
Orientation "up"
NamePlacement "alternate"
ShowName off
IconShape "rectangular"
Inputs "-+"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Unbuffer1"
Ports [1, 1]
Position [405, 131, 455, 179]
SourceBlock "dspbuff2/Unbuffer"
SourceType "Unbuffer"
ic "0"
num_chans "1"
}
Block {
BlockType Reference
Name "Unbuffer2"
Ports [1, 1]
Position [405, 261, 455, 309]
SourceBlock "dspbuff2/Unbuffer"
SourceType "Unbuffer"
ic "0"
num_chans "1"
}
Block {
BlockType Outport
Name "Out"
Position [610, 98, 640, 112]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Unbuffer1"
SrcPort 1
DstBlock "ScopeDT17"
DstPort 1
}
Line {
SrcBlock "Sample\nand Hold1"
SrcPort 1
DstBlock "Unbuffer1"
DstPort 1
}
Line {
SrcBlock "Feedforward\nFilter"
SrcPort 2
Points [25, 0; 0, 25]
DstBlock "Sample\nand Hold1"
DstPort 1
}
Line {
SrcBlock "Coefficient\nClock"
SrcPort 1
Points [0, 0; 125, 0]
Branch {
Points [90, 0; 20, 0]
Branch {
DstBlock "Sample\nand Hold2"
DstPort trigger
}
Branch {
Points [0, -130]
Branch {
DstBlock "Sample\nand Hold1"
DstPort trigger
}
Branch {
Points [-160, 0]
DstBlock "Feedforward\nFilter"
DstPort 3
}
}
}
Branch {
DstBlock "Feedback\nFilter"
DstPort 3
}
}
Line {
SrcBlock "Unbuffer2"
SrcPort 1
DstBlock "Scope1"
DstPort 1
}
Line {
SrcBlock "Sample\nand Hold2"
SrcPort 1
DstBlock "Unbuffer2"
DstPort 1
}
Line {
SrcBlock "Feedback\nFilter"
SrcPort 2
Points [15, 0]
DstBlock "Sample\nand Hold2"
DstPort 1
}
Line {
SrcBlock "Integer Delay1"
SrcPort 1
DstBlock "Feedback\nFilter"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
Points [0, 0; 5, 0]
Branch {
Points [0, -35]
DstBlock "Sum2"
DstPort 1
}
Branch {
DstBlock "Out"
DstPort 1
}
}
Line {
SrcBlock "Sum2"
SrcPort 1
Points [0, -10; -370, 0]
Branch {
Points [-160, 0; 0, 100]
Branch {
DstBlock "Feedforward\nFilter"
DstPort 2
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Branch {
Points [0, 40]
DstBlock "Error"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, 50]
DstBlock "Feedback\nFilter"
DstPort 2
}
Line {
Labels [2, 0]
SrcBlock "Decision"
SrcPort 1
Points [10, 0; 40, 0]
Branch {
Points [540, 0; 0, -130]
DstBlock "Sum2"
DstPort 2
}
Branch {
DstBlock "Integer Delay1"
DstPort 1
}
}
Line {
SrcBlock "Signal"
SrcPort 1
DstBlock "Feedforward\nFilter"
DstPort 1
}
Line {
SrcBlock "Feedforward\nFilter"
SrcPort 1
DstBlock "FIR\nDecimation"
DstPort 1
}
Line {
SrcBlock "FIR\nDecimation"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "FIR\nDecimation1"
SrcPort 1
Points [75, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Feedback\nFilter"
SrcPort 1
DstBlock "FIR\nDecimation1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "DeMapper"
Ports [1, 1]
Position [410, 36, 505, 104]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "DeMapper"
Location [227, 506, 906, 703]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Bit\nIn"
Position [15, 38, 45, 52]
Port "1"
Interpolate on
}
Block {
BlockType Reference
Name "Bit\nTable"
Ports [1, 1]
Position [325, 32, 380, 88]
SourceBlock "simulink3/Functions\n& Tables/Direct Lo"
"ok-Up\nTable (n-D)"
SourceType "LookupNDDirect"
maskTabDims "2"
explicitNumDims "1"
outDims "Column"
tabIsInput "off"
mxTable "[0 0; 0 1; 1 0; 1 1]'"
clipFlag "Warning"
}
Block {
BlockType Constant
Name "Constant"
Position [210, 100, 240, 130]
Value "2"
VectorParams1D on
}
Block {
BlockType Reference
Name "Frame Status\nConversion1"
Ports [1, 1]
Position [420, 44, 470, 76]
SourceBlock "dspsigattribs/Frame Status\nConversion"
SourceType "Frame Status Conversion"
growRefPort "off"
outframe "Frame-based"
}
Block {
BlockType Gain
Name "Gain"
Position [125, 60, 155, 90]
Gain "-1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Information\nSequence"
Ports [0, 1]
Position [20, 118, 100, 162]
SourceBlock "commsource2/Binary Vector\nNoise Genera"
"tor"
SourceType "Binary Vector Noise Generator"
n "1"
prob "0.5"
seed "12345"
Ts "1/25e6"
frameBased "off"
sampPerFrame "1"
orient "off"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [125, 120, 175, 160]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "6"
ic "0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [70, 30, 100, 60]
UpperLimit "2"
LowerLimit "-2"
LinearizeAsGain on
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [270, 50, 290, 70]
ShowName off
IconShape "rectangular"
Inputs "++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Switch
Name "Switch"
Position [210, 40, 240, 70]
Threshold "0.5"
}
Block {
BlockType Reference
Name "Unbuffer"
Ports [1, 1]
Position [510, 36, 560, 84]
SourceBlock "dspbuff3/Unbuffer"
SourceType "Unbuffer"
ic "0"
}
Block {
BlockType Outport
Name "Symbol\nOut"
Position [600, 53, 630, 67]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -10]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Constant"
SrcPort 1
Points [10, 0]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Bit\nTable"
DstPort 1
}
Line {
SrcBlock "Information\nSequence"
SrcPort 1
DstBlock "Integer Delay"
DstPort 1
}
Line {
SrcBlock "Integer Delay"
SrcPort 1
Points [10, 0; 0, -85]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Frame Status\nConversion1"
SrcPort 1
DstBlock "Unbuffer"
DstPort 1
}
Line {
SrcBlock "Bit\nTable"
SrcPort 1
DstBlock "Frame Status\nConversion1"
DstPort 1
}
Line {
SrcBlock "Unbuffer"
SrcPort 1
DstBlock "Symbol\nOut"
DstPort 1
}
Line {
SrcBlock "Bit\nIn"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
Points [0, 0]
DstBlock "Gain"
DstPort 1
}
}
}
}
Block {
BlockType Reference
Name "FIR\nDecimation"
Ports [1, 1]
Position [90, 68, 155, 102]
SourceBlock "dspmlti3/FIR\nDecimation"
SourceType "FIR Decimation"
h "[1 0 0 0 0 0]"
D "5"
framing "Maintain input frame size"
}
Block {
BlockType Outport
Name "Data\nOut"
Position [555, 63, 585, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "DeMapper"
SrcPort 1
DstBlock "Data\nOut"
DstPort 1
}
Line {
SrcBlock "Adaptive\nEqualizer"
SrcPort 1
DstBlock "5-Level\nDecision"
DstPort 1
}
Line {
SrcBlock "5-Level\nDecision"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "DeMapper"
DstPort 1
}
Branch {
Points [0, -45; -210, 0; 0, 30]
DstBlock "Adaptive\nEqualizer"
DstPort 1
}
}
Line {
SrcBlock "Signal In"
SrcPort 1
DstBlock "FIR\nDecimation"
DstPort 1
}
Line {
SrcBlock "FIR\nDecimation"
SrcPort 1
DstBlock "Adaptive\nEqualizer"
DstPort 2
}
}
}
Block {
BlockType Scope
Name "Recovered\nTerary\nSymbols"
Ports [1]
Position [610, 134, 640, 166]
Floating off
Location [16, 221, 946, 460]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-006"
YMin "-1"
YMax "1"
SaveToWorkspace off
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -