hamster Posted July 2, 2013 Report Share Posted July 2, 2013 Does anybody have a working host comms library and IP for the Papilio? I know we can just use serial but I want something that will be a lot more friendly and abstracted ... so I can write something like this to test servos... if(!PapilioOpen(NULL)) return; // set position of servos on reg 0 and reg 1 PapilioRegWrite(0,255); PapilioRegRead(1,255); sleep(1); // set postion of servos on reg 0 and reg 1 PapilioRegWrite(0,0); PapilioRegRead(1,0); sleep(1); PapilioRegWrite(0,255); PapilioRegRead(1,255); PapilioClose();} An the FPGA end it should ideally look as if it is connected to a RAM. address - from host datain - from host dataout - to host read_strobe - from host write_strobe - from host ack - to host Thanks! Mike Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.