Prototype: Class browser and Data browser

Background

This packages includes a Class Browser and a Data Browser in Specview.
The Class Browser allows you to inspect e structs and units.
The Data Browser allows you to inspect various e expressions.
 

Help

Click here to get  graphical help regarding the applications.
 

Installation

1. Open the zipped file 'jb.zip' in one of your working directories <work-dir> .

     % cp jb.zip <work-dir>
     % cd <work-dir>
     % unzip jb.zip

   This will create a directory called 'jb' under <work-dir>

2. There is one file in the original Specman installation
   that you will need to replace:  $SPECMAN_HOME/bin/sn_jspecview.sh
   Backup this file, then replace it by copying the file jb/bin/sn_jspecview.sh
   into $SPECMAN_HOME/bin

     % cp $SPECMAN_HOME/bin/sn_jspecview.sh $SPECMAN_HOME/bin/sn_jspecview.sh.old
     % cd <work-dir>
     % cp jb/bin/sn_jspecview.sh $SPECMAN_HOME/bin

   This completes the installation process
 
 
 

Usage

(Click here to get  graphical help regarding the applications.)

To use the browsers, do the following instructions:

1. setenv SN_JBROWSERS_HOME <work-dir>/jb

2. source $SN_JBROWSERS_HOME/jb_cshrc

3. Create an esv file (called 'jb.esv' or any other name) using the following command:
        % specman -c "@$SN_JBROWSERS_HOME/e/load_all ; save jb"
 
     Note: If you are using an executable with a different name, simply use the other executable as:
       % my_executable   -c "@$SN_JBROWSERS_HOME/e/load_all ; save jb"
 
4. Run Specview (either standalone or with simulator), and
   when you get the prompt restore the esv file using:

       restore  jb.esv

   Note:  You can use -p to do the restore:
           specview -p "restore  jb.esv"

5. To open the Data Browser, use command:

     show data <expression>

   Examples:

     show data sys
     show data sys.packets[4]

6. To open the Class Browser, use command:

     show class <struct-name>

   Examples:

     show class packet
     show class atm