Drop Perl for Python in SVUnit

If we were to migrate the SVUnit scripts to Python, would Python 3 support be enough?

Additionally, it would be possible to compile Python code using PyInstaller and it would work regardless of the interpreter version.

I support a transition from Perl to Python, but is it really worth your time?

Please consider the general ASIC case where engineers generally can’t install anything and their Python version is wildly out of date when choosing a Python version.

A lot of scripts need fixes and I am much faster in Python than in Perl.

W.r.t. Python version, I’m in the same boat. I’m hoping people jumped to an OS version that comes with Python 3.

Since Python 2.x retired a lot of projects discontinue their support. As soon as you start to depend on other Python packages supporting Python 2 becomes a problem. Fighting that is probably not how you would like to spend your time.

1 Like

If Pyinstaller works, Python 3 is a no-brainer. Python is now reasonably widespread in EDA, though TCL and Perl might hold a slight edge in terms of install base. I do not enjoy working with those languages however.