⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mri_top.m

📁 This is GMS down upper converter and down converter in simulink. you may understand the structure in
💻 M
字号:
% %  $Id: mri_top.m,v 1.1.2.2 2008/06/11 16:11:26 igork Exp $% %  DISCLAIMER OF LIABILITY%  %  This text/file contains proprietary, confidential%  information of Xilinx, Inc., is distributed under license%  from Xilinx, Inc., and may be used, copied and/or%  disclosed only pursuant to the terms of a valid license%  agreement with Xilinx, Inc. Xilinx hereby grants you a %  license to use this text/file solely for design, simulation, %  implementation and creation of design files limited %  to Xilinx devices or technologies. Use with non-Xilinx %  devices or technologies is expressly prohibited and %  immediately terminates your license unless covered by%  a separate agreement.% %  Xilinx is providing this design, code, or information %  "as-is" solely for use in developing programs and %  solutions for Xilinx devices, with no obligation on the %  part of Xilinx to provide support. By providing this design, %  code, or information as one possible implementation of %  this feature, application or standard, Xilinx is making no %  representation that this implementation is free from any %  claims of infringement. You are responsible for %  obtaining any rights you may require for your implementation. %  Xilinx expressly disclaims any warranty whatsoever with %  respect to the adequacy of the implementation, including %  but not limited to any warranties or representations that this%  implementation is free from claims of infringement, implied %  warranties of merchantability or fitness for a particular %  purpose.% %  Xilinx products are not intended for use in life support%  appliances, devices, or systems. Use in such applications is%  expressly prohibited.% %  Any modifications that are made to the Source Code are %  done at the user抯 sole risk and will be unsupported.% % %  Copyright (c) 2008 Xilinx, Inc. All rights reserved.% %  This copyright and support notice must be retained as part %  of this text at all times. %%  Purpose : MRI DDC top level script%%% MRI DDC Model% Run a MATALB filter model in order to build all the required filters% using MATLAB functionsclearmri_modelclose all;%% MRI DDC netlist generation% Create a netlist by running mri_filter_netlist.m script. The output is a% .mdl Sysgen netlistparams = {};block=xBlock('mri_filter_netlist', params)%% Hardware settings% Set all the chip-specific parameters in the top level of the Sysgen% netlsit.blockHandle = block.getHandle;sysgenToken = xlFindMasterAbove(blockHandle);xlsetparam(sysgenToken, 'sysclk_period', sprintf('%d', 1e9/fadc));xlsetparam(sysgenToken, 'xilinxfamily', 'Virtex5');xlsetparam(sysgenToken, 'part', 'xc5vsx35t');xlsetparam(sysgenToken, 'speed', '-1');xlsetparam(sysgenToken, 'package', 'ff665');%% Save the model% Save the model as mri.mdl file. Now it's ready to be simulated either% through GUI or just by running run('mri') command in a script.mdlHandle = bdroot(blockHandle);set_param(mdlHandle, 'StopTime', sprintf('%d', length(sample)*2+step_delay+10));close_system(mdlHandle, 'mri');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -