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

Subversion Repositories s6soc

[/] [s6soc/] [trunk/] [rtl/] [wbgpio.v] - Diff between revs 7 and 46

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

Rev 7 Rev 46
Line 61... Line 61...
        //
        //
        output  reg             o_int;
        output  reg             o_int;
 
 
        // 9LUT's, 16 FF's
        // 9LUT's, 16 FF's
        always @(posedge i_clk)
        always @(posedge i_clk)
                if ((i_wb_cyc)&&(i_wb_stb)&&(i_wb_we))
                if ((i_wb_stb)&&(i_wb_we))
                        o_gpio <= ((o_gpio)&(~i_wb_data[(NOUT+16-1):16]))
                        o_gpio <= ((o_gpio)&(~i_wb_data[(NOUT+16-1):16]))
                                |((i_wb_data[(NOUT-1):0])&(i_wb_data[(NOUT+16-1):16]));
                                |((i_wb_data[(NOUT-1):0])&(i_wb_data[(NOUT+16-1):16]));
 
 
        reg     [(NIN-1):0]      x_gpio, r_gpio;
        reg     [(NIN-1):0]      x_gpio, r_gpio;
        // 3 LUTs, 33 FF's
        // 3 LUTs, 33 FF's

powered by: WebSVN 2.1.0

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