This repository contains modular Python scripts designed to automate and support workflows related to VLSI design, simulation, and EDA tool usage. Each subfolder demonstrates a specific scripting concept or Python module with practical use cases.
- Demonstrates how to use the
argparsemodule for command-line argument parsing. - Example use case: Automating Verilog compilation and simulation with command-line inputs.
- Uses Python
remodule to search and analyze text files. - Example: Count occurrences of the word
vlsiin a sample file.
- Uses
subprocessto run external commands likeiverilog,vvp, orgtkwave. - Automates compilation and waveform generation for Verilog designs.
- Contains Verilog files:
bcd_counter.v— A simple BCD counter module.bcd_counter_tb.v— Testbench for simulating the counter.
- Used with scripts in
subprocess/for testing simulation automation.
- Demonstrates usage of
osfor directory creation and file handling. - Example: Dynamically creating folders for organizing scripts or outputs.
- Automatically compile and simulate Verilog using:
python run_simulation.py --top counter/bcd_counter.v --tb counter/bcd_counter_tb.v --wave