SystemVerilog - random testbench for a mux?

Status
Not open for further replies.

brenox

Newbie level 5
Joined
Nov 26, 2008
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,384
SystemVerilog

Hi, I'm trying to do a random coverage of a serial. For this I'm first trying to do a testbench for a mux 2:1. Actually I've already did a testbench of this, but I'm not getting it right when I try to make it random.

Does anyone know how to do a random testbench for a mux?

Thanks.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…