You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a base address of 0x43000000 and size of 0x00001FC0 for the SPI device causes the tilelink xbar to use numeric comparison rather than masking to determine device select for SPI device, but the auto-generated tl_peri_pkg.sv does not contain definition for ADDR_SIZE_SPI_DEVICE, which leads to a verilator build error.
always_combbegin// default steering to generate error response if address is not within the range
dev_sel_s1n_5 =3'd4;
if ((tl_s1n_5_us_h2d.a_address &~(ADDR_MASK_UART)) ==ADDR_SPACE_UART) begin
dev_sel_s1n_5 =3'd0;
endelseif (((tl_s1n_5_us_h2d.a_address < (ADDR_SPACE_SPI_DEVICE+ADDR_SIZE_SPI_DEVICE)) &&
(tl_s1n_5_us_h2d.a_address >=ADDR_SPACE_SPI_DEVICE))) begin
dev_sel_s1n_5 =3'd1;
endelseif ((tl_s1n_5_us_h2d.a_address &~(ADDR_MASK_TIMER)) ==ADDR_SPACE_TIMER) begin
dev_sel_s1n_5 =3'd2;
endelseif ((tl_s1n_5_us_h2d.a_address &~(ADDR_MASK_PLIC)) ==ADDR_SPACE_PLIC) begin
dev_sel_s1n_5 =3'd3;
endend
The size will be increased to 0x2000 bytes to avoid this issue without disrupting the address ranges of other devices.
Activity
raylau1 commentedon Jan 12, 2026
Using a base address of
0x43000000and size of0x00001FC0for the SPI device causes the tilelink xbar to use numeric comparison rather than masking to determine device select for SPI device, but the auto-generatedtl_peri_pkg.svdoes not contain definition forADDR_SIZE_SPI_DEVICE, which leads to a verilator build error.The size will be increased to
0x2000bytes to avoid this issue without disrupting the address ranges of other devices.raylau1 commentedon Jan 26, 2026
FTDI tool JEDEC ID read, SFDP read and test-page now work on FPGA