Forum Discussion
Altera_Forum
Honored Contributor
21 years agoSOPC Builder
ciao to everybody I'm trying to build a new system with cpu nios 2 , sdram ,tristate bridge and my user component I import my component vhdl file and i declare 2 port that in slave are ...
Altera_Forum
Honored Contributor
21 years agofor examples , i don't know when , but in the future i wish to create a user
custom component that read and write external digital I/O My component will have output pins (8 for databits , 4 for address bit ) and like as a parallel bus , it reads data from other electronics cards like as an data acquisitions system . I want to read 32 + 32 +32 +32 input and write 32 +32 +32 +32 +32 output digital I/O. In my component , i suppose i must to provide a multiplexer that read this data from external system , and after i want to "send" this data to the NIOS II processor The custom componet avalon bus said i can to use 4 word register . One of these registers is the address and the other one is data (read o write 32 bits) . In this case i must to declare in my system N component (Ndatabits /32 ) or i can to declare just one and work with register address in avalon bus? From documents i saw that every user component has 4 word 32 bits register , but i don't understand wich is the address , wich is writedata , wich is the chipselect (may be this one is automatically generate by Avalon bus) I'm reading fisher's examples and also pwm axamples from Altera I studied several tutor and manuals , but sorry http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif i never understand this concepts very well So i'm not sure to understand good It's very embarrassing situation , mine situation and i don't want to make noises to everybody . ciao walter