一共有4个输入,所以对应的真值表有16行,也就需要16组不同的测试输入,真值表如下所示: 从真值表中可以得到逻辑表达式:Y=A^{'}BCD^{'}。 测试所用的源码如下: modulet_Combo_str;// InputsregA;regB;regC;regD;// OutputswireY;// Instantiate the Unit Under Test (UUT)Combo_
This paper proposes novel Reversible logic design for code conversion such as Binary to Gray code, Gray to Binary code, BCD to Excess 3 code, Excess 3 to BCD code with extension of Binary to BCD and BCD to gray.Vinay Kumar Gollapalli...