| Crates.io | xvc-protocol |
| lib.rs | xvc-protocol |
| version | 0.1.0 |
| created_at | 2025-11-19 14:50:55.543106+00 |
| updated_at | 2025-11-19 14:50:55.543106+00 |
| description | Implementation of the Xilinx Virtual Cable (XVC) 1.0 protocol for JTAG communication with FPGA devices over network connections |
| homepage | |
| repository | https://github.com/Schottkyc137/xvc-rs |
| max_upload_size | |
| id | 1940195 |
| size | 21,649 |
A Rust implementation of the Xilinx Virtual Cable (XVC) 1.0 protocol for JTAG communication with FPGA devices over network connections.
See the crate documentation for API documentation and usage examples.
use xvc_protocol::{Message, XvcInfo};
use std::io::Cursor;
// Parse server capabilities
let response = b"xvcServer_v1.0:\x00\x00\xA0\x00\n";
let mut reader = Cursor::new(response);
let info = XvcInfo::from_reader(&mut reader)?;
// Send a message
let msg = Message::GetInfo;
let mut buffer = Vec::new();
msg.write_to(&mut buffer)?;