Forum Discussion

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

Purpose of WIRE buffer in BDF

What is the purpose of the "WIRE" buffer in BDF schematics ?

The reason for asking is related to the Verilog "WIRE", which I understand to be analogous to a VHDL "SIGNAL" (I don't know Verilog).

A previous thread explained "WIRE" to be ~ "a way to connect things", but in BDF you have the graphical wiring tool.

So, if coding BDF, when and why sould the "WIRE" buffer be used ?

In the schematics below, is there a difference between "circuit1" and "circuit2" ?

in1 ----|>----- out1 // circuit 1 - "|>" is a WIRE-buffer

in2 ------------ out2 // circuit 2

3 Replies

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

    Hi,

    --- Quote Start ---

    In the schematics below, is there a difference between "circuit1" and "circuit2" ?

    in1 ----|>----- out1 // circuit 1 - "|>" is a WIRE-buffer

    in2 ------------ out2 // circuit 2

    --- Quote End ---

    There will be no difference.

    --- Quote Start ---

    So, if coding BDF, when and why sould the "WIRE" buffer be used ?

    --- Quote End ---

    For example when changing names.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Both serve the same purpose. But the Wire buffer has a buffer in between. This can be used to insert delays in the line and also to improve the drive strength / fan-out of such signals.

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

    --- Quote Start ---

    Both serve the same purpose. But the Wire buffer has a buffer in between. This can be used to insert delays in the line and also to improve the drive strength / fan-out of such signals.

    --- Quote End ---

    It wouldnt do this by default - duplicate logic is usually optimised away, unless specified max fan outs are reached, or attributes/assignments are made. Maybe in old compilers in old technologies would this have been possible without using attributes or assignments.

    The wire primitive in BDF doesnt have much more use than a signal re-naming block.