資源簡介
DE2-115配套書籍,臺灣進口書籍PDF版本,以及配套代碼以及官網2013更新的中文參考手冊。對新手比較友好,可以快速入門。
1.核心的FPGA芯片:Cyclone IV 4CE115F29,從名稱可以看出,它包含有115千個LE。Altera下載控制芯片- EPCS64以及USB-Blaster對Jtag和as模式的支持。
2.存儲用的芯片有: 2-Mbyte SRAM,64-Mbyte SDRAM,8-Mbyte Flash memory
3.經典IO配置:擁有4個按鈕,18個撥動開關,18個紅色發光二極管,9個綠色發光二極管,8個七段數碼管,16*2字符液晶顯示屏,
4.超強多媒體:24位CD音質音頻芯片WM8731(Mic輸入+LineIn+ 標準音頻輸出),視頻解碼芯片(支持NTSC/PAL制式),帶有高速DAC視屏輸出VGA模塊。
5.更多標準接口:通用串行總線USB控制模塊以及A、B型接口,SD Card接口,IrDA紅外模塊,2個 10/100/1000M自適應以太網絡適配器,RS-232標準串口, PS/2鍵盤接口
6.其他:50M晶振,支持外部時鐘, 80針帶保護電路的外接IO,1個hsmc連接器
代碼片段和文件信息
/*
RAM?Tester?Software
Author:??JCJB
Date:????06/27/2010
This?software?will?control?the?test?controller?mux?and?demux?checker?and?generator
cores?of?the?RAM?test?system.??The?test?software?sweeps?through?the?following?memory
tests?(in?this?order):
??-?Walking?ones
??-?Walking?zeros
??-?Low?frequency?(all?high?all?low?repeat...)
??-?Alternating?low?frequency?(MSBs?high?with?LSBs?low?MSB?low?with?LSBs?high?repeat)
??-?High?frequency?(0xAA?across?the?entire?word?0x55?across?the?entire?word?repeat)
??-?Alternating?high?frequency?(0x5A?across?the?entire?word?0xA5?across?the?entire?word?repeat)
??-?Syncronous?PRBS?(8-bit?PRBS?replicated?across?all?byte?lanes)
??-?PRBS?(16/32/64/128-bit?wide?PRBS?pattern)
??
The?software?by?default?prints?messages?to?the?console?and?flashes?LEDs?to?represent
the?test?status.??By?default?the?software?tests?the?memory?forever?until?an?error?is
detected.??With?the?default?settings?below?this?code?will?fit?in?an?8kB?on-chip?memory.
*/
//?Minor?test?is?for?a?particular?pattern?(custom?or?PRBS)?and?performs?test?sweeps?of?test?length?block?size?and?block?trail?distances?(this?takes?a?while)
//?Major?test?is?for?a?sweep?of?all?minor?tests
#include?“custom_pattern_generator.h“
#include?“prbs_pattern_generator.h“
#include?“one_to_two_st_demux.h“
#include?“two_to_one_st_mux.h“
#include?“custom_pattern_checker.h“
#include?“prbs_pattern_checker.h“
#include?“ram_test_controller.h“
#include?“io.h“
#include?“system.h“
#include?“settings.h“??//?don‘t?change?the?code?edit?the?values?in?settings.h?instead
#if(ENABLE_SMALL_PRINTF?==?1)
??#include?“sys/alt_stdio.h“
#else
??#include?“stdio.h“
#endif
/*??By?default?this?software?assumes?the?memory?tester?slave?ports?live?in?the?top?level.??This?detection?will?if?the?PRBS?pattern
????generator?does?not?live?at?the?top?level?and?switch?all?the?names?to?use?to?use?the?following?naming?conviention:
????
????memory_tester_subsystem_pattern_generator_subsystem_
????memory_tester_subsystem_memory_master_subsystem_
????memory_tester_subsystem_pattern_checker_subsystem_
*/
#ifndef?PRBS_PATTERN_GENERATOR_base
??#define?PRBS_PATTERN_GENERATOR_base?????????????????????MEMORY_TESTER_SUBSYSTEM_PATTERN_GENERATOR_SUBSYSTEM_PRBS_PATTERN_GENERATOR_base
??#define?CUSTOM_PATTERN_GENERATOR_CSR_base???????????????MEMORY_TESTER_SUBSYSTEM_PATTERN_GENERATOR_SUBSYSTEM_CUSTOM_PATTERN_GENERATOR_CSR_base
??#define?CUSTOM_PATTERN_GENERATOR_PATTERN_ACCESS_base????MEMORY_TESTER_SUBSYSTEM_PATTERN_GENERATOR_SUBSYSTEM_CUSTOM_PATTERN_GENERATOR_PATTERN_ACCESS_base
??#define?TWO_TO_ONE_ST_MUX_base??????????????????????????MEMORY_TESTER_SUBSYSTEM_PATTERN_GENERATOR_SUBSYSTEM_TWO_TO_ONE_ST_MUX_base
??#define?RAM_TEST_CONTROLLER_base????????????????????????MEMORY_TESTER_SUBSYSTEM_MEMORY_MASTER_SUBSYSTEM_RAM_TEST_CONTROLLER_base
??#define?ONE_TO_TWO_ST_DEMUX_base????????????????????????MEMORY_TESTE
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......??????6148??2012-01-19?15:34??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\.DS_Store
?????文件????????155??2019-02-09?14:50??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\db\ex1.db_info
?????文件????????178??2019-02-09?14:50??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\db\ex1.ipinfo
?????文件????????217??2019-02-09?14:50??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\db\ex1.sld_design_entry.sci
????.......??????7160??2011-10-28?17:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.asm.rpt
????.......???????239??2011-10-28?17:54??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.dpf
????.......?????92245??2011-10-28?17:55??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.pin
????.......???8388796??2011-10-28?17:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.pof
????.......??????1265??2011-10-19?16:20??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.qpf
?????文件???????3438??2019-02-09?14:45??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.qsf
????.......???3541343??2011-10-28?17:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.sof
????.......???????482??2011-10-28?15:07??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1.v
?????文件??????57549??2019-02-09?14:45??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter1\ex1\ex1_assignment_defaults.qdf
????.......???????312??2011-10-14?14:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.cdf
????.......???????239??2011-10-13?10:21??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.dpf
????.......?????92226??2011-10-14?14:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.pin
????.......???????106??2011-10-13?10:20??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.qpf
????.......??????3672??2011-10-14?14:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.qsf
????.......??????2460??2011-10-13?10:20??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.sdc
????.......???3541343??2011-10-14?14:56??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.sof
????.......???????195??2011-10-14?15:05??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC.v
????.......?????50069??2011-10-13?10:20??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\BASIC\BASIC_assignment_defaults.qdf
????.......???????314??2011-10-17?10:00??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.cdf
????.......???????239??2011-10-13?10:21??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.dpf
????.......?????92226??2011-10-17?10:13??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.pin
????.......???????106??2011-10-13?10:20??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.qpf
????.......??????3672??2011-10-17?18:10??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.qsf
????.......??????2460??2011-10-13?10:20??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.sdc
????.......???3541343??2011-10-17?10:14??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.sof
????.......???????577??2011-10-17?10:13??DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\DE2-115_book_all_sourcefiles\Chapter2\Counter\BASIC.v
............此處省略2458個文件信息
評論
共有 條評論