Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by bkucera+feb 9 2006, 07:08 am--><div class='quotetop'>quote (bkucera @ feb 9 2006, 07:08 am)</div>
--- quote start ---
<!--quotebegin-cameral@Feb 7 2006, 09:07 PM i fount that there is no hal and ucosii folder in the path of \altera\kits\nios2\components\altera_avalon_cs8900.then how can i use cs8900a in niosii?
if i have to write the hal drive ,is there existing example that i can copy or imitate?
thanks to all!
http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/blink.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=12620)
--- quote end ---
--- Quote End --- As far as I know there's no Nios II implementation of the CS8900 driver. To make it work you would: 1) Copy the LAN91C111 component folder and rename as necessary to make the SOPC builder see it as a new CS8900 component. 2) Modify the LAN91C111 driver to work with the CS8900. 3) Figure out which lines from your new CS8900 component go to which pins on the daughtercard. Not a simple task... Edit: by the way, cross-posting a topic to different forums is frowned upon. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=12647)</div> [/b] --- Quote End --- Thanks for the answer of bkucera.It seems that I have to write HAL myself. But there are many differences between cs8900 and lan91c11,so it is hard to say whether i can work it out. Is there verilog or vhdl code of cs8900 so i can build a new component in SOPCbuilder?