Skip to content

Commit

Permalink
minor branch validation bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
manili committed Aug 8, 2021
1 parent e7de1a7 commit d555e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FPGA_Implementation/mythcore_test.tlv
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
//Fetch
// Next PC
$pc[31:0] = (>>1$reset) ? '0 :
(>>3$taken_br) ? >>3$br_tgt_pc :
(>>3$valid_taken_br) ? >>3$br_tgt_pc :
(>>3$valid_load) ? >>3$inc_pc :
(>>3$valid_jump && >>3$is_jal) ? >>3$br_tgt_pc :
(>>3$valid_jump && >>3$is_jalr) ? >>3$jalr_tgt_pc : >>1$inc_pc;
Expand Down
2 changes: 1 addition & 1 deletion codes/Final.tlv
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
//Fetch
// Next PC
$pc[31:0] = (>>1$reset) ? '0 :
(>>3$taken_br) ? >>3$br_tgt_pc :
(>>3$valid_taken_br) ? >>3$br_tgt_pc :
(>>3$valid_load) ? >>3$inc_pc :
(>>3$valid_jump && >>3$is_jal) ? >>3$br_tgt_pc :
(>>3$valid_jump && >>3$is_jalr) ? >>3$jalr_tgt_pc : >>1$inc_pc;
Expand Down

0 comments on commit d555e34

Please sign in to comment.