Python and AI-Driven Scripting for Electronic Design Automation: Automation, Intelligence, and Optimization in VLSI Design