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)
- BulkOnlyControllerModel.lvt
- BulkOnlyTransportTest.lvt
- ControllerClient.lvt
- ControllerDispatchProbe.lvt
- ControllerDispatchTest.lvt
- DescriptorKeyboardTest.lvt
- DescriptorStorageTest.lvt
- HostControllerTest.lvt
- MassStorageHostTest.lvt
- PacketBufferConfigurationTest.lvt
- PacketBufferTest.lvt
- PacketCodecTest.lvt
- PacketReceiverTest.lvt
- RootPortTiming144Test.lvt
- RootPortTiming48Test.lvt
- RootPortTiming96Test.lvt
- TransactionBypassTest.lvt
- TransactionPipelineProbe.lvt
- TransactionPipelineTest.lvt
- Usb2PhyTest.lvt
tests/TransactionPipelineTest.lvt
namespace Livt.Usb.Tests
/**
* Checks the default registered link boundary with the real packet engine.
*/
@Test
@Context(ClockFrequency = 96MHz)
component TransactionPipelineTest
{
// Owned probe for this pipeline configuration.
probe: TransactionPipelineProbe<true>
/**
* Creates the configured protocol probe.
*/
new()
{
probe = new TransactionPipelineProbe<true>()
}
/**
* Verifies packet contents, ACK deadline, duplicate, CRC and cancel behavior.
*/
@Test
fn PreservesTransactions()
{
probe.Run()
}
}