📄 mri.mdl
字号:
"34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37 "
"49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 56"
" 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\ncolor('black');disp('\\newline{\\fontsize{14pt}\\bf\\downar"
"row}16\\newlinez^{-1}','texmode','on');\nfprintf('','COMMENT: end icon text')"
";\n"
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace"
Position [20, 73, 85, 97]
VariableName "input_signal{1}"
SampleTime "1"
ZeroCross on
OutputAfterFinalValue "Setting to zero"
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace1"
Position [20, 308, 85, 332]
VariableName "input_signal{2}"
SampleTime "1"
ZeroCross on
OutputAfterFinalValue "Setting to zero"
}
Block {
BlockType Scope
Name "Input_scope"
Ports [1]
Position [265, 40, 285, 60]
Floating off
Location [188, 365, 512, 604]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "16385"
YMin "-1"
YMax "1"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Scope
Name "Mixer_scope"
Ports [1]
Position [370, 30, 390, 50]
Floating off
Location [188, 365, 512, 604]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "16385"
YMin "-1"
YMax "1"
DataFormat "Array"
LimitDataPoints off
}
Block {
BlockType Reference
Name "Simulation Multiplexer"
Ports [2, 1]
Position [250, 432, 295, 483]
SourceBlock "xbsIndex_r4/Simulation Multiplexer"
SourceType "Xilinx Simulation Multiplexer Block"
infoedit "Distinguish input subsystems as \"simulatio"
"n only\" and \"generation only\". The input specified For Simulation will be"
" used during Simulink simulation. The input specified For Generation will be"
" used during code generation. This block will typically be used on the outpu"
"t of a HW Co-Simulation, Black Box, or ModelSim subsystem.<P><P>Hardware Note"
"s: This block costs nothing."
sim_sel "1"
hw_sel "2"
has_advanced_control "0"
sggui_pos "-1,-1,-1,-1"
block_type "simmux"
block_version "10.1.1"
sg_icon_stat "45,51,2,1,white,blue,0,c4f98ccb,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 45 45 0 ],[0 0 51 51 ],[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 ],[8 15 26 37 44 44 41 44 44 34 "
"44 37 26 15 8 18 8 8 11 8 8 ],[0.98 0.96 0.92]);\nplot([0 45 45 0 0 ],[0 0 51"
" 51 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\n\nfprintf('','COMMENT: end icon text');\ncolor('red');\nplo"
"t(swLineX,simSwLineY);\ncolor('black');\nplot(swLineX,hwSwLineY);\n"
}
Block {
BlockType Step
Name "Step"
Position [45, 425, 65, 445]
Time "17"
Before "1"
After "0"
SampleTime "0"
VectorParams1D off
}
Block {
BlockType Reference
Name "TDM_counter"
Ports [1, 1]
Position [350, 470, 410, 530]
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 "Inf"
operation "Up"
start_count "31"
cnt_by_val "1"
arith_type "Unsigned"
n_bits "5"
bin_pt "0"
load_pin off
rst on
en off
explicit_period "on"
period "1"
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 "-1,-1,-1,-1"
block_type "counter"
block_version "10.1.1"
sg_icon_stat "60,60,1,1,white,blue,0,300e9576,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 60 60 0 ],[0 0 60 60 ],[0.77 0.82 0.91]);\npatch([14 4 18 4 14 30 "
"34 38 55 42 29 20 35 20 29 42 55 38 34 30 14 ],[6 16 30 44 54 54 50 54 54 41 "
"54 45 30 15 6 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 60"
" 60 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\ncolor('black');port_label('input',1,'rst');\ncolor('black')"
";port_label('output',1,'out');\nfprintf('','COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "TDM_mux"
Ports [3, 1]
Position [650, 358, 695, 462]
SourceBlock "xbsIndex_r4/Mux"
SourceType "Xilinx Bus Multiplexer Block"
inputs "2"
en off
latency "2"
precision "Full"
arith_type "Unsigned"
n_bits "1"
bin_pt "14"
quantization "Truncate"
overflow "Flag as error"
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 "10.1.1"
sg_icon_stat "45,104,3,1,white,blue,3,b27e1f20,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 45 45 0 ],[0 14.8571 89.1429 104 ],[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 ],[34 41 52 63 70 70"
" 67 70 70 60 70 63 52 41 34 44 34 34 37 34 34 ],[0.98 0.96 0.92]);\nplot([0 4"
"5 45 0 0 ],[0 14.8571 89.1429 104 0 ]);\nfprintf('','COMMENT: end icon graphi"
"cs');\nfprintf('','COMMENT: begin icon text');\ncolor('black');port_label('in"
"put',1,'sel');\ncolor('black');port_label('input',2,'d0');\ncolor('black');po"
"rt_label('input',3,'d1');\ncolor('black');disp('\\bf{ z^{-2}}','texmode','on"
"');\nfprintf('','COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "TDM_select_scale"
Ports [1, 1]
Position [460, 467, 520, 523]
SourceBlock "xbsIndex_r4/Shift"
SourceType "Xilinx Binary Shift Operator Block"
infoedit "Hardware notes: In hardware this block cost"
"s nothing if full output precision is used."
shift_dir "Right"
shift_bits "4"
en off
latency "0"
precision "User Defined"
arith_type "Unsigned"
n_bits "1"
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 "-1,-1,-1,-1"
block_type "shift"
block_version "10.1.1"
sg_icon_stat "60,56,1,1,white,blue,0,f92fc2d2,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 60 60 0 ],[0 0 56 56 ],[0.77 0.82 0.91]);\npatch([15 6 19 6 15 30 "
"34 38 54 41 29 20 32 20 29 41 54 38 34 30 15 ],[6 15 28 41 50 50 46 50 50 37 "
"49 40 28 16 7 19 6 6 10 6 6 ],[0.98 0.96 0.92]);\nplot([0 60 60 0 0 ],[0 0 56"
" 56 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: be"
"gin icon text');\ncolor('black');disp('\\newline\\bf{X >> 4}\\newlinez^{-0}',"
"'texmode','on');\nfprintf('','COMMENT: end icon text');\n"
}
Block {
BlockType Terminator
Name "Terminator"
Position [480, 245, 500, 265]
}
Block {
BlockType Terminator
Name "Terminator1"
Position [480, 405, 500, 425]
}
Block {
BlockType Terminator
Name "Terminator2"
Position [950, 470, 970, 490]
}
Block {
BlockType ToWorkspace
Name "ToWorkspace"
Position [265, 240, 285, 260]
VariableName "dds_cosine"
MaxDataPoints "inf"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "ToWorkspace1"
Position [370, 80, 390, 100]
VariableName "mult_out_hw"
MaxDataPoints "inf"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "ToWorkspace2"
Position [950, 420, 970, 440]
VariableName "mri_model_output"
MaxDataPoints "inf"
SaveFormat "Array"
}
Block {
BlockType ToWorkspace
Name "ToWorkspace3"
Position [950, 520, 970, 540]
VariableName "mri_model_channel"
MaxDataPoints "inf"
SaveFormat "Array"
}
Block {
BlockType Reference
Name "channel_in"
Ports [1, 1]
Position [855, 470, 915, 490]
SourceBlock "xbsIndex_r4/Gateway Out"
SourceType "Xilinx Gateway Out Block"
infoedit "Gateway out block. Converts Xilinx fixed p"
"oint inputs into ouputs of type Simulink integer, double, or fixed point.<P><"
"P>Hardware notes: In hardware these blocks become top level output ports or "
"are discarded, depending on how they are configured."
hdl_port on
timing_constraint "None"
locs_specified off
LOCs "{}"
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 "gatewayout"
block_version "10.1.1"
sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2"
"9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[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 60 60 0 0 ],[0 0 20 2"
"0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi"
"n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por"
"t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','"
"COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "channel_out"
Ports [1, 1]
Position [855, 520, 915, 540]
SourceBlock "xbsIndex_r4/Gateway Out"
SourceType "Xilinx Gateway Out Block"
infoedit "Gateway out block. Converts Xilinx fixed p"
"oint inputs into ouputs of type Simulink integer, double, or fixed point.<P><"
"P>Hardware notes: In hardware these blocks become top level output ports or "
"are discarded, depending on how they are configured."
hdl_port on
timing_constraint "None"
locs_specified off
LOCs "{}"
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 "gatewayout"
block_version "10.1.1"
sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2"
"9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[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 60 60 0 0 ],[0 0 20 2"
"0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi"
"n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por"
"t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','"
"COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "data"
Ports [1, 1]
Position [855, 420, 915, 440]
SourceBlock "xbsIndex_r4/Gateway Out"
SourceType "Xilinx Gateway Out Block"
infoedit "Gateway out block. Converts Xilinx fixed p"
"oint inputs into ouputs of type Simulink integer, double, or fixed point.<P><"
"P>Hardware notes: In hardware these blocks become top level output ports or "
"are discarded, depending on how they are configured."
hdl_port on
timing_constraint "None"
locs_specified off
LOCs "{}"
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 "gatewayout"
block_version "10.1.1"
sg_icon_stat "60,20,1,1,white,yellow,0,38220381,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 60 60 0 ],[0 0 20 20 ],[0.95 0.93 0.65]);\npatch([24 21 26 21 24 2"
"9 30 31 37 33 29 26 31 26 29 33 37 31 30 29 24 ],[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 60 60 0 0 ],[0 0 20 2"
"0 0 ]);\nfprintf('','COMMENT: end icon graphics');\nfprintf('','COMMENT: begi"
"n icon text');\ncolor('black');port_label('input',1,' ');\ncolor('black');por"
"t_label('output',1,'\\fontsize{11pt}\\bf Out ','texmode','on');\nfprintf('','"
"COMMENT: end icon text');\n"
}
Block {
BlockType Reference
Name "dds_mult_1"
Ports [2, 1]
Position [245, 85, 300, 140]
SourceBlock "xbsIndex_r4/Mult"
SourceType "Xilinx Multiplier Block"
infoedit "Hardware notes: To use the internal pipelin"
"e stage of the dedicated multiplier you must select 'Pipeline for maximum per"
"formance'."
precision "User Defined"
arith_type "Signed (2's comp)"
n_bits "17"
bin_pt "16"
quantization "Truncate"
overflow "Wrap"
en off
latency "3"
dbl_ovrd off
use_behavioral_HDL off
use_embedded on
opt "Speed"
optimum_pipeline on
xl_use_area off
xl_area "[0,0,0,0,0,0,0]"
pipeline "on"
use_rpm "on"
placement_style "Triangular"
has_advanced_control "0"
sggui_pos "-1,-1,-1,-1"
block_type "mult"
block_version "10.1.1"
sg_icon_stat "55,55,1,1,white,blue,0,9c0d74db,right"
sg_mask_display "fprintf('','COMMENT: begin icon graphics');"
"\npatch([0 55 55 0 ],[0 0 55 55 ],[0.77 0.82 0.91]);\npatch([13 4 17 4 13 28 "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -