pci_bridge32(1).v
上传用户:quan1896
上传日期:2014-05-14
资源大小:211k
文件大小:93k
源码类别:

并行计算

开发平台:

Others

  1. <!-- pf_header_start -->
  2. <html>
  3.   <head>
  4.     <META NAME="keywords" CONTENT="cores, VHDL, Verilog HDL, ASIC, Synthesizable,
  5.       standard cell, IP, Intellectual Property, 32-bit RISC, UART, PCI, SDRAM,
  6.       full custom, system on a chip, SOC, reusable, design, development, synthesis,
  7.       designs, developers, C, Linux, eCos, open, free, open source cores, RTL code,
  8.       system-on-a-chip, circuits, digital, GNU, GPL, core, controller, processor,
  9.       system design, chip design, EDA, design methodology, design tools, ASICs, programmable logic,
  10.       FPGA's, PLDs, CPLDs, verification, Synthesis, HDL, Simulation, IC design software,
  11.       semiconductor design, integrated circuits, system designs, chip designs, EDAs, 
  12.       design methodologies, design tool, ASIC, programmable logics, FPGA, PLD, CPLD, Synthesis, 
  13.       circuit, Synopsys, system design, chip design, programmable logic, FPGA's, PLDs, 
  14.       CPLDs, verification, Simulation">
  15.     <META NAME="description" CONTENT="OPENCORES.ORG endorses development and hosts
  16.       a repository of free, open-source cores (chip designs) and supplemental
  17.       platforms (boards).">
  18.     <STYLE type=text/css>
  19.       BODY {margin: 0;}
  20.       BODY, P, DIV, TD, TR, TH, FORM, OL, UL, LI, B, I, INPUT, TEXTAREA, SELECT,
  21.       FONT {font-size: 10pt; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  22.       P, TD, FORM, TEXTAREA {font-size: 10pt;}
  23.       H1, H2 {FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica; font-size: 13pt; text-decoration: none}
  24.       .noline {text-decoration: none;}
  25.       .menu_top {text-decoration: none; font-weight: bold;
  26.         font-size: 7pt; color: #000000; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;} 
  27.       .menu_section {text-decoration: none; font-weight: bold;
  28.         font-size: 10pt; color: #ffffff; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;} 
  29.       .menu_item {font-size: 10pt; color: #004488; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  30.       .menu_section_admin {text-decoration: none; font-weight: bold;
  31.         font-size: 10pt; color: #ffff44; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;} 
  32.       .page_title {text-decoration: none; font-weight: bold; color: #c00000; font-size: 13pt; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  33.       .block_title {text-decoration: none; font-weight: bold; font-size: 11pt; color: #000000; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  34.       .block_subtitle {text-decoration: none; font-weight: bold; font-size: 10pt; color: #000000; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  35.       .title {text-decoration: none; font-weight: bold; font-size: 10pt; color: #000000; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  36.       .large {font-size: 13pt; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  37.       .medium {font-size: 10pt; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  38.       .small {font-size: 7pt; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  39.       .ultrasmall {font-size: 3pt; FONT-FAMILY: Verdana, Tahoma, Arial, Helvetica;}
  40.       .button { font-family:Verdana, Tahoma, Arial, Helvetica; }
  41.       .searchfield {font-family: verdana, arial, helvetica; font-size: 10px; color: #333333; width: 80px; height: 17px;}
  42.     </STYLE>
  43.     <title>OPENCORES.ORG</title>
  44.     <script laguage="Javascript">
  45.       function check(msg) {
  46.         if(confirm(msg)) {
  47.           return true
  48.         } else {
  49.           return false
  50.         }
  51.       }
  52.     </script>
  53.   </head>
  54.   
  55.   <body 
  56.     bgcolor="#e0e0e0" 
  57.     topmargin="0" 
  58.     leftmargin="0" 
  59.     marginwidth="0" 
  60.     marginheight="0" 
  61.     link="#004488" 
  62.     alink="#ff3300"
  63.     vlink="#444444"
  64.   >
  65. <a name="top">
  66. <!-- pf_header_end -->
  67. <center>
  68. <table cellpadding=0 cellspacing=0 border=0 width=96%><tr>
  69. <td width=1 bgcolor=#000000><img width=1 src="/images/dotty.gif"></td>
  70. <td>
  71. <table border=0 cellpadding=0 cellspacing=0 width=100%>
  72. <tr><td background="/images/topbg.gif" bgcolor=#aaddff height=70>
  73. <table width=100% border=0 ><tr><td width=180>
  74. <a href="/"><img border=0 src="/images/oc_logo.gif"></a>
  75. </td><td>
  76. <center>
  77. <!--
  78. <a title="" href="/banner.cgi"><img width=468 height=60 border=0 alt="" src=""></a>
  79. //-->
  80. <script type="text/javascript"><!--
  81. google_ad_client = "pub-9285819221080148";
  82. xgoogle_ad_width = 728;
  83. xgoogle_ad_height = 79;
  84. xgoogle_ad_format = "728x90_as";
  85. google_ad_width = 468;
  86. google_ad_height = 47;
  87. google_ad_format = "468x60_as";
  88. google_ad_type = "text_image";
  89. google_ad_channel ="3274390903";
  90. google_color_border = "aaddff";
  91. xgoogle_color_border = "ffee88";
  92. xgoogle_color_bg = "FFEE88";
  93. google_color_bg = "aaddFF";
  94. google_color_link = "004488";
  95. google_color_url = "b00000";
  96. google_color_text = "000000";
  97. //--></script>
  98. <script type="text/javascript"
  99.   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  100. </script>
  101. </center>
  102. </td><td align=right>
  103. </td>
  104. </tr></table>
  105. </td></tr>
  106. <tr bgcolor=#000000><td><img height=1 src="/images/dotty.gif"></td></tr>
  107. <tr><td bgcolor=#ffffff>
  108. <table border=0 cellpadding=0 cellspacing=0 width=100%><tr>
  109. <td bgcolor=#ffee88 width=60% background="/images/menu1.gif"></td>
  110. <td bgcolor=#ffee88 width=15 background="/images/menu1.gif" align=right><input type=image border=0 src="/images/exp1pf.gif" onclick="javascript:window.location='/pf.cgi?url=/cvsweb.shtml/pci/rtl/verilog/pci_bridge32.v?rev=1.19'"></a></td>
  111. <td bgcolor=#ffffff align=right nowrap>
  112. &nbsp; &nbsp; &nbsp; &nbsp; 
  113. <font class=menu_top size=-1>
  114.         
  115.           <a class=menu_top href="/login.cgi/login">LOGIN</a>
  116.           
  117.             &nbsp; ::: &nbsp;
  118.           
  119.         
  120.           <a class=menu_top href="/recover_pass.cgi/recover_pass">RECOVER PASS</a>
  121.           
  122.             &nbsp; ::: &nbsp;
  123.           
  124.         
  125.           <a class=menu_top href="/get_account.cgi/get_account">GET ACCOUNT</a>
  126.           
  127.         
  128. &nbsp; &nbsp;
  129. </font>
  130. </td></tr>
  131. <tr bgcolor=#ffffff>
  132.   <td></td>
  133.   <td></td>
  134.   <td bgcolor=#000000><img src="/images/dotty.gif"></td>
  135. </tr>
  136. </table>
  137. <table border=0 cellpadding=0 cellspacing=0>
  138. <tr>
  139. <td width=10><img width=10 src="/images/dotty.gif"></td>
  140. <td width=120 valign=top>
  141.         
  142.         <table width=100% border=0 cellpadding=2 cellspacing=0>
  143.           <tr><td><img height=2 src="/images/dotty.gif"></td></tr>
  144.         
  145.          <tr><td bgcolor="#347FB8">
  146.            <img src="/images/bullet.gif">
  147.          
  148.            <font class=menu_section>Browse</font>
  149.          
  150.          </td></tr>
  151.           
  152.            <tr><td>
  153.               
  154.                   
  155.                       <li class=small>
  156.                   
  157.               
  158.             
  159.                 <a class=menu_item href="/browse.cgi/by_category"><font class=menu_item>Projects</font></a></li>
  160.             
  161.            </td></tr>
  162.             
  163.           
  164.            <tr><td>
  165.               
  166.                   
  167.                       <li class=small>
  168.                   
  169.               
  170.             
  171.                 <a class=menu_item href="/cvsweb.shtml/"><font class=menu_item>Code (CVS)</font></a></li>
  172.             
  173.            </td></tr>
  174.             
  175.           
  176.            <tr><td>
  177.               
  178.                   
  179.                       <li class=small>
  180.                   
  181.               
  182.             
  183.                 <a class=menu_item href="/forums.cgi"><font class=menu_item>Forums</font></a></li>
  184.             
  185.            </td></tr>
  186.             
  187.           
  188.            <tr><td>
  189.               
  190.                   
  191.                       <li class=small>
  192.                   
  193.               
  194.             
  195.                 <a class=menu_item href="/news.cgi/list/1"><font class=menu_item>News</font></a></li>
  196.             
  197.            </td></tr>
  198.             
  199.           
  200.            <tr><td>
  201.               
  202.                   
  203.                       <li class=small>
  204.                   
  205.               
  206.             
  207.                 <a class=menu_item href="/articles.cgi/list"><font class=menu_item>Articles</font></a></li>
  208.             
  209.            </td></tr>
  210.             
  211.           
  212.            <tr><td>
  213.               
  214.                   
  215.                       <li class=small>
  216.                   
  217.               
  218.             
  219.                 <a class=menu_item href="/polls.cgi/list"><font class=menu_item>Polls</font></a></li>
  220.             
  221.            </td></tr>
  222.             
  223.           
  224.           <tr><td><font size=-2>&nbsp;</font></td></tr>
  225.         
  226.          <tr><td bgcolor="#347FB8">
  227.            <img src="/images/bullet.gif">
  228.          
  229.            <font class=menu_section>OpenCores</font>
  230.          
  231.          </td></tr>
  232.           
  233.            <tr><td>
  234.               
  235.                   
  236.                       <li class=small>
  237.                   
  238.               
  239.             
  240.                 <a class=menu_item href="/faq.cgi/index"><font class=menu_item>FAQ</font></a></li>
  241.             
  242.            </td></tr>
  243.             
  244.           
  245.            <tr><td>
  246.               
  247.                   
  248.                       <li class=small>
  249.                   
  250.               
  251.             
  252.                 <a class=menu_item href="/projects.cgi/web/opencores/cvs_howto"><font class=menu_item>CVS HowTo</font></a></li>
  253.             
  254.            </td></tr>
  255.             
  256.           
  257.            <tr><td>
  258.               
  259.                   
  260.                       <li class=small>
  261.                   
  262.               
  263.             
  264.                 <a class=menu_item href="/projects.cgi/web/opencores/mission"><font class=menu_item>Mission</font></a></li>
  265.             
  266.            </td></tr>
  267.             
  268.           
  269.            <tr><td>
  270.               
  271.                   
  272.                       <li class=small>
  273.                   
  274.               
  275.             
  276.                 <a class=menu_item href="/projects.cgi/web/opencores/media"><font class=menu_item>Media</font></a></li>
  277.             
  278.            </td></tr>
  279.             
  280.           
  281.            <tr><td>
  282.               
  283.                   
  284.                       <li class=small>
  285.                   
  286.               
  287.             
  288.                 <a class=menu_item href="/projects.cgi/web/opencores/tools"><font class=menu_item>Tools</font></a></li>
  289.             
  290.            </td></tr>
  291.             
  292.           
  293.            <tr><td>
  294.               
  295.                   
  296.                       <li class=small>
  297.                   
  298.               
  299.             
  300.                 <a class=menu_item href="/projects.cgi/web/opencores/sponsors"><font class=menu_item>Sponsors</font></a></li>
  301.             
  302.            </td></tr>
  303.             
  304.           
  305.            <tr><td>
  306.               
  307.                   
  308.                       <li class=small>
  309.                   
  310.               
  311.             
  312.                 <a class=menu_item href="/projects.cgi/web/opencores/mirrors"><font class=menu_item>Mirrors</font></a></li>
  313.             
  314.            </td></tr>
  315.             
  316.           
  317.            <tr><td>
  318.               
  319.                   
  320.                       <li class=small>
  321.                   
  322.               
  323.             
  324.                 <a class=menu_item href="/projects.cgi/web/opencores/logos"><font class=menu_item>Logos</font></a></li>
  325.             
  326.            </td></tr>
  327.             
  328.           
  329.            <tr><td>
  330.               
  331.                   
  332.                       <li class=small>
  333.                   
  334.               
  335.             
  336.                 <a class=menu_item href="/projects.cgi/web/opencores/contacts"><font class=menu_item>Contact us</font></a></li>
  337.             
  338.            </td></tr>
  339.             
  340.           
  341.           <tr><td><font size=-2>&nbsp;</font></td></tr>
  342.         
  343.          <tr><td bgcolor="#347FB8">
  344.            <img src="/images/bullet.gif">
  345.          
  346.            <font class=menu_section>Tools</font>
  347.          
  348.          </td></tr>
  349.           
  350.            <tr><td>
  351.               
  352.                   
  353.                       <li class=small>
  354.                   
  355.               
  356.             
  357.                 <font class=menu_item><a href="/search.cgi">Search</a><br><table><tr><form action=/search.cgi/do_search><td><font class=small>&nbsp;&nbsp;</font></td><td><input class=searchfield type=text name=query></td></form></tr></table></font></li>
  358.             
  359.            </td></tr>
  360.             
  361.           
  362.            <tr><td>
  363.               
  364.                   
  365.                       <li class=small>
  366.                   
  367.               
  368.             
  369.                 <a class=menu_item href="/cvsget.shtml"><font class=menu_item>Download Cores (CVSGet)</font></a></li>
  370.             
  371.            </td></tr>
  372.             
  373.           
  374.           <tr><td><font size=-2>&nbsp;</font></td></tr>
  375.         
  376.          <tr><td bgcolor="#347FB8">
  377.            <img src="/images/bullet.gif">
  378.          
  379.            <font class=menu_section>More</font>
  380.          
  381.          </td></tr>
  382.           
  383.            <tr><td>
  384.               
  385.                   
  386.                       <li class=small>
  387.                   
  388.               
  389.             
  390.                 <a class=menu_item href="/projects.cgi/web/wishbone/"><font class=menu_item>Wishbone</font></a></li>
  391.             
  392.            </td></tr>
  393.             
  394.           
  395.            <tr><td>
  396.               
  397.                   
  398.                       <li class=small>
  399.                   
  400.               
  401.             
  402.                 <a class=menu_item href="/projects.cgi/web/perlilog/"><font class=menu_item>Perlilog</font></a></li>
  403.             
  404.            </td></tr>
  405.             
  406.           
  407.            <tr><td>
  408.               
  409.                   
  410.                       <li class=small>
  411.                   
  412.               
  413.             
  414.                 <a class=menu_item href="/projects.cgi/web/edatools/"><font class=menu_item>EDA tools</font></a></li>
  415.             
  416.            </td></tr>
  417.             
  418.           
  419.            <tr><td>
  420.               
  421.                   
  422.                       <li class=small>
  423.                   
  424.               
  425.             
  426.                 <a class=menu_item href="/projects.cgi/web/opentech/"><font class=menu_item>OpenTech CD</font></a></li>
  427.             
  428.            </td></tr>
  429.             
  430.           
  431.           <tr><td><font size=-2>&nbsp;</font></td></tr>
  432.         
  433.         </table>
  434. </td>
  435. <td width=10><img width=10 src="/images/dotty.gif"></td>
  436. <td background="/images/vpd.gif"><img width=1 src="/images/dotty.gif"></td>
  437. <td width=10><img width=10 src="/images/dotty.gif"></td>
  438. <td valign=top>
  439.         
  440.         <table width=100% cellpadding=2 cellspacing=0 border=0>
  441.           <tr><td><img height=2 src="/images/dotty.gif"></td></tr>
  442.         </table>
  443.         
  444. <table width=100% cellspacing=0 cellpadding=0 border=0><tr><td>
  445. <!-- pf_body_start -->
  446.  
  447. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  448. <html>
  449. <head>
  450. <title>pci/rtl/verilog/pci_bridge32.v - view - 1.19</title>
  451. <meta name="robots" content="nofollow" />
  452. <meta name="generator" content="FreeBSD-CVSweb 3.0.5" />
  453. <meta http-equiv="Content-Script-Type" content="text/javascript" />
  454. <meta http-equiv="Content-Style-Type" content="text/css" />
  455. <link rel="stylesheet" type="text/css" href="/css/cvsweb.css" />
  456. </head>
  457. <body class="src">
  458. <table class="navigate-header" width="100%" summary="Navigation">
  459.  <tr>
  460.   <td>
  461. <a href="./pci_bridge32.v#rev1.19"><img src="/icons/back.gif" alt="[BACK]" border="0" width="20" height="22" /></a><b>Return to <a href="./pci_bridge32.v#rev1.19">pci_bridge32.v</a> CVS log</b> <img src="/icons/text.gif" alt="[TXT]" border="0" width="20" height="22" /></td>  <td style="text-align: right"><img src="/icons/dir.gif" alt="[DIR]" border="0" width="20" height="22" /> <b>Up to  <a href="/cvsweb.shtml/#dirlist">[Official OpenCores CVS Repository]</a> / <a href="/cvsweb.shtml/pci/#dirlist">pci</a> / <a href="/cvsweb.shtml/pci/rtl/#dirlist">rtl</a> / <a href="/cvsweb.shtml/pci/rtl/verilog/#dirlist">verilog</a></b></td>
  462.  </tr>
  463. </table>
  464. <hr />
  465. <div class="log-markup">
  466. File:&nbsp;
  467.  <a href="/cvsweb.shtml/#dirlist">[Official OpenCores CVS Repository]</a> / <a href="/cvsweb.shtml/pci/#dirlist">pci</a> / <a href="/cvsweb.shtml/pci/rtl/#dirlist">rtl</a> / <a href="/cvsweb.shtml/pci/rtl/verilog/#dirlist">verilog</a> / <a href="/cvsweb.shtml/pci/rtl/verilog/pci_bridge32.v">pci_bridge32.v</a><br />
  468. <a name="rev1.19"></a><a name="HEAD"></a>
  469.  Revision <b>1.19</b>: <a href="/cvsweb.cgi/~checkout~/pci/rtl/verilog/pci_bridge32.v?rev=1.19;content-type=text%2Fplain" class="download-link">download</a> - view: <a href="pci_bridge32.v?rev=1.19;content-type=text%2Fplain" class="display-link">text</a>, <a href="pci_bridge32.v?annotate=1.19">annotated</a> - <a href="pci_bridge32.v?r1=1.19#rev1.19">select&nbsp;for&nbsp;diffs</a><br />
  470. <i>Thu Sep 23 13:48:53 2004 UTC</i> (2 years, 7 months ago) by <i>mihad</i><br />
  471. Branches: <a href="./pci_bridge32.v?only_with_tag=MAIN">MAIN</a><br />
  472. CVS tags: <a href="./pci_bridge32.v?only_with_tag=HEAD">HEAD</a><br />
  473. <pre class="log">
  474. The control inputs from PCI are now muxed with control outputs
  475. using output enable state for given signal.
  476. </pre>
  477. </div>
  478. <hr /><pre>
  479. //////////////////////////////////////////////////////////////////////
  480. ////                                                              ////
  481. ////  File name &quot;pci_bridge32.v&quot;                                  ////
  482. ////                                                              ////
  483. ////  This file is part of the &quot;PCI bridge&quot; project               ////
  484. ////  http://www.opencores.org/cores/pci/                         ////
  485. ////                                                              ////
  486. ////  Author(s):                                                  ////
  487. ////      - Miha Dolenc (mihad@opencores.org)                     ////
  488. ////      - Tadej Markovic (tadej@opencores.org)                  ////
  489. ////                                                              ////
  490. ////  All additional information is avaliable in the README       ////
  491. ////  file.                                                       ////
  492. ////                                                              ////
  493. ////                                                              ////
  494. //////////////////////////////////////////////////////////////////////
  495. ////                                                              ////
  496. //// Copyright (C) 2001 Miha Dolenc, mihad@opencores.org          ////
  497. ////                                                              ////
  498. //// This source file may be used and distributed without         ////
  499. //// restriction provided that this copyright statement is not    ////
  500. //// removed from the file and that any derivative work contains  ////
  501. //// the original copyright notice and the associated disclaimer. ////
  502. ////                                                              ////
  503. //// This source file is free software; you can redistribute it   ////
  504. //// and/or modify it under the terms of the GNU Lesser General   ////
  505. //// Public License as published by the Free Software Foundation; ////
  506. //// either version 2.1 of the License, or (at your option) any   ////
  507. //// later version.                                               ////
  508. ////                                                              ////
  509. //// This source is distributed in the hope that it will be       ////
  510. //// useful, but WITHOUT ANY WARRANTY; without even the implied   ////
  511. //// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      ////
  512. //// PURPOSE.  See the GNU Lesser General Public License for more ////
  513. //// details.                                                     ////
  514. ////                                                              ////
  515. //// You should have received a copy of the GNU Lesser General    ////
  516. //// Public License along with this source; if not, download it   ////
  517. //// from http://www.opencores.org/lgpl.shtml                     ////
  518. ////                                                              ////
  519. //////////////////////////////////////////////////////////////////////
  520. //
  521. // CVS Revision History
  522. //
  523. // $Log: pci_bridge32.v,v $
  524. // Revision 1.19  2004/09/23 13:48:53  mihad
  525. // The control inputs from PCI are now muxed with control outputs
  526. // using output enable state for given signal.
  527. //
  528. // Revision 1.18  2004/08/19 15:27:34  mihad
  529. // Changed minimum pci image size to 256 bytes because
  530. // of some PC system problems with size of IO images.
  531. //
  532. // Revision 1.17  2004/01/24 11:54:18  mihad
  533. // Update! SPOCI Implemented!
  534. //
  535. // Revision 1.16  2003/12/19 11:11:30  mihad
  536. // Compact PCI Hot Swap support added.
  537. // New testcases added.
  538. // Specification updated.
  539. // Test application changed to support WB B3 cycles.
  540. //
  541. // Revision 1.15  2003/12/10 12:02:54  mihad
  542. // The wbs B3 to B2 translation logic had wrong reset wire connected!
  543. //
  544. // Revision 1.14  2003/12/09 09:33:57  simons
  545. // Some warning cleanup.
  546. //
  547. // Revision 1.13  2003/10/17 09:11:52  markom
  548. // mbist signals updated according to newest convention
  549. //
  550. // Revision 1.12  2003/08/21 20:49:03  tadejm
  551. // Added signals for WB Master B3.
  552. //
  553. // Revision 1.11  2003/08/08 16:36:33  tadejm
  554. // Added 'three_left_out' to pci_pciw_fifo signaling three locations before full. Added comparison between current registered cbe and next unregistered cbe to signal wb_master whether it is allowed to performe burst or not. Due to this, I needed 'three_left_out' so that writing to pci_pciw_fifo can be registered, otherwise timing problems would occure.
  555. //
  556. // Revision 1.10  2003/08/03 18:05:06  mihad
  557. // Added limited WISHBONE B3 support for WISHBONE Slave Unit.
  558. // Doesn't support full speed bursts yet.
  559. //
  560. // Revision 1.9  2003/01/27 16:49:31  mihad
  561. // Changed module and file names. Updated scripts accordingly. FIFO synchronizations changed.
  562. //
  563. // Revision 1.8  2002/10/21 13:04:33  mihad
  564. // Changed BIST signal names etc..
  565. //
  566. // Revision 1.7  2002/10/18 03:36:37  tadejm
  567. // Changed wrong signal name mbist_sen into mbist_ctrl_i.
  568. //
  569. // Revision 1.6  2002/10/17 22:51:50  tadejm
  570. // Changed BIST signals for RAMs.
  571. //
  572. // Revision 1.5  2002/10/11 10:09:01  mihad
  573. // Added additional testcase and changed rst name in BIST to trst
  574. //
  575. // Revision 1.4  2002/10/08 17:17:05  mihad
  576. // Added BIST signals for RAMs.
  577. //
  578. // Revision 1.3  2002/02/01 15:25:12  mihad
  579. // Repaired a few bugs, updated specification, added test bench files and design document
  580. //
  581. // Revision 1.2  2001/10/05 08:14:28  mihad
  582. // Updated all files with inclusion of timescale file for simulation purposes.
  583. //
  584. // Revision 1.1.1.1  2001/10/02 15:33:46  mihad
  585. // New project directory structure
  586. //
  587. //
  588. `include &quot;pci_constants.v&quot;
  589. // synopsys translate_off
  590. `include &quot;timescale.v&quot;
  591. // synopsys translate_on
  592. // this is top level module of pci bridge core
  593. // it instantiates and connects other lower level modules
  594. // check polarity of PCI output enables in file out_reg.v and change it according to IO interface specification
  595. module pci_bridge32
  596. (
  597.     // WISHBONE system signals
  598.     wb_clk_i,
  599.     wb_rst_i,
  600.     wb_rst_o,
  601.     wb_int_i,
  602.     wb_int_o,
  603.     // WISHBONE slave interface
  604.     wbs_adr_i,
  605.     wbs_dat_i,
  606.     wbs_dat_o,
  607.     wbs_sel_i,
  608.     wbs_cyc_i,
  609.     wbs_stb_i,
  610.     wbs_we_i,
  611. `ifdef PCI_WB_REV_B3
  612.     wbs_cti_i,
  613.     wbs_bte_i,
  614. `else
  615.     wbs_cab_i,
  616. `endif
  617.     wbs_ack_o,
  618.     wbs_rty_o,
  619.     wbs_err_o,
  620.     // WISHBONE master interface
  621.     wbm_adr_o,
  622.     wbm_dat_i,
  623.     wbm_dat_o,
  624.     wbm_sel_o,
  625.     wbm_cyc_o,
  626.     wbm_stb_o,
  627.     wbm_we_o,
  628.     wbm_cti_o,
  629.     wbm_bte_o,
  630.     wbm_ack_i,
  631.     wbm_rty_i,
  632.     wbm_err_i,
  633.     // pci interface - system pins
  634.     pci_clk_i,
  635.     pci_rst_i,
  636.     pci_rst_o,
  637.     pci_inta_i,
  638.     pci_inta_o,
  639.     pci_rst_oe_o,
  640.     pci_inta_oe_o,
  641.     // arbitration pins
  642.     pci_req_o,
  643.     pci_req_oe_o,
  644.     pci_gnt_i,
  645.     // protocol pins
  646.     pci_frame_i,
  647.     pci_frame_o,
  648.     pci_frame_oe_o,
  649.     pci_irdy_oe_o,
  650.     pci_devsel_oe_o,
  651.     pci_trdy_oe_o,
  652.     pci_stop_oe_o,
  653.     pci_ad_oe_o,
  654.     pci_cbe_oe_o,
  655.     pci_irdy_i,
  656.     pci_irdy_o,
  657.     pci_idsel_i,
  658.     pci_devsel_i,
  659.     pci_devsel_o,
  660.     pci_trdy_i,
  661.     pci_trdy_o,
  662.     pci_stop_i,
  663.     pci_stop_o          ,
  664.     // data transfer pins
  665.     pci_ad_i,
  666.     pci_ad_o,
  667.     pci_cbe_i,
  668.     pci_cbe_o,
  669.     // parity generation and checking pins
  670.     pci_par_i,
  671.     pci_par_o,
  672.     pci_par_oe_o,
  673.     pci_perr_i,
  674.     pci_perr_o,
  675.     pci_perr_oe_o,
  676.     // system error pin
  677.     pci_serr_o,
  678.     pci_serr_oe_o
  679. `ifdef PCI_BIST
  680.     ,
  681.     // debug chain signals
  682.     mbist_si_i,       // bist scan serial in
  683.     mbist_so_o,       // bist scan serial out
  684.     mbist_ctrl_i        // bist chain shift control
  685. `endif
  686. `ifdef PCI_CPCI_HS_IMPLEMENT
  687.     ,
  688.     // Compact PCI Hot Swap signals
  689.     pci_cpci_hs_enum_o      ,   //  ENUM# output with output enable (open drain)
  690.     pci_cpci_hs_enum_oe_o   ,   //  ENUM# enum output enable
  691.     pci_cpci_hs_led_o       ,   //  LED output with output enable (open drain)
  692.     pci_cpci_hs_led_oe_o    ,   //  LED output enable
  693.     pci_cpci_hs_es_i            //  ejector switch state indicator input
  694. `endif
  695. `ifdef PCI_SPOCI
  696.     ,
  697.     // Serial power on configuration interface
  698.     spoci_scl_o     ,
  699.     spoci_scl_oe_o  ,
  700.     spoci_sda_i     ,
  701.     spoci_sda_o     ,
  702.     spoci_sda_oe_o
  703. `endif
  704. );
  705. `ifdef HOST
  706.     `ifdef NO_CNF_IMAGE
  707.         parameter pci_ba0_width = `PCI_NUM_OF_DEC_ADDR_LINES ;
  708.     `else
  709.         parameter pci_ba0_width = 20    ;
  710.     `endif
  711. `endif
  712. `ifdef GUEST
  713.     parameter pci_ba0_width = 20 ;
  714. `endif
  715. parameter pci_ba1_5_width = `PCI_NUM_OF_DEC_ADDR_LINES ;
  716. // WISHBONE system signals
  717. input   wb_clk_i ;
  718. input   wb_rst_i ;
  719. output  wb_rst_o ;
  720. input   wb_int_i ;
  721. output  wb_int_o ;
  722. // WISHBONE slave interface
  723. input   [31:0]  wbs_adr_i ;
  724. input   [31:0]  wbs_dat_i ;
  725. output  [31:0]  wbs_dat_o ;
  726. input   [3:0]   wbs_sel_i ;
  727. input           wbs_cyc_i ;
  728. input           wbs_stb_i ;
  729. input           wbs_we_i ;
  730. `ifdef PCI_WB_REV_B3
  731. input [2:0] wbs_cti_i ;
  732. input [1:0] wbs_bte_i ;
  733. `else
  734. input wbs_cab_i ;
  735. `endif
  736. output          wbs_ack_o ;
  737. output          wbs_rty_o ;
  738. output          wbs_err_o ;
  739. // WISHBONE master interface
  740. output  [31:0]  wbm_adr_o ;
  741. input   [31:0]  wbm_dat_i ;
  742. output  [31:0]  wbm_dat_o ;
  743. output  [3:0]   wbm_sel_o ;
  744. output          wbm_cyc_o ;
  745. output          wbm_stb_o ;
  746. output          wbm_we_o ;
  747. output  [2:0]   wbm_cti_o ;
  748. output  [1:0]   wbm_bte_o ;
  749. input           wbm_ack_i ;
  750. input           wbm_rty_i ;
  751. input           wbm_err_i ;
  752. // pci interface - system pins
  753. input   pci_clk_i ;
  754. input   pci_rst_i ;
  755. output  pci_rst_o ;
  756. output  pci_rst_oe_o ;
  757. input   pci_inta_i ;
  758. output  pci_inta_o ;
  759. output  pci_inta_oe_o ;
  760. // arbitration pins
  761. output  pci_req_o ;
  762. output  pci_req_oe_o ;
  763. input   pci_gnt_i ;
  764. // protocol pins
  765. input   pci_frame_i ;
  766. output  pci_frame_o ;
  767. output  pci_frame_oe_o ;
  768. output  pci_irdy_oe_o ;
  769. output  pci_devsel_oe_o ;
  770. output  pci_trdy_oe_o ;
  771. output  pci_stop_oe_o ;
  772. output  [31:0] pci_ad_oe_o ;
  773. output  [3:0]  pci_cbe_oe_o ;
  774. input   pci_irdy_i ;
  775. output  pci_irdy_o ;
  776. input   pci_idsel_i ;
  777. input   pci_devsel_i ;
  778. output  pci_devsel_o ;
  779. input   pci_trdy_i ;
  780. output  pci_trdy_o ;
  781. input   pci_stop_i ;
  782. output  pci_stop_o ;
  783. // data transfer pins
  784. input   [31:0]  pci_ad_i ;
  785. output  [31:0]  pci_ad_o ;
  786. input   [3:0]   pci_cbe_i ;
  787. output  [3:0]   pci_cbe_o ;
  788. // parity generation and checking pins
  789. input   pci_par_i ;
  790. output  pci_par_o ;
  791. output  pci_par_oe_o ;
  792. input   pci_perr_i ;
  793. output  pci_perr_o ;
  794. output  pci_perr_oe_o ;
  795. // system error pin
  796. output  pci_serr_o ;
  797. output  pci_serr_oe_o ;
  798. `ifdef PCI_BIST
  799. /*-----------------------------------------------------
  800. BIST debug chain port signals
  801. -----------------------------------------------------*/
  802. input   mbist_si_i;       // bist scan serial in
  803. output  mbist_so_o;       // bist scan serial out
  804. input [`PCI_MBIST_CTRL_WIDTH - 1:0] mbist_ctrl_i;       // bist chain shift control
  805. `endif
  806. `ifdef PCI_CPCI_HS_IMPLEMENT
  807.     // Compact PCI Hot Swap signals
  808. output  pci_cpci_hs_enum_o      ;   //  ENUM# output with output enable (open drain)
  809. output  pci_cpci_hs_enum_oe_o   ;   //  ENUM# enum output enable
  810. output  pci_cpci_hs_led_o       ;   //  LED output with output enable (open drain)
  811. output  pci_cpci_hs_led_oe_o    ;   //  LED output enable
  812. input   pci_cpci_hs_es_i        ;   //  ejector switch state indicator input
  813. assign  pci_cpci_hs_enum_o = 1'b0   ;
  814. assign  pci_cpci_hs_led_o  = 1'b0   ;
  815. `endif
  816. `ifdef PCI_SPOCI
  817. output  spoci_scl_o     ;
  818. output  spoci_scl_oe_o  ;
  819. input   spoci_sda_i     ;
  820. output  spoci_sda_o     ;
  821. output  spoci_sda_oe_o  ;
  822. assign  spoci_scl_o = 1'b0  ;
  823. assign  spoci_sda_o = 1'b0  ;
  824. `endif
  825. // declare clock and reset wires
  826. wire pci_clk = pci_clk_i ;
  827. wire wb_clk  = wb_clk_i ;
  828. wire reset ; // assigned at pci bridge reset and interrupt logic
  829. /*=========================================================================================================
  830. First comes definition of all modules' outputs, so they can be assigned to any other module's input later
  831.   in the file, when module is instantiated
  832. =========================================================================================================*/
  833. // PCI BRIDGE RESET AND INTERRUPT LOGIC OUTPUTS
  834. wire    pci_reso_reset ;
  835. wire    pci_reso_pci_rstn_out ;
  836. wire    pci_reso_pci_rstn_en_out ;
  837. wire    pci_reso_rst_o ;
  838. wire    pci_into_pci_intan_out ;
  839. wire    pci_into_pci_intan_en_out ;
  840. wire    pci_into_int_o ;
  841. wire    pci_into_conf_isr_int_prop_out ;
  842. // assign pci bridge reset interrupt logic outputs to top outputs where possible
  843. assign reset            = pci_reso_reset ;
  844. assign pci_rst_o     = pci_reso_pci_rstn_out ;
  845. assign pci_rst_oe_o  = pci_reso_pci_rstn_en_out ;
  846. assign wb_rst_o         = pci_reso_rst_o ;
  847. assign pci_inta_o    = pci_into_pci_intan_out ;
  848. assign pci_inta_oe_o = pci_into_pci_intan_en_out ;
  849. assign wb_int_o         = pci_into_int_o ;
  850. // WISHBONE SLAVE UNIT OUTPUTS
  851. wire    [31:0]  wbu_sdata_out ;
  852. wire            wbu_ack_out ;
  853. wire            wbu_rty_out ;
  854. wire            wbu_err_out ;
  855. wire            wbu_pciif_req_out ;
  856. wire            wbu_pciif_frame_out ;
  857. wire            wbu_pciif_frame_en_out ;
  858. wire            wbu_pciif_irdy_out ;
  859. wire            wbu_pciif_irdy_en_out ;
  860. wire    [31:0]  wbu_pciif_ad_out ;
  861. wire            wbu_pciif_ad_en_out ;
  862. wire    [3:0]   wbu_pciif_cbe_out ;
  863. wire            wbu_pciif_cbe_en_out ;
  864. wire    [31:0]  wbu_err_addr_out ;
  865. wire    [3:0]   wbu_err_bc_out ;
  866. wire            wbu_err_signal_out ;
  867. wire            wbu_err_source_out ;
  868. wire            wbu_err_rty_exp_out ;
  869. wire            wbu_tabort_rec_out ;
  870. wire            wbu_mabort_rec_out ;
  871. wire    [11:0]  wbu_conf_offset_out ;
  872. wire            wbu_conf_renable_out ;
  873. wire            wbu_conf_wenable_out ;
  874. wire    [3:0]   wbu_conf_be_out ;
  875. wire    [31:0]  wbu_conf_data_out ;
  876. wire            wbu_del_read_comp_pending_out ;
  877. wire            wbu_wbw_fifo_empty_out ;
  878. wire            wbu_ad_load_out ;
  879. wire            wbu_ad_load_on_transfer_out ;
  880. wire            wbu_pciif_frame_load_out ;
  881. // PCI TARGET UNIT OUTPUTS
  882. wire    [31:0]  pciu_adr_out ;
  883. wire    [31:0]  pciu_mdata_out ;
  884. wire            pciu_cyc_out ;
  885. wire            pciu_stb_out ;
  886. wire            pciu_we_out ;
  887. wire    [2:0]   pciu_cti_out ;
  888. wire    [1:0]   pciu_bte_out ;
  889. wire    [3:0]   pciu_sel_out ;
  890. wire            pciu_pciif_trdy_out ;
  891. wire            pciu_pciif_stop_out ;
  892. wire            pciu_pciif_devsel_out ;
  893. wire            pciu_pciif_trdy_en_out ;
  894. wire            pciu_pciif_stop_en_out ;
  895. wire            pciu_pciif_devsel_en_out ;
  896. wire            pciu_ad_load_out ;
  897. wire            pciu_ad_load_on_transfer_out ;
  898. wire   [31:0]   pciu_pciif_ad_out ;
  899. wire            pciu_pciif_ad_en_out ;
  900. wire            pciu_pciif_tabort_set_out ;
  901. wire    [31:0]  pciu_err_addr_out ;
  902. wire    [3:0]   pciu_err_bc_out ;
  903. wire    [31:0]  pciu_err_data_out ;
  904. wire    [3:0]   pciu_err_be_out ;
  905. wire            pciu_err_signal_out ;
  906. wire            pciu_err_source_out ;
  907. wire            pciu_err_rty_exp_out ;
  908. wire    [11:0]  pciu_conf_offset_out ;
  909. wire            pciu_conf_renable_out ;
  910. wire            pciu_conf_wenable_out ;
  911. wire    [3:0]   pciu_conf_be_out ;
  912. wire    [31:0]  pciu_conf_data_out ;
  913. wire            pciu_pci_drcomp_pending_out ;
  914. wire            pciu_pciw_fifo_empty_out ;
  915. // assign pci target unit's outputs to top outputs where possible
  916. assign wbm_adr_o    =   pciu_adr_out ;
  917. assign wbm_dat_o    =   pciu_mdata_out ;
  918. assign wbm_cyc_o    =   pciu_cyc_out ;
  919. assign wbm_stb_o    =   pciu_stb_out ;
  920. assign wbm_we_o     =   pciu_we_out ;
  921. assign wbm_cti_o    =   pciu_cti_out ;
  922. assign wbm_bte_o    =   pciu_bte_out ;
  923. assign wbm_sel_o    =   pciu_sel_out ;
  924. // CONFIGURATION SPACE OUTPUTS
  925. wire    [31:0]  conf_w_data_out ;
  926. wire    [31:0]  conf_r_data_out ;
  927. wire            conf_serr_enable_out ;
  928. wire            conf_perr_response_out ;
  929. wire            conf_pci_master_enable_out ;
  930. wire            conf_mem_space_enable_out ;
  931. wire            conf_io_space_enable_out ;
  932. wire    [7:0]   conf_cache_line_size_to_pci_out ;
  933. wire    [7:0]   conf_cache_line_size_to_wb_out ;
  934. wire            conf_cache_lsize_not_zero_to_wb_out ;
  935. wire    [7:0]   conf_latency_tim_out ;
  936. wire    [pci_ba0_width   - 1:0]   conf_pci_ba0_out ;
  937. wire    [pci_ba1_5_width - 1:0]   conf_pci_ba1_out ;
  938. wire    [pci_ba1_5_width - 1:0]   conf_pci_ba2_out ;
  939. wire    [pci_ba1_5_width - 1:0]   conf_pci_ba3_out ;
  940. wire    [pci_ba1_5_width - 1:0]   conf_pci_ba4_out ;
  941. wire    [pci_ba1_5_width - 1:0]   conf_pci_ba5_out ;
  942. wire    [pci_ba1_5_width - 1:0]   conf_pci_ta0_out ;
  943. wire    [pci_ba1_5_width - 1:0]   conf_pci_ta1_out ;
  944. wire    [pci_ba1_5_width - 1:0]   conf_pci_ta2_out ;
  945. wire    [pci_ba1_5_width - 1:0]   conf_pci_ta3_out ;
  946. wire    [pci_ba1_5_width - 1:0]   conf_pci_ta4_out ;
  947. wire    [pci_ba1_5_width - 1:0]   conf_pci_ta5_out ;
  948. wire    [pci_ba1_5_width - 1:0]   conf_pci_am0_out ;
  949. wire    [pci_ba1_5_width - 1:0]   conf_pci_am1_out ;
  950. wire    [pci_ba1_5_width - 1:0]   conf_pci_am2_out ;
  951. wire    [pci_ba1_5_width - 1:0]   conf_pci_am3_out ;
  952. wire    [pci_ba1_5_width - 1:0]   conf_pci_am4_out ;
  953. wire    [pci_ba1_5_width - 1:0]   conf_pci_am5_out ;
  954. wire            conf_pci_mem_io0_out ;
  955. wire            conf_pci_mem_io1_out ;
  956. wire            conf_pci_mem_io2_out ;
  957. wire            conf_pci_mem_io3_out ;
  958. wire            conf_pci_mem_io4_out ;
  959. wire            conf_pci_mem_io5_out ;
  960. wire    [1:0]   conf_pci_img_ctrl0_out ;
  961. wire    [1:0]   conf_pci_img_ctrl1_out ;
  962. wire    [1:0]   conf_pci_img_ctrl2_out ;
  963. wire    [1:0]   conf_pci_img_ctrl3_out ;
  964. wire    [1:0]   conf_pci_img_ctrl4_out ;
  965. wire    [1:0]   conf_pci_img_ctrl5_out ;
  966. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ba0_out ;
  967. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ba1_out ;
  968. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ba2_out ;
  969. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ba3_out ;
  970. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ba4_out ;
  971. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ba5_out ;
  972. wire            conf_wb_mem_io0_out ;
  973. wire            conf_wb_mem_io1_out ;
  974. wire            conf_wb_mem_io2_out ;
  975. wire            conf_wb_mem_io3_out ;
  976. wire            conf_wb_mem_io4_out ;
  977. wire            conf_wb_mem_io5_out ;
  978. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_am0_out ;
  979. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_am1_out ;
  980. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_am2_out ;
  981. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_am3_out ;
  982. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_am4_out ;
  983. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_am5_out ;
  984. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ta0_out ;
  985. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ta1_out ;
  986. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ta2_out ;
  987. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ta3_out ;
  988. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ta4_out ;
  989. wire    [19:(20 - `WB_NUM_OF_DEC_ADDR_LINES)]  conf_wb_ta5_out ;
  990. wire    [2:0]   conf_wb_img_ctrl0_out ;
  991. wire    [2:0]   conf_wb_img_ctrl1_out ;
  992. wire    [2:0]   conf_wb_img_ctrl2_out ;
  993. wire    [2:0]   conf_wb_img_ctrl3_out ;
  994. wire    [2:0]   conf_wb_img_ctrl4_out ;
  995. wire    [2:0]   conf_wb_img_ctrl5_out ;
  996. wire    [23:0]  conf_ccyc_addr_out ;
  997. wire            conf_soft_res_out ;
  998. wire            conf_int_out ;
  999. wire            conf_wb_init_complete_out  ;
  1000. wire            conf_pci_init_complete_out ;
  1001. // PCI IO MUX OUTPUTS
  1002. wire        pci_mux_frame_out ;
  1003. wire        pci_mux_irdy_out ;
  1004. wire        pci_mux_devsel_out ;
  1005. wire        pci_mux_trdy_out ;
  1006. wire        pci_mux_stop_out ;
  1007. wire [3:0]  pci_mux_cbe_out ;
  1008. wire [31:0] pci_mux_ad_out ;
  1009. wire        pci_mux_ad_load_out ;
  1010. wire [31:0] pci_mux_ad_en_out ;
  1011. wire        pci_mux_ad_en_unregistered_out ;
  1012. wire        pci_mux_frame_en_out ;
  1013. wire        pci_mux_irdy_en_out ;
  1014. wire        pci_mux_devsel_en_out ;
  1015. wire        pci_mux_trdy_en_out ;
  1016. wire        pci_mux_stop_en_out ;
  1017. wire [3:0]  pci_mux_cbe_en_out ;
  1018. wire        pci_mux_par_out ;
  1019. wire        pci_mux_par_en_out ;
  1020. wire        pci_mux_perr_out ;
  1021. wire        pci_mux_perr_en_out ;
  1022. wire        pci_mux_serr_out ;
  1023. wire        pci_mux_serr_en_out ;
  1024. wire        pci_mux_req_out ;
  1025. wire        pci_mux_req_en_out ;
  1026. // assign outputs to top level outputs
  1027. assign pci_ad_oe_o       = pci_mux_ad_en_out ;
  1028. assign pci_frame_oe_o   = pci_mux_frame_en_out ;
  1029. assign pci_irdy_oe_o    = pci_mux_irdy_en_out ;
  1030. assign pci_cbe_oe_o     = pci_mux_cbe_en_out ;
  1031. assign pci_par_o         =   pci_mux_par_out ;
  1032. assign pci_par_oe_o      =   pci_mux_par_en_out ;
  1033. assign pci_perr_o       =   pci_mux_perr_out ;
  1034. assign pci_perr_oe_o    =   pci_mux_perr_en_out ;
  1035. assign pci_serr_o       =   pci_mux_serr_out ;
  1036. assign pci_serr_oe_o    =   pci_mux_serr_en_out ;
  1037. assign pci_req_o        =   pci_mux_req_out ;
  1038. assign pci_req_oe_o     =   pci_mux_req_en_out ;
  1039. assign pci_trdy_oe_o    = pci_mux_trdy_en_out ;
  1040. assign pci_devsel_oe_o  = pci_mux_devsel_en_out ;
  1041. assign pci_stop_oe_o    = pci_mux_stop_en_out ;
  1042. assign pci_trdy_o       =  pci_mux_trdy_out ;
  1043. assign pci_devsel_o     = pci_mux_devsel_out ;
  1044. assign pci_stop_o       = pci_mux_stop_out ;
  1045. assign pci_ad_o          = pci_mux_ad_out ;
  1046. assign pci_frame_o      = pci_mux_frame_out ;
  1047. assign pci_irdy_o       = pci_mux_irdy_out ;
  1048. assign pci_cbe_o        = pci_mux_cbe_out ;
  1049. // duplicate output register's outputs
  1050. wire            out_bckp_frame_out ;
  1051. wire            out_bckp_irdy_out ;
  1052. wire            out_bckp_devsel_out ;
  1053. wire            out_bckp_trdy_out ;
  1054. wire            out_bckp_stop_out ;
  1055. wire    [3:0]   out_bckp_cbe_out ;
  1056. wire            out_bckp_cbe_en_out ;
  1057. wire    [31:0]  out_bckp_ad_out ;
  1058. wire            out_bckp_ad_en_out ;
  1059. wire            out_bckp_irdy_en_out ;
  1060. wire            out_bckp_frame_en_out ;
  1061. wire            out_bckp_tar_ad_en_out ;
  1062. wire            out_bckp_mas_ad_en_out ;
  1063. wire            out_bckp_trdy_en_out ;
  1064. wire            out_bckp_par_out ;
  1065. wire            out_bckp_par_en_out ;
  1066. wire            out_bckp_perr_out ;
  1067. wire            out_bckp_perr_en_out ;
  1068. wire            out_bckp_serr_out ;
  1069. wire            out_bckp_serr_en_out ;
  1070. wire            int_pci_frame   = out_bckp_frame_en_out ? out_bckp_frame_out  : pci_frame_i     ;
  1071. wire            int_pci_irdy    = out_bckp_irdy_en_out  ? out_bckp_irdy_out   : pci_irdy_i      ;
  1072. wire            int_pci_devsel  = out_bckp_trdy_en_out  ? out_bckp_devsel_out : pci_devsel_i    ;
  1073. wire            int_pci_trdy    = out_bckp_trdy_en_out  ? out_bckp_trdy_out   : pci_trdy_i      ;
  1074. wire            int_pci_stop    = out_bckp_trdy_en_out  ? out_bckp_stop_out   : pci_stop_i      ;
  1075. wire    [ 3: 0] int_pci_cbe     = out_bckp_cbe_en_out   ? out_bckp_cbe_out    : pci_cbe_i       ;
  1076. wire            int_pci_par     = out_bckp_par_en_out   ? out_bckp_par_out    : pci_par_i       ;
  1077. wire            int_pci_perr    = out_bckp_perr_en_out  ? out_bckp_perr_out   : pci_perr_i      ;
  1078. // PARITY CHECKER OUTPUTS
  1079. wire    parchk_pci_par_out ;
  1080. wire    parchk_pci_par_en_out ;
  1081. wire    parchk_pci_perr_out ;
  1082. wire    parchk_pci_perr_en_out ;
  1083. wire    parchk_pci_serr_out ;
  1084. wire    parchk_pci_serr_en_out ;
  1085. wire    parchk_par_err_detect_out ;
  1086. wire    parchk_perr_mas_detect_out ;
  1087. wire    parchk_sig_serr_out ;
  1088. // input register outputs
  1089. wire            in_reg_gnt_out ;
  1090. wire            in_reg_frame_out ;
  1091. wire            in_reg_irdy_out ;
  1092. wire            in_reg_trdy_out ;
  1093. wire            in_reg_stop_out ;
  1094. wire            in_reg_devsel_out ;
  1095. wire            in_reg_idsel_out ;
  1096. wire    [31:0]  in_reg_ad_out ;
  1097. wire    [3:0]   in_reg_cbe_out ;
  1098. /*=========================================================================================================
  1099. Now comes definition of all modules' and their appropriate inputs
  1100. =========================================================================================================*/
  1101. // PCI BRIDGE RESET AND INTERRUPT LOGIC INPUTS
  1102. wire    pci_resi_rst_i                  = wb_rst_i ;
  1103. wire    pci_resi_pci_rstn_in            = pci_rst_i ;
  1104. wire    pci_resi_conf_soft_res_in       = conf_soft_res_out ;
  1105. wire    pci_inti_pci_intan_in           = pci_inta_i ;
  1106. wire    pci_inti_conf_int_in            = conf_int_out ;
  1107. wire    pci_inti_int_i                  = wb_int_i ;
  1108. wire    pci_into_init_complete_in       = conf_pci_init_complete_out ;
  1109. pci_rst_int pci_resets_and_interrupts
  1110. (
  1111.     .clk_in                 (pci_clk),
  1112.     .rst_i                  (pci_resi_rst_i),
  1113.     .pci_rstn_in            (pci_resi_pci_rstn_in),
  1114.     .conf_soft_res_in       (pci_resi_conf_soft_res_in),
  1115.     .reset                  (pci_reso_reset),
  1116.     .pci_rstn_out           (pci_reso_pci_rstn_out),
  1117.     .pci_rstn_en_out        (pci_reso_pci_rstn_en_out),
  1118.     .rst_o                  (pci_reso_rst_o),
  1119.     .pci_intan_in           (pci_inti_pci_intan_in),
  1120.     .conf_int_in            (pci_inti_conf_int_in),
  1121.     .int_i                  (pci_inti_int_i),
  1122.     .pci_intan_out          (pci_into_pci_intan_out),
  1123.     .pci_intan_en_out       (pci_into_pci_intan_en_out),
  1124.     .int_o                  (pci_into_int_o),
  1125.     .conf_isr_int_prop_out  (pci_into_conf_isr_int_prop_out),
  1126.     .init_complete_in       (pci_into_init_complete_in)
  1127. );
  1128. `ifdef PCI_WB_REV_B3
  1129. wire            wbs_wbb3_2_wbb2_cyc_o   ;
  1130. wire            wbs_wbb3_2_wbb2_stb_o   ;
  1131. wire    [31:0]  wbs_wbb3_2_wbb2_adr_o   ;
  1132. wire    [31:0]  wbs_wbb3_2_wbb2_dat_i_o ;
  1133. wire    [31:0]  wbs_wbb3_2_wbb2_dat_o_o ;
  1134. wire            wbs_wbb3_2_wbb2_we_o    ;
  1135. wire    [ 3:0]  wbs_wbb3_2_wbb2_sel_o   ;
  1136. wire            wbs_wbb3_2_wbb2_ack_o   ;
  1137. wire            wbs_wbb3_2_wbb2_err_o   ;
  1138. wire            wbs_wbb3_2_wbb2_rty_o   ;
  1139. wire            wbs_wbb3_2_wbb2_cab_o   ;
  1140. // assign wishbone slave unit's outputs to top outputs where possible
  1141. assign wbs_dat_o    =   wbs_wbb3_2_wbb2_dat_o_o ;
  1142. assign wbs_ack_o    =   wbs_wbb3_2_wbb2_ack_o   ;
  1143. assign wbs_rty_o    =   wbs_wbb3_2_wbb2_rty_o   ;
  1144. assign wbs_err_o    =   wbs_wbb3_2_wbb2_err_o       ;
  1145. wire            wbs_wbb3_2_wbb2_cyc_i   =   wbs_cyc_i       ;
  1146. wire            wbs_wbb3_2_wbb2_stb_i   =   wbs_stb_i       ;
  1147. wire            wbs_wbb3_2_wbb2_we_i    =   wbs_we_i        ;
  1148. wire            wbs_wbb3_2_wbb2_ack_i   =   wbu_ack_out     ;
  1149. wire            wbs_wbb3_2_wbb2_err_i   =   wbu_err_out     ;
  1150. wire            wbs_wbb3_2_wbb2_rty_i   =   wbu_rty_out     ;
  1151. wire    [31:0]  wbs_wbb3_2_wbb2_adr_i   =   wbs_adr_i       ;
  1152. wire    [ 3:0]  wbs_wbb3_2_wbb2_sel_i   =   wbs_sel_i       ;
  1153. wire    [31:0]  wbs_wbb3_2_wbb2_dat_i_i =   wbs_dat_i       ;
  1154. wire    [31:0]  wbs_wbb3_2_wbb2_dat_o_i =   wbu_sdata_out   ;
  1155. wire    [ 2:0]  wbs_wbb3_2_wbb2_cti_i   =   wbs_cti_i       ;
  1156. wire    [ 1:0]  wbs_wbb3_2_wbb2_bte_i   =   wbs_bte_i       ;
  1157. pci_wbs_wbb3_2_wbb2 i_pci_wbs_wbb3_2_wbb2
  1158. (
  1159.     .wb_clk_i           (   wb_clk_i    )   ,
  1160.     .wb_rst_i           (   reset       )   ,
  1161.                         
  1162.     .wbs_cyc_i          (   wbs_wbb3_2_wbb2_cyc_i       )   ,
  1163.     .wbs_cyc_o          (   wbs_wbb3_2_wbb2_cyc_o       )   ,
  1164.     .wbs_stb_i          (   wbs_wbb3_2_wbb2_stb_i       )   ,
  1165.     .wbs_stb_o          (   wbs_wbb3_2_wbb2_stb_o       )   ,
  1166.     .wbs_adr_i          (   wbs_wbb3_2_wbb2_adr_i       )   ,
  1167.     .wbs_adr_o          (   wbs_wbb3_2_wbb2_adr_o       )   ,
  1168.     .wbs_dat_i_i        (   wbs_wbb3_2_wbb2_dat_i_i     )   ,
  1169.     .wbs_dat_i_o        (   wbs_wbb3_2_wbb2_dat_i_o     )   ,
  1170.     .wbs_dat_o_i        (   wbs_wbb3_2_wbb2_dat_o_i     )   ,
  1171.     .wbs_dat_o_o        (   wbs_wbb3_2_wbb2_dat_o_o     )   ,
  1172.     .wbs_we_i           (   wbs_wbb3_2_wbb2_we_i        )   ,
  1173.     .wbs_we_o           (   wbs_wbb3_2_wbb2_we_o        )   ,
  1174.     .wbs_sel_i          (   wbs_wbb3_2_wbb2_sel_i       )   ,
  1175.     .wbs_sel_o          (   wbs_wbb3_2_wbb2_sel_o       )   ,
  1176.     .wbs_ack_i          (   wbs_wbb3_2_wbb2_ack_i       )   ,
  1177.     .wbs_ack_o          (   wbs_wbb3_2_wbb2_ack_o       )   ,
  1178.     .wbs_err_i          (   wbs_wbb3_2_wbb2_err_i       )   ,
  1179.     .wbs_err_o          (   wbs_wbb3_2_wbb2_err_o       )   ,
  1180.     .wbs_rty_i          (   wbs_wbb3_2_wbb2_rty_i       )   ,
  1181.     .wbs_rty_o          (   wbs_wbb3_2_wbb2_rty_o       )   ,
  1182.     .wbs_cti_i          (   wbs_wbb3_2_wbb2_cti_i       )   ,
  1183.     .wbs_bte_i          (   wbs_wbb3_2_wbb2_bte_i       )   ,
  1184.     .wbs_cab_o          (   wbs_wbb3_2_wbb2_cab_o       )   ,
  1185.     .wb_init_complete_i (   conf_wb_init_complete_out   )
  1186. ) ;
  1187. // WISHBONE SLAVE UNIT INPUTS
  1188. wire    [31:0]  wbu_addr_in     =   wbs_wbb3_2_wbb2_adr_o   ;
  1189. wire    [31:0]  wbu_sdata_in    =   wbs_wbb3_2_wbb2_dat_i_o ;
  1190. wire            wbu_cyc_in      =   wbs_wbb3_2_wbb2_cyc_o   ;
  1191. wire            wbu_stb_in      =   wbs_wbb3_2_wbb2_stb_o   ;
  1192. wire            wbu_we_in       =   wbs_wbb3_2_wbb2_we_o    ;
  1193. wire    [3:0]   wbu_sel_in      =   wbs_wbb3_2_wbb2_sel_o   ;
  1194. wire            wbu_cab_in      =   wbs_wbb3_2_wbb2_cab_o   ;
  1195. `else
  1196. // WISHBONE SLAVE UNIT INPUTS
  1197. wire    [31:0]  wbu_addr_in                     =   wbs_adr_i ;
  1198. wire    [31:0]  wbu_sdata_in                    =   wbs_dat_i ;
  1199. wire            wbu_cyc_in                      =   wbs_cyc_i ;
  1200. wire            wbu_stb_in                      =   wbs_stb_i ;
  1201. wire            wbu_we_in                       =   wbs_we_i ;
  1202. wire    [3:0]   wbu_sel_in                      =   wbs_sel_i ;
  1203. wire            wbu_cab_in                      =   wbs_cab_i ;
  1204. // assign wishbone slave unit's outputs to top outputs where possible
  1205. assign wbs_dat_o    =   wbu_sdata_out   ;
  1206. assign wbs_ack_o    =   wbu_ack_out     ;
  1207. assign wbs_rty_o    =   wbu_rty_out     ;
  1208. assign wbs_err_o    =   wbu_err_out     ;
  1209. `endif
  1210. wire    [5:0]   wbu_map_in                      =   {
  1211.                                                      conf_wb_mem_io5_out,
  1212.                                                      conf_wb_mem_io4_out,
  1213.                                                      conf_wb_mem_io3_out,
  1214.                                                      conf_wb_mem_io2_out,
  1215.                                                      conf_wb_mem_io1_out,
  1216.                                                      conf_wb_mem_io0_out
  1217.                                                     } ;
  1218. wire    [5:0]   wbu_pref_en_in                  =   {
  1219.                                                      conf_wb_img_ctrl5_out[1],
  1220.                                                      conf_wb_img_ctrl4_out[1],
  1221.                                                      conf_wb_img_ctrl3_out[1],
  1222.                                                      conf_wb_img_ctrl2_out[1],
  1223.                                                      conf_wb_img_ctrl1_out[1],
  1224.                                                      conf_wb_img_ctrl0_out[1]
  1225.                                                     };
  1226. wire    [5:0]   wbu_mrl_en_in                   =   {
  1227.                                                      conf_wb_img_ctrl5_out[0],
  1228.                                                      conf_wb_img_ctrl4_out[0],
  1229.                                                      conf_wb_img_ctrl3_out[0],
  1230.                                                      conf_wb_img_ctrl2_out[0],
  1231.                                                      conf_wb_img_ctrl1_out[0],
  1232.                                                      conf_wb_img_ctrl0_out[0]
  1233.                                                     };
  1234. wire    [5:0]   wbu_at_en_in                    =   {
  1235.                                                      conf_wb_img_ctrl5_out[2],
  1236.                                                      conf_wb_img_ctrl4_out[2],
  1237.                                                      conf_wb_img_ctrl3_out[2],
  1238.                                                      conf_wb_img_ctrl2_out[2],
  1239.                                                      conf_wb_img_ctrl1_out[2],
  1240.                                                      conf_wb_img_ctrl0_out[2]
  1241.                                                     } ;
  1242. wire            wbu_pci_drcomp_pending_in       =   pciu_pci_drcomp_pending_out ;
  1243. wire            wbu_pciw_empty_in               =   pciu_pciw_fifo_empty_out ;
  1244. `ifdef HOST
  1245.     wire    [31:0]  wbu_conf_data_in            =   conf_w_data_out ;
  1246. `else
  1247. `ifdef GUEST
  1248.     wire    [31:0]  wbu_conf_data_in            =   conf_r_data_out ;
  1249. `endif
  1250. `endif
  1251. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_bar0_in  =   conf_wb_ba0_out ;
  1252. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_bar1_in  =   conf_wb_ba1_out ;
  1253. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_bar2_in  =   conf_wb_ba2_out ;
  1254. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_bar3_in  =   conf_wb_ba3_out ;
  1255. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_bar4_in  =   conf_wb_ba4_out ;
  1256. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_bar5_in  =   conf_wb_ba5_out ;
  1257. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_am0_in   =   conf_wb_am0_out ;
  1258. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_am1_in   =   conf_wb_am1_out ;
  1259. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_am2_in   =   conf_wb_am2_out ;
  1260. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_am3_in   =   conf_wb_am3_out ;
  1261. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_am4_in   =   conf_wb_am4_out ;
  1262. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_am5_in   =   conf_wb_am5_out ;
  1263. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_ta0_in   =   conf_wb_ta0_out ;
  1264. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_ta1_in   =   conf_wb_ta1_out ;
  1265. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_ta2_in   =   conf_wb_ta2_out ;
  1266. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_ta3_in   =   conf_wb_ta3_out ;
  1267. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_ta4_in   =   conf_wb_ta4_out ;
  1268. wire   [(`WB_NUM_OF_DEC_ADDR_LINES - 1):0] wbu_ta5_in   =   conf_wb_ta5_out ;
  1269. wire    [23:0]  wbu_ccyc_addr_in                        =   conf_ccyc_addr_out ;
  1270. wire            wbu_master_enable_in                    =   conf_pci_master_enable_out ;
  1271. wire            wbu_cache_line_size_not_zero            =   conf_cache_lsize_not_zero_to_wb_out ;
  1272. wire    [7:0]   wbu_cache_line_size_in                  =   conf_cache_line_size_to_pci_out ;
  1273. wire            wbu_pciif_gnt_in                        = pci_gnt_i ;
  1274. wire            wbu_pciif_frame_in                      = in_reg_frame_out ;
  1275. wire            wbu_pciif_irdy_in                       = in_reg_irdy_out ;
  1276. wire            wbu_pciif_trdy_in                       = int_pci_trdy  ;
  1277. wire            wbu_pciif_stop_in                       = int_pci_stop  ;
  1278. wire            wbu_pciif_devsel_in                     = int_pci_devsel ;
  1279. wire    [31:0]  wbu_pciif_ad_reg_in                     = in_reg_ad_out ;
  1280. wire            wbu_pciif_trdy_reg_in                   = in_reg_trdy_out ;
  1281. wire            wbu_pciif_stop_reg_in                   = in_reg_stop_out ;
  1282. wire            wbu_pciif_devsel_reg_in                 = in_reg_devsel_out ;
  1283. wire    [7:0]   wbu_latency_tim_val_in                  = conf_latency_tim_out ;
  1284. wire            wbu_pciif_frame_en_in                   = out_bckp_frame_en_out ;
  1285. wire            wbu_pciif_frame_out_in                  = out_bckp_frame_out ;
  1286. wire            wbu_wb_init_complete_in                 = conf_wb_init_complete_out ;
  1287. pci_wb_slave_unit wishbone_slave_unit
  1288. (
  1289.     .reset_in                      (reset),
  1290.     .wb_clock_in                   (wb_clk),
  1291.     .pci_clock_in                  (pci_clk),
  1292.     .ADDR_I                        (wbu_addr_in),
  1293.     .SDATA_I                       (wbu_sdata_in),
  1294.     .SDATA_O                       (wbu_sdata_out),
  1295.     .CYC_I                         (wbu_cyc_in),
  1296.     .STB_I                         (wbu_stb_in),
  1297.     .WE_I                          (wbu_we_in),
  1298.     .SEL_I                         (wbu_sel_in),
  1299.     .ACK_O                         (wbu_ack_out),
  1300.     .RTY_O                         (wbu_rty_out),
  1301.     .ERR_O                         (wbu_err_out),
  1302.     .CAB_I                         (wbu_cab_in),
  1303.     .wbu_map_in                    (wbu_map_in),
  1304.     .wbu_pref_en_in                (wbu_pref_en_in),
  1305.     .wbu_mrl_en_in                 (wbu_mrl_en_in),
  1306.     .wbu_pci_drcomp_pending_in     (wbu_pci_drcomp_pending_in),
  1307.     .wbu_conf_data_in              (wbu_conf_data_in),
  1308.     .wbu_pciw_empty_in             (wbu_pciw_empty_in),
  1309.     .wbu_bar0_in                   (wbu_bar0_in),
  1310.     .wbu_bar1_in                   (wbu_bar1_in),
  1311.     .wbu_bar2_in                   (wbu_bar2_in),
  1312.     .wbu_bar3_in                   (wbu_bar3_in),
  1313.     .wbu_bar4_in                   (wbu_bar4_in),
  1314.     .wbu_bar5_in                   (wbu_bar5_in),
  1315.     .wbu_am0_in                    (wbu_am0_in),
  1316.     .wbu_am1_in                    (wbu_am1_in),
  1317.     .wbu_am2_in                    (wbu_am2_in),
  1318.     .wbu_am3_in                    (wbu_am3_in),
  1319.     .wbu_am4_in                    (wbu_am4_in),
  1320.     .wbu_am5_in                    (wbu_am5_in),
  1321.     .wbu_ta0_in                    (wbu_ta0_in),
  1322.     .wbu_ta1_in                    (wbu_ta1_in),
  1323.     .wbu_ta2_in                    (wbu_ta2_in),
  1324.     .wbu_ta3_in                    (wbu_ta3_in),
  1325.     .wbu_ta4_in                    (wbu_ta4_in),
  1326.     .wbu_ta5_in                    (wbu_ta5_in),
  1327.     .wbu_at_en_in                  (wbu_at_en_in),
  1328.     .wbu_ccyc_addr_in              (wbu_ccyc_addr_in),
  1329.     .wbu_master_enable_in          (wbu_master_enable_in),
  1330.     .wb_init_complete_in           (wbu_wb_init_complete_in),
  1331.     .wbu_cache_line_size_not_zero  (wbu_cache_line_size_not_zero),
  1332.     .wbu_cache_line_size_in        (wbu_cache_line_size_in),
  1333.     .wbu_pciif_gnt_in              (wbu_pciif_gnt_in),
  1334.     .wbu_pciif_frame_in            (wbu_pciif_frame_in),
  1335.     .wbu_pciif_frame_en_in         (wbu_pciif_frame_en_in),
  1336.     .wbu_pciif_frame_out_in        (wbu_pciif_frame_out_in),
  1337.     .wbu_pciif_irdy_in             (wbu_pciif_irdy_in),
  1338.     .wbu_pciif_trdy_in             (wbu_pciif_trdy_in),
  1339.     .wbu_pciif_stop_in             (wbu_pciif_stop_in),
  1340.     .wbu_pciif_devsel_in           (wbu_pciif_devsel_in),
  1341.     .wbu_pciif_ad_reg_in           (wbu_pciif_ad_reg_in),
  1342.     .wbu_pciif_req_out             (wbu_pciif_req_out),
  1343.     .wbu_pciif_frame_out           (wbu_pciif_frame_out),
  1344.     .wbu_pciif_frame_en_out        (wbu_pciif_frame_en_out),
  1345.     .wbu_pciif_frame_load_out      (wbu_pciif_frame_load_out),
  1346.     .wbu_pciif_irdy_out            (wbu_pciif_irdy_out),
  1347.     .wbu_pciif_irdy_en_out         (wbu_pciif_irdy_en_out),
  1348.     .wbu_pciif_ad_out              (wbu_pciif_ad_out),
  1349.     .wbu_pciif_ad_en_out           (wbu_pciif_ad_en_out),
  1350.     .wbu_pciif_cbe_out             (wbu_pciif_cbe_out),
  1351.     .wbu_pciif_cbe_en_out          (wbu_pciif_cbe_en_out),
  1352.     .wbu_err_addr_out              (wbu_err_addr_out),
  1353.     .wbu_err_bc_out                (wbu_err_bc_out),
  1354.     .wbu_err_signal_out            (wbu_err_signal_out),
  1355.     .wbu_err_source_out            (wbu_err_source_out),
  1356.     .wbu_err_rty_exp_out           (wbu_err_rty_exp_out),
  1357.     .wbu_tabort_rec_out            (wbu_tabort_rec_out),
  1358.     .wbu_mabort_rec_out            (wbu_mabort_rec_out),
  1359.     .wbu_conf_offset_out           (wbu_conf_offset_out),
  1360.     .wbu_conf_renable_out          (wbu_conf_renable_out),
  1361.     .wbu_conf_wenable_out          (wbu_conf_wenable_out),
  1362.     .wbu_conf_be_out               (wbu_conf_be_out),
  1363.     .wbu_conf_data_out             (wbu_conf_data_out),
  1364.     .wbu_del_read_comp_pending_out (wbu_del_read_comp_pending_out),
  1365.     .wbu_wbw_fifo_empty_out        (wbu_wbw_fifo_empty_out),
  1366.     .wbu_latency_tim_val_in        (wbu_latency_tim_val_in),
  1367.     .wbu_ad_load_out               (wbu_ad_load_out),
  1368.     .wbu_ad_load_on_transfer_out   (wbu_ad_load_on_transfer_out),
  1369.     .wbu_pciif_trdy_reg_in         (wbu_pciif_trdy_reg_in),
  1370.     .wbu_pciif_stop_reg_in         (wbu_pciif_stop_reg_in),
  1371.     .wbu_pciif_devsel_reg_in       (wbu_pciif_devsel_reg_in)
  1372. `ifdef PCI_BIST
  1373.     ,
  1374.     .mbist_si_i       (mbist_si_i),
  1375.     .mbist_so_o       (mbist_so_o_internal),
  1376.     .mbist_ctrl_i       (mbist_ctrl_i)
  1377. `endif
  1378. );
  1379. // PCI TARGET UNIT INPUTS
  1380. wire    [31:0]  pciu_mdata_in                   =   wbm_dat_i ;
  1381. wire            pciu_ack_in                     =   wbm_ack_i ;
  1382. wire            pciu_rty_in                     =   wbm_rty_i ;
  1383. wire            pciu_err_in                     =   wbm_err_i ;
  1384. wire    [5:0]   pciu_map_in                     =   {
  1385.                                                      conf_pci_mem_io5_out,
  1386.                                                      conf_pci_mem_io4_out,
  1387.                                                      conf_pci_mem_io3_out,
  1388.                                                      conf_pci_mem_io2_out,
  1389.                                                      conf_pci_mem_io1_out,
  1390.                                                      conf_pci_mem_io0_out
  1391.                                                     } ;
  1392. wire    [5:0]   pciu_pref_en_in                 =   {
  1393.                                                      conf_pci_img_ctrl5_out[0],
  1394.                                                      conf_pci_img_ctrl4_out[0],
  1395.                                                      conf_pci_img_ctrl3_out[0],
  1396.                                                      conf_pci_img_ctrl2_out[0],
  1397.                                                      conf_pci_img_ctrl1_out[0],
  1398.                                                      conf_pci_img_ctrl0_out[0]
  1399.                                                     };
  1400. wire    [5:0]   pciu_at_en_in                   =   {
  1401.                                                      conf_pci_img_ctrl5_out[1],
  1402.                                                      conf_pci_img_ctrl4_out[1],
  1403.                                                      conf_pci_img_ctrl3_out[1],
  1404.                                                      conf_pci_img_ctrl2_out[1],
  1405.                                                      conf_pci_img_ctrl1_out[1],
  1406.                                                      conf_pci_img_ctrl0_out[1]
  1407.                                                     } ;
  1408. wire            pciu_mem_enable_in              =   conf_mem_space_enable_out ;
  1409. wire            pciu_io_enable_in               =   conf_io_space_enable_out ;
  1410. wire            pciu_wbw_fifo_empty_in          =   wbu_wbw_fifo_empty_out ;
  1411. wire pciu_wbu_del_read_comp_pending_in = wbu_del_read_comp_pending_out ;
  1412. wire            pciu_wbu_frame_en_in            =   out_bckp_frame_en_out ;
  1413. `ifdef HOST
  1414.     wire    [31:0]  pciu_conf_data_in           =   conf_r_data_out ;
  1415. `else
  1416. `ifdef GUEST
  1417.     wire    [31:0]  pciu_conf_data_in           =   conf_w_data_out ;
  1418. `endif
  1419. `endif
  1420. wire    [pci_ba0_width   - 1:0] pciu_bar0_in =   conf_pci_ba0_out    ;
  1421. wire    [pci_ba1_5_width - 1:0] pciu_bar1_in =   conf_pci_ba1_out ;
  1422. wire    [pci_ba1_5_width - 1:0] pciu_bar2_in =   conf_pci_ba2_out ;
  1423. wire    [pci_ba1_5_width - 1:0] pciu_bar3_in =   conf_pci_ba3_out ;
  1424. wire    [pci_ba1_5_width - 1:0] pciu_bar4_in =   conf_pci_ba4_out ;
  1425. wire    [pci_ba1_5_width - 1:0] pciu_bar5_in =   conf_pci_ba5_out ;
  1426. wire    [pci_ba1_5_width - 1:0] pciu_am0_in  =   conf_pci_am0_out ;
  1427. wire    [pci_ba1_5_width - 1:0] pciu_am1_in  =   conf_pci_am1_out ;
  1428. wire    [pci_ba1_5_width - 1:0] pciu_am2_in  =   conf_pci_am2_out ;
  1429. wire    [pci_ba1_5_width - 1:0] pciu_am3_in  =   conf_pci_am3_out ;
  1430. wire    [pci_ba1_5_width - 1:0] pciu_am4_in  =   conf_pci_am4_out ;
  1431. wire    [pci_ba1_5_width - 1:0] pciu_am5_in  =   conf_pci_am5_out ;
  1432. wire    [pci_ba1_5_width - 1:0] pciu_ta0_in  =   conf_pci_ta0_out ;
  1433. wire    [pci_ba1_5_width - 1:0] pciu_ta1_in  =   conf_pci_ta1_out ;
  1434. wire    [pci_ba1_5_width - 1:0] pciu_ta2_in  =   conf_pci_ta2_out ;
  1435. wire    [pci_ba1_5_width - 1:0] pciu_ta3_in  =   conf_pci_ta3_out ;
  1436. wire    [pci_ba1_5_width - 1:0] pciu_ta4_in  =   conf_pci_ta4_out ;
  1437. wire    [pci_ba1_5_width - 1:0] pciu_ta5_in  =   conf_pci_ta5_out ;
  1438. wire    [7:0]   pciu_cache_line_size_in                 =   conf_cache_line_size_to_wb_out ;
  1439. wire            pciu_cache_lsize_not_zero_in            =   conf_cache_lsize_not_zero_to_wb_out ;
  1440. wire            pciu_pciif_frame_in                     =   int_pci_frame   ;
  1441. wire            pciu_pciif_irdy_in                      =   int_pci_irdy    ;
  1442. wire            pciu_pciif_idsel_in                     =   pci_idsel_i ;
  1443. wire            pciu_pciif_frame_reg_in                 =   in_reg_frame_out ;
  1444. wire            pciu_pciif_irdy_reg_in                  =   in_reg_irdy_out ;
  1445. wire            pciu_pciif_idsel_reg_in                 =   in_reg_idsel_out ;
  1446. wire    [31:0]  pciu_pciif_ad_reg_in                    =   in_reg_ad_out ;
  1447. wire    [3:0]   pciu_pciif_cbe_reg_in                   =   in_reg_cbe_out ;
  1448. wire    [3:0]   pciu_pciif_cbe_in                       =   int_pci_cbe ;
  1449. wire            pciu_pciif_bckp_trdy_en_in              =   out_bckp_trdy_en_out ;
  1450. wire            pciu_pciif_bckp_devsel_in               =   out_bckp_devsel_out ;
  1451. wire            pciu_pciif_bckp_trdy_in                 =   out_bckp_trdy_out ;
  1452. wire            pciu_pciif_bckp_stop_in                 =   out_bckp_stop_out ;
  1453. wire            pciu_pciif_trdy_reg_in                  =   in_reg_trdy_out ;
  1454. wire            pciu_pciif_stop_reg_in                  =   in_reg_stop_out ;
  1455. pci_target_unit pci_target_unit
  1456. (
  1457.     .reset_in                       (reset),
  1458.     .wb_clock_in                    (wb_clk),
  1459.     .pci_clock_in                   (pci_clk),
  1460.     .pciu_wbm_adr_o                 (pciu_adr_out),
  1461.     .pciu_wbm_dat_o                 (pciu_mdata_out),
  1462.     .pciu_wbm_dat_i                 (pciu_mdata_in),
  1463.     .pciu_wbm_cyc_o                 (pciu_cyc_out),
  1464.     .pciu_wbm_stb_o                 (pciu_stb_out),
  1465.     .pciu_wbm_we_o                  (pciu_we_out),
  1466.     .pciu_wbm_cti_o                 (pciu_cti_out),
  1467.     .pciu_wbm_bte_o                 (pciu_bte_out),
  1468.     .pciu_wbm_sel_o                 (pciu_sel_out),
  1469.     .pciu_wbm_ack_i                 (pciu_ack_in),
  1470.     .pciu_wbm_rty_i                 (pciu_rty_in),
  1471.     .pciu_wbm_err_i                 (pciu_err_in),
  1472.     .pciu_mem_enable_in             (pciu_mem_enable_in),
  1473.     .pciu_io_enable_in              (pciu_io_enable_in),
  1474.     .pciu_map_in                    (pciu_map_in),
  1475.     .pciu_pref_en_in                (pciu_pref_en_in),
  1476.     .pciu_conf_data_in              (pciu_conf_data_in),
  1477.     .pciu_wbw_fifo_empty_in         (pciu_wbw_fifo_empty_in),
  1478.     .pciu_wbu_del_read_comp_pending_in (pciu_wbu_del_read_comp_pending_in),
  1479.     .pciu_wbu_frame_en_in           (pciu_wbu_frame_en_in),
  1480.     .pciu_bar0_in                   (pciu_bar0_in),
  1481.     .pciu_bar1_in                   (pciu_bar1_in),
  1482.     .pciu_bar2_in                   (pciu_bar2_in),
  1483.     .pciu_bar3_in                   (pciu_bar3_in),
  1484.     .pciu_bar4_in                   (pciu_bar4_in),
  1485.     .pciu_bar5_in                   (pciu_bar5_in),
  1486.     .pciu_am0_in                    (pciu_am0_in),
  1487.     .pciu_am1_in                    (pciu_am1_in),
  1488.     .pciu_am2_in                    (pciu_am2_in),
  1489.     .pciu_am3_in                    (pciu_am3_in),
  1490.     .pciu_am4_in                    (pciu_am4_in),
  1491.     .pciu_am5_in                    (pciu_am5_in),
  1492.     .pciu_ta0_in                    (pciu_ta0_in),
  1493.     .pciu_ta1_in                    (pciu_ta1_in),
  1494.     .pciu_ta2_in                    (pciu_ta2_in),
  1495.     .pciu_ta3_in                    (pciu_ta3_in),
  1496.     .pciu_ta4_in                    (pciu_ta4_in),
  1497.     .pciu_ta5_in                    (pciu_ta5_in),
  1498.     .pciu_at_en_in                  (pciu_at_en_in),
  1499.     .pciu_cache_line_size_in        (pciu_cache_line_size_in),
  1500.     .pciu_cache_lsize_not_zero_in   (pciu_cache_lsize_not_zero_in),
  1501.     .pciu_pciif_frame_in            (pciu_pciif_frame_in),
  1502.     .pciu_pciif_irdy_in             (pciu_pciif_irdy_in),
  1503.     .pciu_pciif_idsel_in            (pciu_pciif_idsel_in),
  1504.     .pciu_pciif_frame_reg_in        (pciu_pciif_frame_reg_in),
  1505.     .pciu_pciif_irdy_reg_in         (pciu_pciif_irdy_reg_in),
  1506.     .pciu_pciif_idsel_reg_in        (pciu_pciif_idsel_reg_in),
  1507.     .pciu_pciif_ad_reg_in           (pciu_pciif_ad_reg_in),
  1508.     .pciu_pciif_cbe_reg_in          (pciu_pciif_cbe_reg_in),
  1509.     .pciu_pciif_cbe_in              (pciu_pciif_cbe_in),
  1510.     .pciu_pciif_bckp_trdy_en_in     (pciu_pciif_bckp_trdy_en_in),
  1511.     .pciu_pciif_bckp_devsel_in      (pciu_pciif_bckp_devsel_in),
  1512.     .pciu_pciif_bckp_trdy_in        (pciu_pciif_bckp_trdy_in),
  1513.     .pciu_pciif_bckp_stop_in        (pciu_pciif_bckp_stop_in),
  1514.     .pciu_pciif_trdy_reg_in         (pciu_pciif_trdy_reg_in),
  1515.     .pciu_pciif_stop_reg_in         (pciu_pciif_stop_reg_in),
  1516.     .pciu_pciif_trdy_out            (pciu_pciif_trdy_out),
  1517.     .pciu_pciif_stop_out            (pciu_pciif_stop_out),
  1518.     .pciu_pciif_devsel_out          (pciu_pciif_devsel_out),
  1519.     .pciu_pciif_trdy_en_out         (pciu_pciif_trdy_en_out),
  1520.     .pciu_pciif_stop_en_out         (pciu_pciif_stop_en_out),
  1521.     .pciu_pciif_devsel_en_out       (pciu_pciif_devsel_en_out),
  1522.     .pciu_ad_load_out               (pciu_ad_load_out),
  1523.     .pciu_ad_load_on_transfer_out   (pciu_ad_load_on_transfer_out),
  1524.     .pciu_pciif_ad_out              (pciu_pciif_ad_out),
  1525.     .pciu_pciif_ad_en_out           (pciu_pciif_ad_en_out),
  1526.     .pciu_pciif_tabort_set_out      (pciu_pciif_tabort_set_out),
  1527.     .pciu_err_addr_out              (pciu_err_addr_out),
  1528.     .pciu_err_bc_out                (pciu_err_bc_out),
  1529.     .pciu_err_data_out              (pciu_err_data_out),
  1530.     .pciu_err_be_out                (pciu_err_be_out),
  1531.     .pciu_err_signal_out            (pciu_err_signal_out),
  1532.     .pciu_err_source_out            (pciu_err_source_out),
  1533.     .pciu_err_rty_exp_out           (pciu_err_rty_exp_out),
  1534.     .pciu_conf_offset_out           (pciu_conf_offset_out),
  1535.     .pciu_conf_renable_out          (pciu_conf_renable_out),
  1536.     .pciu_conf_wenable_out          (pciu_conf_wenable_out),
  1537.     .pciu_conf_be_out               (pciu_conf_be_out),
  1538.     .pciu_conf_data_out             (pciu_conf_data_out),
  1539.     .pciu_pci_drcomp_pending_out    (pciu_pci_drcomp_pending_out),
  1540.     .pciu_pciw_fifo_empty_out       (pciu_pciw_fifo_empty_out)
  1541. `ifdef PCI_BIST
  1542.     ,
  1543.     .mbist_si_i       (mbist_so_o_internal),
  1544.     .mbist_so_o       (mbist_so_o),
  1545.     .mbist_ctrl_i       (mbist_ctrl_i)
  1546. `endif
  1547. );
  1548. // CONFIGURATION SPACE INPUTS
  1549. `ifdef HOST
  1550.     wire    [11:0]  conf_w_addr_in          =       wbu_conf_offset_out ;
  1551.     wire    [31:0]  conf_w_data_in          =       wbu_conf_data_out ;
  1552.     wire            conf_w_we_in            =       wbu_conf_wenable_out ;
  1553.     wire            conf_w_re_in            =       wbu_conf_renable_out ;
  1554.     wire    [3:0]   conf_w_be_in            =       wbu_conf_be_out     ;
  1555.     wire            conf_w_clock            =       wb_clk ;
  1556.     wire    [11:0]  conf_r_addr_in          =       pciu_conf_offset_out ;
  1557.     wire            conf_r_re_in            =       pciu_conf_renable_out ;
  1558. `else
  1559. `ifdef GUEST
  1560.     wire    [11:0]  conf_r_addr_in          =       wbu_conf_offset_out ;
  1561.     wire            conf_r_re_in            =       wbu_conf_renable_out ;
  1562.     wire            conf_w_clock            =       pci_clk ;
  1563.     wire    [11:0]  conf_w_addr_in          =       pciu_conf_offset_out ;
  1564.     wire    [31:0]  conf_w_data_in          =       pciu_conf_data_out ;
  1565.     wire            conf_w_we_in            =       pciu_conf_wenable_out ;
  1566.     wire            conf_w_re_in            =       pciu_conf_renable_out ;
  1567.     wire    [3:0]   conf_w_be_in            =       pciu_conf_be_out ;
  1568. `endif
  1569. `endif
  1570. wire            conf_perr_in                            =   parchk_par_err_detect_out ;
  1571. wire            conf_serr_in                            =   parchk_sig_serr_out ;
  1572. wire            conf_master_abort_recv_in               =   wbu_mabort_rec_out ;
  1573. wire            conf_target_abort_recv_in               =   wbu_tabort_rec_out ;
  1574. wire            conf_target_abort_set_in                =   pciu_pciif_tabort_set_out ;
  1575. wire            conf_master_data_par_err_in             =   parchk_perr_mas_detect_out ;
  1576. wire    [3:0]   conf_pci_err_be_in      = pciu_err_be_out ;
  1577. wire    [3:0]   conf_pci_err_bc_in      = pciu_err_bc_out;
  1578. wire            conf_pci_err_es_in      = pciu_err_source_out ;
  1579. wire            conf_pci_err_rty_exp_in = pciu_err_rty_exp_out ;
  1580. wire            conf_pci_err_sig_in     = pciu_err_signal_out ;
  1581. wire    [31:0]  conf_pci_err_addr_in    = pciu_err_addr_out ;
  1582. wire    [31:0]  conf_pci_err_data_in    = pciu_err_data_out ;
  1583. wire    [3:0]   conf_wb_err_be_in       =   out_bckp_cbe_out ;
  1584. wire    [3:0]   conf_wb_err_bc_in       =   wbu_err_bc_out ;
  1585. wire            conf_wb_err_rty_exp_in  =   wbu_err_rty_exp_out ;
  1586. wire            conf_wb_err_es_in       =   wbu_err_source_out ;
  1587. wire            conf_wb_err_sig_in      =   wbu_err_signal_out ;
  1588. wire    [31:0]  conf_wb_err_addr_in     =   wbu_err_addr_out ;
  1589. wire    [31:0]  conf_wb_err_data_in     =   out_bckp_ad_out ;
  1590. wire            conf_isr_int_prop_in    =   pci_into_conf_isr_int_prop_out ;
  1591. wire            conf_par_err_int_in     =   parchk_perr_mas_detect_out ;
  1592. wire            conf_sys_err_int_in     =   parchk_sig_serr_out ;
  1593. pci_conf_space configuration(
  1594.                                 .reset                      (reset),
  1595.                                 .pci_clk                    (pci_clk),
  1596.                                 .wb_clk                     (wb_clk),
  1597.                                 .w_conf_address_in          (conf_w_addr_in),
  1598.                                 .w_conf_data_in             (conf_w_data_in),
  1599.                                 .w_conf_data_out            (conf_w_data_out),
  1600.                                 .r_conf_address_in          (conf_r_addr_in),
  1601.                                 .r_conf_data_out            (conf_r_data_out),
  1602.                                 .w_we_i                     (conf_w_we_in),
  1603.                                 .w_re                       (conf_w_re_in),
  1604.                                 .r_re                       (conf_r_re_in),
  1605.                                 .w_byte_en_in               (conf_w_be_in),
  1606.                                 .w_clock                    (conf_w_clock),
  1607.                                 .serr_enable                (conf_serr_enable_out),
  1608.                                 .perr_response              (conf_perr_response_out),
  1609.                                 .pci_master_enable          (conf_pci_master_enable_out),
  1610.                                 .memory_space_enable        (conf_mem_space_enable_out),
  1611.                                 .io_space_enable            (conf_io_space_enable_out),
  1612.                                 .perr_in                    (conf_perr_in),
  1613.                                 .serr_in                    (conf_serr_in),
  1614.                                 .master_abort_recv          (conf_master_abort_recv_in),
  1615.                                 .target_abort_recv          (conf_target_abort_recv_in),
  1616.                                 .target_abort_set           (conf_target_abort_set_in),
  1617.                                 .master_data_par_err        (conf_master_data_par_err_in),
  1618.                                 .cache_line_size_to_pci     (conf_cache_line_size_to_pci_out),
  1619.                                 .cache_line_size_to_wb      (conf_cache_line_size_to_wb_out),
  1620.                                 .cache_lsize_not_zero_to_wb (conf_cache_lsize_not_zero_to_wb_out),
  1621.                                 .latency_tim                (conf_latency_tim_out),
  1622.                                 .pci_base_addr0             (conf_pci_ba0_out),
  1623.                                 .pci_base_addr1             (conf_pci_ba1_out),
  1624.                                 .pci_base_addr2             (conf_pci_ba2_out),
  1625.                                 .pci_base_addr3             (conf_pci_ba3_out),
  1626.                                 .pci_base_addr4             (conf_pci_ba4_out),
  1627.                                 .pci_base_addr5             (conf_pci_ba5_out),
  1628.                                 .pci_memory_io0             (conf_pci_mem_io0_out),
  1629.                                 .pci_memory_io1             (conf_pci_mem_io1_out),
  1630.                                 .pci_memory_io2             (conf_pci_mem_io2_out),
  1631.                                 .pci_memory_io3             (conf_pci_mem_io3_out),
  1632.                                 .pci_memory_io4             (conf_pci_mem_io4_out),
  1633.                                 .pci_memory_io5             (conf_pci_mem_io5_out),
  1634.                                 .pci_addr_mask0             (conf_pci_am0_out),
  1635.                                 .pci_addr_mask1             (conf_pci_am1_out),
  1636.                                 .pci_addr_mask2             (conf_pci_am2_out),
  1637.                                 .pci_addr_mask3             (conf_pci_am3_out),
  1638.                                 .pci_addr_mask4             (conf_pci_am4_out),
  1639.                                 .pci_addr_mask5             (conf_pci_am5_out),
  1640.                                 .pci_tran_addr0             (conf_pci_ta0_out),
  1641.                                 .pci_tran_addr1             (conf_pci_ta1_out),
  1642.                                 .pci_tran_addr2             (conf_pci_ta2_out),
  1643.                                 .pci_tran_addr3             (conf_pci_ta3_out),
  1644.                                 .pci_tran_addr4             (conf_pci_ta4_out),
  1645.                                 .pci_tran_addr5             (conf_pci_ta5_out),
  1646.                                 .pci_img_ctrl0              (conf_pci_img_ctrl0_out),
  1647.                                 .pci_img_ctrl1              (conf_pci_img_ctrl1_out),
  1648.                                 .pci_img_ctrl2              (conf_pci_img_ctrl2_out),
  1649.                                 .pci_img_ctrl3              (conf_pci_img_ctrl3_out),
  1650.                                 .pci_img_ctrl4              (conf_pci_img_ctrl4_out),
  1651.                                 .pci_img_ctrl5              (conf_pci_img_ctrl5_out),
  1652.                                 .pci_error_be               (conf_pci_err_be_in),
  1653.                                 .pci_error_bc               (conf_pci_err_bc_in),
  1654.                                 .pci_error_rty_exp          (conf_pci_err_rty_exp_in),
  1655.                                 .pci_error_es               (conf_pci_err_es_in),
  1656.                                 .pci_error_sig              (conf_pci_err_sig_in),
  1657.                                 .pci_error_addr             (conf_pci_err_addr_in),
  1658.                                 .pci_error_data             (conf_pci_err_data_in),
  1659.                                 .wb_base_addr0              (conf_wb_ba0_out),
  1660.                                 .wb_base_addr1              (conf_wb_ba1_out),
  1661.                                 .wb_base_addr2              (conf_wb_ba2_out),
  1662.                                 .wb_base_addr3              (conf_wb_ba3_out),
  1663.                                 .wb_base_addr4              (conf_wb_ba4_out),
  1664.                                 .wb_base_addr5              (conf_wb_ba5_out),
  1665.                                 .wb_memory_io0              (conf_wb_mem_io0_out),
  1666.                                 .wb_memory_io1              (conf_wb_mem_io1_out),
  1667.                                 .wb_memory_io2              (conf_wb_mem_io2_out),
  1668.                                 .wb_memory_io3              (conf_wb_mem_io3_out),
  1669.                                 .wb_memory_io4              (conf_wb_mem_io4_out),
  1670.                                 .wb_memory_io5              (conf_wb_mem_io5_out),
  1671.                                 .wb_addr_mask0              (conf_wb_am0_out),
  1672.                                 .wb_addr_mask1              (conf_wb_am1_out),
  1673.                                 .wb_addr_mask2              (conf_wb_am2_out),
  1674.                                 .wb_addr_mask3              (conf_wb_am3_out),
  1675.                                 .wb_addr_mask4              (conf_wb_am4_out),
  1676.                                 .wb_addr_mask5              (conf_wb_am5_out),
  1677.                                 .wb_tran_addr0              (conf_wb_ta0_out),
  1678.                                 .wb_tran_addr1              (conf_wb_ta1_out),
  1679.                                 .wb_tran_addr2              (conf_wb_ta2_out),
  1680.                                 .wb_tran_addr3              (conf_wb_ta3_out),
  1681.                                 .wb_tran_addr4              (conf_wb_ta4_out),
  1682.                                 .wb_tran_addr5              (conf_wb_ta5_out),
  1683.                                 .wb_img_ctrl0               (conf_wb_img_ctrl0_out),
  1684.                                 .wb_img_ctrl1               (conf_wb_img_ctrl1_out),
  1685.                                 .wb_img_ctrl2               (conf_wb_img_ctrl2_out),
  1686.                                 .wb_img_ctrl3               (conf_wb_img_ctrl3_out),
  1687.                                 .wb_img_ctrl4               (conf_wb_img_ctrl4_out),
  1688.                                 .wb_img_ctrl5               (conf_wb_img_ctrl5_out),
  1689.                                 .wb_error_be                (conf_wb_err_be_in),
  1690.                                 .wb_error_bc                (conf_wb_err_bc_in),
  1691.                                 .wb_error_rty_exp           (conf_wb_err_rty_exp_in),
  1692.                                 .wb_error_es                (conf_wb_err_es_in),
  1693.                                 .wb_error_sig               (conf_wb_err_sig_in),
  1694.                                 .wb_error_addr              (conf_wb_err_addr_in),
  1695.                                 .wb_error_data              (conf_wb_err_data_in),
  1696.                                 .config_addr                (conf_ccyc_addr_out),
  1697.                                 .icr_soft_res               (conf_soft_res_out),
  1698.                                 .int_out                    (conf_int_out),
  1699.                                 .isr_int_prop               (conf_isr_int_prop_in),
  1700.                                 .isr_par_err_int            (conf_par_err_int_in),
  1701.                                 .isr_sys_err_int            (conf_sys_err_int_in),
  1702.                                 .pci_init_complete_out      (conf_pci_init_complete_out),
  1703.                                 .wb_init_complete_out       (conf_wb_init_complete_out)
  1704.                             `ifdef PCI_CPCI_HS_IMPLEMENT
  1705.                                 ,
  1706.                                 .pci_cpci_hs_enum_oe_o      (pci_cpci_hs_enum_oe_o) ,
  1707.                                 .pci_cpci_hs_led_oe_o       (pci_cpci_hs_led_oe_o ) ,
  1708.                                 .pci_cpci_hs_es_i           (pci_cpci_hs_es_i)
  1709.                             `endif
  1710.         
  1711.                             `ifdef PCI_SPOCI
  1712.                                 ,
  1713.                                 // Serial power on configuration interface
  1714.                                 .spoci_scl_oe_o (spoci_scl_oe_o )  ,
  1715.                                 .spoci_sda_i    (spoci_sda_i    )  ,
  1716.                                 .spoci_sda_oe_o (spoci_sda_oe_o )
  1717.                             `endif
  1718.                             ) ;
  1719. // pci data io multiplexer inputs
  1720. wire            pci_mux_tar_ad_en_in            = pciu_pciif_ad_en_out ;
  1721. wire            pci_mux_tar_ad_en_reg_in        = out_bckp_tar_ad_en_out ;
  1722. wire    [31:0]  pci_mux_tar_ad_in               = pciu_pciif_ad_out ;
  1723. wire            pci_mux_devsel_in               = pciu_pciif_devsel_out ;
  1724. wire            pci_mux_devsel_en_in            = pciu_pciif_devsel_en_out ;
  1725. wire            pci_mux_trdy_in                 = pciu_pciif_trdy_out ;
  1726. wire            pci_mux_trdy_en_in              = pciu_pciif_trdy_en_out ;
  1727. wire            pci_mux_stop_in                 = pciu_pciif_stop_out ;
  1728. wire            pci_mux_stop_en_in              = pciu_pciif_stop_en_out ;
  1729. wire            pci_mux_tar_load_in             = pciu_ad_load_out ;
  1730. wire            pci_mux_tar_load_on_transfer_in = pciu_ad_load_on_transfer_out ;
  1731. wire            pci_mux_mas_ad_en_in    = wbu_pciif_ad_en_out ;
  1732. wire    [31:0]  pci_mux_mas_ad_in       = wbu_pciif_ad_out ;
  1733. wire            pci_mux_frame_in                = wbu_pciif_frame_out ;
  1734. wire            pci_mux_frame_en_in             = wbu_pciif_frame_en_out ;
  1735. wire            pci_mux_irdy_in                 = wbu_pciif_irdy_out;
  1736. wire            pci_mux_irdy_en_in              = wbu_pciif_irdy_en_out;
  1737. wire            pci_mux_mas_load_in             = wbu_ad_load_out ;
  1738. wire            pci_mux_mas_load_on_transfer_in = wbu_ad_load_on_transfer_out ;
  1739. wire [3:0]      pci_mux_cbe_in                  = wbu_pciif_cbe_out ;
  1740. wire            pci_mux_cbe_en_in               = wbu_pciif_cbe_en_out ;
  1741. wire            pci_mux_par_in              = parchk_pci_par_out ;
  1742. wire            pci_mux_par_en_in           = parchk_pci_par_en_out ;
  1743. wire            pci_mux_perr_in             = parchk_pci_perr_out ;
  1744. wire            pci_mux_perr_en_in          = parchk_pci_perr_en_out ;
  1745. wire            pci_mux_serr_in             = parchk_pci_serr_out ;
  1746. wire            pci_mux_serr_en_in          = parchk_pci_serr_en_out;
  1747. wire            pci_mux_req_in              =   wbu_pciif_req_out ;
  1748. wire            pci_mux_frame_load_in       =   wbu_pciif_frame_load_out ;
  1749. wire            pci_mux_pci_irdy_in         =   int_pci_irdy    ;
  1750. wire            pci_mux_pci_trdy_in         =   int_pci_trdy    ;
  1751. wire            pci_mux_pci_frame_in        =   int_pci_frame   ;
  1752. wire            pci_mux_pci_stop_in         =   int_pci_stop    ;
  1753. wire            pci_mux_init_complete_in    =   conf_pci_init_complete_out ;
  1754. pci_io_mux pci_io_mux
  1755. (
  1756.     .reset_in                   (reset),
  1757.     .clk_in                     (pci_clk),
  1758.     .frame_in                   (pci_mux_frame_in),
  1759.     .frame_en_in                (pci_mux_frame_en_in),
  1760.     .frame_load_in              (pci_mux_frame_load_in),
  1761.     .irdy_in                    (pci_mux_irdy_in),
  1762.     .irdy_en_in                 (pci_mux_irdy_en_in),
  1763.     .devsel_in                  (pci_mux_devsel_in),
  1764.     .devsel_en_in               (pci_mux_devsel_en_in),
  1765.     .trdy_in                    (pci_mux_trdy_in),
  1766.     .trdy_en_in                 (pci_mux_trdy_en_in),
  1767.     .stop_in                    (pci_mux_stop_in),
  1768.     .stop_en_in                 (pci_mux_stop_en_in),
  1769.     .master_load_in             (pci_mux_mas_load_in),
  1770.     .master_load_on_transfer_in (pci_mux_mas_load_on_transfer_in),
  1771.     .target_load_in             (pci_mux_tar_load_in),
  1772.     .target_load_on_transfer_in (pci_mux_tar_load_on_transfer_in),
  1773.     .cbe_in                     (pci_mux_cbe_in),
  1774.     .cbe_en_in                  (pci_mux_cbe_en_in),
  1775.     .mas_ad_in                  (pci_mux_mas_ad_in),
  1776.     .tar_ad_in                  (pci_mux_tar_ad_in),
  1777.     .mas_ad_en_in               (pci_mux_mas_ad_en_in),
  1778.     .tar_ad_en_in               (pci_mux_tar_ad_en_in),
  1779.     .tar_ad_en_reg_in           (pci_mux_tar_ad_en_reg_in),
  1780.     .par_in                     (pci_mux_par_in),
  1781.     .par_en_in                  (pci_mux_par_en_in),
  1782.     .perr_in                    (pci_mux_perr_in),
  1783.     .perr_en_in                 (pci_mux_perr_en_in),
  1784.     .serr_in                    (pci_mux_serr_in),
  1785.     .serr_en_in                 (pci_mux_serr_en_in),
  1786.     .frame_en_out               (pci_mux_frame_en_out),
  1787.     .irdy_en_out                (pci_mux_irdy_en_out),
  1788.     .devsel_en_out              (pci_mux_devsel_en_out),
  1789.     .trdy_en_out                (pci_mux_trdy_en_out),
  1790.     .stop_en_out                (pci_mux_stop_en_out),
  1791.     .cbe_en_out                 (pci_mux_cbe_en_out),
  1792.     .ad_en_out                  (pci_mux_ad_en_out),
  1793.     .frame_out                  (pci_mux_frame_out),
  1794.     .irdy_out                   (pci_mux_irdy_out),
  1795.     .devsel_out                 (pci_mux_devsel_out),
  1796.     .trdy_out                   (pci_mux_trdy_out),
  1797.     .stop_out                   (pci_mux_stop_out),
  1798.     .cbe_out                    (pci_mux_cbe_out),
  1799.     .ad_out                     (pci_mux_ad_out),
  1800.     .ad_load_out                (pci_mux_ad_load_out),
  1801.     .par_out                    (pci_mux_par_out),
  1802.     .par_en_out                 (pci_mux_par_en_out),
  1803.     .perr_out                   (pci_mux_perr_out),
  1804.     .perr_en_out                (pci_mux_perr_en_out),
  1805.     .serr_out                   (pci_mux_serr_out),
  1806.     .serr_en_out                (pci_mux_serr_en_out),
  1807.     .req_in                     (pci_mux_req_in),
  1808.     .req_out                    (pci_mux_req_out),
  1809.     .req_en_out                 (pci_mux_req_en_out),
  1810.     .pci_irdy_in                (pci_mux_pci_irdy_in),
  1811.     .pci_trdy_in                (pci_mux_pci_trdy_in),
  1812.     .pci_frame_in               (pci_mux_pci_frame_in),
  1813.     .pci_stop_in                (pci_mux_pci_stop_in),
  1814.     .ad_en_unregistered_out     (pci_mux_ad_en_unregistered_out),
  1815.     .init_complete_in           (pci_mux_init_complete_in)
  1816. );
  1817. pci_cur_out_reg output_backup
  1818. (
  1819.     .reset_in               (reset),
  1820.     .clk_in                 (pci_clk),
  1821.     .frame_in               (pci_mux_frame_in),
  1822.     .frame_en_in            (pci_mux_frame_en_in),
  1823.     .frame_load_in          (pci_mux_frame_load_in),
  1824.     .irdy_in                (pci_mux_irdy_in),
  1825.     .irdy_en_in             (pci_mux_irdy_en_in),
  1826.     .devsel_in              (pci_mux_devsel_in),
  1827.     .trdy_in                (pci_mux_trdy_in),
  1828.     .trdy_en_in             (pci_mux_trdy_en_in),
  1829.     .stop_in                (pci_mux_stop_in),
  1830.     .ad_load_in             (pci_mux_ad_load_out),
  1831.     .cbe_in                 (pci_mux_cbe_in),
  1832.     .cbe_en_in              (pci_mux_cbe_en_in),
  1833.     .mas_ad_in              (pci_mux_mas_ad_in),
  1834.     .tar_ad_in              (pci_mux_tar_ad_in),
  1835.     .mas_ad_en_in           (pci_mux_mas_ad_en_in),
  1836.     .tar_ad_en_in           (pci_mux_tar_ad_en_in),
  1837.     .ad_en_unregistered_in  (pci_mux_ad_en_unregistered_out),
  1838.     .par_in                 (pci_mux_par_in),
  1839.     .par_en_in              (pci_mux_par_en_in),
  1840.     .perr_in                (pci_mux_perr_in),
  1841.     .perr_en_in             (pci_mux_perr_en_in),
  1842.     .serr_in                (pci_mux_serr_in),
  1843.     .serr_en_in             (pci_mux_serr_en_in),
  1844.     .frame_out              (out_bckp_frame_out),
  1845.     .frame_en_out           (out_bckp_frame_en_out),
  1846.     .irdy_out               (out_bckp_irdy_out),
  1847.     .irdy_en_out            (out_bckp_irdy_en_out),
  1848.     .devsel_out             (out_bckp_devsel_out),
  1849.     .trdy_out               (out_bckp_trdy_out),
  1850.     .trdy_en_out            (out_bckp_trdy_en_out),
  1851.     .stop_out               (out_bckp_stop_out),
  1852.     .cbe_out                (out_bckp_cbe_out),
  1853.     .ad_out                 (out_bckp_ad_out),
  1854.     .ad_en_out              (out_bckp_ad_en_out),
  1855.     .cbe_en_out             (out_bckp_cbe_en_out),
  1856.     .tar_ad_en_out          (out_bckp_tar_ad_en_out),
  1857.     .mas_ad_en_out          (out_bckp_mas_ad_en_out),
  1858.     .par_out                (out_bckp_par_out),
  1859.     .par_en_out             (out_bckp_par_en_out),
  1860.     .perr_out               (out_bckp_perr_out),
  1861.     .perr_en_out            (out_bckp_perr_en_out),
  1862.     .serr_out               (out_bckp_serr_out),
  1863.     .serr_en_out            (out_bckp_serr_en_out)
  1864. ) ;
  1865. // PARITY CHECKER INPUTS
  1866. wire            parchk_pci_par_in               =   int_pci_par ;
  1867. wire            parchk_pci_perr_in              =   int_pci_perr ;
  1868. wire            parchk_pci_frame_reg_in         =   in_reg_frame_out ;
  1869. wire            parchk_pci_frame_en_in          =   out_bckp_frame_en_out ;
  1870. wire            parchk_pci_irdy_en_in           =   out_bckp_irdy_en_out ;
  1871. wire            parchk_pci_irdy_reg_in          =   in_reg_irdy_out ;
  1872. wire            parchk_pci_trdy_reg_in          =   in_reg_trdy_out ;
  1873. wire            parchk_pci_trdy_en_in           =   out_bckp_trdy_en_out ;
  1874. wire    [31:0]  parchk_pci_ad_out_in            =   out_bckp_ad_out ;
  1875. wire    [31:0]  parchk_pci_ad_reg_in            =   in_reg_ad_out ;
  1876. wire    [3:0]   parchk_pci_cbe_in_in            =   int_pci_cbe   ;
  1877. wire    [3:0]   parchk_pci_cbe_reg_in           =   in_reg_cbe_out ;
  1878. wire    [3:0]   parchk_pci_cbe_out_in           =   out_bckp_cbe_out ;
  1879. wire            parchk_pci_ad_en_in             =   out_bckp_ad_en_out ;
  1880. wire            parchk_par_err_response_in      =   conf_perr_response_out ;
  1881. wire            parchk_serr_enable_in           =   conf_serr_enable_out ;
  1882. wire            parchk_pci_perr_out_in          =   out_bckp_perr_out ;
  1883. wire            parchk_pci_serr_en_in           =   out_bckp_serr_en_out ;
  1884. wire            parchk_pci_serr_out_in          =   out_bckp_serr_out ;
  1885. wire            parchk_pci_cbe_en_in            =   out_bckp_cbe_en_out ;
  1886. wire            parchk_pci_par_en_in            =   out_bckp_par_en_out ;
  1887. pci_parity_check parity_checker
  1888. (
  1889.     .reset_in               (reset),
  1890.     .clk_in                 (pci_clk),
  1891.     .pci_par_in             (parchk_pci_par_in),
  1892.     .pci_par_out            (parchk_pci_par_out),
  1893.     .pci_par_en_out         (parchk_pci_par_en_out),
  1894.     .pci_par_en_in          (parchk_pci_par_en_in),
  1895.     .pci_perr_in            (parchk_pci_perr_in),
  1896.     .pci_perr_out           (parchk_pci_perr_out),
  1897.     .pci_perr_en_out        (parchk_pci_perr_en_out),
  1898.     .pci_perr_out_in        (parchk_pci_perr_out_in),
  1899.     .pci_serr_out           (parchk_pci_serr_out),
  1900.     .pci_serr_out_in        (parchk_pci_serr_out_in),
  1901.     .pci_serr_en_out        (parchk_pci_serr_en_out),
  1902.     .pci_serr_en_in         (parchk_pci_serr_en_in),
  1903.     .pci_frame_reg_in       (parchk_pci_frame_reg_in),
  1904.     .pci_frame_en_in        (parchk_pci_frame_en_in),
  1905.     .pci_irdy_en_in         (parchk_pci_irdy_en_in),
  1906.     .pci_irdy_reg_in        (parchk_pci_irdy_reg_in),
  1907.     .pci_trdy_reg_in        (parchk_pci_trdy_reg_in),
  1908.     .pci_trdy_en_in         (parchk_pci_trdy_en_in),
  1909.     .pci_ad_out_in          (parchk_pci_ad_out_in),
  1910.     .pci_ad_reg_in          (parchk_pci_ad_reg_in),
  1911.     .pci_cbe_in_in          (parchk_pci_cbe_in_in),
  1912.     .pci_cbe_reg_in         (parchk_pci_cbe_reg_in),
  1913.     .pci_cbe_en_in          (parchk_pci_cbe_en_in),
  1914.     .pci_cbe_out_in         (parchk_pci_cbe_out_in),
  1915.     .pci_ad_en_in           (parchk_pci_ad_en_in),
  1916.     .par_err_response_in    (parchk_par_err_response_in),
  1917.     .par_err_detect_out     (parchk_par_err_detect_out),
  1918.     .perr_mas_detect_out    (parchk_perr_mas_detect_out),
  1919.     .serr_enable_in         (parchk_serr_enable_in),
  1920.     .sig_serr_out           (parchk_sig_serr_out)
  1921. );
  1922. wire            in_reg_gnt_in    = pci_gnt_i ;
  1923. wire            in_reg_frame_in  = int_pci_frame ;
  1924. wire            in_reg_irdy_in   = int_pci_irdy  ;
  1925. wire            in_reg_trdy_in   = int_pci_trdy  ;
  1926. wire            in_reg_stop_in   = int_pci_stop  ;
  1927. wire            in_reg_devsel_in = int_pci_devsel ;
  1928. wire            in_reg_idsel_in  = pci_idsel_i ;
  1929. wire    [31:0]  in_reg_ad_in     = pci_ad_i ;
  1930. wire    [3:0]   in_reg_cbe_in    = int_pci_cbe ;
  1931. pci_in_reg input_register
  1932. (
  1933.     .reset_in           (reset),
  1934.     .clk_in             (pci_clk),
  1935.     .init_complete_in   (conf_pci_init_complete_out),
  1936.     .pci_gnt_in     (in_reg_gnt_in),
  1937.     .pci_frame_in   (in_reg_frame_in),
  1938.     .pci_irdy_in    (in_reg_irdy_in),
  1939.     .pci_trdy_in    (in_reg_trdy_in),
  1940.     .pci_stop_in    (in_reg_stop_in),
  1941.     .pci_devsel_in  (in_reg_devsel_in),
  1942.     .pci_idsel_in   (in_reg_idsel_in),
  1943.     .pci_ad_in      (in_reg_ad_in),
  1944.     .pci_cbe_in     (in_reg_cbe_in),
  1945.     .pci_gnt_reg_out    (in_reg_gnt_out),
  1946.     .pci_frame_reg_out  (in_reg_frame_out),
  1947.     .pci_irdy_reg_out   (in_reg_irdy_out),
  1948.     .pci_trdy_reg_out   (in_reg_trdy_out),
  1949.     .pci_stop_reg_out   (in_reg_stop_out),
  1950.     .pci_devsel_reg_out (in_reg_devsel_out),
  1951.     .pci_idsel_reg_out  (in_reg_idsel_out),
  1952.     .pci_ad_reg_out     (in_reg_ad_out),
  1953.     .pci_cbe_reg_out    (in_reg_cbe_out)
  1954. );
  1955. endmodule
  1956. </pre>
  1957. <hr />
  1958. <address><span style="font-size: smaller">FreeBSD-CVSweb &lt;<a href="mailto:freebsd-cvsweb@FreeBSD.org">freebsd-cvsweb@FreeBSD.org</a>&gt;</span></address>
  1959. </body>
  1960. </html>
  1961. <!-- pf_body_end -->
  1962. </td>
  1963. <td><img width=15 src="/images/dotty.gif"></td>
  1964. </tr></table>
  1965. <xcenter>
  1966. <p>
  1967. <table width=100% cellpadding=0 cellspacing=0 border=0>
  1968.       <tr><td align=right valign=bottom><a title='Top' href='#top'><img border=0 alt='Top' src='/images/hr_up.gif'></a></td></tr>
  1969.       <tr><td background='/images/hpd.gif'><img height=1 border=0 src='/images/dotty.gif'></td></tr><tr><td height=4><img height=4 src='/images/dotty.gif'></td></tr></table>
  1970. &nbsp;
  1971. <br>
  1972. <!--
  1973. <table border=0 cellpadding=0 cellspacing=1 bgcolor=#ffffff><tr><td>
  1974. <table cellpadding=0 cellspacing=0 border=0 bgcolor=#ffffff><tr><td>
  1975. //-->
  1976. <script type="text/javascript"><!--
  1977. google_ad_client = "pub-9285819221080148";
  1978. google_alternate_color = "FFFFFF";
  1979. google_ad_width = 728;
  1980. google_ad_height = 90;
  1981. google_ad_format = "728x90_as";
  1982. google_ad_type = "text_image";
  1983. google_ad_channel ="3034172958";
  1984. google_color_border = "ffffff";
  1985. google_color_bg = "ffffff";
  1986. google_color_link = "444488";
  1987. google_color_url = "b00000";
  1988. google_color_text = "666666";
  1989. //--></script>
  1990. <script type="text/javascript"
  1991.   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  1992. </script>
  1993. <!--
  1994. </td></tr></table>
  1995. </td></tr></table>
  1996. //-->
  1997. </center>
  1998. <img border=0 src="/images/dotty.gif" height=1 width=400>
  1999. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2000. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2001. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2002. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2003. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2004. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2005. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2006. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2007. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2008. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2009. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2010. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2011. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2012. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2013. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2014. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2015. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2016. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2017. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2018. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2019. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2020. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2021. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2022. <img border=0 src="/images/dotty.gif" height=1 width=30>
  2023. </td></tr>
  2024. </table>
  2025. &nbsp;
  2026. </td></tr>
  2027. <tr bgcolor=#000000><td><img height=1 src="/images/dotty.gif"></td></tr>
  2028. </table>
  2029. <table background="/images/topbg.gif" width=100% cellpadding=0 cellspacing=0 border=0 bgcolor=#aaddff>
  2030. <tr><td align=right>
  2031. Copyright (c) 1999-2007 OPENCORES.ORG. All rights reserved. &nbsp;
  2032. </td></tr>
  2033. <tr><td>
  2034. &nbsp;
  2035. </td></tr>
  2036. </table>
  2037. </td>
  2038. <td width=1 bgcolor=#000000><img width=1 src="/images/dotty.gif"></td>
  2039. <td width=1 bgcolor=#f0f0c8><img width=1 src="/images/dotty.gif"></td>
  2040. </tr></table>
  2041. </center>
  2042. <!-- pf_footer_start -->
  2043.   </body>
  2044. </html>
  2045. <!-- pf_footer_end -->