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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [io/] [ip/] [io_module/] [rtl/] [xml/] [io_module_gpio.design.xml] - Rev 135

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                             //
//                                                                        //
-->
<ipxact:design 
xmlns:ipxact="http://www.accellera.org/XMLSchema/IPXACT/1685-2014"
xmlns:socgen="http://opencores.org"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.accellera.org/XMLSchema/IPXACT/1685-2014
http://www.accellera.org/XMLSchema/IPXACT/1685-2014/index.xsd">

<ipxact:vendor>opencores.org</ipxact:vendor>
<ipxact:library>io</ipxact:library>
<ipxact:name>io_module</ipxact:name>
<ipxact:version>gpio.design</ipxact:version>  




  


 <ipxact:interconnections>

    <ipxact:interconnection>
      <ipxact:name>mas_0</ipxact:name>
       <ipxact:activeInterface componentRef="mb_exp" busRef="mas_0"></ipxact:activeInterface>
      <ipxact:activeInterface componentRef="gpio" busRef="mb">
        <ipxact:portMaps>
          <ipxact:portMap>
          <ipxact:logicalPort><ipxact:name>rdata</ipxact:name>
          </ipxact:logicalPort>
          <ipxact:physicalPort>
          <ipxact:wire><ipxact:vector><ipxact:left>7</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire>
          </ipxact:physicalPort>
          </ipxact:portMap>
        </ipxact:portMaps>
      </ipxact:activeInterface>
    </ipxact:interconnection>

    <ipxact:interconnection>
      <ipxact:name>mas_1</ipxact:name>
       <ipxact:activeInterface componentRef="mb_exp" busRef="mas_1"></ipxact:activeInterface>
      <ipxact:activeInterface componentRef="tim_0" busRef="mb">
        <ipxact:portMaps>
          <ipxact:portMap>
          <ipxact:logicalPort><ipxact:name>rdata</ipxact:name>
          </ipxact:logicalPort>
          <ipxact:physicalPort>
          <ipxact:wire><ipxact:vector><ipxact:left>7</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire>
          </ipxact:physicalPort>
          </ipxact:portMap>
        </ipxact:portMaps>
      </ipxact:activeInterface>
    </ipxact:interconnection>

    <ipxact:interconnection>
      <ipxact:name>mas_2</ipxact:name>
       <ipxact:activeInterface componentRef="mb_exp" busRef="mas_2"></ipxact:activeInterface>
      <ipxact:activeInterface componentRef="uart" busRef="mb">
        <ipxact:portMaps>
          <ipxact:portMap>
          <ipxact:logicalPort><ipxact:name>rdata</ipxact:name>
          </ipxact:logicalPort>
          <ipxact:physicalPort>
          <ipxact:wire><ipxact:vector><ipxact:left>7</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire>
          </ipxact:physicalPort>
          </ipxact:portMap>
        </ipxact:portMaps>
      </ipxact:activeInterface>
    </ipxact:interconnection>

    <ipxact:interconnection>
      <ipxact:name>mas_3</ipxact:name>
       <ipxact:activeInterface componentRef="mb_exp" busRef="mas_3"></ipxact:activeInterface>
      <ipxact:activeInterface componentRef="pic" busRef="mb">
        <ipxact:portMaps>
          <ipxact:portMap>
          <ipxact:logicalPort><ipxact:name>rdata</ipxact:name>
          </ipxact:logicalPort>
          <ipxact:physicalPort>
          <ipxact:wire><ipxact:vector><ipxact:left>7</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire>
          </ipxact:physicalPort>
          </ipxact:portMap>
        </ipxact:portMaps>
      </ipxact:activeInterface>
    </ipxact:interconnection>

    <ipxact:interconnection>
      <ipxact:name>mas_4</ipxact:name>
       <ipxact:activeInterface componentRef="mb_exp" busRef="mas_4"></ipxact:activeInterface>
      <ipxact:activeInterface componentRef="utimer" busRef="mb">
        <ipxact:portMaps>
          <ipxact:portMap>
          <ipxact:logicalPort><ipxact:name>rdata</ipxact:name>
          </ipxact:logicalPort>
          <ipxact:physicalPort>
          <ipxact:wire><ipxact:vector><ipxact:left>7</ipxact:left><ipxact:right>0</ipxact:right></ipxact:vector></ipxact:wire>
          </ipxact:physicalPort>
          </ipxact:portMap>
        </ipxact:portMaps>
      </ipxact:activeInterface>
    </ipxact:interconnection>


       <ipxact:interconnection>
      <ipxact:name>uart</ipxact:name>
       <ipxact:activeInterface componentRef="uart" busRef="uart"></ipxact:activeInterface>
    <ipxact:hierInterface busRef="uart"/>
       </ipxact:interconnection>
   
       <ipxact:interconnection>
      <ipxact:name>reg_mb</ipxact:name>
       <ipxact:activeInterface componentRef="mb_exp" busRef="mb_out"></ipxact:activeInterface>
    <ipxact:hierInterface busRef="reg_mb"/>
    </ipxact:interconnection>
    
    

    </ipxact:interconnections>
    




 <ipxact:adHocConnections>
    <ipxact:adHocConnection>
      <ipxact:name>clk</ipxact:name>
      <ipxact:externalPortReference portRef="slave_clk_clk"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="clk"/>
      <ipxact:internalPortReference componentRef="tim_0" portRef="clk"/>
      <ipxact:internalPortReference componentRef="uart" portRef="clk"/>
      <ipxact:internalPortReference componentRef="pic" portRef="clk"/>
      <ipxact:internalPortReference componentRef="utimer" portRef="clk"/>
      <ipxact:internalPortReference componentRef="mb_exp" portRef="clk"/>
    </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>reset</ipxact:name>
      <ipxact:externalPortReference portRef="slave_reset_reset"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="reset"/>
      <ipxact:internalPortReference componentRef="tim_0" portRef="reset"/>
      <ipxact:internalPortReference componentRef="uart" portRef="reset"/>
      <ipxact:internalPortReference componentRef="pic" portRef="reset"/>
      <ipxact:internalPortReference componentRef="utimer" portRef="reset"/>
      <ipxact:internalPortReference componentRef="mb_exp" portRef="reset"/>
    </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>enable</ipxact:name>
      <ipxact:externalPortReference portRef="enable"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="enable"/>
      <ipxact:internalPortReference componentRef="tim_0" portRef="enable"/>
      <ipxact:internalPortReference componentRef="uart" portRef="enable"/>
      <ipxact:internalPortReference componentRef="pic" portRef="enable"/>
      <ipxact:internalPortReference componentRef="utimer" portRef="enable"/>
      <ipxact:internalPortReference componentRef="mb_exp" portRef="enable"/>
    </ipxact:adHocConnection>



    <ipxact:adHocConnection>
      <ipxact:name>gpio_0_out</ipxact:name>
      <ipxact:externalPortReference portRef="gpio_0_out"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="gpio_0_out"/>
     </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>gpio_0_oe</ipxact:name>
      <ipxact:externalPortReference portRef="gpio_0_oe"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="gpio_0_oe"/>
     </ipxact:adHocConnection>



    <ipxact:adHocConnection>
      <ipxact:name>gpio_0_in</ipxact:name>
      <ipxact:externalPortReference portRef="gpio_0_in"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="gpio_0_in"/>
    </ipxact:adHocConnection>

    <ipxact:adHocConnection>
      <ipxact:name>gpio_1_out</ipxact:name>
      <ipxact:externalPortReference portRef="gpio_1_out"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="gpio_1_out"/>
     </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>gpio_1_oe</ipxact:name>
      <ipxact:externalPortReference portRef="gpio_1_oe"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="gpio_1_oe"/>
     </ipxact:adHocConnection>



    <ipxact:adHocConnection>
      <ipxact:name>gpio_1_in</ipxact:name>
      <ipxact:externalPortReference portRef="gpio_1_in"/>
      <ipxact:internalPortReference componentRef="gpio" portRef="gpio_1_in"/>
    </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>timer_irq</ipxact:name>
      <ipxact:externalPortReference portRef="timer_irq"/>
      <ipxact:internalPortReference componentRef="tim_0" portRef="irq"/>
    </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>cts_pad_in</ipxact:name>
      <ipxact:externalPortReference portRef="cts_pad_in"/>
      <ipxact:internalPortReference componentRef="uart" portRef="cts_pad_in"/>
    </ipxact:adHocConnection>

    <ipxact:adHocConnection>
      <ipxact:name>rts_pad_out</ipxact:name>
      <ipxact:externalPortReference portRef="rts_pad_out"/>
      <ipxact:internalPortReference componentRef="uart" portRef="rts_pad_out"/>
    </ipxact:adHocConnection>

    <ipxact:adHocConnection>
      <ipxact:name>rx_irq</ipxact:name>
      <ipxact:externalPortReference portRef="rx_irq"/>
      <ipxact:internalPortReference componentRef="uart" portRef="rx_irq"/>
    </ipxact:adHocConnection>

    <ipxact:adHocConnection>
      <ipxact:name>tx_irq</ipxact:name>
      <ipxact:externalPortReference portRef="tx_irq"/>
      <ipxact:internalPortReference componentRef="uart" portRef="tx_irq"/>
    </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>pic_irq_in</ipxact:name>
      <ipxact:externalPortReference portRef="pic_irq_in"/>
      <ipxact:internalPortReference componentRef="pic" portRef="int_in"/>
    </ipxact:adHocConnection>


    <ipxact:adHocConnection>
      <ipxact:name>pic_irq</ipxact:name>
      <ipxact:externalPortReference portRef="pic_irq"/>
      <ipxact:internalPortReference componentRef="pic" portRef="irq_out"/>
    </ipxact:adHocConnection>

    <ipxact:adHocConnection>
      <ipxact:name>pic_nmi</ipxact:name>
      <ipxact:externalPortReference portRef="pic_nmi"/>
      <ipxact:internalPortReference componentRef="pic" portRef="nmi_out"/>
    </ipxact:adHocConnection>




 </ipxact:adHocConnections>



<ipxact:componentInstances>




<ipxact:componentInstance>
<ipxact:instanceName>mb_exp</ipxact:instanceName>
<ipxact:componentRef vendor="opencores.org" library="logic" name="micro_bus" version="exp5"   />
<ipxact:configurableElementValues>
<ipxact:configurableElementValue referenceId="MAS_ADD_WIDTH">MAS_ADD_WIDTH</ipxact:configurableElementValue>
<ipxact:configurableElementValue referenceId="MAS_DATA_WIDTH">MAS_DATA_WIDTH</ipxact:configurableElementValue>
<ipxact:configurableElementValue referenceId="SLA_ADD_WIDTH">SLA_ADD_WIDTH</ipxact:configurableElementValue>
<ipxact:configurableElementValue referenceId="SLA_DATA_WIDTH">SLA_DATA_WIDTH</ipxact:configurableElementValue>
</ipxact:configurableElementValues>

</ipxact:componentInstance>


   
<ipxact:componentInstance>
<ipxact:instanceName>gpio</ipxact:instanceName>
<ipxact:componentRef vendor="opencores.org" library="io" name="io_gpio" version="def"   />
</ipxact:componentInstance>


<ipxact:componentInstance>


<ipxact:instanceName>tim_0</ipxact:instanceName>
<ipxact:componentRef vendor="opencores.org" library="io" name="io_timer" version="def"   />
</ipxact:componentInstance>

<ipxact:componentInstance>
<ipxact:instanceName>uart</ipxact:instanceName>
<ipxact:componentRef vendor="opencores.org" library="io" name="io_uart" version="def"   />
<ipxact:configurableElementValues>
<ipxact:configurableElementValue referenceId="PRESCALE">UART_PRESCALE</ipxact:configurableElementValue>
<ipxact:configurableElementValue referenceId="PRE_SIZE">UART_PRE_SIZE</ipxact:configurableElementValue>
<ipxact:configurableElementValue referenceId="DIV">UART_DIV</ipxact:configurableElementValue>
</ipxact:configurableElementValues>
</ipxact:componentInstance>

<ipxact:componentInstance>
<ipxact:instanceName>pic</ipxact:instanceName>
<ipxact:componentRef vendor="opencores.org" library="io" name="io_pic" version="def"   />
<ipxact:configurableElementValues>
<ipxact:configurableElementValue referenceId="NMI_MODE">NMI_MODE</ipxact:configurableElementValue>
<ipxact:configurableElementValue referenceId="IRQ_MODE">IRQ_MODE</ipxact:configurableElementValue>
</ipxact:configurableElementValues>
</ipxact:componentInstance>

<ipxact:componentInstance>
<ipxact:instanceName>utimer</ipxact:instanceName>
<ipxact:componentRef vendor="opencores.org" library="io" name="io_utimer" version="def"   />
</ipxact:componentInstance>







</ipxact:componentInstances>
                










</ipxact:design>





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.