📄 9tap_equalizer.mdl
字号:
Name "Bernoulli Binary\nGenerator"
Ports [0, 1]
Position [55, 318, 135, 362]
DialogController "commDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "commrandsrc2/Bernoulli Binary\nGenerator"
SourceType "Bernoulli Binary Generator"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "0.5"
seed "61779"
Ts "1"
frameBased off
sampPerFrame "1"
orient off
outDataType "double"
}
Block {
BlockType Display
Name "Display1"
Ports [1]
Position [1035, 245, 1125, 325]
Decimation "1"
Lockdown off
}
Block {
BlockType Reference
Name "Eye Diagrams"
Tag "EyeDiagram"
Ports [1]
Position [995, 625, 1045, 675]
SourceBlock "commsink2/Discrete-Time\nEye Diagram\nScope"
SourceType "Discrete-Time Eye Diagram Scope"
ShowPortLabels on
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
sampPerSymb "2"
offsetEye "0"
symbPerTrace "2"
numTraces "50"
numNewFrames "8"
LineStyles "-"
LineColors "b"
dupPoints on
fading on
render on
AxisGrid on
yMin "-1.75"
yMax "1.75"
inphaseLabel "Before Equalizer"
quadratureLabel "After Equalizer"
openScopeAtSimStart on
dispDiagram "In-phase and Quadrature"
FrameNumber off
FigPos "[410 489 430 494]"
figTitle "Eye Diagram"
block_type_ "eye"
numLinesMax "8"
}
Block {
BlockType Reference
Name "Frame Status\nConversion8"
Ports [1, 1]
Position [920, 407, 970, 443]
SourceBlock "dspobslib/Frame Status\nConversion"
SourceType "Frame Status Conversion"
ShowPortLabels off
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
growRefPort off
outframe "Frame-based"
}
Block {
BlockType SubSystem
Name "LMS EQUALIZER"
Ports [2, 3]
Position [640, 242, 730, 358]
NamePlacement "alternate"
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "LMS EQUALIZER"
Location [2, 82, 1014, 721]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "61"
Block {
BlockType Inport
Name "IN"
Position [205, 28, 235, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "symbol error"
Position [1255, 950, 1285, 960]
Orientation "left"
NamePlacement "alternate"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [1235, 50, 1265, 80]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [1235, 90, 1265, 120]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [1235, 130, 1265, 160]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [1195, 25, 1225, 55]
Orientation "left"
Operator "sqrt"
OutputSignalType "real"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [1235, 175, 1265, 205]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [1235, 210, 1265, 240]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " "
Ports [1, 1]
Position [460, 985, 490, 1015]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " 1"
Ports [1, 1]
Position [1235, 250, 1265, 280]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " 2"
Ports [1, 1]
Position [1235, 330, 1265, 360]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " 1"
Ports [1, 1]
Position [1235, 370, 1265, 400]
Operator "magnitude^2"
}
Block {
BlockType Math
Name " 2"
Ports [1, 1]
Position [1235, 290, 1265, 320]
Operator "magnitude^2"
}
Block {
BlockType Reference
Name "Integer Delay"
Ports [1, 1]
Position [785, 894, 815, 926]
Orientation "left"
SourceBlock "dspobslib/Integer Delay"
SourceType "Integer Delay"
delay "8"
ic "0"
reset_popup "None"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward"
Ports [1, 1]
Position [280, 235, 320, 265]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward1"
Ports [1, 1]
Position [365, 230, 405, 260]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward2"
Ports [1, 1]
Position [445, 225, 485, 255]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward3"
Ports [1, 1]
Position [520, 230, 560, 260]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward4"
Ports [1, 1]
Position [610, 230, 650, 260]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "1"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward5"
Ports [1, 1]
Position [695, 230, 735, 260]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward6"
Ports [1, 1]
Position [765, 230, 805, 260]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward7"
Ports [1, 1]
Position [865, 225, 905, 255]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType DiscreteIntegrator
Name "Integrator\nForward8"
Ports [1, 1]
Position [955, 230, 995, 260]
Orientation "down"
NamePlacement "alternate"
IntegratorMethod "Integration: Forward Euler"
gainval ".75"
ExternalReset "none"
InitialConditionSource "internal"
InitialConditionMode "State only (most efficient)"
SampleTime "-1"
OutScaling "2^-10"
IgnoreLimit off
ICPrevOutput "DiscIntNeverNeededParam"
ICPrevScaledInput "DiscIntNeverNeededParam"
}
Block {
BlockType Reference
Name "Mean"
Ports [1, 1]
Position [565, 980, 620, 1020]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspstat3/Mean"
SourceType "Mean"
run on
reset_popup "None"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType MultiPortSwitch
Name "Multiport\nSwitch"
Ports [3, 1]
Position [435, 835, 470, 885]
Orientation "left"
NamePlacement "alternate"
Inputs "2"
InputSameDT off
}
Block {
BlockType Mux
Name "Mux"
Ports [9, 1]
Position [1160, 564, 1215, 666]
ShowName off
Inputs "9"
DisplayOption "signals"
}
Block {
BlockType SubSystem
Name "PN sequence\n[11001]"
Ports [0, 1]
Position [880, 890, 980, 930]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "PN sequence\n[11001]"
Location [-52, 138, 960, 438]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Constant
Name "Constant"
Position [805, 45, 835, 75]
Value "-1"
VectorParams1D on
SamplingMode "Sample based"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "sfix(16)"
ConRadixGroup "Use specified scaling"
OutScaling "2^0"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType DataTypeConversion
Name "Data Type Conversion"
Position [705, 76, 760, 104]
OutDataTypeMode "double"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [2, 1]
Position [310, 72, 340, 103]
Operator "XOR"
AllPortsSameDT off
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
Position [890, 67, 920, 98]
Operator "pow"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -