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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [wishbone/] [ip/] [wb_memory/] [rtl/] [xml/] [wb_memory_def.design.xml] - Rev 131

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

<?xml version="1.0" encoding="UTF-8"?>
<!--
//                                                                        //
// Author : John Eaton  Ouabache Designworks                              //
//                                                                        //
//   Copyright (C) 2010 Authors and OPENCORES.ORG                         //
//                                                                        //
//   This source file may be used and distributed without                 //
//   restriction provided that this copyright statement is not            //
//   removed from the file and that any derivative work contains          //
//   the original copyright notice and the associated disclaimer.         //
//                                                                        //
//   This source file is free software; you can redistribute it           //
//   and/or modify it under the terms of the GNU Lesser General           //
//   Public License as published by the Free Software Foundation;         //
//   either version 2.1 of the License, or (at your option) any           //
//   later version.                                                       //
//                                                                        //
//   This source is distributed in the hope that it will be               //
//   useful, but WITHOUT ANY WARRANTY; without even the implied           //
//   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR              //
//   PURPOSE. See the GNU Lesser General Public License for more          //
//   details.                                                             //
//                                                                        //
//   You should have received a copy of the GNU Lesser General            //
//   Public License along with this source; if not, download it           //
//   from http://www.opencores.org/lgpl.shtml                             //
//                                                                        //
-->
<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>wishbone</spirit:library>
<spirit:name>wb_memory</spirit:name>
<spirit:version>def.design</spirit:version>  





<spirit:adHocConnections>

    <spirit:adHocConnection>
      <spirit:name>clk_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="slave_clk_clk"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="clk"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="clk"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="clk"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="clk"/>
    </spirit:adHocConnection>



   <spirit:adHocConnection>
      <spirit:name>sel_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_sel"  spirit:left="0" spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="be"/>
    </spirit:adHocConnection>

   <spirit:adHocConnection>
      <spirit:name>sel_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_sel" spirit:left="1" spirit:right="1" />
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="be"/>
    </spirit:adHocConnection>

   <spirit:adHocConnection>
      <spirit:name>sel_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_sel" spirit:left="2" spirit:right="2" />
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="be"/>
    </spirit:adHocConnection>

   <spirit:adHocConnection>
      <spirit:name>sel_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_sel" spirit:left="3" spirit:right="3" />
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="be"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>dat_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_wdata" spirit:left="7" spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="wdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dat_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_wdata" spirit:left="15" spirit:right="8" />
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="wdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dat_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_wdata" spirit:left="23" spirit:right="16" />
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="wdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dat_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_wdata" spirit:left="31" spirit:right="24" />
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="wdata"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>dat_o</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_rdata" spirit:left="7" spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="rdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dat_o</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_rdata" spirit:left="15" spirit:right="8" />
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="rdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dat_o</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_rdata" spirit:left="23" spirit:right="16" />
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="rdata"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>dat_o</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_rdata" spirit:left="31" spirit:right="24" />
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="rdata"/>
    </spirit:adHocConnection>




    <spirit:adHocConnection>
      <spirit:name>adr_i</spirit:name>
      <spirit:externalPortReference spirit:portRef="wb_adr" spirit:left="adr_width+1" spirit:right="2" />
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="addr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="addr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="addr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="addr"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>sram_wr</spirit:name>
      <spirit:externalPortReference spirit:portRef="sram_wr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="wr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="wr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="wr"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="wr"/>
    </spirit:adHocConnection>


   <spirit:adHocConnection  spirit:tiedValue="1'b1"  >
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="rd"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="rd"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="rd"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="rd"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_0" spirit:portRef="cs"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_1" spirit:portRef="cs"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_2" spirit:portRef="cs"/>
      <spirit:internalPortReference spirit:componentRef="rambyte_3" spirit:portRef="cs"/>
    </spirit:adHocConnection>


</spirit:adHocConnections>






<spirit:componentInstances>



<spirit:componentInstance>
<spirit:instanceName>rambyte_0</spirit:instanceName> 
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="sram" spirit:version="be" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="ADDR">adr_width</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WORDS">mem_size</spirit:configurableElementValue>


</spirit:configurableElementValues>
</spirit:componentInstance>

<spirit:componentInstance>
<spirit:instanceName>rambyte_1</spirit:instanceName> 
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="sram" spirit:version="be" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="ADDR">adr_width</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WORDS">mem_size</spirit:configurableElementValue>

</spirit:configurableElementValues>
</spirit:componentInstance>


<spirit:componentInstance>
<spirit:instanceName>rambyte_2</spirit:instanceName> 
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="sram" spirit:version="be" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="ADDR">adr_width</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WORDS">mem_size</spirit:configurableElementValue>

</spirit:configurableElementValues>
</spirit:componentInstance>


<spirit:componentInstance>
<spirit:instanceName>rambyte_3</spirit:instanceName> 
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="sram" spirit:version="be" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="ADDR">adr_width</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WORDS">mem_size</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.