!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#!!!NEED TO BE ADDED IN YOUR .my_bashrc in your home dire !!!! 
#export TOOLS_SCRIPT="/proj/TLS_DIG_TOOLS/workareas/fg6jwn/scripts"
#alias source_me='source $TOOLS_SCRIPT/.dig_bashrc'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!

***************************************************************************
*************************** ALIAS & SCRIPTS DEFINITION *********************
***************************************************************************
**********  **********
script  :  verilogin
action  :  checkin in cadence view (symbol, schematic , functionnal ) verilog source code 

script  :  verilogin_tower
action  :  For tower techno, checkin in cadence view (symbol, schematic , functionnal ) verilog source code 

note : verilogin can be run in directory : rtl_v ; postlayout_v ; top_cell_sim

***************************************************************************
*************************** I2C and SMBUS REGISTERS GENERATOR & CHECK *****
***************************************************************************

********** common **********
script  :  common_fields_generator.pl
action  :  generate testbench file base on I2C register mapping
Example:  common  -csv register_map_scy6992.csv -out ../testbench/tasks_v/common_fields.v
****************************
********** dig *************
script  :  dig_regs.pl
action  :  generate verilog source code base on I2C register mapping . define the OTP banck size (-otp_reg)
Example:   dig -csv register_map_scy6992.csv -out dig_regs.v -otp_reg 64
****************************
********** txt_generator ***
script  :  txt_generator.pl
action  :  generate txt file to be used in lab tool to generate I2C trams
Example:   txt_generator -csv infile.csv -out outfile.txt [-e tm_enter_adr(dec)] 
***************************
********** memmap_check ***
script  :  memmap_check.pl
action  :  check complience of the I2C mapping file 
Example:   memmap_check   -csv register_map_scy6992.csv
***************************
********** memmap_smbus_txt_gen ***
script  :  txt_smbus_generator.pl
action  :  generate testbench file base on SM BUS register mapping
Example:  memmap_smbus_txt_gen   -csv  infile.csv  -out  outfile.txt
****************************

*********************************************************** 
*************************** GENERATE TEMPLATE FILE ********
***********************************************************
********** mkblock **********
script  :  mkblock.csh
action  :  generate all templated files in digital project
Example:  mkblock digital_top 
****************************                               

********** gen_scan_wrapper_list ********
script  :  create_list.pl
action  :  generate list of signals to be added in scan mux 
           you should add in verilog file felds for script detect :
               // SCAN Wrapped Wires - Start
               // SCAN Wrapped Inputs
               // SCAN Wrapped Outputs
               // SCAN Wrapped Wires - Stop
 
               .....
               ....
               dig_scan_wrapper I_dig_scan_wrapper (
               );

Example:  gen_scan_wrapper_list ../rtl_v/digital_top.v

****************************************
********** gen_scan_wrapper ********
script  :  scan_wrap.pl
action  :  generate file  : ../rtl_v/dig_scan_wrap.v   (file name are hard coded) 
           base on output_list.txt and output_list.txt (file name are hard coded) 
           update top design source file (given in agument) 
           Top design source file  should contain felds :
                  // SCAN Wrapped Wires - Start
                  // SCAN Wrapped Inputs
                  // SCAN Wrapped Outputs
                  // SCAN Wrapped Wires - Stop
 
                  .....
                  ....
                  dig_scan_wrapper I_dig_scan_wrapper (
                  );
Example:  gen_scan_wrapper ../rtl_v/digital_top.v
****************************************

 

**********************************************************
*************************** CHECK NETLIST  ***************
**********************************************************
********** check_inst **********
script  :  check_inst.csh
action  :  This program will verify portlists of rtl and top files
          and generates the report to the standard output. 
Example:  check_inst -rtl <rtl_file> -top <top_file>
****************************************** 
********** check_ports_top_vs_rtl ********
script  :  check_ports_top_vs_rtl.csh
action  :   
Example:  check_ports_top_vs_rtl
****************************************
********** compare_ports_cds **********
script  :  compare_ports_cds.csh
action  : This program will verify portlists of <FILE1> and cds functional files
           and generates the report to the standard output.
Example:  compare_ports_cds.pl -rtl <rtl_file>
********************************** 
********** compare_ports *********
script  :  compare_ports.csh
action  : This program will verify portlists of <FILE1> and <FILE2> files
          and generates the report to the standard output.  
Example:  compare_ports.pl -rtl <rtl_file> -stub <stub_file>
          compare_ports.pl -rtl <rtl_file> -cds  <cds_file>
          compare_ports.pl -new <new_file> -prev <prev_file>

*************************************
********* run simulation ************
*************************************
********** simv **********
script  :  simvision
action  :  run simvision 
****************************                               
********** frunsim **********
script  :  simvision
action  :  runsimvision 
****************************        
********** srunsim **********
script  :  simvision
action  :  runsimvision 
****************************        
********** runsim **********
script  :  simvision
action  :  runsimvision 
****************************        
********** grunsim **********
script  :
action  :  laucher for simvision
****************************        
                                    
***********************************
*********  SOS command ************
***********************************
********** checkout **********
script  :  soscmd co
action  :  check out all element in digital database   
**************************** 
********** checkin **********
script  :  soscmd ci
action  :  check in all element in digital database   
****************************  
********** sco **********
script  :  soscmd
action  :  soscmd co 
****************************
********** sci **********
script  :  soscmd
action  : soscmd ci -D -aLog=""   
**************************** 
********** scu **********
script  :  soscmd
action  : soscmd update  
**************************** 

