Hello, In the last days I start to thinking in reading the BRAMs on the fpga via the PPC directly and not give the request via LAN reducing the reading latency (I suppose) Messing around inside the ppc, I found the command kcpcmd which enables me to send katcp requests so thats nice. I made a little ash script for continuously reading one register and saving it in the tmpfs mounted in /var.
The main problem I found is that the kcpcmd gives me the reading in a human readable way (even when I set the -x option which gives the response in hexadecimal) so when I save it in a doc use much more space than binary data.. There is other way to read the brams of the fpga beside the kcpcmd? Searching I found that in the netfpga, which also use a borph os, reads the register from /proc/8033/hw/ioreg there is something similar to this in the ppc? Other way to fix my problem was to make a little script to translate the values form ascii(?) to binary after the reading with kcpcmd. My plan is using C and cross-compile for the powerpc in gcc.. Should this work in the borph environment? -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/5f030be7-3ffa-4946-a3d7-b7f2b97d64b3%40lists.berkeley.edu.

