fpga_loader.c

来自「合众达dec643的fpga烧写程序 正版」· C语言 代码 · 共 30 行

C
30
字号
/*
 *  Copyright 2003 by Spectrum Digital Incorporated.
 *  All rights reserved. Property of Spectrum Digital Incorporated.
 */

/*
 *  ======== fpga_loader.c ========
 *
 *  This program loads the Xilinx FPGA on the DM642 EVM with configuration
 *  data stored in Flash at 0x90040000.
 */

#include "fpga_loadercfg.h"

#include "evmdm642.h"

main()
{
    /* Call BSL init */
    EVMDM642_init();

    /* Load FPGA from Flash */
    EVMDM642_fpgaLoad(0x90040000);
    
    /* Disable interrupts */
    IRQ_globalDisable();

    while(1);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?