Closed rkapuscik closed 3 years ago
After updating Opentitan to newest version, prim_sram_arbiter.sv is failing with:
/media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/tests/opentitan/module_tests/prim_sram_arbiter/main.cpp: In function ‘int main(int, char**)’: /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/tests/opentitan/module_tests/prim_sram_arbiter/main.cpp:45:25: error: invalid types ‘CData {aka unsigned char}[int]’ for array subscript 45 | top->req_write_i[0] = 1; | ^ /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/tests/opentitan/module_tests/prim_sram_arbiter/main.cpp:49:25: error: invalid types ‘CData {aka unsigned char}[int]’ for array subscript 49 | top->req_write_i[0] = 0; | ^ /media/hdd/uhdm/uhdm-integration/verilator/uhdm-integration/tests/opentitan/module_tests/prim_sram_arbiter/main.cpp:58:25: error: invalid types ‘CData {aka unsigned char}[int]’ for array subscript 58 | top->req_write_i[3] = 1; | ^
https://github.com/chipsalliance/UHDM-integration-tests/pull/520 fixes it
After updating Opentitan to newest version, prim_sram_arbiter.sv is failing with: