Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12748 Discussions

The problem of component editor

Altera_Forum
Honored Contributor II
1,271 Views

hello! 

I meet a trouble when I learn how to edit a new component.I add a new component "pwm_motor" to the SOPC builder,but the output port pwm_out's signal type should be export.but it isn't in there.there are only 

 

"address","begintransfer","begintransfer_n","beginbursttransfer" 

,"beginbursttransfer_n","burstcount","byteenable","byteenable_n","chipselcet" 

,"chipselect_n"."dataavailable";"dataavailable_n","endofpacket","endofpacket_n" 

,"read","read_n","readdata","readdatavalid","readdatavalid_n","readyfordata", 

"readyfordata_n","resetrequest","resetrequest_n","waitrequest","waitrequest_n", 

"write","write_n","writebyteenable","writebyteenable_n","writedata". 

which one should I select? 

http://b31.photo.store.qq.com/http_imgload.cgi?/rurl4_b=b579f8b54f494fc69149a5de70a1aee9525a8dc0aec6f071086ad0511d279b76f26650015bc8c651abb687fb654ccfbb40811e89d5f379235989468c50032e460666793ce3f7be14837640b350b3307df29742f3&a=32&b=31  

 

please help me! 

thanks in advance!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
556 Views

Hello, 

 

The signals you quoted are for an Avalon Memory Mapped Slave. In the component editor, under the "interfaces" tab, add click on "Add Interface", and for this interface select the type "Conduit". 

Now in the "Signals" tab, you add a signal, on column "Interface" select the conduit, and now in signal type you will find "export". 

 

Jérôme
0 Kudos
Altera_Forum
Honored Contributor II
556 Views

I make it,thank you for your seggestion. 

could you give me some data of the "interfac" and "signal type",I don't understand them. 

thanks.
0 Kudos
Altera_Forum
Honored Contributor II
556 Views

Hello, 

 

I don't understant really what you expect. Join, I put an example of a component with a clock input interface, an avalon MM slave, and a conduit. There are the interface tab and the signals tab. 

If you want details about the interface and signals, cf the avalon interface specification which explain the role of each one (http://www.altera.com/literature/manual/mnl_avalon_spec.pdf) (http://www.altera.com/literature/manual/mnl_avalon_spec.pdf%29).
0 Kudos
Altera_Forum
Honored Contributor II
556 Views

I get it,thank you so much!

0 Kudos
Reply