综合1

assign den_m_a = |a[9:0];
assign den_m_b = 1'b0 || b[9:0];

 以上两种写法综合结果相同

原文地址:https://www.cnblogs.com/yiyedada/p/11815032.html