📄 现代dspsopc开发系列软件安装说明.txt
字号:
Using Simulink
Creating a Library Link
To create a link to a library block in a model, copy the block from the library to the model (see Copying and Moving Blocks from One Window to Another) or by dragging the block from the Library Browser (see Browsing Block Libraries) into the model window.
When you drag a library block into a model or another library, Simulink creates a copy of the library block, called the reference block, in the model or the other library. You can change the values of the reference block's parameters but you cannot mask the block or, if it is masked, edit the mask. Also, you cannot set callback parameters for a reference block. If the link is to a subsystem, you can make nonstructural changes to the contents of the reference subsystem (see Modifying a Linked Subsystem).
The library and reference blocks are linked by name; that is, the reference block is linked to the specific block and library whose names are in effect at the time the copy is made.
If Simulink is unable to find either the library block or the source library on your MATLAB path when it attempts to update the reference block, the link becomes unresolved. Simulink issues an error message and displays these blocks using red dashed lines. The error message is
Failed to find block "source-block-name"
in library "source-library-name"
referenced by block
"reference-block-path".
The unresolved reference block is displayed like this (colored red).
To fix a bad link, you must do one of the following:
Delete the unlinked reference block and copy the library block back into your model.
Add the directory that contains the required library to the MATLAB path and select Update Diagram from the Edit menu.
Double-click the reference block. On the dialog box that appears, correct the pathname and click Apply or Close.
Disabling Library Links
Simulink allows you to disable linked blocks in a model. Simulink ignores disabled links when simulating a model. To disable a link, select the link, choose Link options from the model window's Edit or context menu, then choose Disable link. To restore a disabled link, choose Restore link from the Link Options menu
1)点击dspbuilder v6.0.exe,安装路径随便,比如我的(C:\altera\DSPBuilder);
(2)安装完毕后,打开MATLAB,,,在current Directory里改为(C:\altera\DSPBuilder\Altlib)
(3)设置环境变量,打开:右击我的电脑-->属性-->高级-->环境变量-->新建变量名::LM_******_FILE;变量值是dsp builder的******.dat的安装路径,,比如我的:C:\altera\DSPBuilder\******.dat.注意,******.dat文件随便放在那个文件夹下都可以,
******.dat 文件用记事本方式打开,修改里面的HOSTID为你自己的网卡号,12位的网卡号,网卡号可以在:本地连接-->支持-->详细信息-->实际地址 里看到12位就是.
(4)在MATLAB命令窗口输入setup_dspbuilder;
这样就安装完成,,如果安装成功的话刚最后会提示如下;
DSP Builder Version 6.0 setup completed.
如果没有安装IP核,可安装IP核,,然后重复第四步,IP核的安装路径也是随便放在一个文件下都可以
该软件是altera公司的hdl开发工具,配合matlab的simulink工具箱使用,能够快速将模型转化成hdl语言。
安装过程如下:安装完成后可能出现simulink目录下没有出现dsp builder目录的情况,这是由于matlab版本不同造成的。请手动修改x:\matlab7\toolbox\ccslink\ccslink\info.xml文件,按照提示应该eda开发人员都会修改。
注册机是由网上收集而得,本人不负责任何法律责任。请珍惜作者的劳动成果。
setup_dspbuilder
DSP Builder v2.2.0 Setup :
> Updating the file "D:\MATLAB7\toolbox\local\startup.m" :
> The DSP Builder path "D:\MATLAB7\DSPBuilder\AltLib" has been added to the Matlab path
>
> Checking for Altera MegaCore function updates :
> Done.
>
> Checking the DSP Builder license for the SignalCompiler block :
! Unable to check a valid DSP Builder license
! Unable to check a valid DSP Builder license
Error: Can't get license for C4D5_512A
Error: Error opening input file for decryption
Error: Can't get license for C4D5_512A
Error: Error opening input file for decryption
> Evaluating the flexlm system variable LM_LICENSE_FILE=C:\Documents and Settings\wangyanhai\Application Data\mgc\license.dat
> No licenses (C4D5_512A) found\nrun Flexlm diagnostic \n%s\bin\win32\lmutil lmdiag C4D5_512A
> The LM_LICENSE_FILE system variable must point to your license.dat
> file that includes the DSP Builder FEATURE line for
> the DSP Builder SignalCompiler block to operate properly.
>
> DSP Builder v 2.2.0 setup completed.
>>
he element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: d:\matlab7\toolbox\ccslink\ccslink\info.xml
现代DSP/SOPC开发系列软件安装说明
声 明
EDA软件任何形式的商业应用都须向EDA软件商购买正式授权,
否则将承担法律责任!
软件授权文件应该向ALTERA、SYNPLICITY、MATHWORKS、Mentor Graphics等公司申请购买!!
相关EDA软件详细使用说明请参考
西安电子科技大学出版社出版的
《现代DSP技术》 潘松 黄继业 王国栋
科学出版社:
《EDA技术实用教程》
清华大学出版社
《SOPC技术实用教程》 潘松 黄继业 曾毓
EDA软件安装步骤
(以下软件都必须装在WIN2000中):
一、安装QUARTUSII
本光盘中的软件仅限于教学或研究之用,任何形式的商业应用都须向ALTERA公司购买正式授权,
否则将承担法律责任。软件授权文件应该向ALTERA公司购买或申请(www.altera.com)!!!
安装步骤:
假设光盘驱动器号为 E, 所有软件安装到 D 分区
(1) 运行e:\QuartusII4X \ install.exe,完成安装,
(2)设安装路径和目录为:d:\altera\quartus41 和 d:\altera\qdesigns41
(3) 使用安装此软件的PC机的C盘硬盘号码(如:4FA22EF9,共8位16进制数),
或网卡号向ALTERA公司购买授权文件:license.dat。
(4)将授权文件: license.dat COPY到d:\altera\quartus41目录。
(5)将文件e:\QuartusII4X \ CODE \ sys_cpt.dll
覆盖安装目录下d:\altera\quartus41 \bin中的sys_cpt.dll
(6)打开(启动)已安装好的 QUARTUSII。
(7)选择菜单“Tools”,在License栏中选择文件d:\altera\quartus41 \ license.dat
(8) 点击“OK”,关闭此栏
(9) 关闭QUARTUSII,再打开即可。
注意,当初次进入QuartusII,而尚未设置license时,会出现图1窗口,清选择:
Specify valid license file项
图1 选择Specify valid license file项
三、安装MATLAB
(1)运行e:\MATLAB \ setup.exe,完成安装,
输入以下作为pcl
SN: 13-22955-32678-26249-06848-40366-39620-03472-09765-20949-30945-19673-43738-38950-44548
四、安装DSP BUILDER
(1)运行e:\QuartusII4X \DSPBuilder213 \ dspbuilder-v2.1.3.exe,完成安装,
(2)设置授权文件放置目录,例如设:d : \FLEX,
(3) 使用安装此软件的PC机的C盘硬盘号码,或网卡号向ALTERA公司购买授权文件:license.dat。
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -