From: Benjamin Herrenschmidt Date: Wed, 10 Jun 2020 07:58:27 +0000 (+1000) Subject: litedram: Improve dram_tb error output X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7192ee825ff663503d892b8a08e62e1c3fbedb01;p=microwatt.git litedram: Improve dram_tb error output Signed-off-by: Benjamin Herrenschmidt --- diff --git a/dram_tb.vhdl b/dram_tb.vhdl index d08544c..f368e2f 100644 --- a/dram_tb.vhdl +++ b/dram_tb.vhdl @@ -236,14 +236,14 @@ begin wb_read(a); wait_acks(1); read_data(d); - assert d = x"0123456789abcdef" report "bad data" severity failure; + assert d = x"0123456789abcdef" report "bad data, got " & to_hstring(d) severity failure; report "Simple read hit..."; clr_acks; wb_read(a); wait_acks(1); read_data(d); - assert d = x"0123456789abcdef" report "bad data" severity failure; + assert d = x"0123456789abcdef" report "bad data, got " & to_hstring(d) severity failure; report "Back to back 4 stores 4 reads on hit..."; clr_acks;