Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

unable override param in VCS

Status
Not open for further replies.

jgreninger

Newbie
Joined
Apr 29, 2021
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
17
I have a parameter to override that works great in Incisive using -defparam. I'm unable to find an equivalent that works in VCS. Here are the ones I've tried

1. +gfile <file>
  • the override file contains
  • assign "new_value_as_string" <path_to_param_to_override>
2. -pvalue <path_to_param>=newvalue

PVALUE doesn't work because it doesn't accept string, so that leaves me with GFILE. GFILE compiles and runs but the PARAM value remains the same and it loads the incorrect initialization file for an array in the testbench

Does anyone know of a working method in VCS that will actually override a file path like -defparam does but in VCS?

Thanks,

John
 

I should mention this is a Verilog design but -gfile requires the hierarchy be in VHDL. The hierarchy has a generate array in it as well (which the section on -gfile says you need to use "rounded" parentheses for). So...my hierarchy path is

/top/dut(5)/mymodel/mysubmodel/myparameter
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top