Forum Discussion

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

avalon interface

hi,

I designed a component and i need to interface it with Avalon Bus.

one part of signal designed to comunicate with avalon interface and others to communicate with others logic.

my question is:

is it possible to declare all signals in top level file of my new component.

in SOPC builder, I chosen signals that i needed to communicate with avalon Bus and I assign the rest of signals to EXPORT.??

can someone help me ?

thks for all

2 Replies

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

    Correct.

    Declare all of your ports in the top level then in SOPC Builder select which ports are avalon signals and which "export" to the outside world.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    if you name your signals according to an altera doc like

    gls_clk for the clock

    gls_reset for reset

    avs_slave_chipselect

    avs_slave_address

    avs_slave_read

    avs_slave_readdata

    avs_slave_export_nCS

    then sopc builder automatically recognize the signals correctly and assigns them to the interface, so no need to do that by hand.

    there is an altera doc available that explains the syntax