From 21c7dad7e440492e4533b4dc228c54907819de39 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 24 May 2018 19:36:28 +0900 Subject: Supporting NMUX and SEL in NDR. --- src/base/wlc/wlcNdr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/base/wlc/wlcNdr.c') diff --git a/src/base/wlc/wlcNdr.c b/src/base/wlc/wlcNdr.c index 8e89ae2c..3e6600c3 100644 --- a/src/base/wlc/wlcNdr.c +++ b/src/base/wlc/wlcNdr.c @@ -70,6 +70,7 @@ int Ndr_TypeNdr2Wlc( int Type ) if ( Type == ABC_OPER_LOGIC_OR ) return WLC_OBJ_LOGIC_OR; // 29: logic OR if ( Type == ABC_OPER_LOGIC_XOR ) return WLC_OBJ_LOGIC_XOR; // 30: logic XOR if ( Type == ABC_OPER_SEL_NMUX ) return WLC_OBJ_MUX; // 08: multiplexer + if ( Type == ABC_OPER_SEL_SEL ) return WLC_OBJ_SEL; // 57: selector if ( Type == ABC_OPER_COMP_EQU ) return WLC_OBJ_COMP_EQU; // 31: compare equal if ( Type == ABC_OPER_COMP_NOTEQU ) return WLC_OBJ_COMP_NOTEQU; // 32: compare not equal if ( Type == ABC_OPER_COMP_LESS ) return WLC_OBJ_COMP_LESS; // 33: compare less @@ -127,6 +128,7 @@ int Ndr_TypeWlc2Ndr( int Type ) if ( Type == WLC_OBJ_LOGIC_AND ) return ABC_OPER_LOGIC_AND; // 28: logic AND if ( Type == WLC_OBJ_LOGIC_OR ) return ABC_OPER_LOGIC_OR; // 29: logic OR if ( Type == WLC_OBJ_LOGIC_XOR ) return ABC_OPER_LOGIC_XOR; // 30: logic XOR + if ( Type == WLC_OBJ_SEL ) return ABC_OPER_SEL_SEL; // 57: selector if ( Type == WLC_OBJ_COMP_EQU ) return ABC_OPER_COMP_EQU; // 31: compare equal if ( Type == WLC_OBJ_COMP_NOTEQU ) return ABC_OPER_COMP_NOTEQU; // 32: compare not equal if ( Type == WLC_OBJ_COMP_LESS ) return ABC_OPER_COMP_LESS; // 33: compare less -- cgit v1.2.3