Dec 9, 2011 #1 Y yann_sun Member level 1 Joined Jul 17, 2006 Messages 38 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,529 hi, What is the difference bewteen two commands, always @(sigs) and @(sigs)?
Dec 9, 2011 #2 P poluekt Full Member level 2 Joined Dec 11, 2009 Messages 130 Helped 45 Reputation 90 Reaction score 44 Trophy points 1,308 Location Russia Activity points 1,813 always @(sigs) - infinite cycle @(sigs) - one time waiting
Dec 9, 2011 #3 S siddharthakala Member level 2 Joined Jul 20, 2010 Messages 53 Helped 6 Reputation 12 Reaction score 5 Trophy points 1,288 Location bangalore Activity points 1,732 @(sigs) is not synthesizable and is generally used for modeling
Dec 12, 2011 #4 Y yann_sun Member level 1 Joined Jul 17, 2006 Messages 38 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,529 Thanks poluekt and siddharthakala, Could you please show an example of the usage of @(sigs)? That will be great.
Thanks poluekt and siddharthakala, Could you please show an example of the usage of @(sigs)? That will be great.
Dec 12, 2011 #5 S siddharthakala Member level 2 Joined Jul 20, 2010 Messages 53 Helped 6 Reputation 12 Reaction score 5 Trophy points 1,288 Location bangalore Activity points 1,732 The following is for behavioral modeling: ---------- always @(posedge clk) a<= b; @(negedge clk) a<= c; ----------- such coding is common in simulation / behavioral models and is not synthesizable.
The following is for behavioral modeling: ---------- always @(posedge clk) a<= b; @(negedge clk) a<= c; ----------- such coding is common in simulation / behavioral models and is not synthesizable.