some ideas on FPGA design
2009-12-04 17:15
246 查看
(1) judge odd or even by LSB of a vector,
such as , A[3:0] = 4'b0010, A[0]=0 so A is an even num.
B[3:0] =4'b0011, B[0]=1, so B is an odd num.
(2) detect an even by compare pre- and current signal
always@(posedge clk)
begin
Pre_Field <= Field;
if({Pre_Field,Field}==2'b10)
Start <= 1'b1;
end (3)图像做rotation
(1)左右mirror 可以用片内RAM实现,写数据从0~MAXADDR, 读数据从MAXADDR-addr ~ 0;参考例程DE2_CCD
(2)上下mirror则需要片外 sdram,整帧读写。
such as , A[3:0] = 4'b0010, A[0]=0 so A is an even num.
B[3:0] =4'b0011, B[0]=1, so B is an odd num.
(2) detect an even by compare pre- and current signal
always@(posedge clk)
begin
Pre_Field <= Field;
if({Pre_Field,Field}==2'b10)
Start <= 1'b1;
end (3)图像做rotation
(1)左右mirror 可以用片内RAM实现,写数据从0~MAXADDR, 读数据从MAXADDR-addr ~ 0;参考例程DE2_CCD
(2)上下mirror则需要片外 sdram,整帧读写。
相关文章推荐
- 基于fpga的双倍速率动态存储器设计 design of dual rate dynamic memory based on fpga
- Originality Life~Some Desktop Design (From Google Ideas)+ Pictures & PNG Files & 3DMAX Files download!
- Originality Life~Some Desktop Design (From Google Ideas)+ Pictures & PNG Files & 3DMAX Files download!
- 短语:shed some light on
- Fuzzy and fun on Air Jordan 12 Doernbecher design
- Cases on Information Technology Planning, Design And Implementation
- A Simple Note on "P4FPGA: A Rapid Prototyping Framework for P4"
- Some Software Design Principle
- 如何阅读软件测试书籍(一), the little black book on test design
- On NSURLConnection API Design
- Some Improvements on Deep Convolutional Neural Network Based Image Classification(精读)
- 【Forward】Best Ideas on How to Complete a Lifebook for Your Adopted or Foster Child
- Some notes on DB2 for z/OS
- some comments from MS about single sign-on on multiple web applications
- Some feelings about HIT_MS summer school on IE
- How to have fun -- some ideas to encourage developer
- Some paper on NGS
- some ideAs About steAlth for rootkit
- Some really weird ways of implementing firewalls on windows
- Benefit of Clergy: Some Notes on Salvador Dali