Skip to content

AWB example browse command line

Kermin E Fleming edited this page Feb 15, 2015 · 2 revisions

AWB example browse command line

In this example, we will use the use ordinary shell commands to browse the build tree for the example created using either the command line or GUI.

Get into the appropriate workspace

As always, you need to get into the appropriate AWB workspace, e.g., in the directory with an command line file. The appropriate design must have been configured in this workspace, such as was demonstrated in the AWB example build command line and GUI-based examples. In our example you cd to the workspace as follows:

% cd ~/workspaces/demo

Browsing the build tree

As described in the AWB workspace description the build/ directory contains the standard build a tree tree for each design that has been configured for build. In that build tree one can find the scons scripts needed to do the build and all the source files, which are links into the source module pools found in the checked out in the src/ directory or globally installed modules from /share/asim/*/HEAD, e.g., /usr/share/asim/leap/HEAD.

To cd to this build area you can type the following:

% cd build/default/hello_hybrid_exe/pm

Descriptions of the sub-directories here are TBD.

Examining the source files for the modules that comprise a design can be done by browsing this directory tree. Browsing the source files that comprise a specific module of the design is most conveniently down using the GUI.

Clone this wiki locally