electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

folding Verilog("begin"-"end") code in G


Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> folding Verilog("begin"-"end") code in G
Author Message
davyzhu



Joined: 23 May 2004
Posts: 521
Helped: 3
Location: oriental


Post14 Sep 2006 15:28   

folding Verilog("begin"-"end") code in G


Hi all,

I want to folding Verilog code in GVIM.

The Verilog code clause is "begin"-"end" pair. Is there any tutorial talk about how to use the folding in GVIM? And does GVIM support "begin"-"end" pair folding? Thanks!

BTW, my GVIM version is 6.2.

Best regards,
Davy
Back to top
Google
AdSense
Google Adsense




Post14 Sep 2006 15:28   

Ads




Back to top
Harmasha



Joined: 03 Jan 2006
Posts: 72
Helped: 4


Post15 Sep 2006 17:33   

Re: folding Verilog("begin"-"end") code


Hi,
can you lcarify what is folding?

(Assuming that it is opening a begin and correctly closing it with a corresponding end, then
The gvim checks only paranthesis folding.
You need to develop a coding ethic of your own to check this out.
One way is intending.
begin
xxxx
xxxx
if (xxx)
begin
yyyy
yyyy
end
else
begin
zzz
zzz
end
xxxx
xxxx
end

Hope I cleared you.)
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Electronic Elementary Questions -> folding Verilog("begin"-"end") code in G
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
What do "ECL", "CML", "LVDS", (6)
Best way to go from VHDL to "System Verilog"/" (3)
how can measure "power"and "SWR" for ant (4)
wanted """""waveguide E-plane filte (2)
Illegal via ("tsmc18rf" "M1_POLY1" " (1)
P&R with only "LEF" file and NO "LIB" (4)
What is different for "UGBW" and "GBW" ? (1)
What is "soft start" and "dead time" of (5)
Is the mean "Class AB" & "Push pull" (6)
where the termiinal "DN" and "SUB" conne (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS