From 4acd900c4602db0353d11bf6841ddadfd80c57b8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 5 Oct 2023 00:36:37 -0600 Subject: Makefile, tb: add support for cocotb --- rtl/top/smp_sim.sv | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 rtl/top/smp_sim.sv (limited to 'rtl/top/smp_sim.sv') 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 -- cgit v1.2.3