static void taihu_cpld_writeb (void *opaque,

                               hwaddr addr, uint32_t value)

{

    taihu_cpld_t *cpld;



    cpld = opaque;

    switch (addr) {

    case 0x0:

        /* Read only */

        break;

    case 0x1:

        cpld->reg1 = value;

        break;

    default:

        break;

    }

}

static void taihu_cpld_writeb (void *opaque,

                               hwaddr addr, uint32_t value)

{

    taihu_cpld_t *cpld;



    cpld = opaque;

    switch (addr) {

    case 0x0:

        

        break;

    case 0x1:

        cpld->reg1 = value;

        break;

    default:

        break;

    }

}

static void FUNC_0 (void *VAR_0,

                               hwaddr VAR_1, uint32_t VAR_2)

{

    taihu_cpld_t *cpld;



    cpld = VAR_0;

    switch (VAR_1) {

    case 0x0:

        

        break;

    case 0x1:

        cpld->reg1 = VAR_2;

        break;

    default:

        break;

    }

}

static void FUNC_0 (void *VAR_0,
hwaddr VAR_1, uint32_t VAR_2)
{ taihu_cpld_t *cpld; cpld = VAR_0; switch (VAR_1) { case 0x0:
break; case 0x1:
cpld->reg1 = VAR_2; break; default:
break; } }