- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"hello_led" example worked fine, but when I tried to test a simple VHDL code without using SOPC and Nios II processor, it didn't work. The code simply try to toggle the LEDs by buttons or a counter
proc_1: process (clk, button, cnt) begin if rising_edge(CLK) then cnt <= cnt + 1; end if; user_led(2 downto 1) <= button(4 downto 3); user_led(10 downto 3) <= cnt(22 downto 15); I have checked pin assignments for buttons, leds and clk. I tried to down load the "sof" file using the USB cable and the "pof" file using a ByteBlaster cable. Downloads returned no error but the code won't run. What have I missed? Thanks for any suggestions.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a quick suggestion, don't know if it will help.
Go into the "Device & Pin Options..." window on the device selection page. Go to the "Unused Pins" tab and make sure the the "As inputs, tri-stated" option is selected. This may not be your problem, but I've seen it a few times in the past with symptoms similar to yours. Dennis Scott Microtronix Datacom Ltd.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is exactly the problem! I just called an Altera support engineer from Future Electronics, he told me that this is common problem for Altera Nios kits.
Thanks
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page