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 133
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>io</spirit:library>
<spirit:name>io_module</spirit:name>
<spirit:version>gpio.design</spirit:version>
<spirit:interconnections>
<spirit:interconnection>
<spirit:name>mas_0</spirit:name>
<spirit:activeInterface spirit:componentRef="mb_exp" spirit:busRef="mas_0"></spirit:activeInterface>
<spirit:activeInterface spirit:componentRef="gpio" spirit:busRef="mb">
<spirit:portMaps>
<spirit:portMap>
<spirit:logicalPort><spirit:name>rdata</spirit:name>
</spirit:logicalPort>
<spirit:physicalPort>
<spirit:wire><spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</spirit:physicalPort>
</spirit:portMap>
</spirit:portMaps>
</spirit:activeInterface>
</spirit:interconnection>
<spirit:interconnection>
<spirit:name>mas_1</spirit:name>
<spirit:activeInterface spirit:componentRef="mb_exp" spirit:busRef="mas_1"></spirit:activeInterface>
<spirit:activeInterface spirit:componentRef="tim_0" spirit:busRef="mb">
<spirit:portMaps>
<spirit:portMap>
<spirit:logicalPort><spirit:name>rdata</spirit:name>
</spirit:logicalPort>
<spirit:physicalPort>
<spirit:wire><spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</spirit:physicalPort>
</spirit:portMap>
</spirit:portMaps>
</spirit:activeInterface>
</spirit:interconnection>
<spirit:interconnection>
<spirit:name>mas_2</spirit:name>
<spirit:activeInterface spirit:componentRef="mb_exp" spirit:busRef="mas_2"></spirit:activeInterface>
<spirit:activeInterface spirit:componentRef="uart" spirit:busRef="mb">
<spirit:portMaps>
<spirit:portMap>
<spirit:logicalPort><spirit:name>rdata</spirit:name>
</spirit:logicalPort>
<spirit:physicalPort>
<spirit:wire><spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</spirit:physicalPort>
</spirit:portMap>
</spirit:portMaps>
</spirit:activeInterface>
</spirit:interconnection>
<spirit:interconnection>
<spirit:name>mas_3</spirit:name>
<spirit:activeInterface spirit:componentRef="mb_exp" spirit:busRef="mas_3"></spirit:activeInterface>
<spirit:activeInterface spirit:componentRef="pic" spirit:busRef="mb">
<spirit:portMaps>
<spirit:portMap>
<spirit:logicalPort><spirit:name>rdata</spirit:name>
</spirit:logicalPort>
<spirit:physicalPort>
<spirit:wire><spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</spirit:physicalPort>
</spirit:portMap>
</spirit:portMaps>
</spirit:activeInterface>
</spirit:interconnection>
<spirit:interconnection>
<spirit:name>mas_4</spirit:name>
<spirit:activeInterface spirit:componentRef="mb_exp" spirit:busRef="mas_4"></spirit:activeInterface>
<spirit:activeInterface spirit:componentRef="utimer" spirit:busRef="mb">
<spirit:portMaps>
<spirit:portMap>
<spirit:logicalPort><spirit:name>rdata</spirit:name>
</spirit:logicalPort>
<spirit:physicalPort>
<spirit:wire><spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</spirit:physicalPort>
</spirit:portMap>
</spirit:portMaps>
</spirit:activeInterface>
</spirit:interconnection>
</spirit:interconnections>
<spirit:hierConnections>
<spirit:hierConnection spirit:interfaceRef="reg_mb" >
<spirit:interface spirit:componentRef="mb_exp" spirit:busRef="mb_out"/>
</spirit:hierConnection>
<spirit:hierConnection spirit:interfaceRef="uart">
<spirit:interface spirit:componentRef="uart" spirit:busRef="uart"/>
</spirit:hierConnection>
</spirit:hierConnections>
<spirit:adHocConnections>
<spirit:adHocConnection>
<spirit:name>clk</spirit:name>
<spirit:externalPortReference spirit:portRef="slave_clk_clk"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="clk"/>
<spirit:internalPortReference spirit:componentRef="tim_0" spirit:portRef="clk"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="clk"/>
<spirit:internalPortReference spirit:componentRef="pic" spirit:portRef="clk"/>
<spirit:internalPortReference spirit:componentRef="utimer" spirit:portRef="clk"/>
<spirit:internalPortReference spirit:componentRef="mb_exp" spirit:portRef="clk"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>reset</spirit:name>
<spirit:externalPortReference spirit:portRef="slave_reset_reset"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="reset"/>
<spirit:internalPortReference spirit:componentRef="tim_0" spirit:portRef="reset"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="reset"/>
<spirit:internalPortReference spirit:componentRef="pic" spirit:portRef="reset"/>
<spirit:internalPortReference spirit:componentRef="utimer" spirit:portRef="reset"/>
<spirit:internalPortReference spirit:componentRef="mb_exp" spirit:portRef="reset"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>enable</spirit:name>
<spirit:externalPortReference spirit:portRef="enable"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="enable"/>
<spirit:internalPortReference spirit:componentRef="tim_0" spirit:portRef="enable"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="enable"/>
<spirit:internalPortReference spirit:componentRef="pic" spirit:portRef="enable"/>
<spirit:internalPortReference spirit:componentRef="utimer" spirit:portRef="enable"/>
<spirit:internalPortReference spirit:componentRef="mb_exp" spirit:portRef="enable"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>gpio_0_out</spirit:name>
<spirit:externalPortReference spirit:portRef="gpio_0_out"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="gpio_0_out"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>gpio_0_oe</spirit:name>
<spirit:externalPortReference spirit:portRef="gpio_0_oe"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="gpio_0_oe"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>gpio_0_in</spirit:name>
<spirit:externalPortReference spirit:portRef="gpio_0_in"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="gpio_0_in"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>gpio_1_out</spirit:name>
<spirit:externalPortReference spirit:portRef="gpio_1_out"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="gpio_1_out"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>gpio_1_oe</spirit:name>
<spirit:externalPortReference spirit:portRef="gpio_1_oe"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="gpio_1_oe"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>gpio_1_in</spirit:name>
<spirit:externalPortReference spirit:portRef="gpio_1_in"/>
<spirit:internalPortReference spirit:componentRef="gpio" spirit:portRef="gpio_1_in"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>timer_irq</spirit:name>
<spirit:externalPortReference spirit:portRef="timer_irq"/>
<spirit:internalPortReference spirit:componentRef="tim_0" spirit:portRef="irq"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>cts_pad_in</spirit:name>
<spirit:externalPortReference spirit:portRef="cts_pad_in"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="cts_pad_in"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rts_pad_out</spirit:name>
<spirit:externalPortReference spirit:portRef="rts_pad_out"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rts_pad_out"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rx_irq</spirit:name>
<spirit:externalPortReference spirit:portRef="rx_irq"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rx_irq"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>tx_irq</spirit:name>
<spirit:externalPortReference spirit:portRef="tx_irq"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="tx_irq"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name></spirit:name>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_data_avail_IRQ"/>
<spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_buffer_empty_NIRQ"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>pic_irq_in</spirit:name>
<spirit:externalPortReference spirit:portRef="pic_irq_in"/>
<spirit:internalPortReference spirit:componentRef="pic" spirit:portRef="int_in"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>pic_irq</spirit:name>
<spirit:externalPortReference spirit:portRef="pic_irq"/>
<spirit:internalPortReference spirit:componentRef="pic" spirit:portRef="irq_out"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>pic_nmi</spirit:name>
<spirit:externalPortReference spirit:portRef="pic_nmi"/>
<spirit:internalPortReference spirit:componentRef="pic" spirit:portRef="nmi_out"/>
</spirit:adHocConnection>
</spirit:adHocConnections>
<spirit:componentInstances>
<spirit:componentInstance>
<spirit:instanceName>mb_exp</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="micro_bus" spirit:version="exp5" />
</spirit:componentInstance>
<spirit:componentInstance>
<spirit:instanceName>gpio</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_gpio" spirit:version="def" />
</spirit:componentInstance>
<spirit:componentInstance>
<spirit:instanceName>tim_0</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_timer" spirit:version="def" />
</spirit:componentInstance>
<spirit:componentInstance>
<spirit:instanceName>uart</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_uart" spirit:version="def" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="PRESCALE">UART_PRESCALE</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="PRE_SIZE">UART_PRE_SIZE</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="DIV">UART_DIV</spirit:configurableElementValue>
</spirit:configurableElementValues>
</spirit:componentInstance>
<spirit:componentInstance>
<spirit:instanceName>pic</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_pic" spirit:version="def" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="NMI_MODE">NMI_MODE</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="IRQ_MODE">IRQ_MODE</spirit:configurableElementValue>
</spirit:configurableElementValues>
</spirit:componentInstance>
<spirit:componentInstance>
<spirit:instanceName>utimer</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="io" spirit:name="io_utimer" spirit:version="def" />
</spirit:componentInstance>
</spirit:componentInstances>
</spirit:design>
Go to most recent revision | Compare with Previous | Blame | View Log