Started vclean script to clean Verilog

This commit is contained in:
David Harris 2023-01-07 04:49:38 -08:00
parent 2188ff879b
commit dfddca3ed3

11
bin/vclean.pl Normal file
View File

@ -0,0 +1,11 @@
#!/usr/bin/perl -w
# vclean.pl
# David_Harris@hmc.edu 7 December 2023
# Identifies unused signals in Verilog files
# verilator should do this, but it also reports partially used signals
for (my $i=0; $i<=$#ARGV; $i++) {
my $fname = $ARGV[$i];
printf ("$fname\n");
}