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.

Bad habit in Verilog HDL

Status
Not open for further replies.

cafukarfoo

Full Member level 3
Full Member level 3
Joined
Jul 25, 2007
Messages
170
Helped
8
Reputation
16
Reaction score
5
Trophy points
1,298
Activity points
2,510
Hello All,

Can you guys share some of the bad habit when we code in Verilog HDL in order to avoid bad timing during synthesis?

Thanks.
 

gliss

Advanced Member level 2
Advanced Member level 2
Joined
Apr 22, 2005
Messages
691
Helped
75
Reputation
150
Reaction score
16
Trophy points
1,298
Activity points
5,892
One general tip is to use a linting tool to catch bad styles, poor constructs and other mistakes.
 

cafukarfoo

Full Member level 3
Full Member level 3
Joined
Jul 25, 2007
Messages
170
Helped
8
Reputation
16
Reaction score
5
Trophy points
1,298
Activity points
2,510
What is linting tool mean? Any example?
 

vlsichipdesigner

Full Member level 2
Full Member level 2
Joined
May 9, 2007
Messages
134
Helped
17
Reputation
34
Reaction score
9
Trophy points
1,298
Location
India
Activity points
2,367

    cafukarfoo

    Points: 2
    Helpful Answer Positive Rating

barkha

Advanced Member level 4
Full Member level 1
Joined
Aug 8, 2005
Messages
114
Helped
21
Reputation
42
Reaction score
10
Trophy points
1,298
Location
India
Activity points
2,576
Link is good -

csg.csail.mit.edu/6.375/papers/cummings-nonblocking-snug99.pdf
eesun.free.fr/DOC/VERILOG/synvlg.html
 

    cafukarfoo

    Points: 2
    Helpful Answer Positive Rating

sp

Full Member level 6
Full Member level 6
Joined
Jan 1, 2004
Messages
395
Helped
23
Reputation
46
Reaction score
2
Trophy points
1,298
Location
Floating Garden
Activity points
4,044
this morning i face some hard-to-read verilog... i think it's bad habbits.... just MHO

doing muxing in modelling... the modelling guy do this...

assign out = sel1 ? (sel2 ? b1 : (sel3 ? (sel4 ? d1 : (sel5 ? e1 : e2)) : c2) ) : a2

arghhh... when i try to visualize and debug the design... it really make me crazy....

:D really....
 

ubna

Advanced Member level 4
Full Member level 1
Joined
Jul 25, 2007
Messages
112
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
India
Activity points
1,819
Messing up with reg and wire in the declaration is a huge head ache...
 

khplnarayana

Newbie level 6
Newbie level 6
Joined
Jun 25, 2004
Messages
12
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
77
SpyGlass is one of the best tool to catch bad verilog/vhdl coding styles.

It runs pretty fast compared to traditional implementation tools.

Regards,
Narayana
 

lubee

Junior Member level 2
Junior Member level 2
Joined
Oct 4, 2007
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,398
the linting tools:synopsys leda and novas Nlint
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top