Adan Kvitschal
03/25/2024, 6:31 PMTim Edwards
03/25/2024, 6:39 PM.include
statement that includes a control block, which can then change based on the definition. That would be easy to set up in CACE, but if the control block contains variables that need to be substituted, then CACE probably needs to be coded to find all the .includes
in a file and determine if any of them require substitution. I think I can come up with a way that works and is not hard to implement. It probably won't get implemented this week, though.Tim Edwards
03/25/2024, 6:39 PMAdan Kvitschal
03/25/2024, 6:41 PMTim Edwards
03/25/2024, 6:44 PM.include
. The problem is that your control block will most likely have conditions using CACE variable names, and CACE will need to run variable substitution on that file.
The more I think about it, what makes sense to me is that you should be able to put something like .include {test_code}
in the testbench, and define test_code
as a condition in the characterization file, and that CACE should just assume that if you use a variable for an included file, it should be in-lined and then run through variable substitution.Adan Kvitschal
03/25/2024, 6:55 PMparam
to perform this task on a previous project where I was using Python to automate circuit design (also something I would like to discuss in the near future), but I had too many problems with model parameters expansion failing with something like "no model name" which I believe is related to bining.
What I thought would not involve including the control block from the testbench but just loading it from CACE after the testbench was loaded, if the user could just specify a set of files to load instead of a single one.