有熟悉Verilog HDL的大侠吗?
94
4
[1 楼] CATWK
[泡菜]
22-2-11 13:13
一个逻辑表达式能这么写吗?
wire f = a && b && c && d 我最多只见过两个&&写在一行,还没见过三个的(四与门?) 还是必须要写成这样: wire e = c && d wire f = a && b && e |
[5 楼] firstday
[泡菜]
22-2-11 17:01
|
[4 楼] CATWK
[泡菜]
22-2-11 17:00
|
[3 楼] firstday
[泡菜]
22-2-11 15:53
&& 这个类似C语言中的 and
|
[2 楼] firstday
[泡菜]
22-2-11 15:52
如果a,b,c,d是wire型的
用& wire f = a & b & c & d 没问题,综合器会根据器件中的元素自动综合出结果。 |