Micron Technology Interview Question

python code for parsing verilog code