- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody !
I'm trying to use a new component with a nios II. For information, it is a simple counter which begin when chipselect = 1 and send interrupt when reaching 1000. I've written my VHDL code, created my component in SOPC Builder wich contains those signals : clk, rst_n, chipselect and irq. Now I want to use it with a C program. Does anybody know how to put chipselect on '1' ? Does exist any function for that ? I did'nt find anything about it either in the forum nor in the altera's documentation... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif Thanks for help http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif Mister Guigui http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gifLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
do you mean chipselect of the Avalon Interface? If this is the case, then the chipselect signal will automatically be set (by the Avalon Switch Fabric), if your hardware is addressed. As far as I know, is it not possible to control this signal by software directly; only as a side-effect in case you place the address of your component onto the Avalon Bus. Bye. --- Quote Start --- originally posted by misterguigui@Jul 3 2006, 04:05 AM hello everybody !
i'm trying to use a new component with a nios ii. for information, it is a simple counter which begin when chipselect = 1 and send interrupt when reaching 1000. i've written my vhdl code, created my component in sopc builder wich contains those signals : clk, rst_n, chipselect and irq.
now i want to use it with a c program. does anybody know how to put chipselect on '1' ? does exist any function for that ? i did'nt find anything about it either in the forum nor in the altera's documentation... http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/blink.gif
thanks for help http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/wink.gif
mister guigui http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/cool.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16624)
--- quote end ---
--- Quote End ---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your information. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif You're right. Today I found I can't acces chipselect directly by software. It seems to be managed automaticly by IO macros. Bye. Mister Guigui http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page