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 `include "combpm.vh" // Auto generated from FWK
addrmap combpm { addrmap combpm {
desyrdl_generate_hdl = true;
desyrdl_interface = "AXI4L";
name="BPM protocol decoder controller"; name="BPM protocol decoder controller";
desyrdl_interface = "AXI4L";
reg { reg {
desc="Module identifier."; desc="Module identifier.";
field {hw=w;sw=r;} data[32]; field {hw=w;sw=r;} data[32];
} ID; } ID @0x00;
reg { reg {
desc="Module version."; desc="Module version.";
field {hw=w;sw=r;} data[32]; field {hw=w;sw=r;} data[32];
} VERSION; } VERSION @0x04;
reg { reg {
desc="SFP module status"; desc="SFP module status";
...@@ -113,6 +110,6 @@ addrmap combpm { ...@@ -113,6 +110,6 @@ addrmap combpm {
desc = "BPM filter table"; desc = "BPM filter table";
memwidth = 8; memwidth = 8;
mementries = 2**`C_W_ADDR_TABLE; 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.
Please register or to comment