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

Subversion Repositories apbi2c

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /apbi2c
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

/trunk/rtl/i2c.v
124,6 → 124,14
wire tx_empty;
wire rx_empty;
 
wire w_pwrite;
wire w_full;
wire w_full_tx;
 
assign w_pwrite = (PWRITE == 1'b0)?1'b1:1'b0;
 
//CONECTIONS WITH FIFO TX
fifo DUT_FIFO_TX (
.clock(PCLK),
131,12 → 139,16
.wr_en(TX_WRITE_ENA),
.rd_en(TX_RD_EN),
.data_in(TX_DATA_IN),
.f_full(TX_F_FULL),
.f_full(w_full),
.f_empty(TX_F_EMPTY),
.data_out(TX_DATA_OUT)
 
);
 
 
and(w_full_tx,w_pwrite,w_full);
 
assign TX_F_FULL = w_full_tx;
 
//CONECTIONS WITH FIFO RX
fifo DUT_FIFO_RX (
.clock(PCLK),

powered by: WebSVN 2.1.0

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