About Script

Directory script contains two scripts.

  • runListUpdate:

    a script-based update list

  • runListcheck:

    a script-based check list

Update Script

  • Function

    1. update auto-generated codes like calc_knl_reg.v

    2. convert files from DOS format to UNIX format

    3. delete trailing blanks

    4. collect markers like TODO, NOTE, ??? or !!!

    5. collect file status (draft, phase ??? or something alike)

    6. remove empty directory

  • Pre-Request

    none

  • Content

    item

    description

    postscript

    runListUpdate.sh

    3.8.10

    dump

    directory for collected informations

    generated by command ./runListUpdate.sh

  • Usage

    In the WSL environment, change the directory to script,
    then you can
    1. complete the above functions with

      ./runListUpdate.sh
      

      then you will get

      ../_images/runListUpdate_0.png

      ../_images/runListUpdate_1.png

Check Script

  • Function

    1. check format of file header

    2. check include of define*.vh and undef*.vh

    3. check formats of module declarations

    4. check extra comma

    5. check parameter, input, output, reg, and wire declarations

    6. check assignment

    7. check bit operation

    8. check expression in square bracket

    9. check digital prefix

    10. check unreferenced variable

  • Pre-Request

    item

    my version

    Perl

    v5.30.0

  • Content

    item

    description

    postscript

    runListCheck.sh

    3.8.10

    dump

    directory for collected informations

    generated by command ./runListCheck.sh

  • Usage

    In the WSL environment, change the directory to script,
    then you can
    1. complete the above functions with

      ./runListCheck.sh
      

      then you will get

      ../_images/runListCheck_0.png

      ../_images/runListCheck_1.png