Skip to content

Commit

Permalink
More formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thommythomaso committed Oct 2, 2023
1 parent 33abba6 commit 471fa99
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/verible.waiver
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ waive --rule=line-length --location="src/frontends/desc64/idma_desc64_top.sv"

# Declare zero-based big-endian unpacked dimensions sized as [N] -> legacy PULP code :S
waive --rule=unpacked-dimensions-range-ordering --location="src/systems/pulpopen/dmac_wrap.sv"
waive --rule=line-length --location="src/systems/pulpopen/dmac_wrap.sv"
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
AllowShortIfStatementsOnASingleLine: true,
AllowShortLoopsOnASingleLine: true
}
exclude_paths: src/systems/cva6_reg/driver/encoding.h target/sim/vsim/wave/tpl/backend.do.tpl
exclude_paths: src/systems/cva6_reg/driver/*.h target/sim/vsim/wave/tpl/*.tpl

lint-python:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/backend/idma_tilelink_read.sv
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module idma_tilelink_read #(
// Read control
//--------------------------------------
// controls the next state of the read flag

assign last = (!first_r_q && (counter_r_q == 'd2)) | r_dp_req_i.is_single;

always_comb begin : proc_first_read
Expand Down
8 changes: 4 additions & 4 deletions src/future/idma_improved_fifo.sv
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: SHL-0.51
//
// Thomas Benz <[email protected]>
// Tobias Senti <[email protected]>
// Tobias Senti <[email protected]>

`include "common_cells/assertions.svh"
`include "common_cells/registers.svh"
Expand Down Expand Up @@ -35,7 +35,7 @@ module idma_improved_fifo #(
);
// Bit Width of the read and write pointers
// One additional bit to detect overflows
localparam PointerWidth = $clog2(Depth) + 1;
localparam int unsigned PointerWidth = $clog2(Depth) + 1;

//--------------------------------------
// Prevent Depth 0
Expand Down Expand Up @@ -112,7 +112,7 @@ module idma_improved_fifo #(
write_ptr_d[PointerWidth-2:0] = '0;
write_ptr_d[PointerWidth-1] = !write_ptr_q[PointerWidth-1];
end else begin
// Increment pointer
// Increment pointer
write_ptr_d = write_ptr_q + 'd1;
end
end
Expand All @@ -122,7 +122,7 @@ module idma_improved_fifo #(
// Flip Flops
`FF( read_ptr_q, read_ptr_d, '0, clk_i, rst_ni)
`FF(write_ptr_q, write_ptr_d, '0, clk_i, rst_ni)

`FFL(data_q, data_d, clock_gate || testmode_i, '0, clk_i, rst_ni)

// no full push
Expand Down
2 changes: 1 addition & 1 deletion src/future/idma_legalizer_pow2_splitter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module idma_legalizer_pow2_splitter #(
// Number of bytes left to transfer
input len_t length_i,

// Set if the remaining transfer length is larger
// Set if the remaining transfer length is larger
// than what can be represented in len_t
input logic length_larger_i,

Expand Down

0 comments on commit 471fa99

Please sign in to comment.