45 lines
1,007 B
C
45 lines
1,007 B
C
//=====================================================================
|
|
//
|
|
// veriuser.c Date: 2002/07/10
|
|
//
|
|
// Copyright (c) 2002-2010 Simon Southwell.
|
|
//
|
|
// This file is part of VProc.
|
|
//
|
|
// $Id$
|
|
// $Source$
|
|
//
|
|
//=====================================================================
|
|
//
|
|
// PLI task/function registration table for plitask
|
|
//
|
|
//=====================================================================
|
|
|
|
#if !defined(MODELSIM)
|
|
#include "vxl_veriuser.h"
|
|
#endif
|
|
#include "VSched_pli.h"
|
|
#include "mem_model.h"
|
|
|
|
char *veriuser_version_str = "Virtual Processor PLI V0.1 Copyright (c) 2005 Simon Southwell.";
|
|
|
|
s_tfcell veriusertfs[VPROC_TF_TBL_SIZE+MEM_MODEL_TF_TBL_SIZE+1] =
|
|
{
|
|
VPROC_TF_TBL,
|
|
MEM_MODEL_TF_TBL,
|
|
{0}
|
|
};
|
|
|
|
p_tfcell bootstrap ()
|
|
{
|
|
return veriusertfs;
|
|
}
|
|
|
|
#ifdef ICARUS
|
|
static void veriusertfs_register(void)
|
|
{
|
|
veriusertfs_register_table(veriusertfs);
|
|
}
|
|
|
|
void (*vlog_startup_routines[])() = { &veriusertfs_register, 0 };
|
|
#endif
|