/**********************************************************************
    * main.cpp -- the top module and testbench for the Generator/     *
    *          Regulator/Protector example                            *
    *                                                                 *
    * Author:  Hosein Attarzadeh (shan2@kth.se)                       *
    *          Based on the example from chapter 1 of:                *
    *          System Design, Modeling, and Simulation using PtolemyII*
    *                                                                 *
    * Purpose: Demonstration of a single cyber-physical system        *
    *                                                                 *
    * Usage:   Generator/Regulator/Protector example                  *
    *                                                                 *
    * License: BSD3                                                   *
    *******************************************************************/

#include "top.hpp"
//~ #include "gentest.hpp"


int sc_main(int argc, char **argv)
{
    top top("top");

    sc_start(60,SC_SEC);
    
    sc_stop();    
    return 0;
}
