addrmap LiteSDCard_CSR32 {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="CardDetect";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } card_detect[0:0];
    } CardDetect @ 0x0;
    reg {
        name="ClockDivider";
        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];
    } ClockDivider @ 0x4;
    reg {
        name="InitInitialize";
        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];
    } InitInitialize @ 0x8;
    reg {
        name="DataWStatus";
        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];
    } DataWStatus @ 0xc;
} PhyRegisters_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Argument";
        regwidth=0x20;
            field {
                sw = rw;
            } argument[31:0];
    } Argument @ 0x0;
    reg {
        name="Command";
        regwidth=0x20;
            field {
                sw = rw;
            } respone_type[1:0];
            field {
                sw = rw;
            } transfer_type[6:5];
            field {
                sw = rw;
            } command_index[13:8];
    } Command @ 0x4;
    reg {
        name="IssueCommand";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
                onwrite = woclr;
            } issue_command[0:0];
    } IssueCommand @ 0x8;
    reg {
        name="Response";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Response4__idx__0[7:0];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Response4__idx__1[15:8];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Response4__idx__2[23:16];
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } Response4__idx__3[31:24];
    } Response [4]@ 0xc += 4;
    reg {
        name="CommandEvent";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } cmddone[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } cerrwrite[1:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } cerrtimeout[2:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } cerrcrc[3:3];
    } CommandEvent @ 0x1c;
    reg {
        name="DataEvent";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } datadone[0:0];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } derrwrite[1:1];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } derrtimeout[2:2];
            field {
                desc = "The field is a Tag.";
                sw = rw;
            } derrcrc[3:3];
    } DataEvent @ 0x20;
    reg {
        name="BlockSize";
        regwidth=0x20;
            field {
                sw = rw;
            } BlockSize[9:0];
    } BlockSize @ 0x24;
    reg {
        name="BlockCount";
        regwidth=0x20;
            field {
                sw = rw;
            } BlockSize[31:0];
    } BlockCount @ 0x28;
} CoreRegisters_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="DmaBase";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } ReaderAddressidx[31:0];
    } DmaBase [2]@ 0x0 += 4;
    reg {
        name="DmaLength";
        regwidth=0x20;
            field {
                sw = rw;
            } ReaderLength[31:0];
    } DmaLength @ 0x8;
} ReaderRegisters_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="DmaLength";
        regwidth=0x20;
            field {
                sw = rw;
            } WriterLength[31:0];
    } DmaLength @ 0x8;
} WriterRegisters_addrmap;


};