Skip to content

Commit

Permalink
correct wrong assignment to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidzim authored and rswarbrick committed Jul 9, 2020
1 parent 4223803 commit 9208689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dv/uvm/core_ibex/tests/core_ibex_test_lib.sv
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ class core_ibex_directed_test extends core_ibex_debug_intr_basic_test;
bit [12:0] system_imm;
instr_t instr_fields;

opcode = instr[6:0];
opcode = ibex_pkg::opcode_e'(instr[6:0]);
funct3 = instr[14:12];
funct7 = instr[31:25];
system_imm = instr[31:20];
Expand Down

0 comments on commit 9208689

Please sign in to comment.