J
junk_no_spam
Guest
Is there any way to pass a Unix variable, say $test_number,
into the testbench, as a ncverilog command line switch?
I want to do something inside the testbench like:
inital
begin
if ( test_number == 1 )
variable = 1
if ( test_number == 2 )
variable = 0
if ( test_number == 3 )
variable = 0
: :
: :
: :
end
-steve
into the testbench, as a ncverilog command line switch?
I want to do something inside the testbench like:
inital
begin
if ( test_number == 1 )
variable = 1
if ( test_number == 2 )
variable = 0
if ( test_number == 3 )
variable = 0
: :
: :
: :
end
-steve