V0.9: Add (back-port) the stochastic (queue) tasks/function.
This patch back-ports the stochastic tasks/function from development. See the development branch patches for more information.
This commit is contained in:
parent
6f2fd4e169
commit
a51ea8f3b2
|
|
@ -56,11 +56,10 @@ dep:
|
||||||
|
|
||||||
# Object files for system.vpi
|
# Object files for system.vpi
|
||||||
O = sys_table.o sys_convert.o sys_deposit.o sys_display.o sys_fileio.o \
|
O = sys_table.o sys_convert.o sys_deposit.o sys_display.o sys_fileio.o \
|
||||||
sys_finish.o sys_icarus.o sys_plusargs.o sys_random.o sys_random_mti.o \
|
sys_finish.o sys_icarus.o sys_plusargs.o sys_queue.o sys_random.o \
|
||||||
sys_readmem.o sys_readmem_lex.o sys_scanf.o sys_sdf.o \
|
sys_random_mti.o sys_readmem.o sys_readmem_lex.o sys_scanf.o sys_sdf.o \
|
||||||
sys_time.o sys_vcd.o sys_vcdoff.o vcd_priv.o \
|
sys_time.o sys_vcd.o sys_vcdoff.o vcd_priv.o mt19937int.o sys_priv.o \
|
||||||
mt19937int.o sys_priv.o sdf_lexor.o sdf_parse.o stringheap.o \
|
sdf_lexor.o sdf_parse.o stringheap.o vams_simparam.o
|
||||||
vams_simparam.o
|
|
||||||
|
|
||||||
ifeq (@HAVE_LIBZ@,yes)
|
ifeq (@HAVE_LIBZ@,yes)
|
||||||
ifeq (@HAVE_LIBBZ2@,yes)
|
ifeq (@HAVE_LIBBZ2@,yes)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2008-2010 Cary R. (cygcary@yahoo.com)
|
* Copyright (C) 2008-2011 Cary R. (cygcary@yahoo.com)
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|
@ -168,26 +168,6 @@ void sys_special_register(void)
|
||||||
tf_data.user_data = "$sync$nor$plane";
|
tf_data.user_data = "$sync$nor$plane";
|
||||||
vpi_register_systf(&tf_data);
|
vpi_register_systf(&tf_data);
|
||||||
|
|
||||||
tf_data.tfname = "$q_initialize";
|
|
||||||
tf_data.user_data = "$q_initialize";
|
|
||||||
vpi_register_systf(&tf_data);
|
|
||||||
|
|
||||||
tf_data.tfname = "$q_add";
|
|
||||||
tf_data.user_data = "$q_add";
|
|
||||||
vpi_register_systf(&tf_data);
|
|
||||||
|
|
||||||
tf_data.tfname = "$q_remove";
|
|
||||||
tf_data.user_data = "$q_remove";
|
|
||||||
vpi_register_systf(&tf_data);
|
|
||||||
|
|
||||||
tf_data.tfname = "$q_full";
|
|
||||||
tf_data.user_data = "$q_full";
|
|
||||||
vpi_register_systf(&tf_data);
|
|
||||||
|
|
||||||
tf_data.tfname = "$q_exam";
|
|
||||||
tf_data.user_data = "$q_exam";
|
|
||||||
vpi_register_systf(&tf_data);
|
|
||||||
|
|
||||||
tf_data.tfname = "$dumpports";
|
tf_data.tfname = "$dumpports";
|
||||||
tf_data.user_data = "$dumpports";
|
tf_data.user_data = "$dumpports";
|
||||||
vpi_register_systf(&tf_data);
|
vpi_register_systf(&tf_data);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999-2010 Stephen Williams (steve@icarus.com)
|
* Copyright (c) 1999-2011 Stephen Williams (steve@icarus.com)
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* and/or modify it in source code form under the terms of the GNU
|
||||||
|
|
@ -29,6 +29,7 @@ extern void sys_finish_register();
|
||||||
extern void sys_deposit_register();
|
extern void sys_deposit_register();
|
||||||
extern void sys_display_register();
|
extern void sys_display_register();
|
||||||
extern void sys_plusargs_register();
|
extern void sys_plusargs_register();
|
||||||
|
extern void sys_queue_register();
|
||||||
extern void sys_random_register();
|
extern void sys_random_register();
|
||||||
extern void sys_random_mti_register();
|
extern void sys_random_mti_register();
|
||||||
extern void sys_readmem_register();
|
extern void sys_readmem_register();
|
||||||
|
|
@ -198,6 +199,7 @@ void (*vlog_startup_routines[])() = {
|
||||||
sys_deposit_register,
|
sys_deposit_register,
|
||||||
sys_display_register,
|
sys_display_register,
|
||||||
sys_plusargs_register,
|
sys_plusargs_register,
|
||||||
|
sys_queue_register,
|
||||||
sys_random_register,
|
sys_random_register,
|
||||||
sys_random_mti_register,
|
sys_random_mti_register,
|
||||||
sys_readmem_register,
|
sys_readmem_register,
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ $dist_chi_square vpiSysFuncInt
|
||||||
$dist_t vpiSysFuncInt
|
$dist_t vpiSysFuncInt
|
||||||
$dist_erlang vpiSysFuncInt
|
$dist_erlang vpiSysFuncInt
|
||||||
$clog2 vpiSysFuncInt
|
$clog2 vpiSysFuncInt
|
||||||
|
$q_full vpiSysFuncInt
|
||||||
|
|
||||||
$abstime vpiSysFuncReal
|
$abstime vpiSysFuncReal
|
||||||
$simparam vpiSysFuncReal
|
$simparam vpiSysFuncReal
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue