Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

help nios II

how can i do it in eclipse?

this is the project i want to accomplish. i have a 4x3 keypad that will serve as a source for my password that will display in the lcd then when the password is correct the solenoid will open or close but if the password is wrong the buzzer will buzz. the solenoid and buzzer are connected to gpio and the keypad also is connected to gpio.

can you give me a pattern or something i can use to finish this project. thank you.

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    "Hello world" is the simplest example I can think of. If you look at its main(), there is only 1 line of code. You don't even need to understand what it means for the moment.

    The idea is to make sure you understand the whole process and verify the correctness of system generated and compiled. I don't see the point with other example if you do not know how to compile and load into NIOS in eclipse. The compilation and loading process are the same. How would other example help?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    sir because i'm not that good in programming and the examples hello world doesn't use multiple inputs and outputs

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    So, did you manage to get hello world compiled and working?

    After that, attach what you have modified in the C source code. Does not matter if it does not compile or working. We can work from there.