zhon1231 Posted December 22, 2011 Report Share Posted December 22, 2011 Hi all, I have a quick question regarding parameterized designs. In my testbench I am initializing a DUT that requires a parameter called BIT_WIDTH. Is there any way to initialize the DUT's BIT_WIDTH using a command line argument? For example, is the following possible? vcs .... +COMMAND_LINE_BIT_WIDTH=10.... module top Design #(.BIT_WIDTH(COMMAND_LINE_BIT_WIDTH)) dut (...); ... Thanks, Billy Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.