xvc-protocol 0.2.0

Implementation of the Xilinx Virtual Cable (XVC) 1.0 protocol for JTAG communication with FPGA devices over network connections
Documentation

XVC Protocol Library

A Rust implementation of the Xilinx Virtual Cable (XVC) 1.0 protocol for JTAG communication with FPGA devices over network connections.

Features

  • Protocol Implementation: Full XVC 1.0 support with message serialization/deserialization
  • Error Handling: Robust parsing with detailed error reporting
  • Type Safety: Leverages Rust's type system for protocol correctness

Usage

See the crate documentation for API documentation and usage examples.

Quick Start

use xvc_protocol::{Message, XvcInfo};
use std::io::Cursor;

// Parse server capabilities
let response = b"xvcServer_v1.0:32\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)?;