diff options
Diffstat (limited to 'zpu/hdl/zealot/fpga/hello_small1.vhdl')
-rw-r--r-- | zpu/hdl/zealot/fpga/hello_small1.vhdl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/zpu/hdl/zealot/fpga/hello_small1.vhdl b/zpu/hdl/zealot/fpga/hello_small1.vhdl index ccd87c5..a7e2c21 100644 --- a/zpu/hdl/zealot/fpga/hello_small1.vhdl +++ b/zpu/hdl/zealot/fpga/hello_small1.vhdl @@ -101,7 +101,11 @@ architecture FPGA of Hello_Small1 is break_o : out std_logic; -- Break executed dbg_o : out zpu_dbgo_t; -- Debug info rs232_tx_o : out std_logic; -- UART Tx - rs232_rx_i : in std_logic); -- UART Rx + rs232_rx_i : in std_logic; -- UART Rx + gpio_in : in std_logic_vector(31 downto 0); + gpio_out : out std_logic_vector(31 downto 0); + gpio_dir : out std_logic_vector(31 downto 0) -- 1 = in, 0 = out + ); end component ZPU_Small1; begin zpu : ZPU_Small1 @@ -111,6 +115,6 @@ begin BRAM_W => BRAM_W) port map( clk_i => clk_i, rst_i => rst_i, rs232_tx_o => rs232_tx_o, - rs232_rx_i => rs232_rx_i, dbg_o => open); + rs232_rx_i => rs232_rx_i, dbg_o => open, gpio_in => (others => '0')); end architecture FPGA; -- Entity: Hello_Small1 |