Forum Discussion

Aswinkrishnan's avatar
Aswinkrishnan
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

Platform designer Avalon Communication

Hi

I am trying to generate a simple system which consists of an Avalon MM master BFM and an Avalon memory mapped slave. My avalon slave consists of two components, having an interface to the other component. When I try to generate HDL,

1. It doesn't create ports for avalon communication. Thus, how can I control the communication?

2. Are there any testbench examples to simulate the process between master and the slave, to learn about the testing procedure?

6 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    1) Not sure what you mean here. "Doesn't create ports"? If you're creating a custom component (using Component Editor I presume) you create the ports and specify their function on the Signals & Interfaces tab. Maybe more detail is needed here.

    2) From the Generate menu, you should choose to generate a testbench system design for your custom component. This will automatically configure and attach an appropriate BFM to it and create the simulation scripts you would use, but you have to write the testbench using the BFM API to control the commands sent (and monitor the responses back). This training is a little old, but it covers the basics: https://cdrdv2.intel.com/v1/dl/getContent/653122?explicitVersion=true

    • Aswinkrishnan's avatar
      Aswinkrishnan
      Icon for Occasional Contributor rankOccasional Contributor

      My master has the clock and reset as input ports. The output ports should be avalon slave address and etc. But the AVS ports are not visible in the ports of the HDL generated.

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    Again it's still not clear what you are referring to. Did you use the Component Editor to create a custom component and you are saying that when you add the component to a system, you are not seeing the interfaces you defined? Maybe screenshots or more detail needed.

  • ShengN_altera's avatar
    ShengN_altera
    Icon for Super Contributor rankSuper Contributor

    Hi,

    In Platform Designer, you'll able to see the output signals of Avalon Memory Mapped Slave BFM after show signals. After HDL generation, those ports also available in the .v file check the images below.

    Best regards,

    Sheng

    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer.

  • Aswinkrishnan's avatar
    Aswinkrishnan
    Icon for Occasional Contributor rankOccasional Contributor

    Avalon Master has these Avalon ports as output. The Avalon slave has an Avalon slave port as input. When we generate HDL for the entire system, in the port declaration of the entity, Avalon ports can't be seen.

    In platform designer, component, show signals, Avalon signals can be seen though.

    I will look into this more.