cva6_wrapper: Fix reset logic

Without this, reset was never being asserted which caused problems on
hardware (probably because the CPU started running while the rest of the
SoC had reset asserted...)

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2023-03-14 13:03:16 +01:00
parent a31df7616f
commit 3ae3d66c80

View file

@ -140,7 +140,7 @@ logic [1:0] irq;
assign test_en = 1'b0; assign test_en = 1'b0;
always @(posedge clk_i) always @(posedge clk_i)
ndmreset_n <= ~ndmreset || rst_n; ndmreset_n <= ~ndmreset && rst_n;
// --------------- // ---------------
// AXI Xbar // AXI Xbar