📄 hbaset2.mdl
字号:
DstBlock "Bit to Integer\nConverter"
DstPort 1
}
Line {
SrcBlock "T6Table1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Bit to Integer\nConverter"
SrcPort 1
DstBlock "T6Table1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "In2"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "Symbol\nOut"
Position [390, 53, 420, 67]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Bit\nIn"
SrcPort 1
DstBlock "Buffer"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "LookUp\nTable"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "LookUp\nTable"
DstPort 2
}
Line {
SrcBlock "Buffer"
SrcPort 1
DstBlock "Frame Status\nConversion"
DstPort 1
}
Line {
SrcBlock "Frame Status\nConversion"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "LookUp\nTable"
SrcPort 1
DstBlock "Symbol\nOut"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Random\nSign"
Ports [0, 1]
Position [135, 133, 215, 177]
SourceBlock "commsource2/Binary Vector\nNoise Generator"
SourceType "Binary Vector Noise Generator"
n "1"
prob "0.5"
seed "12345"
Ts "1/25e6"
frameBased "off"
sampPerFrame "1"
orient "off"
}
Block {
BlockType Switch
Name "Switch"
Position [285, 55, 315, 85]
Threshold "0.5"
}
Block {
BlockType DiscreteFilter
Name "Transmit\nFilter"
Position [445, 52, 505, 88]
Numerator "[0.36 0.8 1 0.75 0.26]"
Denominator "[1]"
SampleTime "1/1e8"
Realization "auto"
}
Block {
BlockType Outport
Name "Signal\nOut"
Position [645, 63, 675, 77]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Anti-aliasing\nFilter"
SrcPort 1
DstBlock "Signal\nOut"
DstPort 1
}
Line {
SrcBlock "Transmit\nFilter"
SrcPort 1
DstBlock "Anti-aliasing\nFilter"
DstPort 1
}
Line {
SrcBlock "Data\nIn"
SrcPort 1
DstBlock "Mapper"
DstPort 1
}
Line {
SrcBlock "Mapper"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Switch"
DstPort 1
}
Branch {
DstBlock "Gain"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [0, -10]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Random\nSign"
SrcPort 1
Points [45, 0; 0, -85]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "FIR\nInterpolation"
DstPort 1
}
Line {
SrcBlock "FIR\nInterpolation"
SrcPort 1
DstBlock "Transmit\nFilter"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Information\nSequence"
Ports [0, 1]
Position [35, 113, 115, 157]
SourceBlock "commsource2/Binary Vector\nNoise Generator"
SourceType "Binary Vector Noise Generator"
n "1"
prob "0.5"
seed "12345"
Ts "1/50e6"
frameBased off
sampPerFrame "1"
orient off
}
Block {
BlockType Scope
Name "Received\nSignal"
Ports [1]
Position [480, 19, 510, 51]
Floating off
Location [45, 515, 978, 754]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "on"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-006"
YMin "-7.5"
YMax "7.5"
SaveToWorkspace off
SaveName "ScopeData4"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Receiver"
Ports [1, 1]
Position [480, 120, 565, 180]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Receiver"
Location [215, 213, 830, 360]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Signal In"
Position [30, 78, 60, 92]
Port "1"
Interpolate on
}
Block {
BlockType Quantizer
Name "5-Level\nDecision"
Position [315, 55, 345, 85]
QuantizationInterval "1"
LinearizeAsGain on
}
Block {
BlockType SubSystem
Name "Adaptive\nEqualizer"
Ports [2, 1]
Position [190, 39, 275, 101]
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Adaptive\nEqualizer"
Location [164, 252, 856, 624]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Decision"
Position [35, 193, 65, 207]
Port "1"
Interpolate on
}
Block {
BlockType Inport
Name "Signal"
Position [35, 88, 65, 102]
Port "2"
Interpolate on
}
Block {
BlockType DiscretePulseGenerator
Name "Coefficient\nClock"
Position [35, 305, 65, 335]
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1/50e6"
VectorParams1D on
}
Block {
BlockType Scope
Name "Error"
Ports [1]
Position [295, 39, 325, 71]
Floating off
Location [24, 373, 967, 612]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "1e-007"
YMin "-0.1"
YMax "0.07"
SaveToWorkspace off
SaveName "ScopeData8"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "500000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "FIR\nDecimation"
Ports [1, 1]
Position [390, 83, 455, 117]
NamePlacement "alternate"
SourceBlock "dspmlti3/FIR\nDecimation"
SourceType "FIR Decimation"
h "[1 0]"
D "2"
framing "Maintain input frame size"
}
Block {
BlockType Reference
Name "FIR\nDecimation1"
Ports [1, 1]
Position [400, 218, 465, 252]
NamePlacement "alternate"
SourceBlock "dspmlti3/FIR\nDecimation"
SourceType "FIR Decimation"
h "[1 0]"
D "2"
framing "Maintain input frame size"
}
Block {
BlockType Reference
Name "Feedback\nFilter"
Ports [3, 2]
Position [210, 221, 295, 279]
SourceBlock "dspadpt3/LMS\nAdaptive Filter"
SourceType "LMS Adaptive Filter"
n "16"
mu "0.5"
ic "[0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0.1 0.2]"
"'"
leakage "1.0"
normalized on
Adapt on
}
Block {
BlockType Reference
Name "Feedforward\nFilter"
Ports [3, 2]
Position [160, 86, 245, 144]
LinkData {
BlockName "LMS\nCoefficient Update/Normalization"
"/Normalization"
DialogParameters {
Inputs "1"
NormType "Squared 2-norm"
Bias "1e-10"
}
}
SourceBlock "dspadpt3/LMS\nAdaptive Filter"
SourceType "LMS Adaptive Filter"
n "8"
mu "0.7"
ic "[0 0 -0.2 0 0.4 0.3 -0.2 0]'"
leakage "1"
normalized on
Adapt on
}
Block {
BlockType Gain
Name "Gain"
Position [95, 165, 125, 195]
Orientation "down"
NamePlacement "alternate"
Gain "-1"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Reference
Name "Integer Delay1"
Ports [1, 1]
Position [135, 212, 180, 248]
SourceBlock "dspsigops/Integer Delay"
SourceType "Integer Delay"
delay "1"
ic "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold1"
Ports [1, 1, 0, 1]
Position [330, 135, 380, 175]
NamePlacement "alternate"
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Rising edge"
initCond "0"
}
Block {
BlockType Reference
Name "Sample\nand Hold2"
Ports [1, 1, 0, 1]
Position [330, 265, 380, 305]
NamePlacement "alternate"
SourceBlock "dspswit2/Sample\nand Hold"
SourceType "Sample and Hold"
trig "Rising edge"
initCond "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [490, 269, 520, 301]
Floating off
Location [137, 303, 565, 496]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "2e-008"
YMin "-0.15"
YMax "0.25"
SaveToWorkspace off
SaveName "ScopeData7"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "ScopeDT17"
Ports [1]
Position [490, 139, 520, 171]
Floating off
Location [134, 554, 562, 747]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "2e-008"
YMin "-0.5"
YMax "0.5"
SaveToWorkspace off
SaveName "ScopeData6"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [560, 95, 580, 115]
ShowName off
IconShape "rectangular"
Inputs "+-"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -