Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Advice on configuring vim & syntastic for vhdl

Status
Not open for further replies.

wtr

Full Member level 5
Joined
May 1, 2014
Messages
299
Helped
29
Reputation
58
Reaction score
25
Trophy points
1,308
Activity points
4,108
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
Code:
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]
1
clkdiv : entity Work.ClockDivisor Port Map (4, clk, int_clk);


The syntasticcheck gives me this error
Code:
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.

Regards,
Wes
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top