difference of using always_comb or always inside testbench environment

2 posts / 0 new
Last post
Lucky
Offline
Academy Total Access User
Joined: 08/20/2011
Posts: 7
difference of using always_comb or always inside testbench environment

System verilog has the statements like always_comb,always_ff.I believe these should be usefull in RTL coding.

Please clarify me will it make any difference of using always_comb or always in Testbench environment.

Thanks
Bharath

dave_59
Offline
Verification Forum Moderator
Joined: 03/10/2010
Posts: 976
Re: difference of using always_comb or always inside testbench environment

You can' use these constructs inside of a class - only in a module or interface. They might have some use at the boundary between your DUT and testbench. However, these constructs were designed to specify the intent of how you want your synthesis tools to treat your RTL and eliminate mismatches between RTL and gate-level.

__________________

Dave Rich
Mentor Graphics
http://go.mentor.com/drich