mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-25 06:27:22 -04:00
Readd dont-care extension of C instructions
This commit is contained in:
parent
7a8123bddb
commit
793c996492
1 changed files with 3 additions and 3 deletions
|
@ -114,9 +114,9 @@ module riscv_prefetch_buffer_small
|
||||||
begin
|
begin
|
||||||
unique case (instruction_format )
|
unique case (instruction_format )
|
||||||
FULL_INSTR_ALIGNED: rdata_o = instr_rdata_i;
|
FULL_INSTR_ALIGNED: rdata_o = instr_rdata_i;
|
||||||
C_INSTR_ALIGNED_DIRECT: rdata_o = {16'h0000, instr_rdata_i[15:0]};
|
C_INSTR_ALIGNED_DIRECT: rdata_o = {16'hxxxx, instr_rdata_i[15:0]};
|
||||||
C_INSTR_MISALIGNED_DIRECT: rdata_o = {16'h0000, instr_rdata_i[31:16]};
|
C_INSTR_MISALIGNED_DIRECT: rdata_o = {16'hxxxx, instr_rdata_i[31:16]};
|
||||||
C_INSTR_IN_REG_OR_FIRST_FETCH: rdata_o = {16'h0000, last_fetch_rdata_Q};
|
C_INSTR_IN_REG_OR_FIRST_FETCH: rdata_o = {16'hxxxx, last_fetch_rdata_Q};
|
||||||
INSTR_IN_REG: rdata_o = {instr_rdata_i[15:0], last_fetch_rdata_Q};
|
INSTR_IN_REG: rdata_o = {instr_rdata_i[15:0], last_fetch_rdata_Q};
|
||||||
default: rdata_o = instr_rdata_i;
|
default: rdata_o = instr_rdata_i;
|
||||||
endcase
|
endcase
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue