Fix the pr2966059 regression test.

This test uses 'wire real' but specified the '-gno-xtypes' option.
This is because it named a variable 'wreal' which is a keyword when
that option is enabled.
This commit is contained in:
Martin Whitaker 2024-01-28 19:03:32 +00:00
parent 79c644f550
commit 6826dbb9cb
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ module top;
parameter sp = "\003"; parameter sp = "\003";
real rlval; real rlval;
wire real wreal; wire real wrval;
reg [3:0] rval; reg [3:0] rval;
wire [3:0] wval; wire [3:0] wval;
assign wval = 2; assign wval = 2;
@ -21,8 +21,8 @@ module top;
$check_number(rlval); $check_number(rlval);
$check_number(rlval+1); $check_number(rlval+1);
$check_number(wreal); $check_number(wrval);
$check_number(wreal+1); $check_number(wrval+1);
$check_number(rval); $check_number(rval);
$check_number(rval+1); $check_number(rval+1);
$check_number(wval); $check_number(wval);

View File

@ -24,7 +24,7 @@ vpi_get_value (rlval):
vpi_get_value (<N/A>): vpi_get_value (<N/A>):
format = 7 format = 7
value = 0 value = 0
vpi_get_value (wreal): vpi_get_value (wrval):
format = 7 format = 7
value = 0 value = 0
vpi_get_value (<N/A>): vpi_get_value (<N/A>):

View File

@ -114,7 +114,7 @@ pr723 normal pr723.c pr723.log
pr1693971 normal pr1693971.c pr1693971.log pr1693971 normal pr1693971.c pr1693971.log
pr2048463 normal pr2048463.c pr2048463.log pr2048463 normal pr2048463.c pr2048463.log
pr2314742 normal pr2314742.c pr2314742.gold pr2314742 normal pr2314742.c pr2314742.gold
pr2966059 normal,-gno-xtypes pr2966059.c pr2966059.gold pr2966059 normal pr2966059.c pr2966059.gold
pr2971220 normal pr2971220.c pr2971220.gold pr2971220 normal pr2971220.c pr2971220.gold
putp normal putp.c putp.log putp normal putp.c putp.log
putp2 normal putp2.c putp2.log putp2 normal putp2.c putp2.log