Before running my transient simulations, I want to change the multiplicity factor of some blocks. ( I am using spectre / spectreXps )
I use the command lines below. Does the simulator change the multiplicity of each block, then run the simulations. Or, it takes only the first (or last) line ? If it is the case what should I write to make the simulator make all changes at once then run. ?
Loadmimic0 alter sub=X8SEG\<0\>.XSEG\<7\> param=m value=4Loadmimic1 alter sub=X8SEG\<0\>.XSEG\<0\> param=m value=2Loadmimic2 alter sub=X8SEG\<1\>.XSEG\<7\> param=m value=6 Loadmimic3 alter sub=X8SEG\<1\>.XSEG\<0\> param=m value=8
tran tran stop=1000n step=100p
It will apply all the alters. Each has a unique instance name anyway and it's evaluated sequentially in the order of the alters.
Could you please tell me if the alter option accepts the wild card. When I include the command line below, I have an error which says (Subckt instance `X36SEGL.SEG<*>.X4HSEGT.XREG<*>.XREG.AR<1>' does not exist)
Spectre_mimic alter sub=X36SEGL.SEG\<*\>.X4HSEGT.XREG\<*\>.XREG.AR\<1\> param=m value=1039
I have the same problem for ic and nodeset as well.. do they support wildcard ?
nodeset X36SEGL.SEG\<*\>.X4SEGCTR.XSEGCTR\<*\>.SATRIM\<0\> =0
ic X36SEGL.SEG\<*\>.X4SEGCTR.XSEGCTR\<*\>.SATRIM\<1\> =1
I am not Andrew and can not provide anywhere near as much insight or information, but I can answer your question concerning using wildcards. Both initial conditon and nodeset commands in spectre accept wildcards. This is detailed in the spectre reference manual. I have included a relevant section from page 470 of the April 2019 version for IC18.1 as Figure 1.
Also from the spectre user manual, under the description of the use of the alter statement, it contains the following:
"You can modify only one parameter with each alter statement, but you can put any number of
alter statements in a netlist."
Hence, my first thought is that it does not accept wildcard characters, but as it does note, you can include as many alter statements as you want - one for each of the parameters you would encompass with a wildcard expression. I will default to Andrew or other experts if I have misinterpreted the statement from the manual.
From page 470 of IC18.1 Spectre Reference Manual
Just to confirm, the alter statement doesn't support wildcards. nodeset and ic do (I just checked all three by experiment, to confirm what the documentation says).
Thank you so much, yes , I end up with the same conclusion