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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [io/] [ip/] [io_uart/] [rtl/] [xml/] [io_uart_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_uart</spirit:name>
<spirit:version>def.design</spirit:version>  




<spirit:vendorExtensions><socgen:nodes>

<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>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>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>lat_wdata</spirit:name>
<spirit:typeName>reg</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>txd_load</spirit:name>
<spirit:typeName>reg</spirit:typeName>

</socgen:node>



<socgen:node><spirit:name>rxd_data_avail_stb</spirit:name>
<spirit:typeName>reg</spirit:typeName>

</socgen:node>



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



    <spirit:hierConnections>

    <spirit:hierConnection      spirit:interfaceRef="uart" >
      <spirit:interface spirit:componentRef="uart" spirit:busRef="uart"/>
      </spirit:hierConnection>


    <spirit:hierConnection       spirit:interfaceRef="rxd_data_avail" >
      <spirit:interface spirit:componentRef="uart" spirit:busRef="rxd_data_avail"/>
      </spirit:hierConnection>


    <spirit:hierConnection       spirit:interfaceRef="txd_buffer_empty" >
      <spirit:interface spirit:componentRef="uart" spirit:busRef="txd_buffer_empty"/>
      </spirit:hierConnection>





    </spirit:hierConnections>


<spirit:adHocConnections>


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


  <spirit:adHocConnection>
      <spirit:name>reset</spirit:name>
      <spirit:externalPortReference spirit:portRef="slave_reset_reset"/>
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="reset"/>
    </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>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="0" spirit:right="0"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_parity"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="1" spirit:right="1"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_force_parity"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="2" spirit:right="2"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_break"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="3" spirit:right="3"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rts_in"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="4" spirit:right="4"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="parity_enable"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>lat_wdata</spirit:name>
      <spirit:externalPortReference spirit:portRef="lat_wdata"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_data_in"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>txd_load</spirit:name>
      <spirit:externalPortReference spirit:portRef="txd_load"/>
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_load"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>rcv_data</spirit:name>
      <spirit:externalPortReference spirit:portRef="rcv_data"  spirit:left="7" spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_data_out"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="0" spirit:right="0"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_parity"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>cntrl</spirit:name>
      <spirit:externalPortReference spirit:portRef="cntrl" spirit:left="1" spirit:right="1"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_force_parity"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>status</spirit:name>
      <spirit:externalPortReference spirit:portRef="status" spirit:left="1" spirit:right="1"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_stop_error"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>status</spirit:name>
      <spirit:externalPortReference spirit:portRef="status" spirit:left="3" spirit:right="3"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_parity_error"/>
    </spirit:adHocConnection>


 <spirit:adHocConnection>
      <spirit:name>rxd_data_avail_stb</spirit:name>
      <spirit:externalPortReference spirit:portRef="rxd_data_avail_stb"/>
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_data_avail_stb"/>
    </spirit:adHocConnection>

 <spirit:adHocConnection>
      <spirit:name>rxd_data_avail</spirit:name>
      <spirit:externalPortReference spirit:portRef="rxd_data_avail"/>
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="rxd_data_avail"/>
    </spirit:adHocConnection>

 <spirit:adHocConnection>
      <spirit:name>status</spirit:name>
      <spirit:externalPortReference spirit:portRef="status" spirit:left="4" spirit:right="4"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="cts_out"/>
    </spirit:adHocConnection>

 <spirit:adHocConnection>
      <spirit:name>status</spirit:name>
      <spirit:externalPortReference spirit:portRef="status" spirit:left="5" spirit:right="5"  />
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="txd_buffer_empty"/>
    </spirit:adHocConnection>


  <spirit:adHocConnection spirit:tiedValue="4'b1011" >
      <spirit:internalPortReference spirit:componentRef="uart" spirit:portRef="divider_in"/>
    </spirit:adHocConnection>



</spirit:adHocConnections>


<spirit:componentInstances>

<spirit:componentInstance>
<spirit:instanceName>uart</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="logic" spirit:name="uart" spirit:version="def"   />
 <spirit:configurableElementValues>
 <spirit:configurableElementValue spirit:referenceId="PRESCALE">PRESCALE</spirit:configurableElementValue>
 <spirit:configurableElementValue spirit:referenceId="PRE_SIZE">PRE_SIZE</spirit:configurableElementValue>
 <spirit:configurableElementValue spirit:referenceId="DIV">DIV</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.