📄 pci_wbw_fifo_control(1).v
字号:
<a class=menu_item href="/projects.cgi/web/opencores/tools"><font class=menu_item>Tools</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/opencores/sponsors"><font class=menu_item>Sponsors</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/opencores/mirrors"><font class=menu_item>Mirrors</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/opencores/logos"><font class=menu_item>Logos</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/opencores/contacts"><font class=menu_item>Contact us</font></a></li> </td></tr> <tr><td><font size=-2> </font></td></tr> <tr><td bgcolor="#347FB8"> <img src="/images/bullet.gif"> <font class=menu_section>Tools</font> </td></tr> <tr><td> <li class=small> <font class=menu_item><a href="/search.cgi">Search</a><br><table><tr><form action=/search.cgi/do_search><td><font class=small> </font></td><td><input class=searchfield type=text name=query></td></form></tr></table></font></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/cvsget.shtml"><font class=menu_item>Download Cores (CVSGet)</font></a></li> </td></tr> <tr><td><font size=-2> </font></td></tr> <tr><td bgcolor="#347FB8"> <img src="/images/bullet.gif"> <font class=menu_section>More</font> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/wishbone/"><font class=menu_item>Wishbone</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/perlilog/"><font class=menu_item>Perlilog</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/edatools/"><font class=menu_item>EDA tools</font></a></li> </td></tr> <tr><td> <li class=small> <a class=menu_item href="/projects.cgi/web/opentech/"><font class=menu_item>OpenTech CD</font></a></li> </td></tr> <tr><td><font size=-2> </font></td></tr> </table></td><td width=10><img width=10 src="/images/dotty.gif"></td><td background="/images/vpd.gif"><img width=1 src="/images/dotty.gif"></td><td width=10><img width=10 src="/images/dotty.gif"></td><td valign=top> <table width=100% cellpadding=2 cellspacing=0 border=0> <tr><td><img height=2 src="/images/dotty.gif"></td></tr> </table> <table width=100% cellspacing=0 cellpadding=0 border=0><tr><td><!-- pf_body_start --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><title>pci/rtl/verilog/pci_wbw_fifo_control.v - view - 1.5</title><meta name="robots" content="nofollow" /><meta name="generator" content="FreeBSD-CVSweb 3.0.5" /><meta http-equiv="Content-Script-Type" content="text/javascript" /><meta http-equiv="Content-Style-Type" content="text/css" /><link rel="stylesheet" type="text/css" href="/css/cvsweb.css" /></head><body class="src"><table class="navigate-header" width="100%" summary="Navigation"> <tr> <td><a href="./pci_wbw_fifo_control.v#rev1.5"><img src="/icons/back.gif" alt="[BACK]" border="0" width="20" height="22" /></a><b>Return to <a href="./pci_wbw_fifo_control.v#rev1.5">pci_wbw_fifo_control.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> </tr></table><hr /><div class="log-markup">File: <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_wbw_fifo_control.v">pci_wbw_fifo_control.v</a><br /><a name="rev1.5"></a><a name="HEAD"></a> Revision <b>1.5</b>: <a href="/cvsweb.cgi/~checkout~/pci/rtl/verilog/pci_wbw_fifo_control.v?rev=1.5;content-type=text%2Fplain" class="download-link">download</a> - view: <a href="pci_wbw_fifo_control.v?rev=1.5;content-type=text%2Fplain" class="display-link">text</a>, <a href="pci_wbw_fifo_control.v?annotate=1.5">annotated</a> - <a href="pci_wbw_fifo_control.v?r1=1.5#rev1.5">select for diffs</a><br /><i>Tue Jul 4 13:16:19 2006 UTC</i> (10 months, 2 weeks ago) by <i>mihad</i><br />Branches: <a href="./pci_wbw_fifo_control.v?only_with_tag=MAIN">MAIN</a><br />CVS tags: <a href="./pci_wbw_fifo_control.v?only_with_tag=HEAD">HEAD</a><br /><pre class="log">Write burst performance patch applied.Not tested. Everything should be backwardscompatible, since functional code is ifdefed.</pre></div><hr /><pre>////////////////////////////////////////////////////////////////////////// //////// File name "wbw_fifo_control.v" //////// //////// This file is part of the "PCI bridge" project //////// http://www.opencores.org/cores/pci/ //////// //////// Author(s): //////// - Miha Dolenc (mihad@opencores.org) //////// //////// All additional information is avaliable in the README //////// file. //////// //////// ////////////////////////////////////////////////////////////////////////////// //////// Copyright (C) 2001 Miha Dolenc, mihad@opencores.org //////// //////// This source file may be used and distributed without //////// restriction provided that this copyright statement is not //////// removed from the file and that any derivative work contains //////// the original copyright notice and the associated disclaimer. //////// //////// This source file is free software; you can redistribute it //////// and/or modify it under the terms of the GNU Lesser General //////// Public License as published by the Free Software Foundation; //////// either version 2.1 of the License, or (at your option) any //////// later version. //////// //////// This source is distributed in the hope that it will be //////// useful, but WITHOUT ANY WARRANTY; without even the implied //////// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR //////// PURPOSE. See the GNU Lesser General Public License for more //////// details. //////// //////// You should have received a copy of the GNU Lesser General //////// Public License along with this source; if not, download it //////// from http://www.opencores.org/lgpl.shtml //////// ////////////////////////////////////////////////////////////////////////////// CVS Revision History//// $Log: pci_wbw_fifo_control.v,v $// Revision 1.5 2006/07/04 13:16:19 mihad// Write burst performance patch applied.// Not tested. Everything should be backwards// compatible, since functional code is ifdefed.//// Revision 1.4 2003/08/14 13:06:03 simons// synchronizer_flop replaced with pci_synchronizer_flop, artisan ram instance updated.//// Revision 1.3 2003/07/29 08:20:11 mihad// Found and simulated the problem in the synchronization logic.// Repaired the synchronization logic in the FIFOs.//// Revision 1.2 2003/03/26 13:16:18 mihad// Added the reset value parameter to the synchronizer flop module.// Added resets to all synchronizer flop instances.// Repaired initial sync value in fifos.//// Revision 1.1 2003/01/27 16:49:31 mihad// Changed module and file names. Updated scripts accordingly. FIFO synchronizations changed.//// Revision 1.6 2002/11/27 20:36:13 mihad// Changed the code a bit to make it more readable.// Functionality not changed in any way.// More robust synchronization in fifos is still pending.//// Revision 1.5 2002/09/30 16:03:04 mihad// Added meta flop module for easier meta stable FF identification during synthesis//// Revision 1.4 2002/09/25 15:53:52 mihad// Removed all logic from asynchronous reset network//// Revision 1.3 2002/02/01 15:25:14 mihad// Repaired a few bugs, updated specification, added test bench files and design document//// Revision 1.2 2001/10/05 08:14:30 mihad// Updated all files with inclusion of timescale file for simulation purposes.//// Revision 1.1.1.1 2001/10/02 15:33:47 mihad// New project directory structure/////* FIFO_CONTROL module provides read/write address and status generation for FIFOs implemented with standard dual port SRAM cells in ASIC or FPGA designs */`include "pci_constants.v"// synopsys translate_off`include "timescale.v"// synopsys translate_onmodule pci_wbw_fifo_control( rclock_in, wclock_in, renable_in, wenable_in, reset_in, almost_full_out, full_out, empty_out, waddr_out, raddr_out, rallow_out, wallow_out, half_full_out ////Robert, burst issue);parameter ADDR_LENGTH = 7;// independent clock inputs - rclock_in = read clock, wclock_in = write clockinput rclock_in, wclock_in;// enable inputs - read address changes on rising edge of rclock_in when reads are allowed
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -