Contributor: | Amal Khailtash | |
Date: | December 4, 2008 | |
Description: | Vim Syntax highlighting for SystemVerilog and OVMA variant of "Extending Verilog syntax highlighting for SystemVerilog" http://www.vim.org/scripts/script.php?script_id=1586 Includes "anilraj" indentation Notes: -- Amal |
|
Download: | vim_ovm_0.zip |
Hi,
I see problems in indentation of verilog/systemverilog code in fork-join blocks.
Inner “begin-end” sub-blocks are not handled correctly.
“join” causes de-indent althogh “fork” behaves strangely… (comment indented, “begin” not).
always @(sig_in) begin
fork
// 1st begin-end looks almost OK
begin
something1();
end
// 2nd begin-end looks strange
begin
something2();
end
// 3rd begin-end ??
begin
something3();
end
join
end