16 lines
320 B
C
16 lines
320 B
C
|
#include "fpga_cell_none.h"
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
struct fpga_cell_none *fpga_cell_none_new()
|
||
|
{
|
||
|
struct fpga_cell_none *fpga_cell_none;
|
||
|
|
||
|
fpga_cell_none = malloc(sizeof(struct fpga_cell_none));
|
||
|
if (fpga_cell_none) {
|
||
|
fpga_cell_init(FPGA_TO_CELL(fpga_cell_none),
|
||
|
FPGA_CELL_NONE);
|
||
|
}
|
||
|
|
||
|
return fpga_cell_none;
|
||
|
}
|