r/cpp • u/No-Feedback-5803 • Mar 13 '26
EDA software development
Hey guys, for people that have worked on developing EDA tools, I am curious about how the process looked like. I presume that the most common language is C++ that's why I'm posting this here Ate there any prominent architectures? Did you "consciously" think about patterns or did everything just come into place. How do you go on about developing the core logic such as simulation kernels? How coupled is the UI to the core logic? What are the hardest parts to deal with?
I would like to start working on a digital IC simulation tool (basically like LabVIEW for RTL) to learn a bit more of everything along the way and I'd love to hear advices from people with knowledge about it.
5
u/SyntheticDuckFlavour Mar 13 '26
Not exactly simulation tool, but have a look at KiCad codebase. It may answer some questions about UI, core logic and whatnot.
4
u/pjf_cpp Valgrind developer Mar 13 '26 edited Mar 13 '26
Mostly C++ but there is still plenty of C.
Digital simulation. This is all about scale and speed. Circuits are usually written in (System)Verilog or VHDL. There will also be testbenches that drive the circuit.
Typical steps are
The UI is of secondary importance. It's useful as a debugging tool and for viewing results.
Speed and scale are paramount. If your compiler can't cope with a big design or your simulator takes months to run when the competition can run in days then you are not going to be able to sell any big customers.
EDA simulators are developed by teams with hundreds of members and consist of multi-million lines of code. Because circuits are now too big for software simulation all the big 3 EDA vendors also have emulation solutions. That's where the simulation is partitioned between programmable hardware and software. The programmable hardware is either off the shelf FPGAs or custom chips that include FPGA and comment elements like interconnect. These systems are not cheap.
There's a lot more than just digital simulation. Other domains include
3
u/[deleted] Mar 13 '26
Yes you are right all the EDA tools use C++. I was working in that industry like 7-8 years ago. One thing is you need to be very strong in algorithms especially graph algorithms. Also you need to understand electronics and several numerical methods used there. If you get a chance to work in core eda tool, its a very satisfying experience.
1
u/TheRavagerSw Mar 17 '26
Go ask the horizon eda author at element, he's a total lunatic but still his software looks very good compared to the others.