assign is unidirectional. That is clear. foo[1] is undriven. It should be 1'bz. foo[0] has two drivers, one of which is 1'bz, and thus should be ignored. What different behaviors do you see ? Shalom From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of Bineet Srivastava Sent: Friday, March 14, 2014 13:26 To: sv-bc@eda.org Subject: [sv-bc] Is assign bi-directional? Hi, For the below case tools have different behavior. module foo(input [1:0] a,b, output [1:0] z); wire [1:0]foo; assign z = foo; assign foo[0] = a[0]; assign foo[0] = foo[1]; endmodule My understanding is it is unidirectional one. Is this correct? Regards Bineet -- This message has been scanned for viruses and dangerous content by MailScanner<http://www.mailscanner.info/>, and is believed to be clean. --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Mar 16 05:27:24 2014
This archive was generated by hypermail 2.1.8 : Sun Mar 16 2014 - 05:27:42 PDT