JTag烧些程序中定义的端口号是怎么定义的?
看过JTag烧写程序在pin4510.h中定义了各个pin的序号,如下:#define S4510_MAX_CELL_INDEX 233 //the number of internal pads
//DATA BUS
#define DATA0_31_CON (127) //1-input, 0-output
#define DATA0_IN (126)
#define DATA0_OUT (125)
#define DATA1_IN (124)
#define DATA1_OUT (123)
#define DATA2_IN (122)
#define DATA2_OUT (121)
#define DATA3_IN (120)
#define DATA3_OUT (119)
............
#define ADDR0 (149)
#define ADDR1 (148)
#define ADDR2 (147)
#define ADDR3 (146)
#define ADDR4 (145)
#define ADDR5 (144)
#define ADDR6 (143)
#define ADDR7 (142)
#define ADDR8 (141)
#define ADDR9 (140)
#define ADDR10 (139)
#define ADDR11 (138)
#define ADDR12 (137)
#define ADDR13 (136)
#define ADDR14 (135)
#define ADDR15 (134)
这些定义是从哪里来的,另外那个4510的BSD文件里定义的是做什么用的?和这个定义有关系吗?
页:
[1]