Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

help me Verilog problem

I have just study verilog HDL so I found some difficult about it. Can you help me this problem.

Tye Net Wand and Wor, I read some books say that they synthesize to AND and OR logic gate, others say they insert AND/OR gate at connection. But Wand and Wor when the drivers have differrent strength it's not same AND or OR logic

Example:

wand z;

buff(pull1,weak0)(z,a);

buff(pull1,weak0)(z,b);

when a=1, b=0 the result as 1;

Help me, Thanks very much!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Instead of rescheduling a copy of your previous post,you should try to phrase a clearer question.

    wand is a standard Verilog language element, but what is buff?

    As a general point, drive strength like weak0 is ignored in synthesis. Refer to the Quartus Verilog HDL support information.