📄 stage3_library.mdl
字号:
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 "25,56,3,1,white,blue,3,613f58e1"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 25 25 0 ],[0 8 48 56 ],[0.77 0.82 0.91]);\npatch([6 2 8 2 6 13 15 "
"17 24 18 13 9 14 9 13 18 24 17 15 13 6 ],[18 22 28 34 38 38 36 38 38 32 37 33"
" 28 23 19 24 18 18 20 18 18 ],[0.98 0.96 0.92]);\nplot([0 25 25 0 0 ],[0 8 48"
" 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\ncolor('black');port_label('input',1,'sel');\ncolor('black')"
";port_label('input',2,'d0');\ncolor('black');port_label('input',3,'d1');\ncol"
"or('black');disp('\\bf{}','texmode','on');\nfprintf('','COMMENT: end icon tex"
"t');\n"
Port {
PortNumber 1
Name "R"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register1"
Ports [1, 1]
Position [690, 167, 730, 223]
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst off
en off
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 "40,56,1,1,white,blue,0,ac6b57db"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 56 56 ],[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 ],[12 19 28 37 44 44 41 44 44 35"
" 44 38 28 18 12 21 12 12 15 12 12 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],["
"0 56 56 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMME"
"NT: begin icon text');\ncolor('black');port_label('input',1,'d');\ncolor('bla"
"ck');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','texmode"
"','on');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "Q_out"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register2"
Ports [2, 1]
Position [380, 293, 425, 322]
Orientation "left"
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst on
en off
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,29,2,1,white,blue,0,b6caf0d3"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 45 45 0 ],[0 0 29 29 ],[0.77 0.82 0.91]);\npatch([15 10 17 10 15 2"
"3 25 27 35 29 23 18 25 18 23 29 35 27 25 23 15 ],[3 8 15 22 27 27 25 27 27 21"
" 27 22 15 8 3 9 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 29 29 "
"0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi"
"n icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');por"
"t_label('input',2,'rst');\ncolor('black');port_label('output',1,'q');\ncolor("
"'black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon "
"text');\n"
}
Block {
BlockType Reference
Name "Register3"
Ports [2, 1]
Position [785, 458, 825, 487]
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst on
en off
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 "40,29,2,1,white,blue,0,b6caf0d3"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 29 29 ],[0.77 0.82 0.91]);\npatch([12 7 14 7 12 20 "
"22 24 32 26 20 15 22 15 20 26 32 24 22 20 12 ],[3 8 15 22 27 27 25 27 27 21 2"
"7 22 15 8 3 9 3 3 5 3 3 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],[0 29 29 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,'rst');\ncolor('black');port_label('output',1,'q');\ncolor('b"
"lack');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon te"
"xt');\n"
Port {
PortNumber 1
Name "valid"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register4"
Ports [3, 1]
Position [780, 187, 820, 223]
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst on
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 "40,36,3,1,white,blue,0,923c1847"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 36 36 ],[0.77 0.82 0.91]);\npatch([10 4 12 4 10 20 "
"23 26 36 28 20 14 22 14 20 28 36 26 23 20 10 ],[4 10 18 26 32 32 29 32 32 24 "
"32 26 18 10 4 12 4 4 7 4 4 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],[0 36 36"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg"
"in icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');po"
"rt_label('input',2,'rst');\ncolor('black');port_label('input',3,'en');\ncolor"
"('black');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','te"
"xmode','on');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "Q_n"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register5"
Ports [2, 1]
Position [380, 341, 425, 374]
Orientation "left"
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst on
en off
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,33,2,1,white,blue,0,b6caf0d3"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 45 45 0 ],[0 0 33 33 ],[0.77 0.82 0.91]);\npatch([13 8 16 8 13 22 "
"24 26 35 28 21 16 24 16 21 28 35 26 24 22 13 ],[4 9 17 25 30 30 28 30 30 23 3"
"0 25 17 9 4 11 4 4 6 4 4 ],[0.98 0.96 0.92]);\nplot([0 0 45 45 0 ],[0 33 33 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,'rst');\ncolor('black');port_label('output',1,'q');\ncolor('"
"black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon t"
"ext');\n"
Port {
PortNumber 1
Name "X"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register6"
Ports [2, 1]
Position [100, 425, 140, 460]
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 "40,35,2,1,white,blue,0,cc3303a0"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 35 35 ],[0.77 0.82 0.91]);\npatch([11 5 13 5 11 20 "
"23 26 36 28 21 16 24 16 21 28 36 26 23 20 11 ],[4 10 18 26 32 32 29 32 32 24 "
"31 26 18 10 5 12 4 4 7 4 4 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],[0 35 35"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg"
"in icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');po"
"rt_label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncolor("
"'black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon "
"text');\n"
Port {
PortNumber 1
Name "N_lat"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register7"
Ports [2, 1]
Position [100, 480, 140, 515]
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 "40,35,2,1,white,blue,0,cc3303a0"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 35 35 ],[0.77 0.82 0.91]);\npatch([11 5 13 5 11 20 "
"23 26 36 28 21 16 24 16 21 28 36 26 23 20 11 ],[4 10 18 26 32 32 29 32 32 24 "
"31 26 18 10 5 12 4 4 7 4 4 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],[0 35 35"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg"
"in icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');po"
"rt_label('input',2,'en');\ncolor('black');port_label('output',1,'q');\ncolor("
"'black');disp('\\bf{z^{-1}}','texmode','on');\nfprintf('','COMMENT: end icon "
"text');\n"
Port {
PortNumber 1
Name "D_lat"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Register8"
Ports [3, 1]
Position [785, 392, 825, 428]
SourceBlock "xbsIndex_r4/Register"
SourceType "Xilinx Register Block"
init "0"
rst on
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 "40,36,3,1,white,blue,0,923c1847"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 40 40 0 ],[0 0 36 36 ],[0.77 0.82 0.91]);\npatch([10 4 12 4 10 20 "
"23 26 36 28 20 14 22 14 20 28 36 26 23 20 10 ],[4 10 18 26 32 32 29 32 32 24 "
"32 26 18 10 4 12 4 4 7 4 4 ],[0.98 0.96 0.92]);\nplot([0 0 40 40 0 ],[0 36 36"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg"
"in icon text');\ncolor('black');port_label('input',1,'d');\ncolor('black');po"
"rt_label('input',2,'rst');\ncolor('black');port_label('input',3,'en');\ncolor"
"('black');port_label('output',1,'q');\ncolor('black');disp('\\bf{z^{-1}}','te"
"xmode','on');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "R_n"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Relational"
Ports [2, 1]
Position [465, 188, 520, 232]
SourceBlock "xbsIndex_r4/Relational"
SourceType "Xilinx Arithmetic Relational Operator Block"
mode "a>=b"
en off
latency "1"
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 "relational"
block_version "8.2.02"
sg_icon_stat "55,44,2,1,white,blue,0,48ab8ed9"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 55 55 0 ],[0 0 44 44 ],[0.77 0.82 0.91]);\npatch([15 8 18 8 15 27 "
"30 33 45 35 26 19 28 19 26 35 45 33 30 27 15 ],[5 12 22 32 39 39 36 39 39 29 "
"38 31 22 13 6 15 5 5 8 5 5 ],[0.98 0.96 0.92]);\nplot([0 0 55 55 0 ],[0 44 44"
" 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: beg"
"in icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');po"
"rt_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a>=b}\\newlinez^"
"{-1}','texmode','on');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "C"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Relational1"
Ports [2, 1]
Position [485, 435, 535, 490]
SourceBlock "xbsIndex_r4/Relational"
SourceType "Xilinx Arithmetic Relational Operator Block"
mode "a=b"
en off
latency "0"
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 "relational"
block_version "8.2.02"
sg_icon_stat "50,55,2,1,white,blue,0,1b68ef8e"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 50 50 0 ],[0 0 55 55 ],[0.77 0.82 0.91]);\npatch([11 3 15 3 11 24 "
"28 32 46 35 24 16 28 16 24 35 46 32 28 24 11 ],[8 16 28 40 48 48 44 48 48 37 "
"48 40 28 16 8 19 8 8 12 8 8 ],[0.98 0.96 0.92]);\nplot([0 0 50 50 0 ],[0 55 5"
"5 0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\ncolor('black');port_label('input',1,'a');\ncolor('black');p"
"ort_label('input',2,'b');\ncolor('black');disp('\\newline\\bf{a=b}\\newlinez^"
"{-0}','texmode','on');\nfprintf('','COMMENT: end icon text');\n"
Port {
PortNumber 1
Name "done"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Relational3"
Ports [2, 1]
Position [305, 566, 340, 604]
SourceBlock "xbsIndex_r4/Relational"
SourceType "Xilinx Arithmetic Relational Operator Block"
mode "a>b"
en off
latency "1"
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 "relational"
block_version "8.2.02"
sg_icon_stat "35,38,2,1,white,blue,0,c445790c"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 35 35 0 ],[0 0 38 38 ],[0.77 0.82 0.91]);\npatch([8 2 10 2 8 17 20"
" 23 33 25 18 13 21 13 18 25 33 23 20 17 8 ],[5 11 19 27 33 33 30 33 33 25 32 "
"27 19 11 6 13 5 5 8 5 5 ],[0.98 0.96 0.92]);\nplot([0 0 35 35 0 ],[0 38 38 0 "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -