Skip to content
Snippets Groups Projects
Commit 4fb42df8 authored by BRONES Romain's avatar BRONES Romain
Browse files

fix:Give fixed address for table

* Or else DESYRDL gives only 9 bits to the decoder, which collides with
the 8 bits address of the table (counted from the 2nd lesser bit)
parent 761cb791
No related branches found
No related tags found
No related merge requests found
`include "combpm.vh" // Auto generated from FWK
addrmap combpm {
desyrdl_generate_hdl = true;
desyrdl_interface = "AXI4L";
name="BPM protocol decoder controller";
desyrdl_interface = "AXI4L";
reg {
desc="Module identifier.";
field {hw=w;sw=r;} data[32];
} ID;
} ID @0x00;
reg {
desc="Module version.";
field {hw=w;sw=r;} data[32];
} VERSION;
} VERSION @0x04;
reg {
desc="SFP module status";
......@@ -113,6 +110,6 @@ addrmap combpm {
desc = "BPM filter table";
memwidth = 8;
mementries = 2**`C_W_ADDR_TABLE;
} TABLE;
} TABLE @0x200;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment