📄 pll_d1.mdl
字号:
Name "Enable"
Ports []
Position [70, 40, 90, 60]
}
Block {
BlockType Scope
Name "VCO Out\n(computationally expensive)"
Ports [1]
Position [100, 89, 130, 121]
Floating off
Location [513, 344, 912, 558]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "2e-008"
YMin "-1"
YMax "1"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
MaxDataPoints "500"
SampleTime "0"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "VCO Out\n(computationally expensive)"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Jitter Measurement "
Ports [3, 3]
Position [425, 314, 580, 386]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Jitter Measurement "
Location [2, 137, 1014, 694]
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 "DUT"
Position [55, 73, 85, 87]
IconDisplay "Port number"
Port {
PortNumber 1
Name "dut"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Inport
Name "REF"
Position [50, 168, 80, 182]
Port "2"
IconDisplay "Port number"
Port {
PortNumber 1
Name "ref"
PropagatedSignals "target clock freq= N*ref freq"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Inport
Name "Sample_Size"
Position [50, 238, 80, 252]
Port "3"
IconDisplay "Port number"
}
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"
}
}
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"
FunctionWithSeparateData off
MaskHideContents off
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"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "in"
Position [35, 23, 65, 37]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "sample_size"
Position [30, 148, 60, 162]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType TriggerPort
Name "Trigger"
Ports []
Position [110, 65, 130, 85]
}
Block {
BlockType Abs
Name "Abs"
Position [370, 325, 400, 355]
SaturateOnIntegerOverflow off
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Reference
Name "Difference"
Ports [1, 1]
Position [285, 322, 345, 358]
SourceBlock "simulink/Discrete/Difference"
SourceType "Difference"
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"
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]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Subsystem1"
Location [411, 578, 798, 749]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [40, 28, 70, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Reset"
Position [25, 73, 55, 87]
Port "2"
IconDisplay "Port number"
}
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]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
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"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "count"
Position [25, 88, 55, 102]
IconDisplay "Port number"
}
Block {
BlockType Constant
Name "Constant2"
Position [25, 35, 45, 55]
ShowName off
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 Fcn
Name "Fcn4"
Position [290, 42, 340, 68]
ShowName off
Expr "u<1"
}
Block {
BlockType Math
Name "Math\nFunction"
Ports [2, 1]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -