Skip to content
Kermin E Fleming edited this page Feb 15, 2015 · 1 revision

Awb file

An .awb file is a file that describes an awb module.

Awb file overview

%name Example module
%desc This is an example module
%provides system
%requires child1
%requires child2
%source -t foo -v PUBLIC system.cpp

Awb file directives

%name MODULENAME - %desc DESCRIPTIONPHRASE %provides ASIMMODULETYPE %requires ASIMMODULETYPE… %attributes ATTRIBUTE… %sources -t TYPE -v PRIVATE/PUBLIC FILENAME… %generated -t TYPE FILENAME… %makefile FILENAME… %scons FILENAME… %param [—dynamic] [—global] NAME DEFAULTDESCRIPTION” %param [—dynamic] [—global] NAMESTRING DEFAULT” “DESCRIPTION” %library FILENAME %syslibrary CPPARGS… %include DIRNAME

Supported File Types

%generated -t TYPE FILENAME

BA – allows linking of .ba files generated by BDPI, (synthesize), (inline)
V – allows the linking of .v files generated by Bluespec (synthesize) and (inline)

LEAP-specific directives

LEAP supports a number of directives that are specific to compilation for FPGAs. Chief among theses is the LEAP:SYNTH_BOUNDARY directive.