magic icon indicating copy to clipboard operation
magic copied to clipboard

Magic's extraction can't distinguish number of fingers (nf) and multiplier (M)

Open lulu9312 opened this issue 3 years ago • 2 comments

I had extracted a spice netlist using magic. The extracted netlist has parameter M but as per the layout it should have been nf. When I tried to simulate the extracted netlist in ngspice it gave incorrect results.

Attaching the gds file for the block and extracted spice netlist. gds and spice file.zip

lulu9312 avatar Dec 26 '22 03:12 lulu9312

No, magic does not differentiate between number of fingers and M. Make sure that you understand the difference for BSIM models, however. W is the total width of all fingers.

RTimothyEdwards avatar Dec 26 '22 15:12 RTimothyEdwards

How can be this issue resolved because if we don't look at layout and directly simulate the magic extracted file the results will be incorrect because for nf parameter ngspice needs the.option wnflag set.I guess mostly while doing layout the number of finger strategy is used rather than M.

lulu9312 avatar Jan 04 '23 12:01 lulu9312