?? 現代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 + -