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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [common/] [opencores.org/] [Testbench/] [bfms/] [ps2_model/] [rtl/] [xml/] [ps2_model_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>Testbench</spirit:library>
<spirit:name>ps2_model</spirit:name>
<spirit:version>def.design</spirit:version>  


<spirit:vendorExtensions>

<socgen:nodes>




<socgen:node><spirit:name>exp_device_rx_data</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>mask_device_rx_data</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>exp_device_rx_parity</spirit:name>
<spirit:typeName>reg</spirit:typeName>
</socgen:node>


<socgen:node><spirit:name>drv_device_rx_parity</spirit:name>
<spirit:typeName>wire</spirit:typeName>
</socgen:node>



<socgen:node><spirit:name>mask_device_rx_parity</spirit:name>
<spirit:typeName>reg</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="device_rx_data_tpb" spirit:portRef="clk"/>
      <spirit:internalPortReference spirit:componentRef="device_rx_parity_tpb" spirit:portRef="clk"/>
    </spirit:adHocConnection>



    <spirit:adHocConnection>
      <spirit:name>exp_device_rx_data</spirit:name>
      <spirit:externalPortReference spirit:portRef="exp_device_rx_data"   spirit:left="7"   spirit:right="0"     />
      <spirit:internalPortReference spirit:componentRef="device_rx_data_tpb" spirit:portRef="expected_value"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>exp_device_rx_parity</spirit:name>
      <spirit:externalPortReference spirit:portRef="exp_device_rx_parity"        />
      <spirit:internalPortReference spirit:componentRef="device_rx_parity_tpb" spirit:portRef="expected_value"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>drv_device_rx_data</spirit:name>
      <spirit:externalPortReference spirit:portRef="drv_device_rx_data"   spirit:left="7"   spirit:right="0"     />
      <spirit:internalPortReference spirit:componentRef="device_rx_data_tpb" spirit:portRef="drive_value"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>drv_device_rx_parity</spirit:name>
      <spirit:externalPortReference spirit:portRef="drv_device_rx_parity"        />
      <spirit:internalPortReference spirit:componentRef="device_rx_parity_tpb" spirit:portRef="drive_value"/>
    </spirit:adHocConnection>



    <spirit:adHocConnection>
      <spirit:name>mask_device_rx_data</spirit:name>
      <spirit:externalPortReference spirit:portRef="mask_device_rx_data"   spirit:left="7"   spirit:right="0"     />
      <spirit:internalPortReference spirit:componentRef="device_rx_data_tpb" spirit:portRef="mask"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>mask_device_rx_parity</spirit:name>
      <spirit:externalPortReference spirit:portRef="mask_device_rx_parity"        />
      <spirit:internalPortReference spirit:componentRef="device_rx_parity_tpb" spirit:portRef="mask"/>
    </spirit:adHocConnection>





    <spirit:adHocConnection>
      <spirit:name>prb_device_rx_data</spirit:name>
      <spirit:externalPortReference spirit:portRef="prb_device_rx_data"   spirit:left="7"   spirit:right="0"     />
      <spirit:internalPortReference spirit:componentRef="device_rx_data_tpb" spirit:portRef="signal"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>prb_device_rx_parity</spirit:name>
      <spirit:externalPortReference spirit:portRef="prb_device_rx_parity"        />
      <spirit:internalPortReference spirit:componentRef="device_rx_parity_tpb" spirit:portRef="signal"/>
    </spirit:adHocConnection>



</spirit:adHocConnections>



<spirit:componentInstances>





<spirit:componentInstance>
<spirit:instanceName>device_rx_data_tpb</spirit:instanceName> <spirit:componentRef spirit:vendor="opencores.org" spirit:library="Testbench" spirit:name="io_probe" spirit:version="def" />
 <spirit:configurableElementValues>
 <spirit:configurableElementValue spirit:referenceId="WIDTH">8</spirit:configurableElementValue>
 <spirit:configurableElementValue spirit:referenceId="MESG">"ps2 data receive  Error"</spirit:configurableElementValue>
</spirit:configurableElementValues>
</spirit:componentInstance>


<spirit:componentInstance>
<spirit:instanceName>device_rx_parity_tpb</spirit:instanceName> <spirit:componentRef spirit:vendor="opencores.org" spirit:library="Testbench" spirit:name="io_probe" spirit:version="def" />
 <spirit:configurableElementValues>
 <spirit:configurableElementValue spirit:referenceId="WIDTH">1</spirit:configurableElementValue>
 <spirit:configurableElementValue spirit:referenceId="MESG">"ps2 parity receive  Error"</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.