Rationalise new VPI callback test names.

This commit is contained in:
Martin Whitaker 2024-02-07 00:02:58 +00:00
parent 3433c92742
commit 851aed6272
49 changed files with 75 additions and 75 deletions

View File

@ -0,0 +1,2 @@
#define TEST_SIM_TIME
#include "nextsimtime_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/nextsimtime_cb.v"

View File

@ -0,0 +1,2 @@
#define TEST_SCALED_TIME
#include "nextsimtime_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/nextsimtime_cb.v"

View File

@ -0,0 +1,2 @@
#define TEST_SUPPRESS_TIME
#include "nextsimtime_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/nextsimtime_cb.v"

View File

@ -0,0 +1,2 @@
#define TEST_NULL_TIME
#include "nextsimtime_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/nextsimtime_cb.v"

View File

@ -1,2 +0,0 @@
#define TEST_NULL_TIME
#include "nextsimtime_common.c"

View File

@ -1 +0,0 @@
`include "vpi/nextsimtime_common.v"

View File

@ -1,2 +0,0 @@
#define TEST_SCALED_TIME
#include "nextsimtime_common.c"

View File

@ -1 +0,0 @@
`include "vpi/nextsimtime_common.v"

View File

@ -1,2 +0,0 @@
#define TEST_SIM_TIME
#include "nextsimtime_common.c"

View File

@ -1 +0,0 @@
`include "vpi/nextsimtime_common.v"

View File

@ -1,2 +0,0 @@
#define TEST_SUPPRESS_TIME
#include "nextsimtime_common.c"

View File

@ -1 +0,0 @@
`include "vpi/nextsimtime_common.v"

View File

@ -1,2 +0,0 @@
#define TEST_SIM_TIME
#include "value_change.c"

View File

@ -1 +0,0 @@
`include "vpi/value_change.v"

View File

@ -1,2 +0,0 @@
#define TEST_SCALED_TIME
#include "value_change.c"

View File

@ -1 +0,0 @@
`include "vpi/value_change.v"

View File

@ -1,2 +0,0 @@
#define TEST_SUPPRESS_TIME
#include "value_change.c"

View File

@ -1 +0,0 @@
`include "vpi/value_change.v"

View File

@ -1,2 +0,0 @@
#define TEST_NULL_TIME
#include "value_change.c"

View File

@ -1 +0,0 @@
`include "vpi/value_change.v"

View File

@ -6,9 +6,9 @@
#define TIME_TYPE vpiSuppressTime
#endif
# include <sv_vpi_user.h>
# include <assert.h>
# include <string.h>
#include <sv_vpi_user.h>
#include <assert.h>
#include <string.h>
static PLI_INT32 report_change(p_cb_data cb)
{

View File

@ -0,0 +1,2 @@
#define TEST_SIM_TIME
#include "value_change_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/value_change_cb.v"

View File

@ -0,0 +1,2 @@
#define TEST_SCALED_TIME
#include "value_change_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/value_change_cb.v"

View File

@ -0,0 +1,2 @@
#define TEST_SUPPRESS_TIME
#include "value_change_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/value_change_cb.v"

View File

@ -0,0 +1,2 @@
#define TEST_NULL_TIME
#include "value_change_cb.c"

View File

@ -0,0 +1 @@
`include "vpi/value_change_cb.v"

View File

@ -0,0 +1,8 @@
Compiling vpi/nextsimtime_cb1.c...
Making nextsimtime_cb1.vpi from nextsimtime_cb1.o...
time 0: 0
nextsimtime: 1000
time 1: 1
nextsimtime: 4000
time 4: 4
nextsimtime: 5000

View File

@ -0,0 +1,8 @@
Compiling vpi/nextsimtime_cb2.c...
Making nextsimtime_cb2.vpi from nextsimtime_cb2.o...
time 0: 0
nextsimtime: 1.000000
time 1: 1
nextsimtime: 4.000000
time 4: 4
nextsimtime: 5.000000

View File

@ -0,0 +1,8 @@
Compiling vpi/nextsimtime_cb3.c...
Making nextsimtime_cb3.vpi from nextsimtime_cb3.o...
time 0: 0
nextsimtime: 1000
time 1: 1
nextsimtime: 4000
time 4: 4
nextsimtime: 5000

View File

@ -0,0 +1,8 @@
Compiling vpi/nextsimtime_cb4.c...
Making nextsimtime_cb4.vpi from nextsimtime_cb4.o...
time 0: 0
nextsimtime: 1000
time 1: 1
nextsimtime: 4000
time 4: 4
nextsimtime: 5000

View File

@ -1,8 +0,0 @@
Compiling vpi/nextsimtime_null_time.c...
Making nextsimtime_null_time.vpi from nextsimtime_null_time.o...
time 0: 0
nextsimtime: 1000
time 1: 1
nextsimtime: 4000
time 4: 4
nextsimtime: 5000

View File

@ -1,8 +0,0 @@
Compiling vpi/nextsimtime_scaled_time.c...
Making nextsimtime_scaled_time.vpi from nextsimtime_scaled_time.o...
time 0: 0
nextsimtime: 1.000000
time 1: 1
nextsimtime: 4.000000
time 4: 4
nextsimtime: 5.000000

View File

@ -1,8 +0,0 @@
Compiling vpi/nextsimtime_sim_time.c...
Making nextsimtime_sim_time.vpi from nextsimtime_sim_time.o...
time 0: 0
nextsimtime: 1000
time 1: 1
nextsimtime: 4000
time 4: 4
nextsimtime: 5000

View File

@ -1,8 +0,0 @@
Compiling vpi/nextsimtime_suppress_time.c...
Making nextsimtime_suppress_time.vpi from nextsimtime_suppress_time.o...
time 0: 0
nextsimtime: 1000
time 1: 1
nextsimtime: 4000
time 4: 4
nextsimtime: 5000

View File

@ -1,5 +1,5 @@
Compiling vpi/value_change1.c...
Making value_change1.vpi from value_change1.o...
Compiling vpi/value_change_cb1.c...
Making value_change_cb1.vpi from value_change_cb1.o...
At time 1000 v4 = 1
At time 1000 w4 = 1
At time 2000 i4 = 2

View File

@ -1,5 +1,5 @@
Compiling vpi/value_change2.c...
Making value_change2.vpi from value_change2.o...
Compiling vpi/value_change_cb2.c...
Making value_change_cb2.vpi from value_change_cb2.o...
At time 1.000000 v4 = 1
At time 1.000000 w4 = 1
At time 2.000000 i4 = 2

View File

@ -1,5 +1,5 @@
Compiling vpi/value_change3.c...
Making value_change3.vpi from value_change3.o...
Compiling vpi/value_change_cb3.c...
Making value_change_cb3.vpi from value_change_cb3.o...
At time 1000 v4 = 1
At time 1000 w4 = 1
At time 2000 i4 = 2

View File

@ -1,5 +1,5 @@
Compiling vpi/value_change4.c...
Making value_change4.vpi from value_change4.o...
Compiling vpi/value_change_cb4.c...
Making value_change_cb4.vpi from value_change_cb4.o...
At time 1000 v4 = 1
At time 1000 w4 = 1
At time 2000 i4 = 2

View File

@ -99,10 +99,10 @@ hello_tf normal hello_tf.c hello_tf.log
hello_vpi normal hello_vpi.c hello.log
hello_vpi2 normal hello_vpi2.c hello2.log vpi/hello_vpi1.c
listparams normal listparams.c listparams.log
nextsimtime_null_time normal nextsimtime_null_time.c nextsimtime_null_time.gold
nextsimtime_scaled_time normal nextsimtime_scaled_time.c nextsimtime_scaled_time.gold
nextsimtime_sim_time normal nextsimtime_sim_time.c nextsimtime_sim_time.gold
nextsimtime_suppress_time normal nextsimtime_suppress_time.c nextsimtime_suppress_time.gold
nextsimtime_cb1 normal nextsimtime_cb1.c nextsimtime_cb1.gold
nextsimtime_cb2 normal nextsimtime_cb2.c nextsimtime_cb2.gold
nextsimtime_cb3 normal nextsimtime_cb3.c nextsimtime_cb3.gold
nextsimtime_cb4 normal nextsimtime_cb4.c nextsimtime_cb4.gold
memmon normal,-g1995 memmon.c memmon.log
memwide normal memwide.cc memwide.log
mipname normal mipname.c mipname.log
@ -137,10 +137,10 @@ sim_time_cb2 normal sim_time_cb2.c sim_time_cb2.gold
spec_delays normal,-gspecify spec_delays.c spec_delays.log
start_of_simtime1 normal start_of_simtime1.c start_of_simtime1.log
timescale normal timescale.c timescale.log
value_change1 normal,-g2009 value_change1.c value_change1.gold
value_change2 normal,-g2009 value_change2.c value_change2.gold
value_change3 normal,-g2009 value_change3.c value_change3.gold
value_change4 normal,-g2009 value_change4.c value_change4.gold
value_change_cb1 normal,-g2009 value_change_cb1.c value_change_cb1.gold
value_change_cb2 normal,-g2009 value_change_cb2.c value_change_cb2.gold
value_change_cb3 normal,-g2009 value_change_cb3.c value_change_cb3.gold
value_change_cb4 normal,-g2009 value_change_cb4.c value_change_cb4.gold
# Add new tests in alphabetic/numeric order. If the test needs
# a compile option or a different log file to run with an older