top of page
12.2.1. NMOS and PMOS Behavior​
NMOS Switch Example
Verilog
Circuit Diagram:
.png)
Operation:
​
- control = 0: NMOS OFF → y = Z (floating)
​
- control = 1: NMOS ON → y = 0 (pulled to ground)
​
PMOS Switch Example
Verilog
Circuit Diagram:
.png)
Operation:
​
- control = 0: PMOS ON → y = 1 (pulled to VDD)
​
- control = 1: PMOS OFF → y = Z (floating)
​
Complete NMOS and PMOS Testbench
Verilog
bottom of page
