📄 fractional_4.mdl
字号:
Position [90, 25, 120, 55]
FontName "Helvetica"
Gain "sen"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [185, 30, 205, 50]
ShowName off
IconShape "round"
Inputs "|++"
}
Block {
BlockType Outport
Name "F in MHz"
Position [290, 33, 320, 47]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "F"
SrcPort 1
Points [25, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "VCO Cntrl"
SrcPort 1
DstBlock "Gain3"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "F in MHz"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Integer Divide N"
Position [535, 340, 565, 370]
Orientation "left"
Value "10"
}
Block {
BlockType SubSystem
Name "Jitter Measurement "
Ports [3, 3]
Position [650, 269, 805, 341]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Jitter Measurement "
Location [2, 137, 1022, 694]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "DUT"
Position [55, 73, 85, 87]
Port "1"
IconDisplay "Port number"
LatchInput off
Port {
PortNumber 1
Name "dut"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Inport
Name "REF"
Position [50, 168, 80, 182]
Port "2"
IconDisplay "Port number"
LatchInput off
Port {
PortNumber 1
Name "ref"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Inport
Name "Sample_Size"
Position [50, 238, 80, 252]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [2, 1]
Position [325, 115, 395, 195]
ExternalReset "rising"
IgnoreLimit off
Port {
PortNumber 1
Name "start to stop time"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
ShowSigGenPortName on
}
}
Block {
BlockType Terminator
Name "Terminator"
Position [710, 120, 730, 140]
}
Block {
BlockType SubSystem
Name "sampler & process"
Ports [2, 4, 0, 1]
Position [505, 106, 645, 289]
TreatAsAtomicUnit on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "sampler & process"
Location [109, 131, 998, 656]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in"
Position [35, 23, 65, 37]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "sample_size"
Position [30, 148, 60, 162]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType TriggerPort
Name "Trigger"
Ports []
Position [110, 65, 130, 85]
}
Block {
BlockType Abs
Name "Abs"
Position [370, 325, 400, 355]
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Difference"
Ports [1, 1]
Position [285, 322, 345, 358]
SourceBlock "simulink/Discrete/Difference"
SourceType "Difference"
ShowPortLabels on
ICPrevInput "0.0"
OutputDataTypeScalingMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
LockScale off
RndMeth "Floor"
DoSatur off
}
Block {
BlockType Gain
Name "Gain"
Position [315, 15, 345, 45]
Gain "1e12"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [720, 115, 750, 145]
Gain "1e12"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain2"
Position [715, 205, 745, 235]
Gain "1e12"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain3"
Position [720, 295, 750, 325]
Gain "1e12"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Maximum"
Ports [2, 1]
Position [480, 295, 535, 335]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag0"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Running"
reset "Rising edge"
additionalParams off
allowOverrides on
accumMode "Same as product output"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [2, 2]
Position [350, 103, 425, 172]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem1"
Location [411, 578, 798, 749]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 28, 70, 42]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Reset"
Position [25, 73, 55, 87]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Reference
Name "Maximum1"
Ports [2, 1]
Position [150, 90, 205, 130]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag1"
SourceBlock "dspstat3/Maximum"
SourceType "Maximum"
fcn "Running"
reset "Non-zero sample"
additionalParams off
allowOverrides on
accumMode "Same as product output"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType Reference
Name "Minimum"
Ports [2, 1]
Position [150, 25, 205, 65]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag2"
SourceBlock "dspstat3/Minimum"
SourceType "Minimum"
fcn "Running"
reset "Non-zero sample"
additionalParams off
allowOverrides on
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [225, 93, 260, 127]
SampleTime "-1"
}
Block {
BlockType UnitDelay
Name "Unit Delay1"
Position [225, 28, 260, 62]
SampleTime "-1"
}
Block {
BlockType Outport
Name "Min"
Position [285, 38, 315, 52]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "Max"
Position [285, 103, 315, 117]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Maximum1"
SrcPort 1
DstBlock "Unit Delay"
DstPort 1
}
Line {
SrcBlock "Minimum"
SrcPort 1
DstBlock "Unit Delay1"
DstPort 1
}
Line {
SrcBlock "Reset"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [0, -25]
DstBlock "Minimum"
DstPort 2
}
Branch {
Points [0, 40]
DstBlock "Maximum1"
DstPort 2
}
}
Line {
SrcBlock "In1"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Minimum"
DstPort 1
}
Branch {
Points [0, 65]
DstBlock "Maximum1"
DstPort 1
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "Max"
DstPort 1
}
Line {
SrcBlock "Unit Delay1"
SrcPort 1
DstBlock "Min"
DstPort 1
}
}
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [305, 258, 340, 292]
SampleTime "-1"
}
Block {
BlockType Reference
Name "Variance"
Ports [2, 1]
Position [470, 230, 545, 265]
DialogController "dspDDGCreate"
DialogControllerArgs "DataTag3"
SourceBlock "dspstat3/Variance"
SourceType "Variance"
run on
reset_popup "Rising edge"
additionalParams off
allowOverrides on
outputMode "Same as accumulator"
outputWordLength "32"
outputFracLength "30"
accumMode "Same as input"
accumWordLength "32"
accumFracLength "30"
prodOutputMode "Same as input"
prodOutputWordLength "32"
prodOutputFracLength "30"
roundingMode "Floor"
overflowMode off
LockScale off
}
Block {
BlockType SubSystem
Name "reset control"
Ports [1, 1]
Position [135, 131, 205, 179]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "reset control"
Location [377, 478, 801, 657]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "count"
Position [25, 88, 55, 102]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Constant
Name "Constant2"
Position [25, 35, 45, 55]
ShowName off
}
Block {
BlockType Fcn
Name "Fcn4"
Position [290, 42, 340, 68]
ShowName off
Expr "u<1"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
Position [225, 39, 250, 66]
ShowName off
Operator "mod"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -