Skip to content

feat: Improve default MOSFET SPICE models#30

Merged
ShiboSoftwareDev merged 1 commit intotscircuit:mainfrom
ShiboSoftwareDev:main
Dec 7, 2025
Merged

feat: Improve default MOSFET SPICE models#30
ShiboSoftwareDev merged 1 commit intotscircuit:mainfrom
ShiboSoftwareDev:main

Conversation

@ShiboSoftwareDev
Copy link
Copy Markdown
Contributor

@ShiboSoftwareDev ShiboSoftwareDev commented Dec 7, 2025

The default SPICE models for simple_mosfet components were not suitable for
switching applications. This was due to a missing threshold voltage (VTO) and a
low default transconductance (KP), which resulted in a high on-resistance.

This change improves the models by:

• Setting an appropriate VTO for enhancement-mode NMOS and PMOS devices.
• Adding a default KP=0.1 to lower the MOSFET's on-resistance, making it behave
more like an effective switch.

@ShiboSoftwareDev ShiboSoftwareDev changed the title wip feat: Improve default MOSFET SPICE models Dec 7, 2025
@ShiboSoftwareDev ShiboSoftwareDev merged commit b5df967 into tscircuit:main Dec 7, 2025
5 checks passed
@tscircuitbot
Copy link
Copy Markdown
Contributor


Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants