From b40de5ccb0415f9ca7c43e4e54b3a632a01bd362 Mon Sep 17 00:00:00 2001 From: Nick Gasson Date: Sun, 5 Oct 2008 17:04:19 +0100 Subject: [PATCH] Implement IVL_LPM_CMP_NE(E) Looks like I forgot this one --- tgt-vhdl/lpm.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tgt-vhdl/lpm.cc b/tgt-vhdl/lpm.cc index 9213cd24c..d827ff5b4 100644 --- a/tgt-vhdl/lpm.cc +++ b/tgt-vhdl/lpm.cc @@ -243,6 +243,9 @@ static vhdl_expr *lpm_to_expr(vhdl_scope *scope, ivl_lpm_t lpm) return rel_lpm_to_expr(scope, lpm, VHDL_BINOP_GEQ); case IVL_LPM_CMP_GT: return rel_lpm_to_expr(scope, lpm, VHDL_BINOP_GT); + case IVL_LPM_CMP_NE: + case IVL_LPM_CMP_NEE: + return rel_lpm_to_expr(scope, lpm, VHDL_BINOP_NEQ); case IVL_LPM_CMP_EQ: case IVL_LPM_CMP_EEQ: return rel_lpm_to_expr(scope, lpm, VHDL_BINOP_EQ);