URL
https://opencores.org/ocsvn/i2c/i2c/trunk
[/] [i2c/] [trunk/] [rtl/] [verilog/] [i2c_master_top.v] - Diff between revs 68 and 73
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 68 |
Rev 73 |
Line 44... |
Line 44... |
// $Author: rherveille $
|
// $Author: rherveille $
|
// $Locker: $
|
// $Locker: $
|
// $State: Exp $
|
// $State: Exp $
|
//
|
//
|
// Change History:
|
// Change History:
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.11 2005/02/27 09:26:24 rherveille
|
// Revision 1.11 2005/02/27 09:26:24 rherveille
|
// Fixed register overwrite issue.
|
// Fixed register overwrite issue.
|
// Removed full_case pragma, replaced it by a default statement.
|
// Removed full_case pragma, replaced it by a default statement.
|
//
|
//
|
// Revision 1.10 2003/09/01 10:34:38 rherveille
|
// Revision 1.10 2003/09/01 10:34:38 rherveille
|
Line 151... |
Line 150... |
|
|
// generate internal reset
|
// generate internal reset
|
wire rst_i = arst_i ^ ARST_LVL;
|
wire rst_i = arst_i ^ ARST_LVL;
|
|
|
// generate wishbone signals
|
// generate wishbone signals
|
wire wb_wacc = wb_cyc_i & wb_stb_i & wb_we_i;
|
wire wb_wacc = wb_we_i & wb_ack_o;
|
|
|
// generate acknowledge output signal
|
// generate acknowledge output signal
|
always @(posedge wb_clk_i)
|
always @(posedge wb_clk_i)
|
wb_ack_o <= #1 wb_cyc_i & wb_stb_i & ~wb_ack_o; // because timing is always honored
|
wb_ack_o <= #1 wb_cyc_i & wb_stb_i & ~wb_ack_o; // because timing is always honored
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.