{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "vcom build", "type": "shell", "command": "vcom", "args": [ "${file}", // Use design library 'work' "-work", "work", // Use the 2008 version of VHDL "-2008" ], "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "panel": "shared" }, "runOptions": { "runOn": "default" } }, { "label": "vsim simulate waveform", "type": "shell", "command": "vsim", "args": [ // No GUI // "-c", // Simulation steps "-do", "\"add wave sim:/${fileBasenameNoExtension}/*; run -all\"", // Use design library 'work' "work.${fileBasenameNoExtension}" ], "group": { "kind": "test", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "panel": "shared" }, "runOptions": { "runOn": "default" }, // Recompile before running test "dependsOn": [ "vcom build" ] } ] }