@@ -523,11 +523,11 @@ endclass
523523class riscv_vector_load_store_instr_stream extends riscv_mem_access_stream ;
524524
525525 // List of vector load/store instructions (grouped into different address modes)
526- localparam riscv_instr_name_t unit_strided [] = { VLE_V , VSE_V , VLEFF_V ,
527- VLM_V , VSM_V , VLRE_V , VSR_V ,
528- VLSEGE_V , VSSEGE_V , VLSEGEFF_V } ;
529- localparam riscv_instr_name_t strided [] = { VLSE_V , VSSE_V , VLSSEGE_V , VSSSEGE_V } ;
530- localparam riscv_instr_name_t indexed [] = { VLUXEI_V , VLOXEI_V , VSUXEI_V , VSOXEI_V ,
526+ localparam riscv_instr_name_t UnitStrided [] = { VLE_V , VSE_V , VLEFF_V ,
527+ VLM_V , VSM_V , VLRE_V , VSR_V ,
528+ VLSEGE_V , VSSEGE_V , VLSEGEFF_V } ;
529+ localparam riscv_instr_name_t Strided [] = { VLSE_V , VSSE_V , VLSSEGE_V , VSSSEGE_V } ;
530+ localparam riscv_instr_name_t Indexed [] = { VLUXEI_V , VLOXEI_V , VSUXEI_V , VSOXEI_V ,
531531 VLUXSEGEI_V , VLOXSEGEI_V , VSUXSEGEI_V , VSOXSEGEI_V } ;
532532
533533 // Types of vector load/store address modes
@@ -642,20 +642,20 @@ class riscv_vector_load_store_instr_stream extends riscv_mem_access_stream;
642642 super .pre_randomize ();
643643
644644 // Build list of allowed address modes (according to unsupported_instr list)
645- foreach (unit_strided [i]) begin
646- if (! (unit_strided [i] inside { unsupported_instr} )) begin
645+ foreach (UnitStrided [i]) begin
646+ if (! (UnitStrided [i] inside { unsupported_instr} )) begin
647647 allowed_address_modes = { allowed_address_modes, UNIT_STRIDED } ;
648648 break ;
649649 end
650650 end
651- foreach (strided [i]) begin
652- if (! (strided [i] inside { unsupported_instr} )) begin
651+ foreach (Strided [i]) begin
652+ if (! (Strided [i] inside { unsupported_instr} )) begin
653653 allowed_address_modes = { allowed_address_modes, STRIDED } ;
654654 break ;
655655 end
656656 end
657- foreach (indexed [i]) begin
658- if (! (indexed [i] inside { unsupported_instr} )) begin
657+ foreach (Indexed [i]) begin
658+ if (! (Indexed [i] inside { unsupported_instr} )) begin
659659 allowed_address_modes = { allowed_address_modes, INDEXED } ;
660660 break ;
661661 end
@@ -758,14 +758,15 @@ class riscv_vector_load_store_instr_stream extends riscv_mem_access_stream;
758758 // Get instructions for selected address mode
759759 case (address_mode)
760760 UNIT_STRIDED : begin
761- possible_instr = { unit_strided } ;
761+ possible_instr = { UnitStrided } ;
762762 end
763763 STRIDED : begin
764- possible_instr = { strided } ;
764+ possible_instr = { Strided } ;
765765 end
766766 INDEXED : begin
767- possible_instr = { indexed } ;
767+ possible_instr = { Indexed } ;
768768 end
769+ default : ;
769770 endcase
770771
771772 // Filter out illegal instructions for current config
0 commit comments