Skip to content

Commit

Permalink
Merge pull request #49 from dawidzim/enum_from_diff_type
Browse files Browse the repository at this point in the history
fix for assignment to enum variable from expression of different type
  • Loading branch information
jrahmeh committed May 27, 2020
2 parents ee7473e + cc6285e commit 27507b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions design/ifu/ifu_ifc_ctl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@ module ifu_ifc_ctl
//11 0-10- 01
//11 0-00- 11

assign next_state[1] = (~state[1] & state[0] & ~reset_delayed & miss_f2 & ~goto_idle) |
(state[1] & ~reset_delayed & ~mb_empty_mod & ~goto_idle);
assign next_state[1] = state_t'((~state[1] & state[0] & ~reset_delayed & miss_f2 & ~goto_idle) |
(state[1] & ~reset_delayed & ~mb_empty_mod & ~goto_idle));

assign next_state[0] = (~goto_idle & leave_idle) | (state[0] & ~goto_idle) |
(reset_delayed);
assign next_state[0] = state_t'((~goto_idle & leave_idle) | (state[0] & ~goto_idle) |
(reset_delayed));

assign flush_fb = exu_flush_final;

Expand Down
1 change: 0 additions & 1 deletion tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ irun-build: ${TBFILES} ${BUILD_DIR}/defines.h
riviera-build: ${TBFILES} ${BUILD_DIR}/defines.h
vlib work
vlog -work work \
-err VCP2694 W1 \
+incdir+${RV_ROOT}/design/lib \
+incdir+${RV_ROOT}/design/include \
+incdir+${BUILD_DIR} +libext+.v $(defines) \
Expand Down

0 comments on commit 27507b7

Please sign in to comment.