Hi every one,

I have written a code for a simple digital circuit in HSPICE (Like a NAND gate). The width of PMOS and NMOS transistors is Wp, Wn, respectively. Now, I want to do the following steps.

1- Adjusting Wp and Wn using MATLAB.

2- Running HSPICE simulation using MATLAB.

3- Importing HSPICE simualtion results (like the computed power) to MATLAB.

Would you please help me?

And also how should I define "Wp" and "Wn" in HSPICE? Is it true to define them using ".param Wp, Wn" command?

Thank you

More Majid Amini Valashani's questions See All
Similar questions and discussions