I'm new to Vivado and CMOD. I created a very simple program and downloaded it to the board, but it didn't work properly.
In my source VHDL code, I take the two push buttons as the inputs, and send their values to the two LEDs. In addition to that, I set the three-color LEDs to constant values:
I created both .bit and .mcs files from the code. I used Vivado hardware manager to download to the FPGA/FLASH.
After I downloaded the .bit file to FPGA, the DONE and the BLUE LEDs were on. Pushing the buttons doesn't make any change to the LEDs.
After I downloaded the .mcs file to FLASH, the DONE LED was on after the first step and remained lit. No other LEDs were on. Pushing the buttons doesn't make any change to the LEDs. I power-cycled the board, and all the LEDs were off.
Can someone tell me what I could have done wrong? Thanks.
Question
gfellio
Hi,
I'm new to Vivado and CMOD. I created a very simple program and downloaded it to the board, but it didn't work properly.
In my source VHDL code, I take the two push buttons as the inputs, and send their values to the two LEDs. In addition to that, I set the three-color LEDs to constant values:
------------------------------------------------------------------------------
process(clk)
begin
if (rising_edge(clk)) then
led <= button;
end if;
end process;
led_r_n <= '1';
led_g_n <= '0';
led_b_n <= '1';
------------------------------------------------------------------------------
I created both .bit and .mcs files from the code. I used Vivado hardware manager to download to the FPGA/FLASH.
After I downloaded the .bit file to FPGA, the DONE and the BLUE LEDs were on. Pushing the buttons doesn't make any change to the LEDs.
After I downloaded the .mcs file to FLASH, the DONE LED was on after the first step and remained lit. No other LEDs were on. Pushing the buttons doesn't make any change to the LEDs. I power-cycled the board, and all the LEDs were off.
Can someone tell me what I could have done wrong? Thanks.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.