diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-09-30 00:07:20 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-09-30 01:20:48 -0600 |
| commit | d1b10aa380578b5af20081dd37f2d36ec111cbd2 (patch) | |
| tree | e28ea62a6d95514e0a89e4fa8dd88eb9f37b73c1 /rtl/smp | |
| parent | 1c9c08d72f32265501f1f14ad8a0d1e0b2b8850f (diff) | |
platform: implement SMP controller
Diffstat (limited to '')
| -rw-r--r-- | rtl/smp/pe.sv (renamed from rtl/mp/pe.sv) | 0 | ||||
| -rw-r--r-- | rtl/smp/smp_ctrl.sv (renamed from rtl/mp/mp_ctrl.sv) | 13 |
2 files changed, 12 insertions, 1 deletions
diff --git a/rtl/mp/pe.sv b/rtl/smp/pe.sv index f50ed2f..f50ed2f 100644 --- a/rtl/mp/pe.sv +++ b/rtl/smp/pe.sv diff --git a/rtl/mp/mp_ctrl.sv b/rtl/smp/smp_ctrl.sv index 362e450..b6123ad 100644 --- a/rtl/mp/mp_ctrl.sv +++ b/rtl/smp/smp_ctrl.sv @@ -1,4 +1,4 @@ -module mp_ctrl +module smp_ctrl ( input logic clk, rst_n, @@ -37,6 +37,17 @@ module mp_ctrl // No hay addresses assign write = avl_write; + mp_pe #(.IS_BSP(1)) pe_0 + ( + .step(step_0), + .halt(halt_0), + .cpu_halted(cpu_halted_0), + .breakpoint(breakpoint_0), + .readdata(readdata_0), + .writedata(writedata_0), + .* + ); + mp_pe pe_1 ( .step(step_1), |
