另外一點需要非常注意的是:QUARTUS會在C:\Documents and Settings\<username>\.altera.quartus\ip\9.1\ip_search_path\目錄下保留一個user_components.ipx文件,是以前版本的庫鏈接記錄。最好刪除掉。如果不刪除會導(dǎo)致在IDE中無法創(chuàng)建BSP。提示錯誤信息如下:
Failed to execute: ./create-this-bsp --cpu-name cpu --no-make
SEVERE: nios2-bsp-create-settings failed.
SEVERE: java.lang.RuntimeException: Error in Tcl script D:\altera\72\ip\nios2_ip\altera_nios2\altera_nios2_hal_sw.tcl
nios2-bsp: nios2-bsp-create-settings failed