From 1fa773c67a3d517d3f2e84926fafd7e9cce59651 Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Sun, 5 Dec 2021 02:16:54 +0000 Subject: [PATCH] Minimal RV32IMA + debug that fits on iCEBreaker. Not sure why area has regressed so much recently. --- example_soc/fpga/fpga_icebreaker.v | 7 +++++-- example_soc/soc/example_soc.v | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/example_soc/fpga/fpga_icebreaker.v b/example_soc/fpga/fpga_icebreaker.v index 5c23f5e..200dff9 100644 --- a/example_soc/fpga/fpga_icebreaker.v +++ b/example_soc/fpga/fpga_icebreaker.v @@ -74,13 +74,16 @@ activity_led #( ); example_soc #( - .MUL_FAST (1), + .EXTENSION_A (0), .EXTENSION_C (0), + .EXTENSION_M (1), + .MUL_FAST (0), + .MULH_FAST (0), .EXTENSION_ZBA (0), .EXTENSION_ZBB (0), .EXTENSION_ZBC (0), .EXTENSION_ZBS (0), - .CSR_COUNTER (1) + .CSR_COUNTER (0) ) soc_u ( .clk (clk_sys), .rst_n (rst_n_sys), diff --git a/example_soc/soc/example_soc.v b/example_soc/soc/example_soc.v index de5e5fd..e1c339b 100644 --- a/example_soc/soc/example_soc.v +++ b/example_soc/soc/example_soc.v @@ -241,6 +241,7 @@ hazard3_cpu_1port #( .NUM_IRQ (1), // Can be overridden from the defaults in hazard3_config.vh during // instantiation of example_soc(): + .EXTENSION_A (EXTENSION_A), .EXTENSION_C (EXTENSION_C), .EXTENSION_M (EXTENSION_M), .EXTENSION_ZBA (EXTENSION_ZBA),