1. 17 Sep, 2015 2 commits
  2. 09 Sep, 2015 2 commits
    • Federico Vaga's avatar
      lib: add python support · 278c3a0c
      Federico Vaga authored
      The PyWRNC is a Python module that provides classes to handle HMQ, CPU,
      Shared Memory and the Debug Interface. The usage is documented and quite
      intuitive.
      
      Note: this first implementation lacks of protocol support. This means that
      messages over the HMQ are just integer lists (32bit word). So the user must
      manually encode/decode the protocol header. I will provide protocol support
      in a future release. Following some examples:
      
      [svec-demo/rt/demo is running on rt side]
      >>> from PyWRNC import *
      >>> hmq = WrncHmq(device_id = 0x382, hmq_index = 0, flags = 1)
      >>> hmq.sync_msg(0, [0x200, 0x0, 0x6020000, 0x0, 0x0, 0x0, 0x4, 0x0])
      [2048L, 9L, 100794368L, 0L, 0L, 4L, 4L, 0L, 0L, 4L, 4294936576L, ... ]
      
      [svec-demo/rt/autodemo is running on rt side]
      >>> from PyWRNC import *
      >>> cpu = WrncCpu(device_id=0x382, cpu_index = 0)
      >>> cpu.is_enable()
      False
      >>> cpu.enable()
      >>> cpu.is_enable()
      True
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      278c3a0c
    • Federico Vaga's avatar
  3. 02 Sep, 2015 1 commit
  4. 28 Aug, 2015 2 commits
  5. 27 Aug, 2015 2 commits
  6. 26 Aug, 2015 4 commits
  7. 25 Aug, 2015 4 commits
  8. 12 Aug, 2015 5 commits
  9. 11 Aug, 2015 4 commits
  10. 10 Aug, 2015 4 commits
  11. 07 Aug, 2015 2 commits
  12. 06 Aug, 2015 4 commits
  13. 05 Aug, 2015 2 commits
  14. 04 Aug, 2015 1 commit
  15. 31 Jul, 2015 1 commit