summaryrefslogtreecommitdiff
path: root/rtl/top/smp_sim.sv
diff options
context:
space:
mode:
Diffstat (limited to 'rtl/top/smp_sim.sv')
-rw-r--r--rtl/top/smp_sim.sv35
1 files changed, 35 insertions, 0 deletions
diff --git a/rtl/top/smp_sim.sv b/rtl/top/smp_sim.sv
new file mode 100644
index 0000000..137021c
--- /dev/null
+++ b/rtl/top/smp_sim.sv
@@ -0,0 +1,35 @@
+module smp_sim
+(
+ input logic clk,
+ rst_n,
+
+ input logic avl_read,
+ avl_write,
+ input logic[31:0] avl_writedata,
+ output logic[31:0] avl_readdata,
+
+ input logic cpu_halted_0,
+ cpu_halted_1,
+ cpu_halted_2,
+ cpu_halted_3,
+ input logic breakpoint_0,
+ breakpoint_1,
+ breakpoint_2,
+ breakpoint_3,
+
+ output logic halt_0,
+ halt_1,
+ halt_2,
+ halt_3,
+ step_0,
+ step_1,
+ step_2,
+ step_3
+);
+
+ smp_ctrl dut
+ (
+ .*
+ );
+
+endmodule