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

Subversion Repositories wb_prefetch_spram

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

/trunk/rtl/verilog/wb_prefetch_spram.v
56,7 → 56,10
// CVS Revision History
//
// $Log: not supported by cvs2svn $
// Revision 1.2 2001/07/30 05:38:02 lampret
// Adding empty directories required by HDL coding guidelines
//
//
 
`include "timescale.v"
 
142,12 → 145,18
assign ram_addr = (~correct_data | we_i) ? adr_i : predicted_addr;
 
//
// RAM's current output data is the same as data request by WISHBONE master
// Assert correct_data if RAM's current output data is the same as data
// requested by WISHBONE master
//
assign correct_data = (adr_i == last_addr);
assign ack_o = correct_data & valid_cycle;
 
//
// Acknowledge current WISHBONE transfer if correct data was delivered
// or if it is write transfer
//
assign ack_o = (correct_data | we_i) & valid_cycle;
 
//
// Address used to address RAM at the last WISHBONE read beat
//
always @(posedge clk_i or posedge rst_i)

powered by: WebSVN 2.1.0

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