register_socket_process_LT.cpp revision 12855
112841Sgabeblack@google.com/***************************************************************************** 212841Sgabeblack@google.com 312841Sgabeblack@google.com Licensed to Accellera Systems Initiative Inc. (Accellera) under one or 412841Sgabeblack@google.com more contributor license agreements. See the NOTICE file distributed 512841Sgabeblack@google.com with this work for additional information regarding copyright ownership. 612841Sgabeblack@google.com Accellera licenses this file to you under the Apache License, Version 2.0 712841Sgabeblack@google.com (the "License"); you may not use this file except in compliance with the 812841Sgabeblack@google.com License. You may obtain a copy of the License at 912841Sgabeblack@google.com 1012841Sgabeblack@google.com http://www.apache.org/licenses/LICENSE-2.0 1112841Sgabeblack@google.com 1212841Sgabeblack@google.com Unless required by applicable law or agreed to in writing, software 1312841Sgabeblack@google.com distributed under the License is distributed on an "AS IS" BASIS, 1412841Sgabeblack@google.com WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 1512841Sgabeblack@google.com implied. See the License for the specific language governing 1612841Sgabeblack@google.com permissions and limitations under the License. 1712841Sgabeblack@google.com 1812841Sgabeblack@google.com *****************************************************************************/ 1912841Sgabeblack@google.com 2012841Sgabeblack@google.com#include "tlm.h" 2112841Sgabeblack@google.com 2212841Sgabeblack@google.com#include "SimpleLTInitiator2.h" 2312841Sgabeblack@google.com#include "SimpleLTTarget2.h" 2412841Sgabeblack@google.comint sc_main(int argc, char* argv[]) 2512841Sgabeblack@google.com{ 2612841Sgabeblack@google.com SimpleLTInitiator2 initiator("initiator"); 2712841Sgabeblack@google.com SimpleLTTarget2 target("target"); 2812841Sgabeblack@google.com 2912841Sgabeblack@google.com initiator.socket(target.socket); 3012841Sgabeblack@google.com 3112841Sgabeblack@google.com sc_core::sc_start(); 3212841Sgabeblack@google.com sc_core::sc_stop(); 3312841Sgabeblack@google.com 3412841Sgabeblack@google.com return 0; 3513054Sgabeblack@google.com} 3612841Sgabeblack@google.com