cpu/microwatt: update microwatt_wraper.vhdl
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 18 May 2020 14:38:08 +0000 (16:38 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 18 May 2020 14:38:08 +0000 (16:38 +0200)
litex/soc/cores/cpu/microwatt/microwatt_wrapper.vhdl

index 9ee82ececbbfcd5d60d02c05c4bd118083aeaaf4..4187ce4ae6315f2f6c4ea10df2ef07ea0db81107 100644 (file)
@@ -59,6 +59,8 @@ architecture rtl of microwatt_wrapper is
     signal wishbone_data_in  : wishbone_slave_out;
     signal wishbone_data_out : wishbone_master_out;
 
+    signal xics_in : XicsToExecute1Type;
+
 begin
 
     -- wishbone_insn mapping
@@ -85,6 +87,9 @@ begin
     wishbone_data_sel      <= wishbone_data_out.sel;
     wishbone_data_we       <= wishbone_data_out.we;
 
+    -- xics_in mapping
+    xics_in.irq <= '0';
+
     microwatt_core : entity work.core
         generic map (
             SIM             => SIM,
@@ -94,6 +99,8 @@ begin
             clk               => clk,
             rst               => rst,
 
+            alt_reset         => '0',
+
             wishbone_insn_in  => wishbone_insn_in,
             wishbone_insn_out => wishbone_insn_out,
 
@@ -107,6 +114,8 @@ begin
             dmi_wr            => dmi_wr,
             dmi_ack           => dmi_ack,
 
+            xics_in           => xics_in,
+
             terminated_out    => terminated_out
         );