Skip to content

Commit

Permalink
[dv] Remove clock gating primitive in dv/uvm/tb
Browse files Browse the repository at this point in the history
This commit removes a copy of the dummy clock gating primitive from
tree previously used for UVM-based DV. There is another, identical copy
of the same primitive in `shared/rtl` that can be used instead.

This resolves lowRISC#213.

Signed-off-by: Pirmin Vogel <[email protected]>
  • Loading branch information
vogelpi committed Nov 15, 2019
1 parent aefbcdc commit 40d6368
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 32 deletions.
2 changes: 1 addition & 1 deletion dv/uvm/ibex_dv.f
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
+define+TRACE_EXECUTION
+define+RVFI

${PRJ_DIR}/ibex/dv/uvm/tb/prim_clock_gating.sv
${PRJ_DIR}/ibex/shared/rtl/prim_clock_gating.sv

// ibex CORE RTL files
+incdir+${PRJ_DIR}/ibex/rtl
Expand Down
26 changes: 0 additions & 26 deletions dv/uvm/tb/prim_clock_gating.sv

This file was deleted.

4 changes: 2 additions & 2 deletions ibex_core.core
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ filesets:
file_type: systemVerilogSource

files_lint:
files:
- dv/uvm/tb/prim_clock_gating.sv: {file_type: systemVerilogSource}
depend:
- lowrisc:ibex:sim_shared

files_lint_verilator:
files:
Expand Down
4 changes: 2 additions & 2 deletions ibex_core_tracing.core
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ filesets:
file_type: systemVerilogSource

files_lint:
files:
- dv/uvm/tb/prim_clock_gating.sv: {file_type: systemVerilogSource}
depend:
- lowrisc:ibex:sim_shared

files_lint_verilator:
files:
Expand Down
2 changes: 1 addition & 1 deletion shared/rtl/prim_clock_gating.sv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
//
// Dummy clock gating module
// Dummy clock gating module compatible with latch-based register file

module prim_clock_gating (
input clk_i,
Expand Down

0 comments on commit 40d6368

Please sign in to comment.