diff options
Diffstat (limited to 'src/synth')
-rw-r--r-- | src/synth/synth-vhdl_expr.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_expr.adb b/src/synth/synth-vhdl_expr.adb index ec0cd28bb..56ecbb310 100644 --- a/src/synth/synth-vhdl_expr.adb +++ b/src/synth/synth-vhdl_expr.adb @@ -1223,7 +1223,8 @@ package body Synth.Vhdl_Expr is Len : Uns32; begin if Pfx_Bnd.Dir /= Dir then - Error_Msg_Synth (Syn_Inst, Name, "direction mismatch in slice"); + Error_Msg_Synth (Syn_Inst, Name, + "slice direction doesn't match index direction"); Off := (0, 0); if Dir = Dir_To then Res_Bnd := (Dir => Dir_To, Left => 1, Right => 0, Len => 0); |