Skip to content

Commit

Permalink
Update common_verification to 0.2.0
Browse files Browse the repository at this point in the history
`common_verification` v0.2.0 has been released more than a year ago (but
is still the latest version), so it's about time to update.  This also
entails the following changes:

- Instances of modules from `common_verification` in our testbenches are
  updated.
- `common_cells` is updated to v1.21.0 to align on the same version of
  `common_verification`.
  • Loading branch information
micprog authored and andreaskurth committed Jan 29, 2021
1 parent ac5998d commit 4bae0c8
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 34 deletions.
4 changes: 2 additions & 2 deletions Bender.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ package:
- "Wolfgang Roenninger <[email protected]>"

dependencies:
common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.20.1 }
common_verification: { git: "https://github.com/pulp-platform/common_verification.git", version: 0.1.1 }
common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.21.0 }
common_verification: { git: "https://github.com/pulp-platform/common_verification.git", version: 0.2.0 }

export_include_dirs:
- include
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `axi_test::axi_rand_master`: Randomize the QoS field.
- Update `common_cells` dependency to `1.20.1` to fix out-of-bounds index in `axi_burst_splitter`
(#150).
- Update `common_verification` dependency to `0.2.0` for compatibility, accordingly modify modules.
- Update `common_cells` dependency to `1.21.0` for `common_verification` update.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions ips_list.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
common_cells:
commit: v1.20.0
commit: v1.21.0
group: pulp-platform

common_verification:
commit: v0.1.1
commit: v0.2.0
group: pulp-platform
4 changes: 2 additions & 2 deletions test/tb_axi_addr_test.sv
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ module tb_axi_addr_test #(
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_atop_filter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ module tb_axi_atop_filter #(
rst_n;

clk_rst_gen #(
.CLK_PERIOD (TCLK),
.RST_CLK_CYCLES (5)
.ClkPeriod (TCLK),
.RstClkCycles (5)
) i_clk_rst_gen (
.clk_o (clk),
.rst_no (rst_n)
Expand Down
8 changes: 4 additions & 4 deletions test/tb_axi_cdc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ module tb_axi_cdc #(
downstream_rst_n;

clk_rst_gen #(
.CLK_PERIOD (TCLK_UPSTREAM),
.RST_CLK_CYCLES (5)
.ClkPeriod (TCLK_UPSTREAM),
.RstClkCycles (5)
) i_clk_rst_gen_upstream (
.clk_o (upstream_clk),
.rst_no (upstream_rst_n)
);

clk_rst_gen #(
.CLK_PERIOD (TCLK_DOWNSTREAM),
.RST_CLK_CYCLES (5)
.ClkPeriod (TCLK_DOWNSTREAM),
.RstClkCycles (5)
) i_clk_rst_gen_downstream (
.clk_o (downstream_clk),
.rst_no (downstream_rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_dw_downsizer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ module tb_axi_dw_downsizer #(
logic eos;

clk_rst_gen #(
.CLK_PERIOD (CyclTime),
.RST_CLK_CYCLES(5 )
.ClkPeriod (CyclTime),
.RstClkCycles (5 )
) i_clk_rst_gen (
.clk_o (clk ),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_dw_upsizer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ module tb_axi_dw_upsizer #(
logic eos;

clk_rst_gen #(
.CLK_PERIOD (CyclTime),
.RST_CLK_CYCLES(5 )
.ClkPeriod (CyclTime),
.RstClkCycles (5 )
) i_clk_rst_gen (
.clk_o (clk ),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_isolate.sv
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ module tb_axi_isolate #(
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_lite_mailbox.sv
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ module tb_axi_lite_mailbox;
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_lite_regs.sv
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ module tb_axi_lite_regs #(
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_lite_to_apb.sv
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ module tb_axi_lite_to_apb;
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o ( clk ),
.rst_no ( rst_n )
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_lite_xbar.sv
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ module tb_axi_lite_xbar;
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_modify_address.sv
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ module tb_axi_modify_address #(
logic clk,
rst_n;
clk_rst_gen #(
.CLK_PERIOD (TCLK),
.RST_CLK_CYCLES (5)
.ClkPeriod (TCLK),
.RstClkCycles (5)
) i_clk_rst_gen (
.clk_o (clk),
.rst_no (rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_serializer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ module tb_axi_serializer #(
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_sim_mem.sv
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ module tb_axi_sim_mem #(
logic clk,
rst_n;
clk_rst_gen #(
.CLK_PERIOD (Tclk),
.RST_CLK_CYCLES (5)
.ClkPeriod (Tclk),
.RstClkCycles (5)
) i_clk_rst_gen (
.clk_o (clk),
.rst_no (rst_n)
Expand Down
4 changes: 2 additions & 2 deletions test/tb_axi_xbar.sv
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ module tb_axi_xbar;
// Clock generator
//-----------------------------------
clk_rst_gen #(
.CLK_PERIOD ( CyclTime ),
.RST_CLK_CYCLES( 5 )
.ClkPeriod ( CyclTime ),
.RstClkCycles ( 5 )
) i_clk_gen (
.clk_o (clk),
.rst_no(rst_n)
Expand Down

0 comments on commit 4bae0c8

Please sign in to comment.