Installation
Installation is done through Rust's package manager cargo (cargo installation info). 1
cargo install sus_compiler
1
By default, the standard library is stored in the $XDG_DATA_HOME folder, but it can be overwritten with INSTALL_SUS_HOME=/path/to/sus_home/ cargo install sus_compiler.
Supported Editors
- VSCode: SUS Hardware Design Language (source: (sus-lsp))
- VIM: papeg/sus.vim. It supports vim and neovim and brings in syntax highlighting and lsp support. For vim it depends on prabirshrestha/vim-lsp. Install with your favorite plugin manager, like vim-plug:
call plug#begin()
if !has('nvim')
Plug 'prabirshrestha/vim-lsp'
endif
Plug 'papeg/sus.vim'
call plug#end()
Useful Libraries
Some libraries we maintain here at PC2 might be of use to you:
- sus-float: Xilinx floating point IP wrappers
- sus-xrt: AXI masters & slaves for working with XRT
- sus-xpm: SUS wrappers for Xilinx Parametrized Macros. (RAMs, FIFOs, etc)