addrmap LSM303DLHC_Gyroscope {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="ConfigA";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PREREQ1[1:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } DATA_RATE_BITS[4:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PREREQ2[6:5];
            field {
                sw = rw;
            } TEMP_SENSOR_ENABLE[7:7];
    } ConfigA @ 0x0;
    reg {
        name="ConfigB";
        regwidth=0x8;
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PREREQ[4:0];
            field {
                sw = rw;
            } GAIN[7:5];
    } ConfigB @ 0x1;
    reg {
        name="Mode";
        regwidth=0x8;
            field {
                sw = rw;
            } MODE_SELECT[1:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } PREREQ[7:2];
    } Mode @ 0x2;
    reg {
        name="DataOutXH";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } X_MAGNETIC_FIELD_DATA15_8[7:0];
    } DataOutXH @ 0x3;
    reg {
        name="DataOutXL";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } X_MAGNETIC_FIELD_DATA7_0[7:0];
    } DataOutXL @ 0x4;
    reg {
        name="DataOutZH";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Z_MAGNETIC_FIELD_DATA15_8[7:0];
    } DataOutZH @ 0x5;
    reg {
        name="DataOutZL";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Z_MAGNETIC_FIELD_DATA7_0[7:0];
    } DataOutZL @ 0x6;
    reg {
        name="DataOutYH";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Y_MAGNETIC_FIELD_DATA15_8[7:0];
    } DataOutYH @ 0x7;
    reg {
        name="DataOutYL";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Y_MAGNETIC_FIELD_DATA7_0[7:0];
    } DataOutYL @ 0x8;
    reg {
        name="DataReady";
        regwidth=0x8;
            field {
                sw = r;
                reset=1'b1;
            } DATA_READY[0:0];
            field {
                sw = r;
            } DATA_LOCK[1:1];
    } DataReady @ 0x9;
    reg {
        name="InterruptA";
        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];
    } InterruptA @ 0xa;
    reg {
        name="InterruptB";
        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];
    } InterruptB @ 0xb;
    reg {
        name="InterruptC";
        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];
    } InterruptC @ 0xc;
    reg {
        name="TemperatureDataOutH";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } TEMP_DATA11_4[7:0];
    } TemperatureDataOutH @ 0x31;
    reg {
        name="TemperatureDataOutL";
        regwidth=0x8;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } TEMP_DATA3_0[7:4];
    } TemperatureDataOutL @ 0x32;
} Registers_addrmap;


};