vhdlxilinxvivadosyntax-checking

How to syntax check VHDL in Vivado without complete synthesis


What's the simplest way to syntax-check my VHDL in Vivado without running through a full synthesis?

Sometimes I code many inter-related modules at once, and would like to quickly find naming errors, missing semi-colons, port omissions, etc. The advice I've read is to run synthesis, but that takes longer than I need for just a syntax check. I've observed that syntax errors will usually cause synthesis to abort within the first minute or so, so my workaround is to run synthesis and abort it manually after about a minute.


Solution

  • In the Vivado Tcl Console window, the check_syntax command performs a fast syntax check, catches typos, missing semi-colons, etc.