summaryrefslogtreecommitdiffstats
path: root/fpga/xilinx/programmer/bit2svf/parts.h
blob: 48c5ae4483b560bfbe57e266a6e4fa93b826a83b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

typedef struct part_
   {
    char *name;
    char *id;
    char *idmask;
    char *alg_tpl;
    char *bsize;
    long msize;
   } part;



/* Some headers */
int select_part_by_name(char *name, part **ret);
part *text_to_part(char *text);
int select_part_from_file(char *name, char *file, part **ret);