1

关于投票
即将发布的资料

点击下载点击下载

MMC小组 即将发布的资料。。。。。。。。。

同时欢迎踩我的小站:

http://www.eetop.cn/bbs/?fromuid=169192

http://www.edacn.net/bbs/?fromuid=164965 

系统分类: 资源共享
用户分类: 设计
标签: 即将发布的资料
来源: 原创
发表评论 阅读全文(45) | 回复(0)

1

关于投票
DMA SLAVE

点击下载

http://www.edacn.net/bbs/?fromuid=164965  欢迎下载  下载记得顶一把。谢谢

系统分类: CPLD/FPGA
用户分类: 设计
标签: 无标签
来源: 原创
发表评论 阅读全文(179) | 回复(0)

2

关于投票
经典代码Verilog

点击下载经典代码Verilog     学习用。。。。。

同时欢迎踩我的小站:

http://www.eetop.cn/bbs/?fromuid=169192

http://www.edacn.net/bbs/?fromuid=164965 

系统分类: 资源共享
用户分类: 设计
标签: 无标签
来源: 原创
发表评论 阅读全文(188) | 回复(3)

3

关于投票
32个最热CPLD-FPGA论坛

1. OPENCORES.ORG
这里提供非常多,非常好的PLD了内核,8051内核就可以在里面找到。
进入后,选择project或者由http//www.opencores.org/browse.cgi/by_category进入。
对于想了解这个行业动态人可以看看它的投票调查。
http://www.opencores.org/polls.cgi/list

OpenCores is a loose collection of people who are interested in developing hardware, with a similar ethos to the free software movement. Currently the emphasis is on digital modules called 'cores', since FPGAs have reduced the incremental cost of a core to approximately zero. Activity is centered around the opencores web site
http://www.opencores.org - 中文

2. FPGAs are fun
提供了大量的关于FPGA应用的文章,项目实际例子。强烈推荐
http://www.fpga4fun.com/ - 外文

3. Open Collector
收集了大量的开源硬件,内核.它的分类非常清晰,不多说。
强烈推荐
目录结构
# Design tools and software

* Digital
o Data Entry
o Simulation
+ General
+ Spice or alternatives
+ Verilog
+ VHDL
o Verification
o Synthesis
+ ASIC
+ FPGA
+ Logic Minimization
+ PCB Design
o Educational
* Other

# Hardware designs

* Design Libraries
* Computers
* Embedded Systems
* Processors
* Interface
* Control
* Robotics
* Audio
* Video
* DSP
* Radio
* Telecoms
* Other

# Groups and Organizations
http://opencollector.org/summary.php - 外文

4. The First Stop for the Latest ICs and Components
非常好的关于微处理器,DSP,可以编程控制器资讯的网站,更新非常快。强烈推荐一些领导级别的人常去,了解行业动态!
http://www.eeproductcenter.com/ - 外文

5. FPGA和CPLD可编程逻辑器件 - 莱迪思半导体公司
http://www.latticesemi.com.cn/ - 中文

6. Altera中文主页 强烈推荐
http://www.altera.com.cn/ - 中文

7. 强烈推荐FPGA学习。
http://www.epanorama.net/links/fpga.html - 外文

8. EDA Industry Working Groups
好像是官方网站,大量的相关资料与链接.
http://www.vhdl.org/ - 外文

9. 可编程逻辑器件 - Programable Logic Device
一个专门的关于可编程逻辑器件 - Programable Logic Device ( FPGA & CPLD )的网站,里面的资料比较全。里面有几个非常好的栏目:参考设计,应用文章,设计进阶。
http://www.pld.com.cn/ - 中文

10. 可编程逻辑器件 - Programable Logic Device
一个专门的关于可编程逻辑器件 - Programable Logic Device ( FPGA & CPLD )的网站,里面的资料比较全。里面有几个非常好的栏目:参考设计,应用文章,设计进阶。这里的BBS论坛人气也比较旺
http://www.pld.com.cn/bbs/index.asp - 中文

11. Andraka Consulting Group Home
包含了大量的算法比如FFT,FIR以及它们的DSP与FPGA实现等等。
http://www.andraka.com/toc.htm - 中文

12. www.fpga-faq.org
收集了大量的faq.对一些概论性的东西作了很好的解说。
初学者必去。
http://www.fpga-faq.org/ - 外文

13. Via Dev-page
提供许多非常新的开发项目,而且提供详细的有关资料。
ultrasonic sensor-based radar
Simple power supply
PIC-based alarm clock
Nissan Maxima Consult Interface
Mfr. libraries for Protel
Sony IRCS remote control FPGA IP core
testing proj.
Cheap logic analyzer, PIC based
PIC-based IDE
Custom Protel libraries
Sobel edge detector FPGA IP Core - EE project
Trivial high-voltage programmer for PIC
FPGA-based MAC and PHY
FTDI USB - RS 232 converter
MP3 Server front-end for linux server, PIC based
文档下载http://via.dynalias.org/hw/
http://via.dynalias.org/ - 外文

14. Design And Reuse
The Web's System-On-Chip Design Resource - IP, Core, System-On-Chip
http://www.us.design-reuse.com/ - 外文

15. 硬件工程师之家(hardware Engineer
大量的电子开发资料,主要是硬件相关,计算机接口开发.推荐
http://www.3721it.com/ - 中文

16. FPGAworld
大量的资料下载,推荐.需要注册
http://www.fpgaworld.com/ - 外文

17. FPGA-Guide
This WEB-page is dedicated to all PLD / FPGA-designers
to find the best solution for their project
http://www.fpga-guide.com/ - 外文

18. SOCcentral
SOCcentral brings you the latest news about SOC/ASIC/FPGA design, EDA tools and design methodologies, intellectual property (IP), and design reuse. You'll also find the abstracts (and links) to more than 1600 relevant magazine and newspaper articles, tutorials, whitepapers, and application notes available on line, as well as the most comprehensive directory of EDA/design service/IP providers available anywhere on the Internet.
http://www.soccentral.com/ - 外文

19. EDACafe, the Leading EDA Portal
http://www.edacafe.com/ - 外文

20. FPGA and Programmable Logic Journal
http://www.fpgajournal.com/ - 外文


21. FPGA.ch
有许多FPGA应用。
http://www.fpga.ch/ - 外文

22. NIOS μClinux Project
在NIOS处理器上移植uclinux,提供详细文档,电路。
http://www.enseirb.fr/~kadionik/embedded/uclinux/nios-uclinux.html - 外文

23. 中国可编程逻辑器件网 FPGA CPLD专业技术网站
提供可编程逻辑器件开发资料与开发板
http://www.81ic.com/ - 中文

24. Accellera的主页
一个收集了非常多的关于HDL标准的网站。
Accellera's mission is to drive worldwide development and use of standards required by systems, semiconductor and design tools companies, which enhance a language-based design automation process. Its Board of Directors guides all the operations and activities of the organization and is comprised of representatives from ASIC manufacturers, systems companies and design tool vendors.

http://www.accellera.org/activities/ - 外文

25. www.fpga4fun.com
www.fpga4fun.com网站收集的链接,非常实用。特色就是它把verilog与VHDL相关的链接作了分类汇总。
http://www.fpga4fun.com/links.html - 外文

26. FPGA CPU News
收集了大量的关于FPGA,CPU的新闻,可以了解它们的发展动态。可惜很久很久没有更新了。

http://www.fpgacpu.org/ - 中文

27. FPGA-based Logic Analyzer
利用FPGA来进行逻辑分析,有上位机器VC的源代码实现,非常优秀,它不是利用MFC实现,我下载并且编译通过,有硬件电路图,PCB图,有PC104与并口接口。但是我没有找到VHDL代码。一个非常有用的实际性工程。可以
http://www.eebit.com/ - 外文

28. FPGA开发板网
尽管是买fpga开发板的,但也有小许资料下载。看看
http://www.fpgadev.com/ - 中文

29. DA开发技术网
Altera FPGA开发板,Altera CPLD开发板,Xilinx FPGA开发板, Xilinx CPLD开发板,cyclone开发板,cyclone2开发板,Spartan2开发板,Spartan3开发板,Mars-EDA
http://www.eda.org.cn/ - 中文

30. 线路人生51fpga
http://www.51fpga.com/ - 外文

31. 思恒科技-DSP、ARM、FPGA等开发的电子综合网站
公司网站,资料还不是很多,有时间可以看看。
http://www.siheng.cn/ - 中文

32. 中国集成电路设计平台开发网
里面有些不错的关于FPGA的资料,可以看看。
http://www.fpgastation.cn/ - 中文

系统分类: CPLD/FPGA
用户分类: 设计
标签: 无标签
来源: 转贴
发表评论 阅读全文(1083) | 回复(1)

1

关于投票
DDR SDRAM的接口FPGA程序 Verilog 2

更新了DDR读和写,08-1-26

DQ DQS DM 接口暂未设计 testbench已更新

rar

系统分类: 接口电路
用户分类: 设计
标签: DDR400 FPGA
来源: 原创
发表评论 阅读全文(418) | 回复(1)

1

关于投票
Quartus 7.2 sp1 CRACK 需要的拿走!

Quartus 7.2 sp1 CRACK  需要的拿走!

rar

系统分类: CPLD/FPGA
用户分类: 设计
标签: Quartus 7.2 sp1 CRACK
来源: 整理
发表评论 阅读全文(1576) | 回复(6)

2

关于投票
DDR SDRAM的接口FPGA程序 Verilog

基于FPGA的DDR接口驱动,目前已经完成状态机的框架:上电初始化的部分已经完成
主要的功能部分尚未编写。主要是读、写、定时刷新。
数据dq、dqs、dm接口尚未设计。

08-1-9
rar源代码与Tb

 

rar08-1-11更新,较大设计变更

rar08-1-15更新

好久没有更新了,有时间一定把它更新了,谢谢支持!!08-01-25

系统分类: 接口电路
用户分类: 设计
标签: DDR sdram controller
来源: 原创
发表评论 阅读全文(885) | 回复(2)

3

关于投票
Tsu,Tco,Th,Tpd的概念


tsu : setup time,
定义输入数据讯号在 clock edge 多久前就需稳定提供的最大须求;以 正缘触发(positive edge trigger)的D flip-flop 来举例就是 D 要比 CLK 提前 tsu 时间以前就要准备好,此 flip-flop 就能于某特定之频率下正常工作.

th : hold time,
定义输入数据讯号在 clock edge 后多久内仍需稳定提供的最大须求;以 正缘触发(positive edge trigger)的D flip-flop 来举例就是 D 要在 CLK 正缘触发  th  时间内仍要提供稳定之数据,此 flip-flop 就能于某特定之频率下正常工作.

tco : clock output delay,
定义由 clock latch/trigger 到输出数据有效之最大延迟时间 ;以正缘触发(positive edge trigger)的D flip-flop 来举例就是Q 要在 CLK 正缘触发后至多  tco  时间就会稳定输出.

tpd : propagation delay,
定义由输入脚到输出脚最大延迟时间,一般定义予 combination logic circuit 较适合.

系统分类: CPLD/FPGA
用户分类: 设计
标签: 无标签
来源: 原创
发表评论 阅读全文(1134) | 回复(2)

3

关于投票
引导语句“//……”在synopsys DC中的用途

以前一直没弄懂,以为就是个简单的注释完事,原来还可以用来引导综合过程:

设计者在写设计代码时,有时可能针对仿真写一些语句,这些语句可能是不为DC所接受,也不希望DC接受;设计者如果不对这些语句进行特殊说明,DC读入设计代码时就会产生语法错误。

另一种情况是,设计者在写设计代码,有些设计代码是为专有的对象写的(如公司内部),这些专有的设计代码可能不希望被综合。

Synopsys提供了引导语句,设计者可以使用这些引导语句控制DC综合的对象。
在设计代码中,引导语句“// synopsys translate_off”后直到“// synopsys translate_on”之间的语句被DC忽略。下面的例子给出了这两个引导语句的用法。

举例:
// synopsys translate_off
`ifdef XXXX

// synopsys_translate_on
    `define VENDOR_ID 16'h0083
// synopsys_translate_off
`else
    `define VENDOR_ID 16'h0036
`endif
// synopsys_translate_on


parallel_case 和full_case引导格式
一般情况下,DC把case语句综合成选择器电路,但也可能把case语句综合成优先权译码电路。有时,优先权译码电路是不必要的,这是可以使用“// synopsys parallel_case”引导语句强迫DC把case语句综合成选择器电路。这种引导格式在case状态声明没有完全列举时应用较多。

举例:
always @(cs_state)
begin
    case(cs_state) // synopsys parallel_case
          2'b00: next_state = 2'b01;
          2'b01: next_state = 2'b00;
          2'b10: next_state = 2'b10;
          default: next_state = 2'b00;
    endcase
end

在case语句中,如果列举的条件不完全,DC将生成不必要的锁存单元。在状态机描述中,可能没有一些状态,此时如果不加声明,DC将认为条件没有完全列举。在这种情况下,设计者可以使用full_case引导语句。


举例:
always @(cs_state)
begin
    case(cs_state) // synopsys full_case
        2'b00: next_state = 2'b01;
        2'b01: next_state = 2'b00;
        2'b10: next_state = 2'b10;
    endcase
end

系统分类: CPLD/FPGA
用户分类: 设计
标签: 无标签
来源: 转贴
发表评论 阅读全文(597) | 回复(5)

4

关于投票
有关并行CRC校验的一些尝试--Verilog

首先介绍一个不错的CRC校验的网站,http://www.easics.com/webtools/crctool  现在估计所有的工程应用均来自该网站生成的代码。使用方便。

但是该网站的代码不易于CRC的学习和研究,但是保证是对的,工程实践证明。现在将我的研究成果和大家分享一下:用于任意CRC的校验。

    网站上的校验方式最大提供CRC32 和任意数据位(最大511)的校验。当然一般的情况下应该是够用了。我所做的设计可以扩展到任意数据的校验,当然是并行数据的校验,串行数据的校验应用可以参照网上的一些资料。很简单,不再赘述。以CRC32为例

首先建立函数,=====设计的的关键

//--------------------------------------------------------------------------
function [31:0] next_c32;   

input [31:0] crc;     
input B;        
begin
    next_c32 = {crc[30:0],1'b0} ^ ({32{(crc[31] ^ B)}} & 32'h04c11db7 );//下划线的部分为本征多项式
end

endfunction

/*这是校验和左移一位求校验和的计算公式*/

相同的如果CRC8

//--------------------------------------------------------------------------
function [7:0] next_c8;   

input [7:0] crc;     
input B;        
begin
    next_c8 = {crc[6:0],1'b0} ^ ({8{(crc[7] ^ B)}} & 8'h03 );//下划线的部分为本征多项式
end

endfunction

其他的是一样的。

其次 如果我们要求CRC32_D(M)M  >= 32

function [31:0] next_c32_ge; //M+1 is the data maximum with
input [M:0] data;
input [31:0] crc;
integer  i;
begin
 next_c32_ge = crc;
 for(i=0; i<=M; i="i"+1) begin
      next_c32_ge = next_c32(next_c32_ge,data[M-i]);
 end
end
endfunction

假设我们求CRC32_D64  那么M=63

function [31:0] next_c32_D64; //M+1 is the data maximum with
input [63:0] data;
input [31:0] crc;
integer  i;
begin
 next_c32_D64 = crc;
 for(i=0; i<=63; i="i"+1) begin
      next_c32_D64 = next_c32(next_c32_D64,data[63-i]);
 end
end
endfunction

假设我们求CRC32_D128  那么M=127

function [31:0] next_c32_D128; 

input [127:0] data;
input [31:0] crc;
integer  i;
begin
 next_c32_D128 = crc;
 for(i=0; i<=127; i="i"+1) begin
      next_c32_D128= next_c32(next_c32_D128,data[127-i]);
 end
end
endfunction

再次如果我们要求CRC32_D(M) M<=32

function [31:0] next_c32_le;
input [31:0] data;
input [31:0] inp;
input [4:0] be;
integer  i;
begin
 next_c32_le = data;
 for(i=0; i<=31-be; i="i"+1) begin
      next_c32_le = next_c32(next_c32_le,inp[31-be-i]);
 end
end
endfunction

我们首先校验完毕所有的有效数据位下面的函数是对CRC的空闲位的修正。

function [K-1:0] next_cK_1_any_LEK_1;
input [N-1:0] data;
input [K-1:0] crc;
begin
     next_cK_1_any_LEK_1 = next_c32_le({data,{(K-N){1'b0}}},{crc[K-1:N],{(K-N){1'b0}}},(K-N))^{crc<end 
endfunction

//以CRC32D16  K =32   N =16 这个函数就变成

function [31:0] next_C32_D16;
input [15:0] data;
input [31:0] crc;
begin
 next_C32_D16 = next_c32_le({data,{16{1'b0}}},{crc[31:16],{16{1'b0}}},16)^{crc<<16}; 
end 
endfunction

经过modelsim和Qii软件仿真无误。本来想做成动态数据长度校验的函数,本人也作了一些尝试,在CRC--N           N = 2^m时都是没有问题的 比如CRC8  CRC16 CRC32 CRC64 等等,但是若是不是这些数值比如CRC12 CRC10的Qii会抱错(因为部分函数的输入部分必须为常数),但是Modelsim不会抱错而且仿真和实际的结果一致。可以用来做验证。 这边仅仅举了CRC32 的例子,其他的也都类似。欢迎大家把想法告诉我。

(时间仓促,敬上)

系统分类: