From f786c0f2f6f00cab2203de4a672801ca9c179415 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 6 Oct 2023 16:41:15 -0600 Subject: tb: rename smp_sim to test_smp --- rtl/top/test_smp.sv | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 rtl/top/test_smp.sv (limited to 'rtl/top/test_smp.sv') diff --git a/rtl/top/test_smp.sv b/rtl/top/test_smp.sv new file mode 100644 index 0000000..df417c3 --- /dev/null +++ b/rtl/top/test_smp.sv @@ -0,0 +1,36 @@ +module test_smp +( + input logic clk, + rst_n, + + input logic avl_address, // No se usa, pero cocotb_bus lo requiere + 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