Forum Discussion
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by badomen@Dec 7 2004, 10:54 AM to put that a bit simplier.
1) add a component in sopc builder called "interface to user logic".
2) study the signals in that interface under the timing (and set your timing up)
3) design your custom hardware in vhdl, verilog, block diagrams, etc... (with the proper pin names if you allow sopc builder to connect them automatically, otherwise they will become input/outputs to your sopc builder system).
4) connect your hardware (if not done already)
5) access your hardware using pointers (with nios i declare your pointers with volatile and use them normally, in nios ii declare your pointers volatile and use the cache bypassing functions (otherwise you'll probably cause cause hits instead of accessing your hardware).
sorry for not going into more detail but i have to run.
good-luck --- Quote End --- Thank u very much ! i have to read more materials about NIOS! will you give me a simple example about it ? thans u again!