OpenCores
URL https://opencores.org/ocsvn/socgen/socgen/trunk

Subversion Repositories socgen

[/] [socgen/] [trunk/] [common/] [opencores.org/] [cde/] [ip/] [fifo/] [rtl/] [xml/] [cde_fifo_def.design.xml] - Rev 134

Go to most recent revision | Compare with Previous | Blame | View Log

<?xml version="1.0" encoding="UTF-8"?>
<!--

-->
<spirit:design 
xmlns:spirit="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009"
xmlns:socgen="http://opencores.org"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009
http://www.spiritconsortium.org/XMLSchema/SPIRIT/1685-2009/index.xsd">

<spirit:vendor>opencores.org</spirit:vendor>
<spirit:library>cde</spirit:library>
<spirit:name>fifo</spirit:name>
<spirit:version>def.design</spirit:version>  

<spirit:vendorExtensions>

<socgen:nodes>



<socgen:node><spirit:name>push_pointer</spirit:name>
<spirit:typeName>reg</spirit:typeName>
<spirit:wire><spirit:vector><spirit:left>SIZE-1</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>

<socgen:node><spirit:name>pop_pointer</spirit:name>
<spirit:typeName>reg</spirit:typeName>
<spirit:wire><spirit:vector><spirit:left>SIZE-1</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>


</socgen:nodes>
</spirit:vendorExtensions>


<spirit:adHocConnections>

    <spirit:adHocConnection>
      <spirit:name>clk</spirit:name>
      <spirit:externalPortReference spirit:portRef="clk"/>
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="clk"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>push</spirit:name>
      <spirit:externalPortReference spirit:portRef="push"/>
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="wr"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>push_pointer</spirit:name>
      <spirit:externalPortReference spirit:portRef="push_pointer" spirit:left="SIZE-1"  spirit:right="0"  />
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="waddr"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>pop_pointer</spirit:name>
      <spirit:externalPortReference spirit:portRef="pop_pointer" spirit:left="SIZE-1"  spirit:right="0"  />
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="raddr"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>din</spirit:name>
      <spirit:externalPortReference spirit:portRef="din" spirit:left="WIDTH-1"  spirit:right="0"  />
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="wdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dout</spirit:name>
      <spirit:externalPortReference spirit:portRef="dout" spirit:left="WIDTH-1"  spirit:right="0"  />
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="rdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection spirit:tiedValue="1'b1" >
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="cs"/>
      <spirit:internalPortReference spirit:componentRef="fifo" spirit:portRef="rd"/>
    </spirit:adHocConnection>

</spirit:adHocConnections>




<spirit:componentInstances>



<spirit:componentInstance>
<spirit:instanceName>fifo</spirit:instanceName> 
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="sram" spirit:version="dp" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="WIDTH">WIDTH</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="ADDR">SIZE</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WORDS">WORDS</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WRITETHRU">0</spirit:configurableElementValue>
</spirit:configurableElementValues>

</spirit:componentInstance>



</spirit:componentInstances>


</spirit:design>

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.