马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
开始输入的代码是
- module muxtwo (out,a,b,sl);
- input a,b,sl;
- output out;
- not u1(ns1,sl);
- and u2(sela,a,nsl);
- and u3(selb,b,sl);
- or u4(out,sela,selb);
- endmodule
复制代码
然后出来的rtl是这样
然后把not里面的nsl和sl调换,即
得到的rtl就是正常的,即
我知道可以直接对sl取反即~sl,但是这个not原语为什么不能正常工作呢 |