addrmap AndesATCRTC100 {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="IdAndRevision";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } ID[31:8];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Major[7:4];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Minor[3:0];
    } IdAndRevision @ 0x0;
    reg {
        name="Counter";
        regwidth=0x20;
            field {
                sw = rw;
            } Days[31:17];
            field {
                sw = rw;
            } Hours[16:12];
            field {
                sw = rw;
            } Minutes[11:6];
            field {
                sw = rw;
            } Seconds[5:0];
    } Counter @ 0x10;
    reg {
        name="Alarm";
        regwidth=0x20;
            field {
                sw = rw;
            } Hour[16:12];
            field {
                sw = rw;
            } Minute[11:6];
            field {
                sw = rw;
            } Second[5:0];
    } Alarm @ 0x14;
    reg {
        name="Control";
        desc = "This register has the following custom Renode callbacks: Change";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Freq_Test_En[8:8];
            field {
                sw = rw;
            } Half_Second_Interrupt_Enable[7:7];
            field {
                sw = rw;
            } Second_Interrupt_Enable[6:6];
            field {
                sw = rw;
            } Minute_Interrupt_Enable[5:5];
            field {
                sw = rw;
            } Hour_Interrupt_Enable[4:4];
            field {
                sw = rw;
            } Day_Interrupt_Enable[3:3];
            field {
                sw = rw;
            } Alarm_Interrupt_Enable[2:2];
            field {
                sw = rw;
            } Alarm_Wakeup_Enable[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
            } RTC_en[0:0];
    } Control @ 0x18;
    reg {
        name="Status";
        desc = "This register has the following custom Renode callbacks: Change";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } WriteDone[16:16];
            field {
                sw = rw;
                onwrite = woclr;
            } Half_Second_Interrupt_Status[7:7];
            field {
                sw = rw;
                onwrite = woclr;
            } Second_Interrupt_Status[6:6];
            field {
                sw = rw;
                onwrite = woclr;
            } Minute_Interrupt_Status[5:5];
            field {
                sw = rw;
                onwrite = woclr;
            } Hour_Interrupt_Status[4:4];
            field {
                sw = rw;
                onwrite = woclr;
            } Day_Interrupt_Status[3:3];
            field {
                sw = rw;
                onwrite = woclr;
            } Alarm_Interrupt_Status[2:2];
    } Status @ 0x1c;
    reg {
        name="DigitalTrim";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } Digital_Trim_Register[31:0];
    } DigitalTrim @ 0x20;
} Registers_addrmap;


};