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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [fpgas/] [ip/] [Nexys2_T6502/] [sim/] [testbenches/] [xml/] [Nexys2_T6502_default_tb.xml] - Rev 131

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:component 
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>fpgas</spirit:library>
<spirit:name>Nexys2_T6502</spirit:name>
<spirit:version>default_tb</spirit:version>  





<spirit:componentGenerators>

<spirit:componentGenerator>
  <spirit:name>elab_verilog</spirit:name>
  <spirit:phase>103.0</spirit:phase>
  <spirit:apiType>none</spirit:apiType>
  <spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions>
  <spirit:generatorExe>./tools/verilog/elab_verilog</spirit:generatorExe>
</spirit:componentGenerator>

<spirit:componentGenerator>
  <spirit:name>trace_bus</spirit:name>
  <spirit:phase>103.0</spirit:phase>
  <spirit:apiType>none</spirit:apiType>
  <spirit:vendorExtensions><socgen:envIdentifier>:*Simulation:*</socgen:envIdentifier></spirit:vendorExtensions>
  <spirit:generatorExe>./tools/verilog/trace_bus</spirit:generatorExe>
    <spirit:parameters>
    <spirit:parameter> 
      <spirit:name>path</spirit:name>
      <spirit:value>root.dut.core.T6502.cpu</spirit:value>
    </spirit:parameter>
    <spirit:parameter> 
      <spirit:name>bus_name</spirit:name>
      <spirit:value>cpu</spirit:value>
    </spirit:parameter>
  </spirit:parameters>

</spirit:componentGenerator>




<spirit:componentGenerator>
  <spirit:name>gen_verilog</spirit:name>
  <spirit:phase>104.0</spirit:phase>
  <spirit:apiType>none</spirit:apiType>
  <spirit:vendorExtensions><socgen:envIdentifier>common</socgen:envIdentifier></spirit:vendorExtensions>
  <spirit:generatorExe>./tools/verilog/gen_verilog</spirit:generatorExe>
    <spirit:parameters>
    <spirit:parameter> 
      <spirit:name>destination</spirit:name>
      <spirit:value>top.T6502_tb</spirit:value>
    </spirit:parameter>
    <spirit:parameter> 
      <spirit:name>dest_dir</spirit:name>
      <spirit:value>../verilog</spirit:value>
    </spirit:parameter>
    <spirit:parameter> 
      <spirit:name>top</spirit:name>
    </spirit:parameter>
  </spirit:parameters>
</spirit:componentGenerator>



</spirit:componentGenerators>





<spirit:model>
<spirit:modelParameters>
    <spirit:modelParameter><spirit:name>JTAG_MODEL_DIVCNT</spirit:name> <spirit:value>4'h4</spirit:value>     </spirit:modelParameter>
    <spirit:modelParameter><spirit:name>JTAG_MODEL_SIZE</spirit:name>   <spirit:value>4</spirit:value>        </spirit:modelParameter>
    <spirit:modelParameter><spirit:name>UART_MODEL_CLKCNT</spirit:name> <spirit:value>5'b11001</spirit:value> </spirit:modelParameter>
    <spirit:modelParameter><spirit:name>UART_MODEL_SIZE</spirit:name>   <spirit:value>5</spirit:value>        </spirit:modelParameter>
    <spirit:modelParameter><spirit:name>PS2_MODEL_CLKCNT</spirit:name>  <spirit:value>10'h177</spirit:value>  </spirit:modelParameter>
    <spirit:modelParameter><spirit:name>PS2_MODEL_SIZE</spirit:name>    <spirit:value>10</spirit:value>       </spirit:modelParameter>

</spirit:modelParameters>
       <spirit:views>

        

              <spirit:view>
              <spirit:name>Params</spirit:name>
              <spirit:vendorExtensions>
              <spirit:componentRef spirit:vendor="opencores.org" 
                                   spirit:library="fpgas" 
                                   spirit:name="Nexys2_T6502" 
                                   spirit:version="default_dut.params"/>
              </spirit:vendorExtensions>
              </spirit:view>



              <spirit:view>
              <spirit:name>Bfm</spirit:name>
              <spirit:hierarchyRef spirit:vendor="opencores.org" 
                                   spirit:library="fpgas" 
                                   spirit:name="Nexys2_T6502" 
                                   spirit:version="bfm.design"/>
              </spirit:view>



              <spirit:view>
              <spirit:name>icarus</spirit:name>              
              <spirit:vendorExtensions>
              <spirit:componentRef spirit:vendor="opencores.org" 
                                   spirit:library="Testbench" 
                                   spirit:name="toolflow" 
                                   spirit:version="icarus"/> 
              </spirit:vendorExtensions>
              </spirit:view>




              <spirit:view>
              <spirit:name>common</spirit:name><spirit:envIdentifier>common</spirit:envIdentifier>
              <spirit:language>Verilog</spirit:language>
              <spirit:modelName></spirit:modelName>
                     <spirit:fileSetRef>
                            <spirit:localName>fs-common</spirit:localName>
                     </spirit:fileSetRef>
              </spirit:view>


              <spirit:view>
              <spirit:name>sim</spirit:name><spirit:envIdentifier>:*Simulation:*</spirit:envIdentifier>           
              <spirit:language>Verilog</spirit:language>
              <spirit:modelName></spirit:modelName>
                     <spirit:fileSetRef>
                            <spirit:localName>fs-sim</spirit:localName>
                     </spirit:fileSetRef>
              </spirit:view>

              <spirit:view>
              <spirit:name>lint</spirit:name><spirit:envIdentifier>:*Lint:*</spirit:envIdentifier>
              <spirit:language>Verilog</spirit:language>
              <spirit:modelName></spirit:modelName>
                     <spirit:fileSetRef>
                            <spirit:localName>fs-lint</spirit:localName>
                     </spirit:fileSetRef>
              </spirit:view>

      </spirit:views>



</spirit:model>



  <spirit:fileSets>



    <spirit:fileSet>
      <spirit:name>fs-common</spirit:name>

      <spirit:file>
        <spirit:logicalName></spirit:logicalName>
        <spirit:name>../verilog/sram.load</spirit:name>
        <spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType>
      </spirit:file>


      <spirit:file>
        <spirit:logicalName></spirit:logicalName>
        <spirit:name>../verilog/tb.ext</spirit:name>
        <spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>fragment</spirit:userFileType>
      </spirit:file>



    </spirit:fileSet>




    <spirit:fileSet>
      <spirit:name>fs-sim</spirit:name>

      <spirit:file>
        <spirit:logicalName></spirit:logicalName>
        <spirit:name>../verilog/common/top.T6502_tb</spirit:name>
        <spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType>
      </spirit:file>

    </spirit:fileSet>


    <spirit:fileSet>
      <spirit:name>fs-lint</spirit:name>

      <spirit:file>
        <spirit:logicalName></spirit:logicalName>
        <spirit:name>../verilog/common/top.T6502_tb</spirit:name>
        <spirit:fileType>verilogSource</spirit:fileType><spirit:userFileType>module</spirit:userFileType>
      </spirit:file>


    </spirit:fileSet>






  </spirit:fileSets>



</spirit:component>



   


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.