📄 stage3_library.mdl
字号:
Library {
Name "Stage3_Library"
Version 6.4
MdlSubVersion 0
SavedCharacterEncoding "windows-1252"
LibraryType "BlockLibrary"
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ShowTestPointIcons on
ShowViewerIcons on
SortedOrder off
ExecutionContextIcon off
ShowLinearizationAnnotations on
ScopeRefreshTime 0.035000
OverrideScopeRefreshTime on
DisableAllScopes off
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Fri Feb 02 11:19:14 2007"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "sphung"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Wed Apr 23 18:58:31 2008"
ModelVersionFormat "1.%<AutoIncrement:61>"
ConfigurationManager "None"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeReport off
CovReportOnPause on
ExtModeBatchMode off
ExtModeEnableFloating on
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigDurationFloating "auto"
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
ProdHWDeviceType "32-bit Generic"
ShowModelReferenceBlockVersion off
ShowModelReferenceBlockIO off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Reference
}
Block {
BlockType "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "Stage3_Library"
Location [708, 262, 1109, 552]
Open on
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"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Divide"
Ports [3, 3]
Position [70, 27, 130, 103]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Divide"
Location [92, 74, 1117, 817]
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 Inport
Name "N"
Position [15, 428, 45, 442]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "D"
Position [20, 483, 50, 497]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "start"
Position [20, 548, 50, 562]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "AddSub"
Ports [2, 1]
Position [465, 104, 525, 151]
SourceBlock "xbsIndex_r4/AddSub"
SourceType "Xilinx Adder/Subtractor Block"
mode "Subtraction"
use_carryin off
use_carryout off
en off
latency "0"
precision "Full"
arith_type "Signed (2's comp)"
n_bits "16"
bin_pt "14"
quantization "Truncate"
overflow "Wrap"
dbl_ovrd off
use_behavioral_HDL off
pipelined off
use_rpm on
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
has_advanced_control "0"
sggui_pos "-1,-1,-1,-1"
block_type "addsub"
block_version "8.2.02"
sg_icon_stat "60,47,2,1,white,blue,0,f28631c4"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 60 60 0 ],[0 0 47 47 ],[0.77 0.82 0.91]);\npatch([18 10 21 10 18 3"
"0 33 36 49 38 28 21 32 21 28 38 49 36 33 30 18 ],[5 13 24 35 43 43 40 43 43 3"
"2 42 35 24 13 6 16 5 5 8 5 5 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],[0 47 "
"47 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: b"
"egin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');"
"port_label('input',2,'b');\ncolor('black');port_label('output',1,'\\bf{a - b}"
"','texmode','on');\nfprintf('','COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "Concat"
Ports [2, 1]
Position [635, 164, 665, 226]
SourceBlock "xbsIndex_r4/Concat"
SourceType "Xilinx Bus Concatenator Block"
infoedit "Concatenates two or more inputs. Output wi"
"ll be cast to an unsigned value with the binary point at zero."
num_inputs "2"
dbl_ovrd off
has_advanced_control "0"
sggui_pos "-1,-1,-1,-1"
block_type "concat"
block_version "8.2.02"
sg_icon_stat "30,62,2,1,white,blue,0,59d62d82"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 30 30 0 ],[0 0 62 62 ],[0.77 0.82 0.91]);\npatch([7 2 9 2 7 15 17 "
"19 27 20 14 9 15 9 14 20 27 19 17 15 7 ],[19 24 31 38 43 43 41 43 43 36 42 37"
" 31 25 20 26 19 19 21 19 19 ],[0.98 0.96 0.92]);\nplot([0 0 30 30 0 ],[0 62 6"
"2 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\ncolor('black');port_label('input',1,'hi');\ncolor('black');"
"port_label('input',2,'lo');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "Q"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Counter"
Ports [2, 1]
Position [390, 428, 430, 472]
SourceBlock "xbsIndex_r4/Counter"
SourceType "Xilinx Counter Block"
infoedit "Hardware notes: Free running counters are t"
"he least expensive in hardware. A count limited counter is implemented by co"
"mbining a counter with a comparator."
cnt_type "Free Running"
cnt_to "1"
operation "Up"
start_count "0"
cnt_by_val "1"
arith_type "Unsigned"
n_bits "ceil(log2(W))+1"
bin_pt "0"
load_pin off
rst on
en on
explicit_period "off"
period "Ts"
dbl_ovrd off
use_behavioral_HDL off
use_rpm off
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
has_advanced_control "0"
sggui_pos "20,20,356,630"
block_type "counter"
block_version "8.2.02"
sg_icon_stat "40,44,2,1,white,blue,0,eceade92"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 44 44 ],[0.77 0.82 0.91]);\npatch([10 3 12 3 10 21 "
"24 27 38 29 20 14 24 14 20 29 38 27 24 21 10 ],[6 13 22 31 38 38 35 38 38 29 "
"38 32 22 12 6 15 6 6 9 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],[0 44 44"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg"
"in icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('black');"
"port_label('input',2,'en');\ncolor('black');port_label('output',1,'out');\nfp"
"rintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "count"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "D1"
Ports [0, 1]
Position [455, 465, 475, 485]
SourceBlock "xbsIndex_r4/Constant"
SourceType "Xilinx Constant Block Block"
arith_type "Unsigned"
const "W"
n_bits "ceil(log2(W))+1"
bin_pt "0"
explicit_period on
period "Ts"
dsp48_infoedit "The use of this block for DSP48 instruction"
"s is deprecated. Please use the Opmode block."
equ "P=C"
opselect "C"
inp2 "PCIN>>17"
opr "+"
inp1 "P"
carry "CIN"
dbl_ovrd off
has_advanced_control "0"
sggui_pos "-1,-1,-1,-1"
block_type "constant"
block_version "8.2.02"
sg_icon_stat "20,20,0,1,white,blue,0,56172e47"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 20 20 0 ],[0 0 20 20 ],[0.77 0.82 0.91]);\npatch([4 1 6 1 4 9 10 1"
"1 17 13 9 6 11 6 9 13 17 11 10 9 4 ],[2 5 10 15 18 18 17 18 18 14 18 15 10 5 "
"2 6 2 2 3 2 2 ],[0.98 0.96 0.92]);\nplot([0 0 20 20 0 ],[0 20 20 0 0 ]);\nfpr"
"intf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin icon text'"
");\ncolor('black');port_label('output',1,'8');\nfprintf('','COMMENT: end icon"
" text');\n"
}
Block {
BlockType Reference
Name "D2"
Ports [0, 1]
Position [885, 615, 905, 635]
SourceBlock "xbsIndex_r4/Constant"
SourceType "Xilinx Constant Block Block"
arith_type "Unsigned"
const "0"
n_bits "W"
bin_pt "0"
explicit_period on
period "Ts"
dsp48_infoedit "The use of this block for DSP48 instruction"
"s is deprecated. Please use the Opmode block."
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -