Clean up warnings for round() function declaration.
[iverilog.git] / libveriuser / a_fetch_time.c
blob236b86665bb19457b7c047363e79a3f76130d0b3
1 /*
2 * Copyright (c) 2003 Stephen Williams (steve@icarus.com)
4 * This source code is free software; you can redistribute it
5 * and/or modify it in source code form under the terms of the GNU
6 * General Public License as published by the Free Software
7 * Foundation; either version 2 of the License, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 #ifdef HAVE_CVS_IDENT
20 #ident "$Id: a_fetch_time.c,v 1.1 2003/03/13 04:35:09 steve Exp $"
21 #endif
24 #include <vpi_user.h>
25 #include <acc_user.h>
26 #include "priv.h"
28 void acc_fetch_timescale_info(handle obj, p_timescale_info info)
30 info->precision = vpi_get(vpiTimePrecision, 0);
31 info->unit = vpi_get(vpiTimeUnit, obj);
35 * $Log: a_fetch_time.c,v $
36 * Revision 1.1 2003/03/13 04:35:09 steve
37 * Add a bunch of new acc_ and tf_ functions.