1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
/*
* Copyright (C) 2008-2009 FAUmachine Team <info@faumachine.org>.
* This program is free software. You can redistribute it and/or modify it
* under the terms of the GNU General Public License, either version 2 of
* the License, or (at your option) any later version. See COPYING.
*/
/*
* Glue layer implementing the foreign interface of fauhdli for FAUmachine,
* so that fauhdli can access FAUmachine signals and components.
* Must not be called by FAUmachine itself.
*/
#ifndef __GLUE_VHDL_H_INCLUDED
#define __GLUE_VHDL_H_INCLUDED
#include <fauhdli.h>
/** Create a glue_vhdl instance.
* @param callbacks glue_vhdl will fill the glue-vhdl related callbacks.
* @return allocated glue_vhdl instance.
*/
extern void *
glue_vhdl_create(struct glue_vhdl_cb *callbacks);
/** Initialize the state of a glue_vhdl instance.
* @param _cpssp glue_vhdl instance.
* @param fauhdli fauhdli instance pointer. (opaque to glue_vhdl).
*/
extern void
glue_vhdl_init(void *_cpssp, void *fauhdli);
/** Destroy a glue-vhdl instance.
* @param _cpssp pointer to glue_vhdl instance.
*/
extern void
glue_vhdl_destroy(void *_cpssp);
#endif /* __GLUE_VHDL_H_INCLUDED */
|