addrmap UT32_CAN {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Mode";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SM[4:4];
            field {
                desc = "This field has the following custom Renode callbacks: Change, Provider.";
                sw = rw;
                reset=1'b1;
            } RM[0:0];
    } Mode @ 0x0;
    reg {
        name="Command";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } TR[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } AT[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } RRB[2:2];
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } CDO[3:3];
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } SRR[4:4];
    } Command @ 0x1;
    reg {
        name="Status";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } RBS[0:0];
            field {
                sw = r;
            } DOS[1:1];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } TBS[2:2];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } TCS[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } RS[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TS[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } ES[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } BS[7:7];
    } Status @ 0x2;
    reg {
        name="Interrupt";
        desc = "This register has the following custom Renode callbacks: Read";
        regwidth=0x8;
            field {
                sw = r;
            } RI[0:0];
            field {
                sw = r;
                onread = rclr;
            } TI[1:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } EI[2:2];
            field {
                sw = r;
                onread = rclr;
            } DOI[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } WUI[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } EPI[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } ALI[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } BEI[7:7];
    } Interrupt @ 0x3;
    reg {
        name="InterruptEnable";
        desc = "This register has the following custom Renode callbacks: Change";
        regwidth=0x8;
            field {
                sw = rw;
            } RIE[0:0];
            field {
                sw = rw;
            } TIE[1:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } EIE[2:2];
            field {
                sw = rw;
            } DOIE[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } WUIE[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } EPIE[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } ALIE[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } BEIE[7:7];
    } InterruptEnable @ 0x4;
    reg {
        name="BusTiming0";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } BRP[5:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SJW[7:6];
    } BusTiming0 @ 0x6;
    reg {
        name="BusTiming1";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TSEG1[3:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TSEG2[6:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SAM[7:7];
    } BusTiming1 @ 0x7;
    reg {
        name="ArbLostCapture";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } BITNO[4:0];
    } ArbLostCapture @ 0xb;
    reg {
        name="ErrorCodeCapture";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } SEG[4:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } DIR[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } ERRC[7:6];
    } ErrorCodeCapture @ 0xc;
    reg {
        name="ErrorWarningLimit";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
                reset=8'b1100000;
            } ERROR_WARNING_LIMIT[7:0];
    } ErrorWarningLimit @ 0xd;
    reg {
        name="RxErrorCounter";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } RX_ERROR_COUNTER[7:0];
    } RxErrorCounter @ 0xe;
    reg {
        name="TxErrorCounter";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TX_ERROR_COUNTER[7:0];
    } TxErrorCounter @ 0xf;
    reg {
        name="FrameInfo";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } DLC[3:0];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } RTR[6:6];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } FF[7:7];
    } FrameInfo @ 0x10;
    reg {
        name="Id1";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Id1 @ 0x11;
    reg {
        name="Id2";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Id2 @ 0x12;
    reg {
        name="RxMessageCounter";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } NM[4:0];
    } RxMessageCounter @ 0x1d;
    reg {
        name="ClockDivider";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } PeliCAN[7:7];
    } ClockDivider @ 0x1f;
} Registers_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="AcceptanceCode";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
                reset=8'b1010001;
            } DUMMY[7:0];
    } AcceptanceCode @ 0x10;
    reg {
        name="AcceptanceMask";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
                reset=8'b11111111;
            } DUMMY[7:0];
    } AcceptanceMask @ 0x14;
} ResetModeRegisters_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Data";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Data @ 0x13;
    reg {
        name="NextFrameInfo";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } DLC[3:0];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } RTR[6:6];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } FF[7:7];
    } NextFrameInfo @ 0x1b;
    reg {
        name="NextId1";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } ID1[7:0];
    } NextId1 @ 0x1c;
} StandardFrameFormatRegisters_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Id3";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Id3 @ 0x13;
    reg {
        name="Id4";
        desc = "Could not determine register's width, guessed 8 bits.";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Id4 @ 0x14;
    reg {
        name="Data";
        regwidth=0x8;
            field {
                desc = "This is a dummy r/w field, generated just to show the register in specs";
                sw = rw;
            } DUMMY[7:0];
    } Data @ 0x15;
} ExtendedFrameFormatRegisters_addrmap;


};