资源简介

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个文件信息

评论

共有 条评论