Jun 5, 2011 #1 gmish27 Member level 1 Joined May 12, 2011 Messages 34 Helped 3 Reputation 6 Reaction score 3 Trophy points 1,288 Activity points 1,553 what's wrong with the following code: module test ( input a,b,c, output y ); wire x; assign y = a & x; assign x = b & c; endmodule it synthesizes and simulates too but I read their will be a mis-match between the pre and post synthesis. care to explain???
what's wrong with the following code: module test ( input a,b,c, output y ); wire x; assign y = a & x; assign x = b & c; endmodule it synthesizes and simulates too but I read their will be a mis-match between the pre and post synthesis. care to explain???
Jun 7, 2011 #2 D dcreddy1980 Full Member level 5 Joined Dec 3, 2004 Messages 241 Helped 46 Reputation 92 Reaction score 21 Trophy points 1,298 Location Munich, Germany Activity points 1,532 Just wanted to know where u have read or can you attach the doc which supports your statement. I really don't see any issue with the above code.
Just wanted to know where u have read or can you attach the doc which supports your statement. I really don't see any issue with the above code.
Jun 8, 2011 #3 K kamalkundu Junior Member level 2 Joined Sep 11, 2007 Messages 20 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,283 Activity points 1,406 I also tried with vcs and did not found any problem and I also did not see any change after synthesis. its remains 2-input AND.
I also tried with vcs and did not found any problem and I also did not see any change after synthesis. its remains 2-input AND.
Jun 29, 2011 #4 C chandrasg Newbie level 2 Joined Jun 29, 2011 Messages 2 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,290 Not in this case. If you try using non-blocking assignments in always loop with clock you may see the difference.
Not in this case. If you try using non-blocking assignments in always loop with clock you may see the difference.
Jun 29, 2011 #5 L ljxpjpjljx Advanced Member level 3 Joined May 5, 2008 Messages 968 Helped 80 Reputation 162 Reaction score 56 Trophy points 1,308 Location Shang Hai Activity points 4,679 yes, try to use non-blocking method in you assign statement!