From: Paul Mackerras Date: Thu, 14 Sep 2023 23:29:51 +0000 (+1000) Subject: Merge pull request #404 from CodeConstruct:dev/gpio-interrupt X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7ccffe2a3d33a8ea52cebbc4ffa6e665a3b4943;p=microwatt.git Merge pull request #404 from CodeConstruct:dev/gpio-interrupt Interrupts for GPIO Signed-off-by: Paul Mackerras --- b7ccffe2a3d33a8ea52cebbc4ffa6e665a3b4943 diff --cc fpga/top-arty.vhdl index e1ebf60,5d42898..e64eba1 --- a/fpga/top-arty.vhdl +++ b/fpga/top-arty.vhdl @@@ -141,10 -149,13 +151,10 @@@ architecture behaviour of toplevel i -- for conversion from non-pipelined wishbone to pipelined signal wb_sddma_stb_sent : std_ulogic; - -- Control/status - signal core_alt_reset : std_ulogic; - -- Status LED - signal led0_b_pwm : std_ulogic; - signal led0_r_pwm : std_ulogic; - signal led0_g_pwm : std_ulogic; + signal led_b_pwm : std_ulogic_vector(3 downto 0); + signal led_r_pwm : std_ulogic_vector(3 downto 0); + signal led_g_pwm : std_ulogic_vector(3 downto 0); -- Dumb PWM for the LEDs, those RGB LEDs are too bright otherwise signal pwm_counter : std_ulogic_vector(8 downto 0); @@@ -331,9 -340,10 +341,9 @@@ begi pll_locked_out => system_clk_locked ); - led0_b_pwm <= '1'; - led0_r_pwm <= '1'; - led0_g_pwm <= '0'; + led_b_pwm <= "1111"; + led_r_pwm <= "1111"; + led_g_pwm <= "0000"; - core_alt_reset <= '0'; -- Vivado barfs on those differential signals if left -- unconnected. So instanciate a diff. buffer and feed