| /** |
| ******************************************************************************** |
| * Copyright (c) 2020, 2021 Robert Bosch GmbH. |
| * |
| * This program and the accompanying materials are made |
| * available under the terms of the Eclipse Public License 2.0 |
| * which is available at https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Robert Bosch GmbH - initial API and implementation |
| ******************************************************************************** |
| */ |
| |
| package org.eclipse.app4mc.amlt2systemc.m2t.cust.module; |
| |
| import java.util.Properties; |
| |
| import org.eclipse.app4mc.amlt2systemc.m2t.SystemCGuiceModule; |
| import org.eclipse.app4mc.amlt2systemc.m2t.cust.transformers.CustMemoryTransformer; |
| import org.eclipse.app4mc.amlt2systemc.m2t.transformers.hw.MemoryTransformer; |
| import org.eclipse.app4mc.util.sessionlog.SessionLogger; |
| |
| public class CustSystemCGuiceModule extends SystemCGuiceModule { |
| |
| public CustSystemCGuiceModule(SessionLogger logger, Properties properties) { |
| super(logger, properties); |
| } |
| |
| @Override |
| protected void configure() { |
| super.configure(); |
| bind(MemoryTransformer.class).to(CustMemoryTransformer.class); |
| } |
| |
| } |