Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- Your tutorial is great:D --- Quote End --- Thanks! I'm glad you found it useful. --- Quote Start --- I've another question, how can i add to this tutorial a top file (without SOPC), where i implement my logic which would for ex copy data from button to led using fifo. I want to be able to define a FSM which I'll be able to debug in simulator. --- Quote End --- If you don't want that logic to interact with the Qsys/SOPC system, you just 'steal' the pins, eg., disconnect the buttons and LEDs from the Qsys connections, and run them to your circuit. However, you now have a JTAG connection to your FPGA that you can read and write registers with. There really is no point in using LEDs and push-buttons to do things, i.e., manual operation of the hardware. You can manually call a software procedure much easier, and then when you want to run the test 1k times, you won't get a sore finger or get bored :) Think about what you are really trying to achieve and see if a software approach will work better for you. Cheers, Dave