Hello all,

I've got vim/gvim. I've got plugin syntastic.

I have ghdl install on my computer & path mapped to my environment variables.

In my vimrc I have
set statusline+=%#warningmsg#
"set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_enable_signs = 1
let g:syntastic_vhdl_checkers = ['ghdl']
The problem I'm getting is as follows
VHDL code in file is
Code VHDL - [expand]
clkdiv : entity Work.ClockDivisor Port Map (4, clk, int_clk);
The syntasticcheck gives me this error
file.vhd|95 col 26 error| primary unit clockdevisor not found in library "work"
Now it makes sense, since how would ghdl know about external files. Is there a way I can link it up like how someone does ctags which span multiple files. OR can I suppress these types of errors?

Much appreciated, and if there isn't yet. I think it's worth creating an article how someone can create their own hdl IDE using opensource applications.