Livt packages

Livt.Usb

Version 0.0.5

USB 2.0 low/full-speed PHY, host transfers, device discovery, HID keyboard, and read-only mass storage for Livt.

Published files (57)

tests/TransactionBypassTest.lvt

namespace Livt.Usb.Tests

/**
 * Checks the caller-selectable minimum-latency link boundary.
 */
@Test
@Context(ClockFrequency = 96MHz)
component TransactionBypassTest
{
	// Owned probe for this pipeline configuration.
	probe: TransactionPipelineProbe<false>

	/**
	 * Creates the configured protocol probe.
	 */
	new()
	{
		probe = new TransactionPipelineProbe<false>()
	}

	/**
	 * Verifies the same protocol behavior without the optional registers.
	 */
	@Test
	fn PreservesTransactions()
	{
		probe.Run()
	}
}