2 * Copyright (c) 2002 Michael Ruff (mruff at chiaro.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)
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
20 #ident "$Id: a_next_topmod.c,v 1.2 2002/08/12 01:35:02 steve Exp $"
31 * acc_next_topmod implemented using VPI interface
33 handle
acc_next_topmod(handle prev_topmod
)
35 static vpiHandle last
= NULL
;
36 static vpiHandle mod_i
= NULL
;
40 mod_i
= vpi_iterate(vpiModule
, NULL
);
42 /* subsequent time through */
43 assert(prev_topmod
== last
);
46 last
= vpi_scan(mod_i
);
51 * $Log: a_next_topmod.c,v $
52 * Revision 1.2 2002/08/12 01:35:02 steve
53 * conditional ident string using autoconfig.
55 * Revision 1.1 2002/06/02 19:03:58 steve
56 * Add acc_handle_tfarg and acc_next_topmode