Trying to learn about netlists.

  • Thread starter Thread starter Maxwell
  • Start date Start date
Click For Summary
The discussion focuses on learning how to create transistor netlists for logic functions in SPICE, specifically for a MOS inverter. The user seeks clarification on the parameters in the netlist, particularly the meaning of "M1 1 2 3 3," which represents the connections of the MOSFET's drain, gate, source, and substrate. Additionally, they inquire about the voltage source definitions, specifically the significance of the numbers in "VG 2 0" and "VDD 3 0." After engaging with others and conducting research, the user reports gaining a better understanding of netlist creation, finding it simpler once the basics are grasped. Overall, the thread highlights the importance of clear references for learning netlist structures in SPICE.
Maxwell
Messages
511
Reaction score
0
I am trying to learn about transistor netlists and creating netlists for logic functions in SPICE.

For a MOS Inverter, I know:

Code:
mosinverter
.option post
VG 2 0 DC PULSE 0 3 10NS 5NS 5NS 30NS 60NS
VDD 3 0 DC  3V
M1 1 2 3 3 pmos L=0.25U W=0.5U
M2 1 2 0 0 nmos L=0.25U W=.25U
.TRAN 10ps 150ns
.END

One of the big problems I'm having, I seemed to have not picked it up in class, is what this means:

Code:
M1 1 2 3 3 pmos L=0.25U W=0.5U

Now, I know those are some sort of parameters, maybe the sizing (I'm referring to the "1 2 3 3")?

I assume M1 is the name of the single device we're creating. And I know what L and W are. But the 1 2 3 3 I'm pretty clueless about.

Also,

Code:
VG 2 0 DC PULSE 0 3 10NS 5NS 5NS 30NS 60NS

Now, obviously Vg values are being determined here. Does the first 2 mean Vg = 2V? What's the zero after mean?

Code:
VDD 3 0 DC  3V

I think here Vdd is just being defined as a 3V DC source. Since 3V is at the end, I assume the "3 0" does not mean 3V. What is the significance of the 3 there then?

Googling produces a lot of random results, so if someone could just fill me in on what the number and what each position corrosponds to, I may be able to live a little longer!

I get the idea that this stuff can be REALLY easy if you have a good reference source. Unfortunately, I don't. If you have a good site that just bluntly states what each position means, I would be VERY greatful!

Thank you.
 
Engineering news on Phys.org
M1 1 2 3 3
means connect a mosfet with the drain at 1, gate at 2, source at 3 and substrate at 3.
 
Thanks, corneo.

I spent the day reading and asking people and I finally figured out what everything means. I can even design more complicated netlists. It is actually really simple once you get the basic idea down.
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
10K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
8K
  • · Replies 28 ·
Replies
28
Views
4K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K