Skip to content

Commit cd17720

Browse files
[rtl] dm_top alignment fixes
A few different type of alignment fixes: - Parameter assignments - Comments right of inputs and outputs - Parentheses for the signals of the dmi_jtag module
1 parent 21e84af commit cd17720

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

rtl/system/dm_top.sv

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@
1313
`include "prim_assert.sv"
1414

1515
module dm_top #(
16-
parameter int NrHarts = 1,
16+
parameter int NrHarts = 1,
1717
parameter logic [31:0] IdcodeValue = 32'h 0000_0001,
18-
parameter int BusWidth = 32
18+
parameter int BusWidth = 32
1919
) (
20-
input logic clk_i, // clock
21-
input logic rst_ni, // asynchronous reset active low, connect PoR
22-
// here, not the system reset
20+
input logic clk_i, // clock
21+
input logic rst_ni, // asynchronous reset active low, connect PoR
22+
// here, not the system reset
2323
input logic testmode_i,
24-
output logic ndmreset_o, // non-debug module reset
25-
output logic dmactive_o, // debug module is active
26-
output logic [NrHarts-1:0] debug_req_o, // async debug request
24+
output logic ndmreset_o, // non-debug module reset
25+
output logic dmactive_o, // debug module is active
26+
output logic [NrHarts-1:0] debug_req_o, // async debug request
2727
input logic [NrHarts-1:0] unavailable_i, // communicate whether the hart is unavailable
2828
// (e.g.: power down)
2929

30-
input logic cheri_en_i, // CHERIoT enabled?
30+
input logic cheri_en_i, // CHERIoT enabled?
3131

3232
// bus device with debug memory, for an execution based technique
3333
input logic device_req_i,
@@ -241,26 +241,26 @@ module dm_top #(
241241
dmi_jtag #(
242242
.IdcodeValue ( IdcodeValue )
243243
) dap (
244-
.clk_i (clk_i ),
245-
.rst_ni (rst_ni ),
246-
.testmode_i (testmode_i ),
244+
.clk_i ( clk_i ),
245+
.rst_ni ( rst_ni ),
246+
.testmode_i ( testmode_i ),
247247

248-
.dmi_rst_no (dmi_rst_n ),
249-
.dmi_req_o (dmi_req ),
250-
.dmi_req_valid_o (dmi_req_valid),
251-
.dmi_req_ready_i (dmi_req_ready),
248+
.dmi_rst_no ( dmi_rst_n ),
249+
.dmi_req_o ( dmi_req ),
250+
.dmi_req_valid_o ( dmi_req_valid ),
251+
.dmi_req_ready_i ( dmi_req_ready ),
252252

253-
.dmi_resp_i (dmi_rsp ),
254-
.dmi_resp_ready_o (dmi_rsp_ready),
255-
.dmi_resp_valid_i (dmi_rsp_valid),
253+
.dmi_resp_i ( dmi_rsp ),
254+
.dmi_resp_ready_o ( dmi_rsp_ready ),
255+
.dmi_resp_valid_i ( dmi_rsp_valid ),
256256

257257
//JTAG
258-
.tck_i,
259-
.tms_i,
260-
.trst_ni,
261-
.td_i,
262-
.td_o,
263-
.tdo_oe_o ()
258+
.tck_i ( tck_i ),
259+
.tms_i ( tms_i ),
260+
.trst_ni ( trst_ni ),
261+
.td_i ( td_i ),
262+
.td_o ( td_o ),
263+
.tdo_oe_o ( )
264264
);
265265

266266
endmodule

0 commit comments

Comments
 (0)