Skip to content

Commit 145af2b

Browse files
committed
rtl: fix whitespace lint
1 parent 6a2f48a commit 145af2b

File tree

18 files changed

+74
-74
lines changed

18 files changed

+74
-74
lines changed

ihp13/tc_clk.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ module tc_clk_gating #(
8080
assign clk_o = clk_i;
8181
end
8282

83-
endmodule
83+
endmodule

ihp13/tc_sram_impl.sv

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ module tc_sram_impl #(
121121
// Generate desired cuts
122122
if (NumWords == 64 && DataWidth == 64 && P1L1) begin: gen_64x64xBx1
123123
logic [63:0] wdata64, rdata64, bm64;
124-
124+
125125
assign rdata_o = rdata64;
126126
assign wdata64 = wdata_i;
127127
assign bm64 = bm;
128-
128+
129129

130130
RM_IHPSG13_1P_64x64_c2_bm_bist i_cut (
131131
.A_CLK ( clk_i ),
@@ -142,7 +142,7 @@ module tc_sram_impl #(
142142

143143
end else if (NumWords == 256 & DataWidth == 64 & P1L1) begin : gen_256x64xBx1
144144
logic [63:0] wdata64, rdata64, bm64;
145-
145+
146146
assign rdata_o = rdata64;
147147
assign wdata64 = wdata_i;
148148
assign bm64 = bm;
@@ -162,7 +162,7 @@ module tc_sram_impl #(
162162

163163
end else if (NumWords == 512 & DataWidth == 64 & P1L1) begin : gen_512x64xBx1
164164
logic [63:0] wdata64, rdata64, bm64;
165-
165+
166166
assign rdata_o = rdata64;
167167
assign wdata64 = wdata_i;
168168
assign bm64 = bm;
@@ -182,7 +182,7 @@ module tc_sram_impl #(
182182

183183
end else if (NumWords == 1024 & DataWidth == 64 & P1L1) begin : gen_1024x64xBx1
184184
logic [63:0] wdata64, rdata64, bm64;
185-
185+
186186
assign rdata_o = rdata64;
187187
assign wdata64 = wdata_i;
188188
assign bm64 = bm;
@@ -202,7 +202,7 @@ module tc_sram_impl #(
202202

203203
end else if (NumWords == 2048 & DataWidth == 64 & P1L1) begin : gen_2048x64xBx1
204204
logic [63:0] wdata64, rdata64, bm64;
205-
205+
206206
assign rdata_o = rdata64;
207207
assign wdata64 = wdata_i;
208208
assign bm64 = bm;
@@ -346,7 +346,7 @@ module tc_sram_impl #(
346346

347347
end else if (NumWords == 2048 & DataWidth == 64 & P1L1) begin : gen_2048x64xBx1
348348
logic [63:0] wdata64, rdata64, bm64;
349-
349+
350350
assign rdata_o = rdata64;
351351
assign wdata64 = wdata_i;
352352
assign bm64 = bm;

rtl/bootrom/bootrom.sv

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
/// Trap handler dispatches to SRAM function pointer table at 0x1000_0000.
1818
/// Source: bootrom.S
1919
module bootrom #(
20-
/// The OBI configuration for all ports.
21-
parameter obi_pkg::obi_cfg_t ObiCfg = obi_pkg::ObiDefaultConfig,
22-
/// OBI request type
23-
parameter type obi_req_t = logic,
24-
/// OBI response type
25-
parameter type obi_rsp_t = logic
20+
/// The OBI configuration for all ports.
21+
parameter obi_pkg::obi_cfg_t ObiCfg = obi_pkg::ObiDefaultConfig,
22+
/// OBI request type
23+
parameter type obi_req_t = logic,
24+
/// OBI response type
25+
parameter type obi_rsp_t = logic
2626
) (
27-
input logic clk_i,
28-
input logic rst_ni,
29-
input obi_req_t obi_req_i,
30-
output obi_rsp_t obi_rsp_o
27+
input logic clk_i,
28+
input logic rst_ni,
29+
input obi_req_t obi_req_i,
30+
output obi_rsp_t obi_rsp_o
3131
);
3232

3333
//-----------------------------------------------------------------------------------
@@ -130,21 +130,21 @@ module bootrom #(
130130
// --------------------------------------------------------------------------
131131
localparam int unsigned WordAddressWidth = 10; // 12-bit byte address
132132

133-
logic we_d, we_q;
134-
logic req_d, req_q;
135-
logic [ObiCfg.IdWidth-1:0] id_d, id_q;
136-
logic [WordAddressWidth-1:0] word_addr_d, word_addr_q;
133+
logic we_d, we_q;
134+
logic req_d, req_q;
135+
logic [ObiCfg.IdWidth-1:0] id_d, id_q;
136+
logic [WordAddressWidth-1:0] word_addr_d, word_addr_q;
137137

138-
assign req_d = obi_req_i.req;
139-
assign we_d = obi_req_i.a.we;
140-
assign id_d = obi_req_i.a.aid;
141-
assign word_addr_d = obi_req_i.a.addr[WordAddressWidth+2-1:2];
138+
assign req_d = obi_req_i.req;
139+
assign we_d = obi_req_i.a.we;
140+
assign id_d = obi_req_i.a.aid;
141+
assign word_addr_d = obi_req_i.a.addr[WordAddressWidth+2-1:2];
142142

143-
// Latch request for one-cycle response
144-
`FF(req_q, req_d, '0, clk_i, rst_ni)
145-
`FF(we_q, we_d, '0, clk_i, rst_ni)
146-
`FF(id_q, id_d, '0, clk_i, rst_ni)
147-
`FF(word_addr_q, word_addr_d, '0, clk_i, rst_ni)
143+
// Latch request for one-cycle response
144+
`FF(req_q, req_d, '0, clk_i, rst_ni)
145+
`FF(we_q, we_d, '0, clk_i, rst_ni)
146+
`FF(id_q, id_d, '0, clk_i, rst_ni)
147+
`FF(word_addr_q, word_addr_d, '0, clk_i, rst_ni)
148148

149149
// --------------------------------------------------------------------------
150150
// Mask-based ROM decode:
@@ -161,9 +161,9 @@ module bootrom #(
161161
assign rom_select = word_addr_q[WordAddressWidth-1 -: 4];
162162
assign rom_idx = word_addr_q[5:0];
163163

164-
always_comb begin
165-
rom_rdata = 32'h0000_0000;
166-
rom_error = 1'b1;
164+
always_comb begin
165+
rom_rdata = 32'h0000_0000;
166+
rom_error = 1'b1;
167167

168168
case (rom_select)
169169
4'b0000: rom_size = StartRomWords;

rtl/core_wrap.sv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module core_wrap import croc_pkg::*; #() (
5252

5353
// lowest 8 bits are ignored internally
5454
logic[31:0] ibex_boot_addr;
55-
assign ibex_boot_addr = boot_addr_i & 32'hFFFFFF00;
55+
assign ibex_boot_addr = boot_addr_i & 32'hFFFFFF00;
5656

5757
// CV-X-IF tie-offs (extension disabled)
5858
cve2_pkg::x_issue_resp_t x_issue_resp;
@@ -94,7 +94,7 @@ module core_wrap import croc_pkg::*; #() (
9494
.instr_err_i,
9595

9696
// Data memory interface:
97-
.data_req_o,
97+
.data_req_o,
9898
.data_gnt_i,
9999
.data_rvalid_i,
100100
.data_we_o,
@@ -129,7 +129,7 @@ module core_wrap import croc_pkg::*; #() (
129129
.dm_halt_addr_i ( DebugHaltAddress ),
130130
.dm_exception_addr_i ( DebugExceptionAddress ),
131131
.crash_dump_o ( ),
132-
132+
133133
.fetch_enable_i,
134134
.core_busy_o
135135
);

rtl/croc_chip.sv

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module croc_chip import croc_pkg::*; #() (
6363
inout wire VSS,
6464
inout wire VDDIO,
6565
inout wire VSSIO
66-
);
66+
);
6767
logic soc_clk_i;
6868
logic soc_rst_ni;
6969
logic soc_ref_clk_i;
@@ -79,8 +79,8 @@ module croc_chip import croc_pkg::*; #() (
7979

8080
localparam int unsigned GpioCount = 32;
8181

82-
logic [GpioCount-1:0] soc_gpio_i;
83-
logic [GpioCount-1:0] soc_gpio_o;
82+
logic [GpioCount-1:0] soc_gpio_i;
83+
logic [GpioCount-1:0] soc_gpio_o;
8484
logic [GpioCount-1:0] soc_gpio_out_en_o; // Output enable signal; 0 -> input, 1 -> output
8585

8686
sg13g2_IOPadIn pad_clk_i (.pad(clk_i), .p2c(soc_clk_i));
@@ -174,8 +174,8 @@ module croc_chip import croc_pkg::*; #() (
174174
.uart_rx_i ( soc_uart_rx_i ),
175175
.uart_tx_o ( soc_uart_tx_o ),
176176

177-
.gpio_i ( soc_gpio_i ),
178-
.gpio_o ( soc_gpio_o ),
177+
.gpio_i ( soc_gpio_i ),
178+
.gpio_o ( soc_gpio_o ),
179179
.gpio_out_en_o ( soc_gpio_out_en_o )
180180
);
181181

rtl/croc_domain.sv

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ module croc_domain import croc_pkg::*; #(
2828
output logic [GpioCount-1:0] gpio_out_en_o, // Output enable signal; 0 -> input, 1 -> output
2929

3030
output logic [GpioCount-1:0] gpio_in_sync_o, // synchronized GPIO inputs
31-
31+
3232
/// User OBI interface
33-
/// User as subordinate (from core to user module)
33+
/// User as subordinate (from core to user module)
3434
/// Address space 0x2000_0000 - 0x8000_0000
3535
output sbr_obi_req_t user_sbr_obi_req_o,
3636
input sbr_obi_rsp_t user_sbr_obi_rsp_i,
@@ -465,7 +465,7 @@ module croc_domain import croc_pkg::*; #(
465465
.sbr_ports_req_i ( {core_dma_I_R_obi_req, core_dma_D_W_obi_req, dbg_req_obi_req, user_mgr_obi_req_i } ),
466466
.sbr_ports_rsp_o ( {core_dma_I_R_obi_rsp, core_dma_D_W_obi_rsp, dbg_req_obi_rsp, user_mgr_obi_rsp_o } ),
467467
// connections between crossbar and subordinates
468-
.mgr_ports_req_o ( all_sbr_obi_req ),
468+
.mgr_ports_req_o ( all_sbr_obi_req ),
469469
.mgr_ports_rsp_i ( all_sbr_obi_rsp ),
470470

471471
.addr_map_i ( croc_addr_map ),
@@ -612,11 +612,11 @@ module croc_domain import croc_pkg::*; #(
612612
) i_uart (
613613
.clk_i,
614614
.rst_ni,
615-
615+
616616
.obi_req_i ( uart_obi_req ),
617617
.obi_rsp_o ( uart_obi_rsp ),
618-
.irq_o ( uart_irq ),
619-
.irq_no ( ),
618+
.irq_o ( uart_irq ),
619+
.irq_no ( ),
620620

621621
.rxd_i ( uart_rx_i ),
622622
.txd_o ( uart_tx_o ),
@@ -626,7 +626,7 @@ module croc_domain import croc_pkg::*; #(
626626
.dsr_ni ( 1'b1 ),
627627
.ri_ni ( 1'b1 ),
628628
.cd_ni ( 1'b1 ),
629-
.rts_no ( ),
629+
.rts_no ( ),
630630
.dtr_no ( ),
631631
.out1_no ( ),
632632
.out2_no ( )
@@ -641,10 +641,10 @@ module croc_domain import croc_pkg::*; #(
641641
) i_gpio (
642642
.clk_i,
643643
.rst_ni,
644-
.gpio_i,
645-
.gpio_o,
646-
.gpio_out_en_o,
647-
.gpio_in_sync_o,
644+
.gpio_i,
645+
.gpio_o,
646+
.gpio_out_en_o,
647+
.gpio_in_sync_o,
648648
.interrupt_o ( gpio_irq ),
649649
.obi_req_i ( gpio_obi_req ),
650650
.obi_rsp_o ( gpio_obi_rsp )

rtl/croc_soc.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ croc_domain #(
6868
.uart_rx_i,
6969
.uart_tx_o,
7070

71-
.gpio_i,
72-
.gpio_o,
71+
.gpio_i,
72+
.gpio_o,
7373
.gpio_out_en_o,
7474

7575
.gpio_in_sync_o ( gpio_in_sync ),

rtl/gpio/gpio.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module gpio #(
3434
/// the output enable of the corresponding IO Pad.
3535
/// 0 -> input, 1 -> output.
3636
output logic [GpioCount-1:0] gpio_out_en_o,
37-
/// Synchronized GPIO input signals.
37+
/// Synchronized GPIO input signals.
3838
// Provides the gpio_i signal synchronized to clk_i to other modules.
3939
output logic [GpioCount-1:0] gpio_in_sync_o,
4040
/// GPIO interrupt line. The interrupt line is asserted for one clk_i

rtl/gpio/gpio_reg_top.sv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ module gpio_reg_top import gpio_reg_pkg::*; #(
104104
// register signals
105105
gpio_reg_fields_t reg_d, reg_q;
106106
`FF(reg_q, reg_d, '0, clk_i, rst_ni)
107-
107+
108108
gpio_reg_fields_t new_reg; // new value of regs if there is no OBI transaction
109109

110110
////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -145,7 +145,7 @@ module gpio_reg_top import gpio_reg_pkg::*; #(
145145
// control logic interaction for each GPIO
146146
for(int unsigned idx=0; idx < GpioCount; idx++) begin
147147
new_reg.in[idx] = hw2reg[idx].sync_in; // input is updated
148-
new_reg.toggle[idx] = '0; // toggle clears itself
148+
new_reg.toggle[idx] = '0; // toggle clears itself
149149

150150
// update OUT from hw2reg if set to valid
151151
new_reg.out[idx] = hw2reg[idx].out_valid ? hw2reg[idx].out : reg_q.out[idx];

rtl/idma/croc_idma.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ module croc_idma #(
171171
obi_cfg_rsp_o.r.rdata = reg_read_data;
172172
obi_cfg_rsp_o.rvalid = req_q;
173173
obi_cfg_rsp_o.gnt = word_addr_d == NEXT_ID_OFFSET ?
174-
obi_cfg_req_i.req & job_req_ready : obi_cfg_req_i.req;
174+
obi_cfg_req_i.req & job_req_ready : obi_cfg_req_i.req;
175175
end
176176

177177
// OBI Storage

0 commit comments

Comments
 (0)