Tool suite for DRRA-2 hardware accelerator platform.
- vs-testcase: Test case infrastructure and build-in test cases for DRRA-2
- vs-component: Assemble the components of vesyla,
it requires you to specify the location of DRRA libary as enviroment variable
VESYLA_SUITE_PATH_COMPONENTS
. Check the repo drra-components. - vs-compile: Compiler for DRRA-2 instruction set architecture (ISA). It compiles the proto-assembly code (.pasm) into binary code. The compiler uses the minizinc solver.
-
Install dependencies
sh ./scripts/install_dependencies.sh
-
Build Vesyla
make
-
Install Vesyla
sudo make install
- minizinc
- drra-components: v2.6.0 or later
Usage: vesyla [command and options]
Commands:
compile Compile the source code
component Assemble the system
testcase Test the system
Options:
-h, --help Show this help message
-V, --version Show version information
Usage: vs-testcase <COMMAND>
Commands:
init Initialize testcase directory
run Run testcase
generate Generate testcase scripts
export Export testcase
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Usage: vs-component <COMMAND>
Commands:
assemble Assemble the system
validate_json Validate JSON file
clean Clean the build directory
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Usage: vs-compile --arch FILE --isa FILE --pasm FILE [--output DIR]
Or
vs-compile --arch FILE --isa FILE --cpp FILE [--output DIR]
Vesyla also compile a MLIR LSP server for PASM (Proto-Assembly) files. It is located
in build/bin/pasm-mlir-lsp-server
. You can use it with the MLIR plugin for VSCode or
any other editor that supports LSP. To set it up in VSCode, you can use the MLIR
extension and configure the server path in the settings:
{
"settings": {
"mlir.server_path": "build/bin/pasm-mlir-lsp-server"
}
}