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

Subversion Repositories 8051

[/] [8051/] [trunk/] [rtl/] [verilog/] [oc8051_wb_iinterface.v] - Diff between revs 82 and 110

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 82 Rev 110
Line 42... Line 42...
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//
//
// CVS Revision History
// CVS Revision History
//
//
// $Log: not supported by cvs2svn $
// $Log: not supported by cvs2svn $
 
// Revision 1.2  2003/01/13 14:14:41  simont
 
// replace some modules
 
//
// Revision 1.1  2002/10/28 16:42:08  simont
// Revision 1.1  2002/10/28 16:42:08  simont
// initial import
// initial import
//
//
//
//
//
//
Line 69... Line 72...
// dat_o    (out) data output
// dat_o    (out) data output
// stb_i    (in)  strobe
// stb_i    (in)  strobe
// ack_o    (out) acknowledge
// ack_o    (out) acknowledge
// cyc_i    (in)  cycle
// cyc_i    (in)  cycle
input stb_i, cyc_i;
input stb_i, cyc_i;
input [22:0] adr_i;
input [15:0] adr_i;
output ack_o;
output ack_o;
output [31:0] dat_o;
output [31:0] dat_o;
 
 
//
//
// interface to instruction rom
// interface to instruction rom
Line 84... Line 87...
// ack_i    (in) acknowledge
// ack_i    (in) acknowledge
// cyc_o    (out)  cycle
// cyc_o    (out)  cycle
input ack_i;
input ack_i;
input [31:0] dat_i;
input [31:0] dat_i;
output stb_o, cyc_o;
output stb_o, cyc_o;
output [22:0] adr_o;
output [15:0] adr_o;
 
 
//
//
// internal bufers and wires
// internal bufers and wires
//
//
reg [22:0] adr;
reg [15:0] adr;
reg stb;
reg stb;
 
 
assign ack_o = ack_i;
assign ack_o = ack_i;
assign dat_o = dat_i;
assign dat_o = dat_i;
assign stb_o = stb || ack_i;
assign stb_o = stb || ack_i;

powered by: WebSVN 2.1.0

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