OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [socsim_plugin/] [plugin_init.cpp] - Rev 3

Go to most recent revision | Compare with Previous | Blame | View Log

/**
 * @file
 * @copyright  Copyright 2016 GNSS Sensor Ltd. All right reserved.
 * @author     Sergey Khabarov - sergeykhbr@gmail.com
 * @brief      Plugin library initialization method.
 */
 
#include "boardsim.h"
#include "gpio.h"
#include "uart.h"
#include "pnp.h"
#include "irqctrl.h"
#include "gnss_stub.h"
#include "gptimers.h"
#include "dsu.h"
#include "rfctrl.h"
#include "fsev2.h"
 
namespace debugger {
 
extern "C" void plugin_init(void) {
    REGISTER_CLASS_IDX(BoardSim, 1);
    REGISTER_CLASS_IDX(GPIO, 3);
    REGISTER_CLASS_IDX(UART, 4);
    REGISTER_CLASS_IDX(PNP, 5);
    REGISTER_CLASS_IDX(IrqController, 6);
    REGISTER_CLASS_IDX(GNSSStub, 7);
    REGISTER_CLASS_IDX(DSU, 8);
    REGISTER_CLASS_IDX(GPTimers, 9);
    REGISTER_CLASS_IDX(RfController, 10);
    REGISTER_CLASS_IDX(FseV2, 11);
}
 
}  // namespace debugger
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.