From 6ec509c3c6169f668b25a6c63ad566316191f9fe Mon Sep 17 00:00:00 2001 From: "Konstantin Pavlov (fm)" Date: Tue, 11 Dec 2018 15:34:14 +0300 Subject: [PATCH] snake_case naming for edge detector --- EdgeDetect.sv => edge_detect.sv | 6 +++--- EdgeDetect_tb.sv => edge_detect_tb.sv | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename EdgeDetect.sv => edge_detect.sv (94%) rename EdgeDetect_tb.sv => edge_detect_tb.sv (95%) diff --git a/EdgeDetect.sv b/edge_detect.sv similarity index 94% rename from EdgeDetect.sv rename to edge_detect.sv index 07b12a0..fa37e3f 100644 --- a/EdgeDetect.sv +++ b/edge_detect.sv @@ -1,5 +1,5 @@ //------------------------------------------------------------------------------ -// EdgeDetect.sv +// edge_detect.sv // Konstantin Pavlov, pavlovconst@gmail.com //------------------------------------------------------------------------------ @@ -14,7 +14,7 @@ /* --- INSTANTIATION TEMPLATE BEGIN --- -EdgeDetect ED1[31:0] ( +edge_detect ED1[31:0] ( .clk( {32{clk}} ), .nrst( {32{1'b1}} ), .in( in[31:0] ), @@ -26,7 +26,7 @@ EdgeDetect ED1[31:0] ( --- INSTANTIATION TEMPLATE END ---*/ -module EdgeDetect( +module edge_detect( input clk, input nrst, diff --git a/EdgeDetect_tb.sv b/edge_detect_tb.sv similarity index 95% rename from EdgeDetect_tb.sv rename to edge_detect_tb.sv index 31006f8..18192da 100644 --- a/EdgeDetect_tb.sv +++ b/edge_detect_tb.sv @@ -1,5 +1,5 @@ //------------------------------------------------------------------------------ -// EdgeDetect_tb.sv +// edge_detect_tb.sv // Konstantin Pavlov, pavlovconst@gmail.com //------------------------------------------------------------------------------ @@ -8,7 +8,7 @@ `timescale 1ns / 1ps -module EdgeDetect_tb(); +module edge_detect_tb(); logic clk200; initial begin @@ -71,7 +71,7 @@ end // Module under test ========================================================== -EdgeDetect ED1[15:0] ( +edge_detect ED1[15:0] ( .clk( {16{clk200}} ), .nrst( {16{nrst_once}} ), .in( RandomNumber1[15:0] ),