xvc-protocol 0.1.0

Implementation of the Xilinx Virtual Cable (XVC) 1.0 protocol for JTAG communication with FPGA devices over network connections
Documentation
  • Coverage
  • 52.94%
    18 out of 34 items documented1 out of 15 items with examples
  • Size
  • Source code size: 21.18 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.87 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 14s Average build duration of successful builds.
  • all releases: 14s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Schottkyc137/xvc-rs
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Schottkyc137

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)?;