📄 timing_recovery_2q.mdl
字号:
Ports [2, 1]
Position [485, 109, 565, 176]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Farrow Variable Delay"
Location [65, 502, 571, 805]
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 "Xin"
Position [25, 93, 55, 107]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Mu"
Position [25, 143, 55, 157]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Filter State"
Ports [1, 1]
Position [135, 70, 210, 130]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Filter State"
Location [65, 82, 684, 317]
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 "In1"
Position [20, 163, 50, 177]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Delay"
Ports [1, 1]
Position [125, 150, 180, 190]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay1"
Ports [1, 1]
Position [235, 150, 290, 190]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Reference
Name "Delay2"
Ports [1, 1]
Position [355, 150, 410, 190]
SourceBlock "dspsigops/Delay"
SourceType "Delay"
dly_unit "Samples"
delay "1"
ic_detail off
dif_ic_for_ch off
dif_ic_for_dly off
ic "0"
reset_popup "None"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [485, 48, 490, 132]
ShowName off
DisplayOption "bar"
}
Block {
BlockType Outport
Name "Out1"
Position [525, 83, 555, 97]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Delay2"
SrcPort 1
Points [30, 0; 0, -50]
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Delay1"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Delay2"
DstPort 1
}
Branch {
Points [0, -70]
DstBlock "Mux"
DstPort 3
}
}
Line {
SrcBlock "Delay"
SrcPort 1
Points [-5, 0; 25, 0]
Branch {
Points [0, 0]
DstBlock "Delay1"
DstPort 1
}
Branch {
Points [0, -90]
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "In1"
SrcPort 1
Points [20, 0; 15, 0]
Branch {
Points [0, -110]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Delay"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "MADS"
Ports [2, 1]
Position [270, 74, 360, 176]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "MADS"
Location [164, 172, 889, 404]
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 "In1"
Position [30, 138, 60, 152]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "mu"
Position [30, 33, 60, 47]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [195, 109, 200, 176]
BackgroundColor "black"
ShowName off
}
Block {
BlockType Gain
Name "Filter coefficients"
Position [95, 126, 160, 164]
Gain "[b3;b2;b1;b0] % filter coefficients "
Multiplication "Matrix(K*u)"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "P1"
Ports [2, 1]
Position [295, 74, 320, 101]
CollapseMode "All dimensions"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Product
Name "P2"
Ports [2, 1]
Position [405, 69, 430, 96]
CollapseMode "All dimensions"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Product
Name "P3"
Ports [2, 1]
Position [510, 64, 535, 91]
CollapseMode "All dimensions"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [345, 80, 365, 100]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [450, 75, 470, 95]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [560, 70, 580, 90]
ShowName off
IconShape "round"
Inputs "|++"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Yout"
Position [640, 73, 670, 87]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Yout"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [365, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [255, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "P1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [150, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "P3"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "P2"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [55, 0; 0, -25]
DstBlock "P1"
DstPort 2
}
Line {
SrcBlock "mu"
SrcPort 1
Points [0, 0; 195, 0]
Branch {
Points [0, 40]
DstBlock "P1"
DstPort 1
}
Branch {
Points [125, 0]
Branch {
Points [0, 35]
DstBlock "P2"
DstPort 1
}
Branch {
Points [100, 0; 0, 30]
DstBlock "P3"
DstPort 1
}
}
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Filter coefficients"
DstPort 1
}
Line {
SrcBlock "Filter coefficients"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "P2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "P3"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Annotation {
Name "Filter Coefficients from Chris Dick Xilinx, \nor H. Meyer pp 520 (9-33) Digital Communications Receivers"
Position [157, 201]
}
Annotation {
Name "Horner's Rule"
Position [348, 18]
}
}
}
Block {
BlockType Outport
Name "Yout"
Position [405, 118, 435, 132]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "MADS"
SrcPort 1
DstBlock "Yout"
DstPort 1
}
Line {
SrcBlock "Mu"
SrcPort 1
DstBlock "MADS"
DstPort 2
}
Line {
SrcBlock "Xin"
SrcPort 1
DstBlock "Filter State"
DstPort 1
}
Line {
SrcBlock "Filter State"
SrcPort 1
DstBlock "MADS"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -