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

Subversion Repositories socgen

[/] [socgen/] [trunk/] [Projects/] [opencores.org/] [Mos6502/] [ip/] [cpu/] [rtl/] [xml/] [cpu_def.design.xml] - Rev 131

Go to most recent revision | Compare with Previous | Blame | View Log

<?xml version="1.0" encoding="utf-8"?>
<!--                                                
//                                                //
// Generated File Do Not EDIT                     //
//                                                //
// regen by adding -tb to gen_verilog script      //
//                                                //
-->                                                 
<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>Mos6502</spirit:library>
<spirit:name>cpu</spirit:name>
<spirit:version>def.design</spirit:version>

<spirit:vendorExtensions>
<socgen:nodes>

<socgen:node>
<spirit:name>addr</spirit:name>
<spirit:typeName>wire</spirit:typeName>
<spirit:wire><spirit:vector><spirit:left>CPU_ADD-1</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>


<socgen:node>
<spirit:name>prog_counter</spirit:name>
<spirit:typeName>wire</spirit:typeName>
<spirit:wire><spirit:vector><spirit:left>CPU_ADD-1</spirit:left><spirit:right>0</spirit:right></spirit:vector></spirit:wire>
</socgen:node>



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



<spirit:adHocConnections>

<spirit:adHocConnection>
<spirit:name>alu_status</spirit:name>
<spirit:externalPortReference  spirit:portRef="alu_status"   spirit:left="7"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="alu_status" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>clk</spirit:name>
<spirit:externalPortReference  spirit:portRef="slave_clk_clk" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="clk" />
<spirit:internalPortReference  spirit:componentRef="stack_ram" spirit:portRef="clk" />
<spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="clk"/>
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>reset</spirit:name>
<spirit:externalPortReference  spirit:portRef="slave_reset_reset" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="reset" />
<spirit:internalPortReference  spirit:componentRef="stack_ram" spirit:portRef="reset" />
</spirit:adHocConnection>


<spirit:adHocConnection>
<spirit:name>enable</spirit:name>
<spirit:externalPortReference  spirit:portRef="enable" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="enable" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>addr</spirit:name>
<spirit:externalPortReference  spirit:portRef="addr"   spirit:left="15"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="addr" />
</spirit:adHocConnection>

   <spirit:adHocConnection>
      <spirit:name>addr</spirit:name>
<spirit:externalPortReference  spirit:portRef="addr"   spirit:left="PROG_ROM_ADD"   spirit:right="1" />
      <spirit:internalPortReference spirit:componentRef="prog_rom"    spirit:portRef="waddr" />
    </spirit:adHocConnection>


    <spirit:adHocConnection>
      <spirit:name>prog_counter</spirit:name>
<spirit:externalPortReference  spirit:portRef="prog_counter"   spirit:left="PROG_ROM_ADD"   spirit:right="1" />
      <spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="raddr" />
    </spirit:adHocConnection>

   <spirit:adHocConnection>
      <spirit:name>prog_data</spirit:name>
<spirit:externalPortReference  spirit:portRef="prog_data"   spirit:left="15"   spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="rdata"/>
    </spirit:adHocConnection>




<spirit:adHocConnection>
<spirit:name>rd</spirit:name>
<spirit:externalPortReference  spirit:portRef="cpu_rd" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="rd" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>rdata</spirit:name>
<spirit:externalPortReference  spirit:portRef="cpu_rdata"   spirit:left="15"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="rdata" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>wdata</spirit:name>
<spirit:externalPortReference  spirit:portRef="cpu_wdata"   spirit:left="7"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="wdata" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>wr</spirit:name>
      <spirit:externalPortReference  spirit:portRef="cpu_wr" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="wr" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>nmi</spirit:name>
      <spirit:externalPortReference  spirit:portRef="nmi" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="nmi" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>pg0_add</spirit:name>
<spirit:externalPortReference  spirit:portRef="pg0_add"   spirit:left="7"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="pg0_add" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>pg0_data</spirit:name>
<spirit:externalPortReference  spirit:portRef="pg0_data"   spirit:left="7"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="pg0_data" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>pg0_rd</spirit:name>
      <spirit:externalPortReference  spirit:portRef="pg0_rd" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="pg0_rd" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>pg0_wr</spirit:name>
      <spirit:externalPortReference  spirit:portRef="pg0_wr" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="pg0_wr" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>prog_counter</spirit:name>
<spirit:externalPortReference  spirit:portRef="prog_counter"   spirit:left="15"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="prog_counter" />
</spirit:adHocConnection>

<spirit:adHocConnection>
<spirit:name>prog_data</spirit:name>
<spirit:externalPortReference  spirit:portRef="prog_data"   spirit:left="15"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="prog_data" />
</spirit:adHocConnection>




<spirit:adHocConnection>
<spirit:name>vec_int</spirit:name>
<spirit:externalPortReference  spirit:portRef="vec_int"   spirit:left="7"   spirit:right="0" />
<spirit:internalPortReference  spirit:componentRef="core" spirit:portRef="vec_int" />
</spirit:adHocConnection>



  <spirit:adHocConnection>
      <spirit:name>stk_push</spirit:name>
      <spirit:externalPortReference  spirit:portRef="stk_push" />
      <spirit:internalPortReference spirit:componentRef="core" spirit:portRef="stk_push"/>
      <spirit:internalPortReference spirit:componentRef="stack_ram" spirit:portRef="push"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>stk_push_data</spirit:name>
<spirit:externalPortReference  spirit:portRef="stk_push_data"   spirit:left="15"   spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="core" spirit:portRef="stk_push_data"/>
      <spirit:internalPortReference spirit:componentRef="stack_ram" spirit:portRef="din"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>stk_pull</spirit:name>
      <spirit:externalPortReference  spirit:portRef="stk_pull" />
      <spirit:internalPortReference spirit:componentRef="core" spirit:portRef="stk_pull"/>
      <spirit:internalPortReference spirit:componentRef="stack_ram" spirit:portRef="pop"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection>
      <spirit:name>stk_pull_data</spirit:name>
<spirit:externalPortReference  spirit:portRef="stk_pull_data"   spirit:left="15"   spirit:right="0" />
      <spirit:internalPortReference spirit:componentRef="core" spirit:portRef="stk_pull_data"/>
      <spirit:internalPortReference spirit:componentRef="stack_ram" spirit:portRef="dout"/>
    </spirit:adHocConnection>


    <spirit:adHocConnection  spirit:tiedValue="1'b0"  >
      <spirit:externalPortReference  spirit:portRef="" />
         <spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="wr"/>
    </spirit:adHocConnection>

    <spirit:adHocConnection  spirit:tiedValue="16'h0000" >
      <spirit:externalPortReference  spirit:portRef="" />
      <spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="wdata"/>
    </spirit:adHocConnection>


   <spirit:adHocConnection  spirit:tiedValue="1'b1"  >
      <spirit:externalPortReference  spirit:portRef="" />
      <spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="cs"/>
      <spirit:internalPortReference spirit:componentRef="prog_rom" spirit:portRef="rd"/>
    </spirit:adHocConnection>


</spirit:adHocConnections>
<spirit:componentInstances>

<spirit:componentInstance>
<spirit:instanceName>core</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="Mos6502" spirit:name="core" spirit:version="def" />
<spirit:configurableElementValues>
 <spirit:configurableElementValue spirit:referenceId="VEC_TABLE">VEC_TABLE</spirit:configurableElementValue>
 <spirit:configurableElementValue spirit:referenceId="BOOT_VEC">BOOT_VEC</spirit:configurableElementValue>
</spirit:configurableElementValues>
</spirit:componentInstance>

<spirit:componentInstance>
<spirit:instanceName>stack_ram</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="lifo" spirit:version="def"/>
<spirit:configurableElementValues>
  <spirit:configurableElementValue spirit:referenceId="WIDTH">16</spirit:configurableElementValue>
  <spirit:configurableElementValue spirit:referenceId="SIZE">8</spirit:configurableElementValue>
  <spirit:configurableElementValue spirit:referenceId="WORDS">256</spirit:configurableElementValue>
</spirit:configurableElementValues>
</spirit:componentInstance>

<spirit:componentInstance>
<spirit:instanceName>prog_rom</spirit:instanceName>
<spirit:componentRef spirit:vendor="opencores.org" spirit:library="cde" spirit:name="sram" spirit:version="dp"/>
<spirit:configurableElementValues>
<spirit:configurableElementValue spirit:referenceId="WIDTH">16</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="ADDR">PROG_ROM_ADD</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="WORDS">PROG_ROM_WORDS</spirit:configurableElementValue>
<spirit:configurableElementValue spirit:referenceId="DEFAULT">16'hffff</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.