frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Spice: A 40-year old open-source success story (2011)

https://www.edn.com/spice-a-40-year-old-open-source-success-story/
43•stmw•1mo ago

Comments

stmw•1mo ago
The video version, the event at the Computer History Museum described in the article

https://www.youtube.com/watch?v=Ta0KiizCRzI

RossBencina•1mo ago
A question for those who know: How is SPICE used in integrated circuit design? What is it good for? When is it not useful?
tonyarkles•1mo ago
There's two layers to its utility. For overall circuit design (not IC design specifically) it's a tool for simulating the analog behaviour of a circuit. Two frequently used modes are "transient response" and "AC steady state response". The first shows you the voltages and currents in the circuit in response to a changing input (e.g. the input goes from 0V to 3.3V). The second sweeps across a user-specified range of frequencies and shows you the voltages and currents to expect across that range. Linear devices (resistors, capacitors, inductors) are generally easy to work out by hand, but when you start adding non-linear devices (diodes, transistors, etc) it gets pretty impossible pretty quickly to hand calculate with any real degree of accuracy. Many vendors provide SPICE models for their parts, so you can often get decently accurate simulation outputs. To your question "when is it not useful?", you have to be very careful to look at the simulation output and use your brain to determine whether or not the results actually make sense; it's quite possible to either mess up your netlist or device models and get output that is completely wrong but still simulates fine.

For IC design specifically, all of the above is still true but with a little extra. One of the challenging parts with IC design is the fact that every fab/process behaves differently and at smaller and smaller feature sizes those behaviours differ more and more from the basic first-order models. To make this kind of design even possible, the fabs do their best to characterize and model what transistors made on the process will do as a function of their geometry. This is often considered to be highly proprietary data and most of the commercial simulators provide a mechanism for the fab to release these model files (sometimes called PDK: process development kit) in an encrypted format that the simulator can decrypt but the user can't see. The designer can parameterize the transistors in their design by manufacturing parameters (e.g. gate width, well depth, etc) and get reasonably accurate simulations... with the same caveat as above: you always have to be vigilant to ensure that the output values actually make sense; the simulator can produce absolutely nonsensical results if the input is bad.

The other "not useful" part is that the simulation runtime can get very long as the complexity of the design grows. I haven't been in that industry for almost 20 years now but back then you were generally limited to simulating small subcircuits (say 100s of components) if you wanted anything close to quick results. Simulating larger designs would take days or weeks.

adrian_b•1mo ago
As another poster has said, SPICE is used for simulating the analog blocks of an integrated circuit and it is also used by those who design the components of a library used by the digital designers, which contains blocks like logical gates and flip-flops, to simulate such blocks, e.g. for estimating the time delays through gates or the maximum clock frequencies for flip-flops.

When an IC includes analog blocks, not only digital (but most digital ICs also include a few analog blocks, e.g. voltage regulators or oscillators for clock generation), the design of the analog blocks passes through a few stages.

First the schematics of the analog blocks is designed. Then it is simulated with SPICE or similar programs, in order to verify if it satisfies the design criteria and to optimize the values of the component parameters. The simulation results cause the redesign of the schematics, until all seems fine. Then the geometric layout of the analog blocks is designed.

After that a dedicated program analyzes the layout and it computes the value of parasitic components, e.g. parasitic resistances, capacitances, self inductances and mutual inductances. All the parasitic components are back-annotated on the initial schematics. Now the analog blocks are simulated again with SPICE and this time the simulations take a longer time as there are a lot of extra components. If the results are not acceptable, the schematics is redesigned and all the cycle is repeated.

The simulations with SPICE usually include Monte Carlo simulations that verify that the designed blocks satisfy the performance criteria even when the values of all parameters are varied randomly, like they will vary as a consequence of the production processes. The environmental conditions, e.g. temperature and supply voltages can also be varied randomly in such simulations. Therefore the total number of simulations of a circuit, resulting from the need to search optimum parameters and the need to search the worst cases during Monte Carlo simulations, can be very large, thus the simulation times, even on server farms, can reach weeks. Modern SPICE programs usually run only the GUI on the workstation of the designer, while the actual simulations are distributed on multiple servers.

When the simulation with the schematics back-annotated from layout succeeds, and the concurrently designed digital blocks of the IC are also finished, then the whole integrated circuit must be simulated. Because this is very time-consuming, usually only simple things are simulated, like the booting sequence of a CPU.

For the simulation of a whole IC, one typically uses a mixed-mode simulator, which uses a Verilog/VHDL simulator for the digital blocks, coupled with a SPICE simulator for the analog blocks. To couple the blocks, special digital-to-analog and analog-to-digital components are incorporated in the schematics of both the analog and digital blocks.

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
533•klaussilveira•9h ago•149 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
862•xnx•15h ago•520 comments

How we made geo joins 400× faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
72•matheusalmeida•1d ago•13 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
180•isitcontent•9h ago•21 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
182•dmpetrov•10h ago•81 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
295•vecti•12h ago•130 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
71•quibono•4d ago•13 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
343•aktau•16h ago•168 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
341•ostacke•15h ago•90 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
434•todsacerdoti•17h ago•226 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
239•eljojo•12h ago•147 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
376•lstoll•16h ago•252 comments

Delimited Continuations vs. Lwt for Threads

https://mirageos.org/blog/delimcc-vs-lwt
13•romes•4d ago•2 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
41•kmm•4d ago•3 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
7•videotopia•3d ago•0 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
221•i5heu•12h ago•162 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
14•denuoweb•1d ago•2 comments

Why I Joined OpenAI

https://www.brendangregg.com/blog/2026-02-07/why-i-joined-openai.html
92•SerCe•5h ago•76 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
62•phreda4•9h ago•11 comments

Learning from context is harder than we thought

https://hy.tencent.com/research/100025?langVersion=en
162•limoce•3d ago•82 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
38•gfortaine•7h ago•11 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
127•vmatsiiako•14h ago•54 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
18•gmays•4h ago•2 comments

Understanding Neural Network, Visually

https://visualrambling.space/neural-network/
261•surprisetalk•3d ago•35 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1029•cdrnsf•19h ago•428 comments

FORTH? Really!?

https://rescrv.net/w/2026/02/06/associative
55•rescrv•17h ago•18 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
84•antves•1d ago•60 comments

WebView performance significantly slower than PWA

https://issues.chromium.org/issues/40817676
18•denysonique•6h ago•2 comments

Zlob.h 100% POSIX and glibc compatible globbing lib that is faste and better

https://github.com/dmtrKovalenko/zlob
5•neogoose•2h ago•2 comments

I'm going to cure my girlfriend's brain tumor

https://andrewjrod.substack.com/p/im-going-to-cure-my-girlfriends-brain
109•ray__•6h ago•55 comments