From 15b0946fc460904137add6bb584a0b00a3e3ba93 Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 6 Feb 2013 10:02:55 -0800 Subject: [PATCH] vlog95: Add support for the new CONCATZ LPM type. --- tgt-vlog95/logic_lpm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tgt-vlog95/logic_lpm.c b/tgt-vlog95/logic_lpm.c index 7c3d2e42c..9b13abe3f 100644 --- a/tgt-vlog95/logic_lpm.c +++ b/tgt-vlog95/logic_lpm.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011-2012 Cary R. (cygcary@yahoo.com) + * Copyright (C) 2011-2013 Cary R. (cygcary@yahoo.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -205,6 +205,7 @@ static ivl_nexus_t get_lpm_output(ivl_scope_t scope, ivl_lpm_t lpm) case IVL_LPM_CMP_NE: case IVL_LPM_CMP_NEE: case IVL_LPM_CONCAT: + case IVL_LPM_CONCATZ: case IVL_LPM_DIVIDE: case IVL_LPM_FF: case IVL_LPM_MOD: @@ -830,6 +831,7 @@ static void emit_lpm_as_ca(ivl_scope_t scope, ivl_lpm_t lpm) fprintf(vlog_out, ")"); break; case IVL_LPM_CONCAT: + case IVL_LPM_CONCATZ: emit_lpm_concat(scope, lpm); break; case IVL_LPM_DIVIDE: @@ -1736,6 +1738,7 @@ void dump_nexus_information(ivl_scope_t scope, ivl_nexus_t nex) case IVL_LPM_CAST_INT2: fprintf(stderr, ""); break; case IVL_LPM_CAST_REAL: fprintf(stderr, ""); break; case IVL_LPM_CONCAT: fprintf(stderr, "concat"); break; + case IVL_LPM_CONCATZ: fprintf(stderr, "concatz"); break; case IVL_LPM_CMP_EEQ: fprintf(stderr, "eeq"); break; case IVL_LPM_CMP_EQ: fprintf(stderr, "eq"); break; case IVL_LPM_CMP_GE: fprintf(stderr, "ge"); break;