Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waive Verilator linter for lints not matching our code style #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Unreleased
### Changed
- Waive Verilator linter for lints not matching our code style

## 0.2.13 - 2023-09-19
### Fixed
- `tc_sram_xilinx`: Fix be assignment
Expand Down
4 changes: 2 additions & 2 deletions src/deprecated/pulp_clk_cells.sv
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ module pulp_clock_delay(
input logic in_i,
output logic out_o
);

/* verilator lint_off ASSIGNDLY */
assign #(300ps) out_o = in_i;

/* verilator lint_on ASSIGNDLY */
endmodule
`endif

Expand Down
2 changes: 1 addition & 1 deletion src/deprecated/pulp_clock_gating_async.sv
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ module pulp_clock_gating_async #(
.clk_o
);

endmodule
endmodule
3 changes: 2 additions & 1 deletion src/rtl/tc_clk.sv
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,11 @@ module tc_clk_gating #(
);

logic clk_en;

/* verilator lint_off COMBDLY */
always_latch begin
if (clk_i == 1'b0) clk_en <= en_i | test_en_i;
end
/* verilator lint_on COMBDLY */

assign clk_o = clk_i & clk_en;

Expand Down