📄 stage3_3175133_zhang.mdl
字号:
" 88 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: "
"begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black')"
";port_label('input',2,'b');\ncolor('black');port_label('output',1,'(ab)');\nc"
"olor('black');disp('\\newline\\bf{}\\newlinez^{-3}','texmode','on');\nfprintf"
"('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "t1"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Mux"
Ports [3, 1]
Position [470, 106, 515, 224]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Mux"
SourceType "Xilinx Bus Multiplexer Block"
inputs "2"
en off
latency "0"
precision "Full"
arith_type "Unsigned"
n_bits "16"
bin_pt "14"
quantization "Truncate"
overflow "Wrap"
dbl_ovrd off
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 "mux"
block_version "8.2.02"
sg_icon_stat "45,118,3,1,white,blue,3,613f58e1"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 45 45 0 ],[0 16.8571 101.143 118 ],[0.77 0.82 0.91]);\npatch([10 3 14 "
"3 10 22 25 28 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[41 48 59 70 77 77 74 "
"77 77 67 77 70 59 48 41 51 41 41 44 41 41 ],[0.98 0.96 0.92]);\nplot([0 45 45"
" 0 0 ],[0 16.8571 101.143 118 0 ]);\nfprintf('','COMMENT: end icon graphics')"
";\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label('input'"
",1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black');port_l"
"abel('input',3,'d1');\ncolor('black');disp('\\bf{}','texmode','on');\nfprintf"
"('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "x_next"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Power1"
Ports [3, 2]
Position [690, 296, 740, 384]
SourceBlock "Stage3_Library/Power"
SourceType "SubSystem"
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"
Port {
PortNumber 1
Name "t2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "t2_valid"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register"
Ports [2, 1]
Position [230, 138, 275, 207]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst off
en on
dbl_ovrd off
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 "register"
block_version "8.2.02"
sg_icon_stat "45,69,2,1,white,blue,0,cc3303a0"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 45 45 0 ],[0 0 69 69 ],[0.77 0.82 0.91]);\npatch([10 3 14 3 10 22 25 2"
"8 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[17 24 35 46 53 53 50 53 53 43 53 "
"46 35 24 17 27 17 17 20 17 17 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 69"
" 69 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: "
"begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black')"
";port_label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncol"
"or('black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end ic"
"on text');\n"
Port {
PortNumber 1
Name "A"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register1"
Ports [2, 1]
Position [555, 146, 600, 219]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst off
en on
dbl_ovrd off
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 "register"
block_version "8.2.02"
sg_icon_stat "45,73,2,1,white,blue,0,cc3303a0"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 45 45 0 ],[0 0 73 73 ],[0.77 0.82 0.91]);\npatch([10 3 14 3 10 22 25 2"
"8 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[19 26 37 48 55 55 52 55 55 45 55 "
"48 37 26 19 29 19 19 22 19 19 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 73"
" 73 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: "
"begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black')"
";port_label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncol"
"or('black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end ic"
"on text');\n"
Port {
PortNumber 1
Name "x"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register2"
Ports [2, 1]
Position [1370, 332, 1415, 403]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst off
en on
dbl_ovrd off
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 "register"
block_version "8.2.02"
sg_icon_stat "45,71,2,1,white,blue,0,cc3303a0"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 45 45 0 ],[0 0 71 71 ],[0.77 0.82 0.91]);\npatch([10 3 14 3 10 22 25 2"
"8 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[18 25 36 47 54 54 51 54 54 44 54 "
"47 36 25 18 28 18 18 21 18 18 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 71"
" 71 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: "
"begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black')"
";port_label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncol"
"or('black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end ic"
"on text');\n"
}
Block {
BlockType Reference
Name "Register6"
Ports [2, 1]
Position [240, 284, 285, 351]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst off
en on
dbl_ovrd off
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 "register"
block_version "8.2.02"
sg_icon_stat "45,67,2,1,white,blue,0,cc3303a0"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 45 45 0 ],[0 0 67 67 ],[0.77 0.82 0.91]);\npatch([10 3 14 3 10 22 25 2"
"8 41 31 21 14 25 14 21 31 41 28 25 22 10 ],[16 23 34 45 52 52 49 52 52 42 52 "
"45 34 23 16 26 16 16 19 16 16 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 67"
" 67 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: "
"begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black')"
";port_label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncol"
"or('black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end ic"
"on text');\n"
Port {
PortNumber 1
Name "n"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Relational"
Ports [3, 1]
Position [1280, 143, 1330, 227]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Relational"
SourceType "Xilinx Arithmetic Relational Operator Block"
mode "a<=b"
en on
latency "1"
dbl_ovrd off
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
has_advanced_control "0"
sggui_pos "171,182,412,187"
block_type "relational"
block_version "8.2.02"
sg_icon_stat "50,84,3,1,white,blue,0,0351ee13"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 50 50 0 ],[0 0 84 84 ],[0.77 0.82 0.91]);\npatch([11 3 15 3 11 24 28 3"
"2 46 35 24 16 28 16 24 35 46 32 28 24 11 ],[22 30 42 54 62 62 58 62 62 51 62 "
"54 42 30 22 33 22 22 26 22 22 ],[0.98 0.96 0.92]);\nplot([0 0 50 50 0 ],[0 84"
" 84 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: "
"begin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black')"
";port_label('input',2,'b');\ncolor('black');port_label('input',3,'en');\ncolo"
"r('black');disp('\\newline\\bf{a<=b}\\newlinez^{-1}','texmode','on');\nfprint"
"f('','COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "Resource Estimator"
Tag "resEstTag"
Ports []
Position [151, 43, 204, 96]
ShowName off
AttributesFormatString "Resource\\nEstimator"
SourceBlock "xbsIndex_r4/Resource Estimator"
SourceType "Xilinx Resource Estimator Block"
Slices "29"
FFs "43"
BRAMs "0"
LUTs "20"
IOBs "18"
EBMs "0"
TBUFs "0"
xl_use_estimator_area off
est_options "Estimate"
xl_estimator_area "[45 64 0 40 50 1 0]"
has_advanced_control "0"
sggui_pos "-1,-1,-1,-1"
block_type "resource_estimator"
block_version "8.2.02"
sg_icon_stat "53,53,-1,-1,blue,white,0,07734"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 53 53 0 ],[0 0 53 53 ],[0.98 0.96 0.92]);\npatch([13 4 16 4 13 27 31 3"
"5 50 38 27 19 31 19 27 38 50 35 31 27 13 ],[6 15 27 39 48 48 44 48 48 36 47 3"
"9 27 15 7 18 6 6 10 6 6 ],[0.77 0.82 0.91]);\nplot([0 0 53 53 0 ],[0 53 53 0 "
"0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin "
"icon text');\nfprintf('','COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "Shift"
Ports [1, 1]
Position [335, 145, 380, 205]
NamePlacement "alternate"
SourceBlock "xbsIndex_r4/Shift"
SourceType "Xilinx Binary Shift Operator Block"
infoedit "Hardware notes: In hardware this block costs no"
"thing if full output precision is used."
shift_dir "Right"
shift_bits "1"
en off
latency "0"
precision "User Defined"
arith_type "Unsigned"
n_bits "W"
bin_pt "0"
quantization "Truncate"
overflow "Wrap"
dbl_ovrd off
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
has_advanced_control "0"
sggui_pos "336,195,412,385"
block_type "shift"
block_version "8.2.02"
sg_icon_stat "45,60,1,1,white,blue,0,ab12bc43"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');\npa"
"tch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30 34 3"
"8 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37 49 4"
"0 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 0 60 60 0 ],[0 56 56 0 "
"0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begin "
"icon text');\ncolor('black');disp('\\newline\\bf{X << 2}\\newlinez^{-0}','tex"
"mode','on');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "A/2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Terminator
Name "Terminator1"
Position [1510, 360, 1530, 380]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -