1. 17 Nov, 2009 1 commit
  2. 16 Nov, 2009 1 commit
    • Zachary T Welch's avatar
      move ARRAY_SIZE macro to types.h · dc1685ca
      Zachary T Welch authored
      The ARRAY_SIZE macro was defined in several target files, so move it
      to types.h.
      
      This patch also removes two other identical macros: DIM (from jtag.h)
      and asizeof (from arm11.h).
      dc1685ca
  3. 13 Nov, 2009 6 commits
  4. 10 Nov, 2009 1 commit
  5. 29 Oct, 2009 1 commit
    • Michael Roth's avatar
      SVF: fix checking bit pattern against length · a53c72cd
      Michael Roth authored
      
      
      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: default avatarMichael Roth <mroth@nessie.de>
      Cc: FangfangLi <ffli@syntest.com.cn>
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      a53c72cd
  6. 26 Oct, 2009 1 commit
  7. 23 Oct, 2009 1 commit
    • David Brownell's avatar
      SVF: clean up, mostly for TAP state name handling · 814183a5
      David Brownell authored
      
      
       - Use the name mappings all the other code uses:
          + name-to-state ... needed to add one special case
          + state-to-name
       - Improve various diagnostics:
          + don't complain about a "valid" state when the issue
            is actually that it must be "stable"
          + say which command was affected
       - Misc:
          + make more private data and code be static
          + use public DIM() not private dimof()
          + shorten the affected lines
      
      Re the mappings, this means we're more generous in inputs we
      accept, since case won't matter.  Also our output diagnostics
      will be a smidgeon more informative, saying "RUN/IDLE" not
      just "IDLE" (emphasizing that there can be side effects).
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      814183a5
  8. 21 Oct, 2009 1 commit
    • David Brownell's avatar
      XSVF: use svf_add_statemove() · 7556a93a
      David Brownell authored
      
      
      XSVF improvements:
      
       - Layer parts of XSVF directly over SVF, calling svf_add_statemove()
         instead of expecting jtag_add_statemove() to conform to the SVF/XSVF
         requirements (which it doesn't).
      
         This should improve XSTATE handling a lot; it removes most users of
         jtag_add_statemove(), and the comments about how it should really do
         what svf_add_statemove() does.
      
       - Update XSTATE logic to be a closer match to the XSVF spec.  The main
         open issue here is (still) that this implementation doesn't know how
         to build and submit paths from single-state transitions ... but now
         it will report that error case.
      
       - Update the User's Guide to mention the two utility scripts for
         working with XSVF, and to mention the five extension opcodes.
      
      Handling of state transition paths is, overall, still a mess.  I think
      they should all be specified as paths not unlike SVF uses, and compiled
      to the bitstrings later ... so that we can actually make sense of the
      paths.  (And see the extra clocks, detours through RUN, etc.)
      
      Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
      7556a93a
  9. 20 Oct, 2009 2 commits
  10. 25 Aug, 2009 1 commit
  11. 24 Aug, 2009 1 commit
  12. 20 Aug, 2009 1 commit
  13. 23 Jun, 2009 4 commits
  14. 18 Jun, 2009 2 commits
  15. 01 Jun, 2009 1 commit
  16. 26 May, 2009 2 commits
  17. 25 May, 2009 1 commit
  18. 24 May, 2009 1 commit
  19. 21 May, 2009 1 commit
  20. 18 May, 2009 1 commit
  21. 11 May, 2009 2 commits
  22. 08 May, 2009 1 commit
  23. 06 May, 2009 3 commits
  24. 19 Apr, 2009 1 commit
  25. 03 Feb, 2009 1 commit
  26. 23 Jan, 2009 1 commit