Help me choose proper coding technique

Status
Not open for further replies.

ramz

Junior Member level 2
Joined
May 19, 2007
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,410
Re: coding tech..

could any one suggest me the proper coding tech..
which tech to use.... beh or struc or data flow..
and wen touse

Added after 2 minutes:

i feel behavior is better..
but problem is unable to guess the expected hardware.
plz suggest me the solutin
 

Re: coding tech..

to use struc coding technique, first u should do build some user defined primitives,its not possible for big programmes.

in data flow, u cant use sequential type of instructions,

hence its always good to use behavorial

behavorial+dataflow=RTL coding

this is very popular rite now. plz correct me if i am wrong

thanks and regards
deepak
 

    ramz

    Points: 2
    Helpful Answer Positive Rating
Re: coding tech..

Hi ramz,

If u r writing a verilog code for synthesis, u must always have this thinking:

1) Think RTL
++ The functionality between registers

2) Think hardware
++ Think of topology implied by code
++ Do NOT write HDL models (behavioral)

3) Think synchronous

We normally use behavioral coding to describe the behavior of a black box circuit. The black box circuit can be any circuit (analog, digital or mixed signal)

While structure coding is use to describe the component in a design with interconnects between them. Example, a netlist circuit.

U can get better understanding by reading some verilog coding books. U can find it in E-book section.

Hope it helps and enjoy reading!
 

    ramz

    Points: 2
    Helpful Answer Positive Rating
coding tech..

I like here, i like all guy. All people is so generous~~
 

    ramz

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…