ttl-fpga/sw/kousaten/src/main.c

26 lines
452 B
C
Raw Normal View History

2019-06-16 17:11:20 +02:00
#include <stdio.h>
2019-06-16 21:27:42 +02:00
#include "fpga_cell.h"
#include "fpga_fdef_loader.h"
#include "fpga_global.h"
2019-06-16 17:11:20 +02:00
2019-06-16 21:27:42 +02:00
int development_test_main(int argc, char *argv[])
2019-06-16 17:11:20 +02:00
{
2019-06-16 21:27:42 +02:00
struct fpga_cell *entry_cell;
entry_cell = fpga_fdef_loader_load("fdef/16x16.fdef");
if (!entry_cell) {
report(LL_CRITICAL, "Error loading FDEF.\n");
return 1;
}
report(LL_INFO, "FDEF loaded.");
2019-06-16 17:11:20 +02:00
return 0;
}
2019-06-16 21:27:42 +02:00
int main(int argc, char *argv[])
{
return development_test_main(argc, argv);
}