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

Subversion Repositories pci

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 93 to Rev 94
    Reverse comparison

Rev 93 → Rev 94

/trunk/rtl/verilog/pci_master32_sm_if.v
42,6 → 42,9
// CVS Revision History
//
// $Log: not supported by cvs2svn $
// Revision 1.4 2003/01/27 16:49:31 mihad
// Changed module and file names. Updated scripts accordingly. FIFO synchronizations changed.
//
// Revision 1.3 2002/02/01 15:25:12 mihad
// Repaired a few bugs, updated specification, added test bench files and design document
//
427,6 → 430,10
read_bound <= #`FF_DELAY read_bound_comb ;
end
 
wire read_count_change_val = read_count_load | read_count_enable ;
 
wire [(`WBR_ADDR_LENGTH - 1):0] read_count_next = read_count_load ? max_read_count : (read_count - 1'b1) ;
 
// down counter with load
always@(posedge reset_in or posedge clk_in)
begin
433,12 → 440,13
if (reset_in)
read_count <= #`FF_DELAY 0 ;
else
if (read_count_load)
/* if (read_count_load)
read_count <= #`FF_DELAY max_read_count ;
else
if (read_count_enable)
read_count <= #`FF_DELAY read_count - 1'b1 ;
 
*/ if (read_count_change_val)
read_count <= #`FF_DELAY read_count_next ;
end
 
// flip flop indicating error recovery is in progress

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.