mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Tests: Rename includes to .vh extensions
This commit is contained in:
parent
8800efe953
commit
f3704f4c05
@ -118,7 +118,7 @@ DISTFILES_INC = $(INFOS) .gitignore Artistic COPYING COPYING.LESSER \
|
||||
src/.*ignore src/*.in src/*.cpp src/*.[chly] src/astgen src/bisonpre src/*fix \
|
||||
src/*.pl src/*.pod \
|
||||
test_*/.*ignore test_*/Makefile* test_*/*.cpp \
|
||||
test_*/*.pl test_*/*.v test_*/*.vc test_*/vlint \
|
||||
test_*/*.pl test_*/*.v test_*/*.vc test_*/*.vh test_*/vlint \
|
||||
test_verilated/vgen*.pl \
|
||||
test_regress/t/*.cpp \
|
||||
test_regress/t/*.h \
|
||||
|
@ -10,7 +10,7 @@ module t (/*AUTOARG*/
|
||||
input clk;
|
||||
reg _ranit;
|
||||
|
||||
`include "t_initial_inc.v"
|
||||
`include "t_initial_inc.vh"
|
||||
|
||||
// surefire lint_off STMINI
|
||||
initial assign user_loaded_value = 1;
|
||||
|
@ -13,7 +13,7 @@ example line 11;
|
||||
|
||||
|
||||
`line 13 "t/t_pipe_filter.v" 0
|
||||
`line 1 "t/t_pipe_filter_inc.v" 1
|
||||
`line 1 "t/t_pipe_filter_inc.vh" 1
|
||||
int lint_off_line_7 = 1;
|
||||
int lint_off_line_8 = 1;
|
||||
|
||||
@ -25,13 +25,13 @@ inc line 6;
|
||||
inc line 7;
|
||||
inc line 8;
|
||||
inc line 9;
|
||||
`line 12 "t/t_pipe_filter_inc.v" 2
|
||||
`line 12 "t/t_pipe_filter_inc.vh" 2
|
||||
`line 13 "t/t_pipe_filter.v" 0
|
||||
|
||||
|
||||
|
||||
`line 15 "t/t_pipe_filter.v" 0
|
||||
`line 1 "t/t_pipe_filter_inc.v" 1
|
||||
`line 1 "t/t_pipe_filter_inc.vh" 1
|
||||
int lint_off_line_7 = 1;
|
||||
int lint_off_line_8 = 1;
|
||||
|
||||
@ -43,7 +43,7 @@ inc line 6;
|
||||
inc line 7;
|
||||
inc line 8;
|
||||
inc line 9;
|
||||
`line 12 "t/t_pipe_filter_inc.v" 2
|
||||
`line 12 "t/t_pipe_filter_inc.vh" 2
|
||||
`line 15 "t/t_pipe_filter.v" 0
|
||||
|
||||
|
||||
|
@ -10,9 +10,9 @@
|
||||
example line 10;
|
||||
example line 11;
|
||||
|
||||
`include "t_pipe_filter_inc.v"
|
||||
`include "t_pipe_filter_inc.vh"
|
||||
// Twice to check caching of includes
|
||||
`include "t_pipe_filter_inc.v"
|
||||
`include "t_pipe_filter_inc.vh"
|
||||
|
||||
example line 15;
|
||||
example line 16;
|
||||
|
@ -3,7 +3,7 @@
|
||||
// This file ONLY is placed into the Public Domain, for any use,
|
||||
// without warranty, 2008 by Wilson Snyder.
|
||||
|
||||
`include "t_pp_lib_inc.v"
|
||||
`include "t_pp_lib_inc.vh"
|
||||
module t();
|
||||
wire [`WIDTH-1:0] a;
|
||||
library_cell n1(a);
|
||||
|
@ -9,15 +9,15 @@
|
||||
|
||||
|
||||
`line 9 "t/t_preproc.v" 0
|
||||
`line 1 "t/t_preproc_inc2.v" 1
|
||||
`line 1 "t/t_preproc_inc2.vh" 1
|
||||
|
||||
|
||||
|
||||
At file "t/t_preproc_inc2.v" line 4
|
||||
At file "t/t_preproc_inc2.vh" line 4
|
||||
|
||||
|
||||
`line 6 "t/t_preproc_inc2.v" 0
|
||||
`line 1 "t/t_preproc_inc3.v" 1
|
||||
`line 6 "t/t_preproc_inc2.vh" 0
|
||||
`line 1 "t/t_preproc_inc3.vh" 1
|
||||
`line 2 "inc3_a_filename_from_line_directive" 0
|
||||
|
||||
|
||||
@ -40,9 +40,9 @@ At file "t/t_preproc_inc2.v" line 4
|
||||
`line 17 "inc3_a_filename_from_line_directive" 0
|
||||
|
||||
`line 18 "inc3_a_filename_from_line_directive" 2
|
||||
`line 6 "t/t_preproc_inc2.v" 0
|
||||
`line 6 "t/t_preproc_inc2.vh" 0
|
||||
|
||||
`line 7 "t/t_preproc_inc2.v" 2
|
||||
`line 7 "t/t_preproc_inc2.vh" 2
|
||||
`line 9 "t/t_preproc.v" 0
|
||||
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
//===========================================================================
|
||||
// Includes
|
||||
`include "t_preproc_inc2.v"
|
||||
`include "t_preproc_inc2.vh"
|
||||
|
||||
//===========================================================================
|
||||
// Comments
|
||||
|
@ -2,5 +2,5 @@
|
||||
// This file ONLY is placed into the Public Domain, for any use,
|
||||
// without warranty, 2000-2007 by Wilson Snyder.
|
||||
At file `__FILE__ line `__LINE__
|
||||
`define INCFILE <t_preproc_inc3.v>
|
||||
`define INCFILE <t_preproc_inc3.vh>
|
||||
`include `INCFILE
|
@ -13,5 +13,5 @@
|
||||
`endif // guard
|
||||
|
||||
`ifdef not_defined
|
||||
`include "NotToBeInced.v"
|
||||
`include "NotToBeInced.vh"
|
||||
`endif
|
Loading…
Reference in New Issue
Block a user