addrmap RCAR_UART {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="SerialMode";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } CKS[1:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } MP[2:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } STOP[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PM[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PE[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } CHR[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } CM[7:7];
    } SerialMode @ 0x0;
    reg {
        name="BitRate";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
                reset=8'b11111111;
            } BRR[7:0];
    } BitRate @ 0x4;
    reg {
        name="SerialControl";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } CKE[1:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TOIE[2:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } REIE[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } RE[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TE[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } RIE[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TIE[7:7];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } TEIE[11:11];
    } SerialControl @ 0x8;
    reg {
        name="TransmitData";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
                reset=8'b11111111;
            } TDR[7:0];
    } TransmitData @ 0xc;
    reg {
        name="SerialStatus";
        regwidth=0x20;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } DR[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } RDF[1:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PER[2:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } FER[3:3];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } BRK[4:4];
            field {
                desc = "The field is a Tag.";
                sw = rw;
                reset=1'b1;
            } TDFE[5:5];
            field {
                desc = "The field is a Tag.";
                sw = rw;
                reset=1'b1;
            } TEND[6:6];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } ER[7:7];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } FER0[8:8];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } FER1[9:9];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } FER2[10:10];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } FER3[11:11];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PER0[12:12];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PER1[13:13];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PER2[14:14];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PER3[15:15];
    } SerialStatus @ 0x10;
    reg {
        name="ReceiveData";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } RDAT[7:0];
    } ReceiveData @ 0x14;
    reg {
        name="FifoControl";
        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];
    } FifoControl @ 0x18;
    reg {
        name="FifoDataCount";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = rw;
            } No_name_1[15:0];
    } FifoDataCount @ 0x1c;
    reg {
        name="SerialPort";
        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];
    } SerialPort @ 0x20;
    reg {
        name="LineStatus";
        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];
    } LineStatus @ 0x24;
    reg {
        name="FrequencyDivision";
        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];
    } FrequencyDivision @ 0x30;
    reg {
        name="ClockSelect";
        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];
    } ClockSelect @ 0x34;
} Registers_addrmap;


};