To create the command to pass .csv from UNIX shell to TCL script Scenarios:
sub tasks:
1.1Create a command to pass the .csv(excel sheet) from Unix Shell to TCL script
1.2Convert all inputs to format[1] and SDC format and pass it to synthesis tool yosys
1.3Convert format[1] 0r from yosys and SDC to format[2] and passing into timing tool OpenTimer
1.4Generate the output timing report
To create the command to pass .csv from UNIX shell to TCL script Scenarios:
no .csv provided
$argv[1] // gives the 1st argument
code for task following:
if(! -f $argv[1] || $argv[1] == "-help") then
if($argv[1] != "-help") then
echo "Error: Cannot find csv file $argv[1]. Exiting..."
exit 1
else
echo "USAGE: ./rakesh <csv file> , where the <csv file> consists of 2 columns --> 1st column is being case sensitive."
echo "Note if the file is not in the same directory, ensure to include the path along with the <csv file>"
echo
echo "<Design Name> is the name of the top module"
endif
else
tclsh rakesh.tcl $argv[1]

