Hspice or primesim alter vs sweep

panghjh

Newbie
Joined
Nov 4, 2024
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
I am using 'Primesim' for 3pi RC modeling simulation. I extracted C-only blocks using StarRC, and I will use this as the C model.
I configured the 3pi modeling by sweeping the "block_num" ".

I performed the sweep in two ways:

the first was

.tran 0.01p 20n sweep block_num 16 96 1,

and the second was

.alter
.param block_num=16
.alter
.param block_num=32
.alter
.param block_num=96.

It is clear that the results for block_num 96 and 32 should be the same in the alter results, but there is a significant difference in the slope.
I would like to know why this difference occurs.
 

Cookies are required to use this site. You must accept them to continue using the site. Learn more…