main.cpp revision 12855
12207SN/A/*****************************************************************************
22207SN/A
32207SN/A  Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
42207SN/A  more contributor license agreements.  See the NOTICE file distributed
52207SN/A  with this work for additional information regarding copyright ownership.
62207SN/A  Accellera licenses this file to you under the Apache License, Version 2.0
72207SN/A  (the "License"); you may not use this file except in compliance with the
82207SN/A  License.  You may obtain a copy of the License at
92207SN/A
102207SN/A    http://www.apache.org/licenses/LICENSE-2.0
112207SN/A
122207SN/A  Unless required by applicable law or agreed to in writing, software
132207SN/A  distributed under the License is distributed on an "AS IS" BASIS,
142207SN/A  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
152207SN/A  implied.  See the License for the specific language governing
162207SN/A  permissions and limitations under the License.
172207SN/A
182207SN/A *****************************************************************************/
192207SN/A
202207SN/A/*****************************************************************************
212207SN/A
222207SN/A  main.cpp --
232207SN/A
242207SN/A  Original Author: Martin Janssen, Synopsys, Inc., 2002-02-15
252207SN/A
262207SN/A *****************************************************************************/
272665Ssaidi@eecs.umich.edu
282665Ssaidi@eecs.umich.edu/*****************************************************************************
292665Ssaidi@eecs.umich.edu
302207SN/A  MODIFICATION LOG - modifiers, enter your name, affiliation, date and
312207SN/A  changes you are making here.
323589Sgblack@eecs.umich.edu
334111Sgblack@eecs.umich.edu      Name, Affiliation, Date:
342474SN/A  Description of Modification:
352207SN/A
363760Sgblack@eecs.umich.edu *****************************************************************************/
372454SN/A
382976Sgblack@eecs.umich.edu// Main routine
392454SN/A
402680Sktlim@umich.edu#include "testbench.h"
412561SN/A
424434Ssaidi@eecs.umich.eduint sc_main(int ac, char *av[])
432561SN/A{
442474SN/A  sc_clock clock("Clock", 10, SC_NS, 0.5, 0, SC_NS);
452207SN/A
462458SN/A  testbench T("TB", clock);
472474SN/A
482458SN/A  sc_start();
492207SN/A  return 0;
505154Sgblack@eecs.umich.edu}
515285Sgblack@eecs.umich.edu