From e1b0640012806b1b104af8ac2ff20c9f0463967c Mon Sep 17 00:00:00 2001 From: Florian Zaruba Date: Thu, 28 Jan 2021 17:01:04 +0100 Subject: [PATCH] Remove timeunit/timeprecision --- CHANGELOG.md | 4 +++- test/addr_decode_tb.sv | 2 -- test/cdc_2phase_tb.sv | 2 -- test/cdc_fifo_tb.sv | 2 -- test/fifo_tb.sv | 6 ------ test/graycode_tb.sv | 2 -- test/id_queue_tb.sv | 3 --- test/popcount_tb.sv | 2 -- test/stream_to_mem_tb.sv | 2 -- 9 files changed, 3 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd5b49da..60e7df80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Unreleased ### Changed -- updated `common_verification` and `tech_cells_generic` dependency versions +- Remove `timeprecision/timeunit` arguments +- Update `common_verification` to `0.2.0` +- Update `tech_cells_generic` to `0.2.3` ## 1.20.1 - 2021-01-21 ### Changed diff --git a/test/addr_decode_tb.sv b/test/addr_decode_tb.sv index 59781bcb..0861c130 100644 --- a/test/addr_decode_tb.sv +++ b/test/addr_decode_tb.sv @@ -12,8 +12,6 @@ // test bench for addr_decode module -timeunit 1ns/1ns; - module addr_decode_tb; localparam int unsigned NoIndices = 2; localparam int unsigned NoRules = 3; diff --git a/test/cdc_2phase_tb.sv b/test/cdc_2phase_tb.sv index 77b5b769..273c614c 100644 --- a/test/cdc_2phase_tb.sv +++ b/test/cdc_2phase_tb.sv @@ -11,8 +11,6 @@ // // Fabian Schuiki -timeunit 0.1ns/1ps; - module cdc_2phase_tb; parameter int UNTIL = 100000; diff --git a/test/cdc_fifo_tb.sv b/test/cdc_fifo_tb.sv index 3e6eac50..63255ef8 100644 --- a/test/cdc_fifo_tb.sv +++ b/test/cdc_fifo_tb.sv @@ -11,8 +11,6 @@ // // Fabian Schuiki -timeunit 0.1ns/1ps; - module cdc_fifo_tb; parameter bit INJECT_SRC_STALLS = 0; diff --git a/test/fifo_tb.sv b/test/fifo_tb.sv index d104b7ba..4422f6f2 100644 --- a/test/fifo_tb.sv +++ b/test/fifo_tb.sv @@ -24,9 +24,6 @@ module fifo_inst_tb #( output logic done_o ); - timeunit 1ns; - timeprecision 10ps; - import rand_verif_pkg::rand_wait; typedef logic [DATA_WIDTH-1:0] data_t; @@ -168,9 +165,6 @@ module fifo_tb #( parameter time TT = TCLK * 3/4 ); - timeunit 1ns; - timeprecision 10ps; - logic clk, rst_n; diff --git a/test/graycode_tb.sv b/test/graycode_tb.sv index 9d9a2002..15e4205c 100644 --- a/test/graycode_tb.sv +++ b/test/graycode_tb.sv @@ -11,8 +11,6 @@ // // Fabian Schuiki -timeunit 1ns/1ns; - module graycode_tb #( parameter int N = 9 ); diff --git a/test/id_queue_tb.sv b/test/id_queue_tb.sv index ea0f1882..758deea8 100644 --- a/test/id_queue_tb.sv +++ b/test/id_queue_tb.sv @@ -20,9 +20,6 @@ module id_queue_tb #( parameter type data_t = logic[3:0] ); - timeunit 1ns; - timeprecision 10ps; - localparam time TCLK = 10ns; localparam time TA = TCLK * 1/4; localparam time TT = TCLK * 3/4; diff --git a/test/popcount_tb.sv b/test/popcount_tb.sv index fc4abf01..6fe00fb3 100644 --- a/test/popcount_tb.sv +++ b/test/popcount_tb.sv @@ -29,8 +29,6 @@ do begin \ end while (0) module popcount_tb; - timeunit 1ns; - timeprecision 1ps; //---------------- Signals connecting to MUT ---------------- logic [4:0] data_w5; diff --git a/test/stream_to_mem_tb.sv b/test/stream_to_mem_tb.sv index 3b67f250..35371c9b 100644 --- a/test/stream_to_mem_tb.sv +++ b/test/stream_to_mem_tb.sv @@ -16,8 +16,6 @@ module stream_to_mem_tb #( parameter int unsigned NumReq = 32'd10000, parameter int unsigned BufDepth = 32'd1 ); - timeunit 1ns; - timeprecision 10ps; localparam time CyclTime = 10ns; localparam time ApplTime = 2ns;