Chip123 科技應用創新平台

標題: 問一些altera的相關問題 [打印本頁]

作者: darren6ix    時間: 2009-9-16 12:25 AM
標題: 問一些altera的相關問題
我手中有一塊altera cyclone II的版子0 a" {* Z7 t6 u6 r
我知道使用Xilinx需設定腳位,使用ucf檔
6 t' S  ?1 @# h' F. o但是在使用altera的晶片時  r1 i) G/ M' h$ h4 F4 I. I4 m5 e
看了一些資料. x& [6 R5 s& _" q3 w
很像是在Assignments裡的pins設定腳位, ?; Z; F  {1 _, e- X
但是我設完clock之後
5 G0 i( c& S& p7 L: \卻出現錯誤:
9 ^9 d% m0 e" i# C! q  |9 REditing location assignment is not sucessful.( c9 P5 m! S- h# v' `
Non input node cannot be assigned to input pin.
* h- ^' b9 E8 o4 D6 Z是我設定錯誤,還是腳位不是這樣設的??
$ s! l! s" E2 `; @( D: k有無資料可參考??
2 H( `) x+ W# n# \3 J3 i我找不到有在說明設定腳位的= =
+ l" X* K: q  ^  }6 w+ l                                                                       
1 z2 q4 n, M( Y2 u; F( J另外我想做一個mp3 decoder,而不用版子上的audio codec IC
3 f1 P( Y0 C- w3 [2 d' B4 e, u而是直接寫verilog或VHDL在晶片上
8 ^6 d# E5 C$ Z1 G: ?# J再利用版子的上音效插孔接喇叭出來
: m, e0 c7 o8 E/ S0 l, P5 r/ l這樣子是可以的嗎??' @; B3 a7 q4 R/ i, p7 ^& I$ a, x
但是硬體線路感覺是從cyclone晶片,經過audio codec IC' X* q, k4 L1 w7 g7 ]5 p4 D8 x
再接音效插孔座
8 r. ^  b2 F7 x  r所以不確定這樣可不可行
8 s! _7 P7 L- X. ]  R5 W0 S有人這樣子做過的嗎??4 a6 H" c0 P: Y# ~* n1 q
如果可以的話,pins是用原來FPGA Pin No.就可以了嗎??
2 k7 r  J  d" \4 N+ T我在網路上有找到VHDL source code
) M/ R0 _! s) ]1 p9 ^8 o, p裡面有很多個檔案
# Z0 y* m/ _0 h" F5 O3 S如果我要測試的話
1 K% }7 N: U! I2 v  N4 a1 ]  j3 c要怎麼讓多個.vhd的檔案一起合成啊??
5 }7 n- ^& A( k4 H非常感謝~
作者: ejean    時間: 2009-10-9 05:10 PM
http://www.fpga4fun.com/forum/vi ... 0fdec8d259da2ea79d2$ v& q2 X9 T1 t4 H+ M/ R
! d9 L' Y( `6 y1 L  X7 d
I had to do a couple of things to get it to work 0 W1 i& \" n! X2 a$ d% K& L8 b
1) needed a valid license file 8 N  c( w; s3 Q2 Z" R! t
2) Name of the Verilog HDL should be the same as the module specified in the actual code
8 P3 p6 w: k' ~/ k# Y' T0 m0 e& L3) Compile first (Processing->Start Compilation to get the node list to populate in Pin Panner(in All Pins List)
作者: Kerick    時間: 2009-10-20 09:23 PM
原帖由 darren6ix 於 2009-9-16 12:25 AM 發表
: T. ^5 Z$ G6 s' R+ j我手中有一塊altera cyclone II的版子
1 f+ F9 W7 D+ U$ F1 T* ]我知道使用Xilinx需設定腳位,使用ucf檔
% J: s  w' D5 W0 z但是在使用altera的晶片時( u; y+ Y, T- w$ ^) M4 w
看了一些資料! H% D; v2 d5 D9 F6 T
很像是在Assignments裡的pins設定腳位
# t! w: e& R5 t3 `) e$ m但是我設完clock之後. K. F9 O: E3 r) R
卻出現錯誤:
9 ^* C" t% S( z! `. B% u; BEditing loca ...
* X& I& C" V5 O6 J/ B. q7 }
Cyclone II版子是DE2平台嗎?+ g5 Y- c) ^0 }* H- u! a9 z1 U7 ~
你可以上網Google一下那塊版子 去下載它的Spec.或User Manual 裡面有它FPGA腳位的資料 就會知道該怎麼接
) v7 i& ~; s- ~# c6 w2 q另外可以到Altera官網下載Quartus II和Nios II的Handbook或是看Altera提供的線上教學 就會基本Quartus和Nios II的操作
5 M! s& ~* L4 |2 X! ~1 l/ B) d& e6 W* r
可以
' R  z" F0 P) ]8 j- D: k不行 或許可以使用GPIO外接音源7 f1 [, d( C: z$ i' t- a
Setting→File→Add 所有"相關"檔案放在同一個目錄(專案)+ p. a# m0 J" J
VHDL檢查套件路徑路稱
* |( x8 R1 j+ o( AVerilog檢查include2 C2 ~1 x1 t4 s
2 ?9 O" w& ^/ o2 Z9 G# x# K! P
[ 本帖最後由 Kerick 於 2009-10-20 09:35 PM 編輯 ]




歡迎光臨 Chip123 科技應用創新平台 (http://www.chip123.com/) Powered by Discuz! X3.2