J
junk_no_spam
Guest
Is there any way to pass an argument from a Cshell into the
the ncverilog simulator to be used in the top-level testbench?
For instance a variable "i" which takes on the values i = 1,2,3,4 ...
in the Cshell, and can be passed into the top-level testbench as
an argument to the ncverilog that I invoke in a Cshell.
Currently I set the variable "i" in a tb_defines.h file using
a 'define statement. Then in the top-level testbench I include
tb_defines.h file, so that I can access the value of "i" inside
the testbench.
But what I really want to do is pass it in from the Cshell.
thanks,
steve M.
at comcast.net
the ncverilog simulator to be used in the top-level testbench?
For instance a variable "i" which takes on the values i = 1,2,3,4 ...
in the Cshell, and can be passed into the top-level testbench as
an argument to the ncverilog that I invoke in a Cshell.
Currently I set the variable "i" in a tb_defines.h file using
a 'define statement. Then in the top-level testbench I include
tb_defines.h file, so that I can access the value of "i" inside
the testbench.
But what I really want to do is pass it in from the Cshell.
thanks,
steve M.
at comcast.net