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 ---