原创 PSP相关文件的结构

2009-12-14 05:14 2445 2 2 分类: FPGA/CPLD

PSP顶层是一个xml文件,主要描述该Platform主要的components



主要components都有自己的xml描述:

点击看大图

文件存储结构,recommended
by Impulse C:

488f47dc-011f-4243-a75c-5f64b5946955.jpg

Example:
gidel_procwizard_ps3.xml  //top level
Platform definition



<?xml
version='1.0'?>



<!DOCTYPE
architecture PUBLIC "" "">



<architecture
version="1.0" name="GiDEL PROCWizard (PROCStar III)">



<bus name="procwiz0"
file="VHDL/GiDEL/PROCWizard_PS/bus_PS3.xml"/>



<pe name="pe0" target="VHDL/target.xml"
technology="VHDL/Altera/technology.xml"
system="VHDL/Generic/Generic/system.xml" cpu="cpu0"
bus="procwiz0"/>

<proc
name="cpu0" file="GiDEL/cpu.xml"
bus="procwiz0"/>



<mem name="mem0" bus="procwiz0"
alloc="malloc"/>



<exporter
file="GiDEL/GiDEL_export.tcl"/>



<library name="float"
file="VHDL/Altera/float.xml"/>



</architecture>




负责生成bus wrapperbus_PS3.xml文件定义了所需hardware
library
Tcl script



<?xml
version='1.0'?>



<!DOCTYPE
bus PUBLIC "" "">



<bus
name="procwizard" version="1.0">



<param name="width"
value="*"/>



//生成bus wrapper HDL所需的Tcl脚本



<busgen
file="VHDL/GiDEL/PROCWizard_PS/genbus_PS3.tcl"/>



//所需库文件



<require file="VHDL/GiDEL/PROCWizard_PS/lib/wr_mem_intfc.vhd"
dst="lib" type="hdl"/>



<require
file="VHDL/GiDEL/PROCWizard_PS/lib/rd_mem_intfc.vhd"
dst="lib" type="hdl"/>



<require
file="VHDL/GiDEL/PROCWizard_PS/lib/inp_stream_intfc.vhd"
dst="lib" type="hdl"/>



<require file="VHDL/GiDEL/PROCWizard_PS/lib/out_stream_intfc.vhd"
dst="lib" type="hdl"/>



</bus>

文章评论0条评论)

登录后参与讨论
我要评论
0
2
关闭 站长推荐上一条 /2 下一条