URL
https://opencores.org/ocsvn/socgen/socgen/trunk
Subversion Repositories socgen
[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [io/] [ip/] [io_ps2/] [rtl/] [xml/] [io_ps2_def.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_ps2</spirit:name>
<spirit:version>def.design</spirit:version>
<spirit:hierConnections>
<spirit:hierConnection spirit:interfaceRef="ps2" >
<spirit:interface spirit:componentRef="ps2" spirit:busRef="ps2"/>
</spirit:hierConnection>
</spirit:hierConnections>
<spirit:vendorExtensions><socgen:nodes>
<socgen:node><spirit:name>cntrl</spirit:name>
<spirit:typeName>wire</spirit:typeName>
<spirit:wire>
<spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>
<socgen:node><spirit:name>wdata_buf</spirit:name>
<spirit:typeName>wire</spirit:typeName>
<spirit:wire>
<spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>
<socgen:node><spirit:name>rcv_data</spirit:name>
<spirit:typeName>wire</spirit:typeName>
<spirit:wire>
<spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>
<socgen:node><spirit:name>status</spirit:name>
<spirit:typeName>wire</spirit:typeName>
<spirit:wire>
<spirit:vector><spirit:left>7</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>
<socgen:node><spirit:name>ps2_data_read_stb</spirit:name>
<spirit:typeName>reg</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>ps2_data_rd</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>busy</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>buffer_empty</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>rx_parity_error</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>rx_parity_rcv</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>rx_parity_cal</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>rx_frame_error</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>tx_ack_error</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>read</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>poll_enable</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
<socgen:node><spirit:name>ps2_rx_clear</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>
</socgen:nodes></spirit:vendorExtensions>
<spirit:adHocConnections>
<spirit:adHocConnection>
<spirit:name>clk</spirit:name>
<spirit:externalPortReference spirit:portRef="slave_clk_clk"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="clk"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>reset</spirit:name>
<spirit:externalPortReference spirit:portRef="slave_reset_reset"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="reset"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>busy</spirit:name>
<spirit:externalPortReference spirit:portRef="busy"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="busy"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>buffer_empty</spirit:name>
<spirit:externalPortReference spirit:portRef="buffer_empty"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="tx_buffer_empty"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>wdata_buf</spirit:name>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="tx_data"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>cntrl</spirit:name>
<spirit:externalPortReference spirit:portRef="cntrl" spirit:left="1" spirit:right="1"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="tx_write"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rcv_data</spirit:name>
<spirit:externalPortReference spirit:portRef="rcv_data"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_data"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>read</spirit:name>
<spirit:externalPortReference spirit:portRef="read"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_read"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rcv_data_avail</spirit:name>
<spirit:externalPortReference spirit:portRef="rcv_data_avail"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_full"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rx_parity_error</spirit:name>
<spirit:externalPortReference spirit:portRef="rx_parity_error"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_parity_error"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rx_parity_rcv</spirit:name>
<spirit:externalPortReference spirit:portRef="rx_parity_rcv"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_parity_rcv"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rx_parity_cal</spirit:name>
<spirit:externalPortReference spirit:portRef="rx_parity_cal"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_parity_cal"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>rx_frame_error</spirit:name>
<spirit:externalPortReference spirit:portRef="rx_frame_error"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_frame_error"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>ps2_rx_clear</spirit:name>
<spirit:externalPortReference spirit:portRef="ps2_rx_clear"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="rx_clear"/>
</spirit:adHocConnection>
<spirit:adHocConnection>
<spirit:name>tx_ack_error</spirit:name>
<spirit:externalPortReference spirit:portRef="tx_ack_error"/>
<spirit:internalPortReference spirit:componentRef="ps2" spirit:portRef="tx_ack_error"/>
</spirit:adHocConnection>
</spirit:adHocConnections>
<spirit:componentInstances>
<spirit:componentInstance>
<spirit:instanceName>ps2</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="ps2_interface" spirit:version="def" />
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="CLK_HOLD_DELAY">1</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="DATA_SETUP_DELAY">14</spirit:configurableElementValue>
</spirit:configurableElementValues>
</spirit:componentInstance>
</spirit:componentInstances>
</spirit:design>
Go to most recent revision | Compare with Previous | Blame | View Log