Chip123 科技應用創新平台

 找回密碼
 申請會員

QQ登錄

只需一步,快速開始

Login

用FB帳號登入

搜索
1 2 3 4
查看: 8770|回復: 6
打印 上一主題 下一主題

[問題求助] 大家好,我是新成員,問一個小問題

[複製鏈接]
跳轉到指定樓層
1#
發表於 2007-5-17 17:06:15 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式
首先,感謝各位撥冗來看我這帖子
7 i; }. C" A' {) e5 h6 ^這個問題算不上是設計,是一個小小的問題: V9 p9 q4 }$ y0 ?% i7 f
我現在有一個CPU的source code,
) f3 G8 j1 I4 O( O" Jmemory的部份是有一個interface來接收FPGA晶片外部的SRAM資料
/ ^: t  f; L/ s% b5 R4 b% b$ tmemory資料寬度32bit的; Y' t9 q2 o. x) t& c0 m9 L# F' R/ q, W

" D( V+ \) R" R& `2 Y$ j3 l: T要把他download到我的板子上0 }+ ~; P5 A! j) _- d9 n4 Q
但是我的板子上的SRAM只有16bit8 {+ L4 R' i9 _+ B0 c4 \
請問我要怎麼改寫裡面的VHDL code來符合
& K% `2 \8 p8 t2 }( D- k3 {4 \: x) i
可能對板上的高手來說,這是基本問題
- y& f  ]/ U8 m( M9 z' Q但是我本身不是VLSI設計背景的人
. k+ ]4 M# {4 E8 ]8 D8 f老闆硬要我搞出來 >_<7 S; I  F* `( q9 S) e( t4 U9 a
: _4 K4 x& m/ N1 t  x4 J: n- e& N
希望大家不吝給我一點提示,謝謝大家

評分

參與人數 1Chipcoin +1 收起 理由
jiming + 1 怎麼改寫裡面的VHDL code來符合?

查看全部評分

分享到:  QQ好友和群QQ好友和群 QQ空間QQ空間 騰訊微博騰訊微博 騰訊朋友騰訊朋友
收藏收藏 分享分享 頂 踩 分享分享
2#
發表於 2007-5-17 18:36:14 | 只看該作者
就算是32BITS CPU也允許16BITS的存取才對, 在這情況下, 什麼都不用修改的, 只需要修改軟體的程式
" \4 M/ ]0 s8 D" H  x! g( T5 u* E" C' h+ u
如果一定要做到軟體都不用改的話, 影響的範圍比較大, 你可能需要:! S3 X- C: \' n: P5 ?1 T
1) SRAM工作於CPU的兩倍頻率
# {" k. f/ U& e, m2) 利用類似BE信號 (BYTE ENABLE)來控制SRAM的存取# w3 z  F& N5 `
3) 如果SRAM速度跟不上CPU, 而且又不想降頻的話, CPU要能支援類似BUSY的控制信號& N9 ^# {% A1 f  e) d
差不多如此吧, 還有其他我漏掉的嗎???
3#
發表於 2007-5-20 14:17:43 | 只看該作者

回復 #1 kyopc 的帖子

沒錯,就版主的方式,不然就設計一個FIFO SRAM Controler,丟到fifo裡,讓他自己丟到sram,; E) U2 h5 _7 |
如果完全不會寫hdl,那你去網路上收尋,應該有人寫好的吧!( Q$ w/ v3 ~; q3 B# Z
不然Xilinx有提供memory的參考設計,有含HDL code,如下列網址:* ^# ]7 c9 X7 J& i# q$ j
http://www.xilinx.com/products/design_resources/mem_corner/
# _: M4 {6 O& u! }你找找,Xilinx的參考設計編號都是XAPP***.pdf,裡面有一個Design file的網址,就是下載soure code的地方^__^" ?, R. V5 N4 Z' d) _# @

評分

參與人數 1Chipcoin +2 收起 理由
jiming + 2 資深帶老手 老手帶新手

查看全部評分

4#
 樓主| 發表於 2007-5-21 10:25:20 | 只看該作者

回復 #3 jason_lin 的帖子

感謝兩位前輩的指導' f3 L) K) E8 k- n* M* W( h$ R7 I
由於工作需求,我的程式是沒辦法改的- J  D: B* |! N, M* }
換句話說,我必需修改我的硬體
/ [; H9 Q* }/ U1 C& `
. R# B; f4 X0 I8 F3 F2 T  N我會先試試看jason大大的方法,結果再回報給大家+ ~7 j2 h* T8 D* W& A: W
提供經驗給大家2 ]0 C4 p5 O- Z, B
謝謝

評分

參與人數 1Chipcoin +2 收起 理由
jiming + 2 感謝前輩的指導!經驗分享給大家!

查看全部評分

5#
發表於 2007-5-22 10:25:47 | 只看該作者
Xilinx的XAPP好多, jason_lin有意願整理歸類一下, 發個文跟大伙介紹一下嗎?
* t# l! w" }1 {2 M就以Xilinx的Vertical Segment分類來整理如何?
$ n7 w3 t9 i0 w7 D另外並不是所有的XAPP都有source code的, 可能也要說明一下, 大伙才能更清楚.
! M8 O, g$ J4 ^$ I0 B" S3 ~% ^: a$ o" `
先謝囉!
6#
發表於 2007-5-22 15:33:23 | 只看該作者

回復 #5 tommywgt 的帖子

我整理了一些而已ㄝ,如下:
+ A% x" i/ O/ S* _: f; c% ~1 YFPGA8 t: W6 _$ N: ?, K) a( `
XAPP058        Xilinx In-System Programming Using an Embedded Microcontroller&nbsp;
. K$ h  q" q; a/ D6 {' x' wXAPP195        Implementing Barrel Shifters Using Multipliers&nbsp;0 _, O  g' A: ]# g  h) u, m& T" a. M+ D
XAPP211        PN Generators Using the SRL Macro&nbsp;) u, I& f+ [' ~+ w  Y1 ]
XAPP217        Gold Code Generators in Virtex Devices&nbsp;
+ [, c* Q0 F3 N6 g+ s7 KXAPP220        LFSRs as Functional Blocks in Wireless Applications&nbsp;$ ?+ z0 @0 H4 c* E. ]
XAPP224        Data Recovery&nbsp;) H! T1 f/ L5 H5 s
XAPP228        Quad-Port Memories in Virtex Devices &nbsp;2 j! t! y9 E# H8 O; M5 S: @) w
XAPP229        Wider Block Memories&nbsp;
) l- K, T2 m% ^6 x6 K1 Z6 x; K+ gXAPP250        Clock and Data Recovery With Coded Data Streams&nbsp;
) @8 {. o, m& `' q4 W& TXAPP258        FIFOs Using Virtex-II Block RAM&nbsp;9 _& t& F1 m! a: e! ^; O; ~9 O
XAPP260        Using Virtex-II Block RAM for High Performance Read/Write CAMs&nbsp;9 w, n! _# N5 p" L
XAPP261        Data-Width Conversion FIFOs Using the Virtex-II Block RAM Memory&nbsp;
( a" V  y" Q& U1 F9 WXAPP267        Parity Generation and Validation for the Virtex-II Series&nbsp;
8 L' G2 s% C6 q  W, l& pXAPP268        Active Phase Alignment&nbsp;( a3 h* j8 x9 P' a; b* ^& E
XAPP284        Matrix Math, Graphics, and Video&nbsp;. S8 F+ T( k+ g9 m
XAPP291        Self-Addressing FIFO&nbsp;: c! w. j0 ~$ r: K) W" X3 N, x# g
XAPP441        Remote FPGA Reconfiguration Using MicroBlaze or PowerPC&nbsp;+ Q6 s3 y* q" G8 n
XAPP445        Configuring Spartan-3E Xilinx FPGAs with SPI Flash Memories&nbsp;8 |8 B( v( F, `, I
XAPP454        DDR2 SDRAM Memory Interface for Spartan-3 FPGAs&nbsp;6 k7 Q3 h: i& \. J: ^6 `- z
XAPP462        Using Digital Clock Managers (DCMs) in Spartan-3 FPGAs&nbsp;6 b. E' N, K8 x* P: J8 c
XAPP463        Using Block RAM in Spartan-3 Generation FPGAs&nbsp;/ I% S; i* t6 X
XAPP464        Using Look-Up Tables as Distributed RAM in Spartan-3 Generation FPGAs&nbsp;
! e# n; z8 b1 @5 y- cXAPP465        Using Look-Up Tables as Shift Registers (SRL16) in Spartan-3 Generation FPGAs&nbsp;
$ c  a  E( [9 f: @" [7 A# z5 ]" @$ IXAPP466        Using Dedicated Multiplexers in Spartan-3 Generation FPGAs&nbsp;/ H5 N% H0 ]5 j
XAPP467        Using Embedded Multipliers in Spartan-3 FPGAs&nbsp;& s6 C+ S. U  |- u8 e- A4 w
XAPP473        Using the ISE Design Tools for Spartan-3 FPGAs&nbsp;) \6 x3 G4 U' @1 ~! f
XAPP474        Using IP Cores in Spartan-3 Generation FPGAs&nbsp;6 [( Q6 S% C: p$ V- y. V- Q
XAPP475        Using IBIS Models for Spartan-3 FPGAs&nbsp;
$ g$ ]# K! i( W& Z$ f2 aXAPP476        Using BSDL Files for Spartan-3 Generation FPGAs&nbsp;' f5 L5 k' P* C6 g, I* P
XAPP477        Embedded Processing and Control Solutions for Spartan-3 Devices&nbsp;1 g/ l' ~3 ?0 p8 c3 g
XAPP482        MicroBlaze Platform Flash/PROM Boot Loader and User Data Storage&nbsp;4 R# f1 }$ e  {9 \$ p$ }! d& t9 c6 a1 \
XAPP483        Multiple-Boot with Platform Flash PROMs &nbsp;
) V0 N4 }! N( g& E: Y1 rXAPP485        1:7 Deserialization in Spartan-3E FPGAs at Speeds Up to 666 Mbps&nbsp;
" r* W! T% B; B" R, {" XXAPP489        Four- and Six-Layer, High-Speed PCB Design for the Spartan-3E FT256 BGA Package&nbsp;/ x5 I/ A0 u0 B" g" H( _" Y
XAPP491        Inverting LVDS Signals for Efficient PCB Layout in Spartan-3 Generation FPGAs&nbsp;
7 Z) Y  ^/ H9 a( M4 @% n1 m: \7 YXAPP500        J Drive: In-System Programming of IEEE Standard 1532 Devices&nbsp;& U+ p/ j  @" m- q+ t
XAPP502        Using a Microprocessor to Configure Xilinx FPGAs via Slave Serial or SelectMAP Mode&nbsp;
4 t8 T' k* k% v# x& K- _' m6 kXAPP514        Audio/Video Connectivity Solutions for the Broadcast Industry% U4 n  J. V3 ~5 y' @
XAPP529        Connecting Customized IP to the MicroBlaze Soft Processor Using the Fast Simplex Link(FSL)&nbsp;5 A) ~, D3 B$ F1 E
XAPP535        High Performance Multi-Port Memory Controller8 I: x& n& Y+ N: X5 L
XAPP536        Gigabit System Reference Design (XAPP536)
) `; e  w+ I4 ~6 X" [: q" s8 G  b  l( ZXAPP562        Configurable LocalLink CRC Reference Design&nbsp;* O: [6 e$ k0 ~: d) N/ F, P& p* r# o, f
XAPP569        Digital Up and Down Converters for the CDMA2000 and UMTS Base Stations&nbsp;
( n  H' j- B( g9 cXAPP622        644-MHz SDR LVDS Transmitter/Receiver&nbsp;
6 G& X  r# ~8 w! Z- _4 Y- b( pXAPP623        Power Distribution System (PDS) Design: Using Bypass/Decoupling Capacitors&nbsp;0 {  D; f' {9 r* y+ I0 V! d3 f- ?8 Z$ n
XAPP634        Analog Devices TigerSHARC Link&nbsp;
% m8 m4 L4 B/ l0 EXAPP636        Optimal Pipelining of the I/O Ports of the Virtex-II Multiplier&nbsp;3 _" \+ S1 ~% R- K6 u
XAPP689        Managing Ground Bounce in Large FPGAs&nbsp;: N+ l7 ^3 L$ P1 |6 w7 K* r( z
XAPP690        Using Block SelectRAM Memories as Serializers or Deserializers&nbsp;( y2 N% K5 P4 U+ O# E: v
XAPP693        A CPLD-Based Configuration and Revision Manager for Xilinx Platform Flash PROMs and FPGAs&nbsp;) l" f. e) ^/ K/ H4 G0 n( U
XAPP694        Reading User Data from Configuration PROMs&nbsp;6 S3 h7 g0 H# V1 h
XAPP753        Interfacing Xilinx FPGAs to TI DSP Platforms Using the EMIF&nbsp;1 G% a. s. [+ S" k% h& L/ P$ P. h
XAPP774        Connecting Xilinx FPGAs to Texas Instruments ADS527x Series ADCs&nbsp;
( Y+ n9 M* k2 v  M# N7 EXAPP780        FPGA IFF Copy Protection Using Dallas Semiconductor/Maxim DS2432 Secure EEPROMs&nbsp;) i& N8 b+ i7 A: f3 c+ }
XAPP806        Determining the Optimal DCM Phase Shift for the DDR Feedback Clock&nbsp;* d" R* X3 I0 r
XAPP909        Reference System: MCH OPB SDRAM with OPB Central DMA&nbsp;$ q& c0 f# B# U
XAPP923        Reference Design: MCH OPB EMC with OPB Central DMA&nbsp;( f' B) H3 o- }
XAPP930        Color-Space Converter: RGB to YCrCb&nbsp;
4 L+ r9 Y1 z0 E* s/ zXAPP931        Color-Space Converter: YCrCb to RGB&nbsp;
" O5 z, Y% _3 nXAPP932        Chroma Resampler&nbsp;
9 }' s2 D7 Q1 i5 cXAPP933        Two-Dimensional Linear Filtering&nbsp;. `, ^3 E+ ^9 @  {1 O1 Z7 t
XAPP936        Continuously Variable Fractional Rate Decimator&nbsp;$ ?; r/ m$ ^, o8 I& e! A! V
XAPP948        Hardware Acceleration of 3GPP Turbo Encoder/Decoder BER Measurement Using System Generator&nbsp;. `  ^7 K# o( e# z" M7 r9 e
XAPP253        Synthesizable 400 Mb/s DDR SDRAM Controller: c2 b" K4 k4 y+ a7 _0 ?

評分

參與人數 1Chipcoin +5 收起 理由
tommywgt + 5 多謝補充!

查看全部評分

7#
發表於 2007-5-22 15:47:41 | 只看該作者
能有系統的整理嗎?9 I' E7 C9 ^# F' L
/ F8 r( K: F) m! I3 I
造福大家靠你囉...
您需要登錄後才可以回帖 登錄 | 申請會員

本版積分規則

首頁|手機版|Chip123 科技應用創新平台 |新契機國際商機整合股份有限公司

GMT+8, 2024-5-15 08:04 PM , Processed in 0.107513 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表