Skip to content

Commit

Permalink
lint: Fix verible lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GiannaP committed Aug 3, 2023
1 parent e75efde commit f1894f3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions hw/spm_interface/src/spm_interface.sv
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Author: Tim Fischer <fischeti@iis.ee.ethz.ch>

/// SPM Interface.
interface SPM_BUS #(
interface spm_bus_if #(
/// The width of the address.
parameter int ADDR_WIDTH = -1,
/// The width of the data.
Expand Down Expand Up @@ -42,7 +42,7 @@ interface SPM_BUS #(
endinterface

/// SPM Interface for verficiation purposes.
interface SPM_BUS_DV #(
interface spm_bus_dv_if #(
/// The width of the address.
parameter int ADDR_WIDTH = -1,
/// The width of the data.
Expand Down
12 changes: 6 additions & 6 deletions hw/spm_interface/src/spm_test.sv
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ package spm_test;
typedef req_t #(.AW(AW), .DW(DW)) req_t;
typedef rsp_t #(.DW(DW)) rsp_t;

virtual SPM_BUS_DV #(
virtual spm_bus_dv_if #(
.ADDR_WIDTH(AW),
.DATA_WIDTH(DW)
) bus;

function new(
virtual SPM_BUS_DV #(
virtual spm_bus_dv_if #(
.ADDR_WIDTH(AW),
.DATA_WIDTH(DW)
) bus
Expand Down Expand Up @@ -187,7 +187,7 @@ package spm_test;
typedef spm_driver_t::req_t req_t;
typedef spm_driver_t::rsp_t rsp_t;

function new(virtual SPM_BUS_DV #(
function new(virtual spm_bus_dv_if #(
.ADDR_WIDTH (AW),
.DATA_WIDTH (DW)
) bus);
Expand Down Expand Up @@ -227,7 +227,7 @@ package spm_test;
endtask

/// Constructor.
function new(virtual SPM_BUS_DV #(
function new(virtual spm_bus_dv_if #(
.ADDR_WIDTH (AW),
.DATA_WIDTH (DW)
) bus);
Expand Down Expand Up @@ -271,7 +271,7 @@ package spm_test;
endtask

/// Constructor.
function new(virtual SPM_BUS_DV #(
function new(virtual spm_bus_dv_if #(
.ADDR_WIDTH (AW),
.DATA_WIDTH (DW)
) bus);
Expand Down Expand Up @@ -311,7 +311,7 @@ package spm_test;
mailbox req_mbx = new, rsp_mbx = new;

/// Constructor.
function new(virtual SPM_BUS_DV #(
function new(virtual spm_bus_dv_if #(
.ADDR_WIDTH (AW),
.DATA_WIDTH (DW)
) bus);
Expand Down
4 changes: 2 additions & 2 deletions hw/spm_interface/test/tb_spm_1p_adv.sv
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ module tb_spm_1p_adv #(

logic clk, rst_n;

SPM_BUS #(
spm_bus_if #(
.ADDR_WIDTH ( AddrWidth ),
.DATA_WIDTH ( DataWidth )
) spm_bus_master ();

SPM_BUS_DV #(
spm_bus_dv_if #(
.ADDR_WIDTH ( AddrWidth ),
.DATA_WIDTH ( DataWidth )
) spm_bus_master_dv (clk);
Expand Down
8 changes: 4 additions & 4 deletions hw/spm_interface/test/tb_spm_rmw_adapter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ module tb_spm_rmw_adapter #(

logic clk, rst_n;

SPM_BUS #(
spm_bus_if #(
.ADDR_WIDTH ( AddrWidth ),
.DATA_WIDTH ( DataWidth )
) spm_bus_master ();

SPM_BUS_DV #(
spm_bus_dv_if #(
.ADDR_WIDTH ( AddrWidth ),
.DATA_WIDTH ( DataWidth )
) spm_bus_master_dv (clk);

SPM_BUS #(
spm_bus_if #(
.ADDR_WIDTH ( AddrWidth ),
.DATA_WIDTH ( DataWidth )
) spm_bus_slave ();

SPM_BUS_DV #(
spm_bus_dv_if #(
.ADDR_WIDTH ( AddrWidth ),
.DATA_WIDTH ( DataWidth )
) spm_bus_slave_dv ( clk );
Expand Down

0 comments on commit f1894f3

Please sign in to comment.