Fix bsdl bit order and safe bit (Jean-Christian de Rivaz)

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1640 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 16 years ago
parent 9310896954
commit be14802d6a

@ -1,3 +1,8 @@
2009-06-01 Arnim Laeuger <arniml>
* src/bsdl/bsdl_sem.c, THANKS: Fix bsdl bit order and safe bit
(Jean-Christian de Rivaz)
2009-06-01 Mike Frysinger <vapier@gentoo.org>
* src/bsdl/bsdl_sem.c: add missing "length" in display (Jean-Christian de

@ -68,6 +68,7 @@ Ken Parker
Christian Pellegrin
Laurent Pinchart
Ramses VI
Jean-Christian de Rivaz
Michel Robitaille
Hein Roehrig
Marko Rößler

@ -271,6 +271,19 @@ bsbit_type_char (int type)
}
}
static char
bsbit_safe_char (int safe)
{
switch (safe)
{
case 0:
return '0';
case 1:
return '1';
default:
return '?';
}
}
/*****************************************************************************
* int urj_bsdl_process_cell_info( urj_bsdl_jtag_ctrl_t *jc )
@ -340,8 +353,8 @@ urj_bsdl_process_cell_info (urj_bsdl_jtag_ctrl_t *jc)
return URJ_STATUS_FAIL;
if (jc->proc_mode & URJ_BSDL_MODE_INSTR_PRINT)
urj_log (URJ_LOG_LEVEL_NORMAL,
"bit %d %s %c %d %d %d %c\n", ci->bit_num,
ci->port_name, bsbit_type_char (type), safe,
"bit %d %c %c %s %d %d %c\n", ci->bit_num,
bsbit_type_char (type), bsbit_safe_char(safe), ci->port_name,
ci->ctrl_bit_num, ci->disable_safe_value,
'Z');
}
@ -354,8 +367,8 @@ urj_bsdl_process_cell_info (urj_bsdl_jtag_ctrl_t *jc)
return URJ_STATUS_FAIL;
if (jc->proc_mode & URJ_BSDL_MODE_INSTR_PRINT)
urj_log (URJ_LOG_LEVEL_NORMAL,
"bit %d %s %c %d\n", ci->bit_num, ci->port_name,
bsbit_type_char (type), safe);
"bit %d %c %c %s\n", ci->bit_num,
bsbit_type_char (type), bsbit_safe_char(safe), ci->port_name);
}
ci = ci->next;

Loading…
Cancel
Save