xvc-protocol

Crates.ioxvc-protocol
lib.rsxvc-protocol
version0.1.0
created_at2025-11-19 14:50:55.543106+00
updated_at2025-11-19 14:50:55.543106+00
descriptionImplementation of the Xilinx Virtual Cable (XVC) 1.0 protocol for JTAG communication with FPGA devices over network connections
homepage
repositoryhttps://github.com/Schottkyc137/xvc-rs
max_upload_size
id1940195
size21,649
Lukas Scheller (Schottkyc137)

documentation

README

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:\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)?;
Commit count: 0

cargo fmt