DVT IDE for VS Code SystemVerilog User Guide
Rev. 23.1.12, 23 May 2023

31.1.2 dvt_code.sh Examples

Start VS Code / VSCodium in a folder

dvt_code.sh createProject /path/to/project -lang vlog

Start VS Code / VSCodium in a folder; import also some common library files in VS Code / VSCodium

dvt_code.sh createProject /path/to/project -lang vlog -map common $COMMON_LIB

Start VS Code / VSCodium in a folder and use an available (reachable and unused) Language Server if found

dvt_code.sh createProject /path/to/project -build rtl -lang vlog -use_available

Start VS Code / VSCodium and connect to an existing Language Server

dvt_code.sh connect '2022-02-02-03-04-05-123456789' # using the server's ID
dvt_code.sh connect '24234@host1'                   # using the server's control port @ host
dvt_code.sh connect 'rtl_project_1'                 # using the server's name