riscv-openocd/src
Michael Roth a53c72cdab SVF: fix checking bit pattern against length
The code works like follow (N = bit_len):

	N	-1	%4	2<<	-1	~ (binary)
	--------------------------------------------------
	1	0	0	2	1	1111 1110
	2	1	1	4	3	1111 1100
	3	2	2	8	7	1111 1000
	4	3	3	16	15	1111 0000
	5	4	0	2	1	1111 1110
	6	5	1	4	3	1111 1100
	7	6	2	8	7	1111 1000
	8	7	3	16	15	1111 0000
	...	...	...	...	...	...

Addresses a bug reported by FangfangLi <ffli@syntest.com.cn>.

[dbrownell@users.sourceforge.net: fix spelling bug too]

Signed-off-by: Michael Roth <mroth@nessie.de>
Cc: FangfangLi <ffli@syntest.com.cn>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
2009-10-29 15:39:03 -07:00
..
flash Added the faux flash driver and target. Used for testing. 2009-10-20 12:23:56 +02:00
helper eCos synthetic target updates. 2009-10-21 12:02:04 +02:00
jtag Signalyzer: H2 and H4 support 2009-10-27 12:40:24 -07:00
pld - Replace '){' with ') {'. 2009-06-23 22:49:06 +00:00
server Retired gdb_attach. gdb-detach event covers this functionality. 2009-10-13 13:44:15 +02:00
svf SVF: fix checking bit pattern against length 2009-10-29 15:39:03 -07:00
target Cortex-M3: remove exports and forward decls 2009-10-28 10:53:11 -07:00
xsvf XSVF: bugfix handling state paths 2009-10-29 12:42:41 -07:00
Makefile.am MinGW: use WinSock2 2009-10-19 17:48:19 -07:00
ecosboard.c disable ZY1000's UART forwarding test code. 2009-10-22 10:23:15 +02:00
main.c Dick Hollenbeck <dick@softplc.com> moved stuff into openocd.c - should never have been in main.c in the first place. DLL will now build. 2009-05-02 19:31:30 +00:00
openocd.c Change most in-tree references from SVN to GIT. 2009-10-08 00:13:50 +00:00