-- for verilator debugging
nia_req: out std_ulogic;
nia: out std_ulogic_vector(63 downto 0);
+ msr_o: out std_ulogic_vector(63 downto 0);
insn: out std_ulogic_vector(31 downto 0)
);
end core;
-- snoop and report instruction being executed
nia <= icache_to_decode1.nia;
+ msr_o <= msr;
insn <= icache_to_decode1.insn;
nia_req <= icache_to_decode1.valid and fetch1_to_icache.sequential;
-- for verilator debugging
nia_req: out std_ulogic;
nia: out std_ulogic_vector(63 downto 0);
+ msr_o: out std_ulogic_vector(63 downto 0);
insn: out std_ulogic_vector(31 downto 0)
);
bram_sel => bram_sel,
nia_req => nia_req,
nia => nia,
+ msr_o => msr_o,
insn => insn
);
-- for verilator debugging
nia_req: out std_ulogic;
nia: out std_ulogic_vector(63 downto 0);
+ msr_o: out std_ulogic_vector(63 downto 0);
insn: out std_ulogic_vector(31 downto 0)
);
end entity soc;
terminated_out : out std_logic;
-- for verilator debugging
nia_req: out std_ulogic;
+ msr_o: out std_ulogic_vector(63 downto 0);
nia: out std_ulogic_vector(63 downto 0);
insn: out std_ulogic_vector(31 downto 0)
);
ext_irq => core_ext_irq,
nia_req => nia_req,
nia => nia,
+ msr_o => msr_o,
insn => insn
);
end generate;
ext_irq => core_ext_irq,
nia_req => nia_req,
nia => nia,
+ msr_o => msr_o,
insn => insn
);
end generate;
#ifdef BRAM_DEBUG
if (top->nia_req) {
- fprintf(dump, "pc %8x insn %8x\n", top->nia, top->insn);
+ fprintf(dump, "pc %8x insn %8x msr %16lx\n",
+ top->nia, top->insn, top->msr_o);
}
if (top->bram_we) {
fprintf(dump, " " \