Forum Discussion

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

How to Export Signal in SPOC in v8.0

Hi all,

I'm using Quartus 8.0 with SPOC (Subscription version) to create a Custom Peripheral for my Nios System ... I've created the interface of my peripheral like this:

...

Entity CusP is

Port (

Avalon Slave signals such as clk, read, write, address ... etc

...

My own signal to get data from external ADC.

...

);

I created new Custom peripheral using the wizard, import the HDL files and map the signals accordingly. I want to export My custom signal to top-level ... How to do that??? In the instruction on the signal tab, it says "Set Signal Type to be "export"" to export the signal to top level. But I just couldn't type or select any "export" ...

Thanks ...

3 Replies

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

    In SOPC you can use the "Component Editor" to add your own compenents.

    Under the Tab "Signals" of the "Component Editor" you click "Add Signal" to add your own signals and define them as "export".

    in case you can not select "export" it is maybe because you did not click the "add signal" button.

    Under the Tab "Interfaces" of the "Component Editor" you have to specify the signals to be exported by their "Type:" as "Conduit".

    This will generate a module in SOPC that will create a top-level module of your SOPC architecture with the respective signal in the input/output list.

    Hope this helps!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    assuming you are using a standard bus signals (i.e. address, data, wr enable etc.) you can use avalon slave interface instead of creating a new interface.

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

    Yeah, got it ... thanks ... didn't choose the "conduit" thing. I imported HDL files therefore the ADD/Remove button on Signal Tab is disabled. Thanks !