addrmap NPCX_TWD {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="TimerAndWatchdogConfiguration";
        regwidth=0x10;
            field {
                sw = rw;
            } WDSDME_Watchdog_Touch_Select[5:5];
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
            } WDCT0I_Watchdog_Clock_Select[4:4];
            field {
                sw = w;
                onwrite = woset;
            } LWDCNT_Lock_Watchdog_Counter[3:3];
            field {
                sw = w;
                onwrite = woset;
            } LTWDT0_Lock_T0_Timer[2:2];
            field {
                sw = w;
                onwrite = woset;
            } LTWCP_Lock_Prescalers[1:1];
            field {
                sw = w;
                onwrite = woset;
            } LTWCFG_Lock_Watchdog_Configuration[0:0];
    } TimerAndWatchdogConfiguration @ 0x0;
    reg {
        name="TimerAndWatchdogClockPrescaler";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } MDIV[3:0];
    } TimerAndWatchdogClockPrescaler @ 0x2;
    reg {
        name="Timer0";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } T0_PRESET_T0_Counter_Preset[15:0];
    } Timer0 @ 0x4;
    reg {
        name="Timer0ControlAndStatus";
        regwidth=0x10;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TESDIS_Too_Early_Service_Disable[7:7];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } WD_RUN_Watchdog_Run_Status[5:5];
            field {
                sw = wr;
                onwrite = woclr;
            } WDRST_STS_Watchdog_Reset_Status[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } WDLTD_Watchdog_Last_Touch_Delay[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } TC_Terminal_Count[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } RST_Reset[0:0];
    } Timer0ControlAndStatus @ 0x6;
    reg {
        name="WatchdogCount";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } WD_PRESET_Watchdog_Counter_Preset[7:0];
    } WatchdogCount @ 0x8;
    reg {
        name="WatchdogServiceDataMatch";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } RSDATA_Watchdog_Restart_Data[7:0];
    } WatchdogServiceDataMatch @ 0xa;
    reg {
        name="Timer0Counter";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } T0_COUNT_T0_Counter_Value[15:0];
    } Timer0Counter @ 0xc;
    reg {
        name="WatchdogCounter";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } WD_COUNT_Watchdog_Counter_Value[7:0];
    } WatchdogCounter @ 0xe;
    reg {
        name="WatchdogClockPrescaler";
        regwidth=0x10;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } WDIV[3:0];
    } WatchdogClockPrescaler @ 0x10;
} Registers_addrmap;


};