Skip to content

Commit

Permalink
Cleanup of v2009.vpoi module.
Browse files Browse the repository at this point in the history
  • Loading branch information
steveicarus committed Jan 5, 2013
1 parent cdbfe28 commit bc9e31a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vpi/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ LDFLAGS = @LDFLAGS@
O = sys_table.o sys_convert.o sys_countdrivers.o sys_darray.o sys_deposit.o sys_display.o \
sys_fileio.o sys_finish.o sys_icarus.o sys_plusargs.o sys_queue.o \
sys_random.o sys_random_mti.o sys_readmem.o sys_readmem_lex.o sys_scanf.o \
sys_sdf.o sys_string.o sys_time.o sys_vcd.o sys_vcdoff.o vcd_priv.o mt19937int.o \
sys_sdf.o sys_time.o sys_vcd.o sys_vcdoff.o vcd_priv.o mt19937int.o \
sys_priv.o sdf_lexor.o sdf_parse.o stringheap.o vams_simparam.o \
table_mod.o table_mod_lexor.o table_mod_parse.o
OPP = vcd_priv2.o
Expand All @@ -73,7 +73,7 @@ M = sys_clog2.o v2005_math.o
# Object files for va_math.vpi
V = va_math.o

V2009 = v2009_table.o v2009_enum.o
V2009 = v2009_table.o v2009_enum.o v2009_string.o

VHDL_SYS = vhdl_table.o

Expand Down
2 changes: 0 additions & 2 deletions vpi/sys_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ extern void sys_queue_register();
extern void sys_random_register();
extern void sys_random_mti_register();
extern void sys_readmem_register();
extern void sys_string_register();
extern void sys_scanf_register();
extern void sys_sdf_register();
extern void sys_time_register();
Expand Down Expand Up @@ -210,7 +209,6 @@ void (*vlog_startup_routines[])() = {
sys_random_mti_register,
sys_readmem_register,
sys_scanf_register,
sys_string_register,
sys_time_register,
sys_lxt_or_vcd_register,
sys_sdf_register,
Expand Down
1 change: 0 additions & 1 deletion vpi/v2009.sft
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
# This is the system function descriptor table for the
# builtin (system) functions.
#

2 changes: 1 addition & 1 deletion vpi/sys_string.c → vpi/v2009_string.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static PLI_INT32 len_calltf(ICARUS_VPI_CONST PLI_BYTE8*name)
return 0;
}

void sys_string_register(void)
void v2009_string_register(void)
{
s_vpi_systf_data tf_data;
vpiHandle res;
Expand Down
2 changes: 2 additions & 0 deletions vpi/v2009_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@
# include <string.h>

extern void v2009_enum_register(void);
extern void v2009_string_register(void);

void (*vlog_startup_routines[])() = {
v2009_enum_register,
v2009_string_register,
0
};

0 comments on commit bc9e31a

Please sign in to comment.