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

Subversion Repositories mips32r1

[/] [mips32r1/] [trunk/] [Hardware/] [XUPV5-LX110T_SoC/] [MIPS32-Pipelined-Hw/] [src/] [I2C/] [I2C_Clock.v] - Diff between revs 3 and 12

Show entire file | Details | Blame | View Log

Rev 3 Rev 12
Line 14... Line 14...
 * Description:
 * Description:
 *   Generates a 100 kHz clock signal and an indicator which pulses
 *   Generates a 100 kHz clock signal and an indicator which pulses
 *   in the middle of the high and low periods of the clock.
 *   in the middle of the high and low periods of the clock.
 */
 */
module I2C_Clock(
module I2C_Clock(
    input  clock,           // 100 MHz
    input  clock,           // 100 (66) MHz
    input  reset,
    input  reset,
    inout  scl,             // A 100 kHz clock
    inout  scl,             // A 100 (66) kHz clock
    output scl_tick_90      // A pulse indicating the middle of the +/- scl levels
    output scl_tick_90      // A pulse indicating the middle of the +/- scl levels
    );
    );
 
 
    reg [7:0] count_4x;
    reg [7:0] count_4x;
 
 

powered by: WebSVN 2.1.0

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