addrmap LiteX_Ethernet_CSR32 {

addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="WriterSlot";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Read.";
                sw = r;
            } writer_slot[31:0];
    } WriterSlot @ 0x0;
    reg {
        name="WriterLength";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } writer_length[31:0];
    } WriterLength @ 0x4;
    reg {
        name="WriterErrors";
        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];
    } WriterErrors @ 0x8;
    reg {
        name="WriterEvStatus";
        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];
    } WriterEvStatus @ 0xc;
    reg {
        name="WriterEvPending";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
                onwrite = woclr;
            } No_name_1[0:0];
    } WriterEvPending @ 0x10;
    reg {
        name="WriterEvEnable";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
            } writer_event_enable[0:0];
    } WriterEvEnable @ 0x14;
    reg {
        name="ReaderStart";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = w;
            } reader_start[0:0];
    } ReaderStart @ 0x18;
    reg {
        name="ReaderReady";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Provider.";
                sw = r;
            } reader_ready[0:0];
    } ReaderReady @ 0x1c;
    reg {
        name="ReaderLevel";
        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];
    } ReaderLevel @ 0x20;
    reg {
        name="ReaderSlot";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
            } reader_slot[31:0];
    } ReaderSlot @ 0x24;
    reg {
        name="ReaderLength";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write, Provider.";
                sw = rw;
            } reader_length[31:0];
    } ReaderLength @ 0x28;
    reg {
        name="ReaderEvStatus";
        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];
    } ReaderEvStatus @ 0x2c;
    reg {
        name="ReaderEvPending";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
                onwrite = woclr;
            } No_name_2[0:0];
    } ReaderEvPending @ 0x30;
    reg {
        name="ReaderEvEnable";
        regwidth=0x20;
            field {
                desc = "This field has the following custom Renode callbacks: Write.";
                sw = rw;
            } reader_event_enable[0:0];
    } ReaderEvEnable @ 0x34;
    reg {
        name="PreambleCRC";
        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];
    } PreambleCRC @ 0x38;
    reg {
        name="PreambleErrors";
        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];
    } PreambleErrors @ 0x3c;
    reg {
        name="CrcErrors";
        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];
    } CrcErrors @ 0x40;
} Registers_addrmap;
addrmap {
    desc = "Generated by RenodeModelsAnalyzer";
    reg {
        name="Reset";
        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];
    } Reset @ 0x0;
    reg {
        name="Write";
        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];
    } Write @ 0x4;
    reg {
        name="Read";
        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];
    } Read @ 0x8;
} MDIORegisters_addrmap;


};