diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-10-06 16:41:15 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-10-06 16:41:15 -0600 |
| commit | f786c0f2f6f00cab2203de4a672801ca9c179415 (patch) | |
| tree | 2de9f66c47d983ca2a413058416d3180153b89cd /rtl/top/test_smp.sv | |
| parent | 95770fcd6224b54666ec14480bcbebb6e39a7b5f (diff) | |
tb: rename smp_sim to test_smp
Diffstat (limited to 'rtl/top/test_smp.sv')
| -rw-r--r-- | rtl/top/test_smp.sv | 36 |
1 files changed, 36 insertions, 0 deletions
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 |
