edk_for_busy_people

所属分类:VHDL/FPGA/Verilog
开发工具:VHDL
文件大小:2361KB
下载次数:347
上传日期:2009-06-19 14:15:11
上 传 者码__农
说明:  XILINX 出品 EDK快速学习资料。 EDK在 Xilinx FPGA上构架一个CPU软核, 以提高整个系统的灵活性,和可扩展性。
(EDK document by Xilinx. EDK is used to build a soft CPU Core on XILINX FPGA.)

文件列表:
EDK_for_Busy_People\integrate_my_ip_w_platgen.doc (53248, 2003-01-29)
EDK_for_Busy_People\lab2 (0, 2003-01-27)
EDK_for_Busy_People\lab2\sim.do (1655, 2003-01-22)
EDK_for_Busy_People\lab2\system.mhs (4473, 2003-01-22)
EDK_for_Busy_People\lab2\system.mss (946, 2003-01-22)
EDK_for_Busy_People\lab2\system.mvs (125, 2003-01-22)
EDK_for_Busy_People\lab2\system.xmp (479, 2003-01-22)
EDK_for_Busy_People\lab2\myip (0, 2003-01-27)
EDK_for_Busy_People\lab2\myip\bram_block_v1_00_a (0, 2003-01-27)
EDK_for_Busy_People\lab2\myip\bram_block_v1_00_a\hdl (0, 2003-01-27)
EDK_for_Busy_People\lab2\myip\bram_block_v1_00_a\hdl\vhdl (0, 2003-01-27)
EDK_for_Busy_People\lab2\myip\bram_block_v1_00_a\hdl\vhdl\bram1_elaborate.vhd (7432, 2003-01-22)
EDK_for_Busy_People\lab2\myip\bram_block_v1_00_a\hdl\vhdl\bram2_elaborate.vhd (7432, 2003-01-22)
EDK_for_Busy_People\lab2\lab2_golden (0, 2003-01-27)
EDK_for_Busy_People\lab2\lab2_golden\download.bit (375883, 2003-01-22)
EDK_for_Busy_People\lab2\etc (0, 2003-01-27)
EDK_for_Busy_People\lab2\etc\bitgen.opt (941, 2003-01-22)
EDK_for_Busy_People\lab2\etc\bitgen.ut (343, 2003-01-22)
EDK_for_Busy_People\lab2\etc\download.cmd (271, 2003-01-22)
EDK_for_Busy_People\lab2\etc\fast_runtime.opt (2848, 2003-01-22)
EDK_for_Busy_People\lab2\etc\lab2_golden.cmd (277, 2003-01-22)
EDK_for_Busy_People\lab2\etc\xc18v04_vq44.bsd (4669, 2003-01-22)
EDK_for_Busy_People\lab2\data (0, 2003-01-27)
EDK_for_Busy_People\lab2\data\system.ucf (2511, 2003-01-22)
EDK_for_Busy_People\lab2\code (0, 2003-01-27)
EDK_for_Busy_People\lab2\code\hello.c (260, 2003-01-22)
EDK_for_Busy_People\lab2\code\linker_script (1474, 2003-01-22)
EDK_for_Busy_People\lab2\code\timer_interrupt.c (3245, 2003-01-22)
EDK_for_Busy_People\lab3 (0, 2003-01-27)
EDK_for_Busy_People\lab3\sim.do (1655, 2003-01-22)
EDK_for_Busy_People\lab3\system.make (7164, 2003-01-22)
EDK_for_Busy_People\lab3\system.mhs (4719, 2003-01-22)
EDK_for_Busy_People\lab3\system.mss (1085, 2003-01-22)
EDK_for_Busy_People\lab3\system.mvs (277, 2003-01-22)
EDK_for_Busy_People\lab3\system.xmp (541, 2003-01-22)
EDK_for_Busy_People\lab3\xps.cmd (34, 2003-01-22)
EDK_for_Busy_People\lab3\myip (0, 2003-01-27)
EDK_for_Busy_People\lab3\myip\bram_block_v1_00_a (0, 2003-01-27)
EDK_for_Busy_People\lab3\myip\bram_block_v1_00_a\hdl (0, 2003-01-27)
EDK_for_Busy_People\lab3\myip\bram_block_v1_00_a\hdl\vhdl (0, 2003-01-27)
... ...

Lab 5: Design the system as a submodule --------------------------------------- This design describes how to design a PowerPC sub-system using XPS for another design System Description ------------------ This system contains a simple PowerPC system. A GPIO and a BRAM is connected to the OPB Bus and the program makes the LED blinking. There is a top level design in system_stub.vhd, which is a place holder generated by XPS if the project is setup as a sub module. Users can add a DCM module in this level. Refer to < your path of the lab>/mymisc for an example. The system hierarchy looks like this: system_stub_edit.vhd (managed by Project Navigator) | + dcm_ip.vhd | + system.vhd (managed by Platform Studio, defined by system.mhs) | + ... | + ... Setup ----- Set up board connections - JTAG cable from host computer to the board. Building the sub-system in XPS ------------------------------ 1. Start XPS GUI, open the project system.xmp 2. Options -> Project Options -> Hierarchy and Flow - Is submodule and the top instance name is 'system_i1'. (Since we using VHDL the case of the name is very important) - Netlist Generation: choose 'Flat' Synthesis tool choose 'ISE XST' - Using ProjNav and the NPL file is projnav/system_stub_edit.npl 3. Now generate the netlist 'Tools' -> 'Generate Netlist' 4. Now export it to ProjNav: 'Tools' -> 'Export to ProjNav' Complete the hw system in ProjNav ------------------------------ 5. Open ISE Project Navigator 6. Open the project under /projnav/system_stub_edit.npl 7. Remove system_stub.vhd (we'll replace with the pre-made one) 8. Now add top level and misc files: Project -> Add Sources -> Select both /mymisc/system_stub_edit.vhd, dcm_ip.vhd When ProjNav ask what kind of VHDL there are, answer with VHDL Module. 9. Now add the BMM file Project -> Add Sources -> /implementation/system_stub.bmm Associate it with the system_stub_edit module 10. Now add the UCF file Project -> Add Sources -> /data/system_stub.ucf Associate it with the system_stub_edit module 11. Now generate the bit file by running 'Generate Programming File' Compile sw, download via XPS ------------------------------ 12. Go back to XPS and import from ProjNav 'Tools' -> Import from ProjNav Enter bit file : projnav/system_stub_edit.bit Enter bmm file : implementation/system_stub_bd.bmm 14. Click on download button or 'Tools' -> 'Download' It will run platgen, gcc, init_ram, impact to download the bit. 15. Now the leds on the board should blink

近期下载者

相关文件


收藏者