35#ifndef Ethernet100BaseTXDecoder_h
36#define Ethernet100BaseTXDecoder_h
58 virtual void Refresh(vk::raii::CommandBuffer& cmdBuf, std::shared_ptr<QueueHandle> queue)
override;
59 static std::string GetProtocolName();
64 int GetState(
float voltage)
68 else if(voltage < -0.5)
75 vk::raii::CommandBuffer& cmdBuf,
76 std::shared_ptr<QueueHandle> queue,
126 std::shared_ptr<QueueHandle> m_transferQueue;
Definition AcceleratorBuffer.h:204
Definition Ethernet100BaseTXDecoder.h:47
Definition Ethernet100BaseTXDecoder.h:54
std::shared_ptr< ComputePipeline > m_findSSDComputePipeline
Compute pipeline for finding start-of-stream descriptor.
Definition Ethernet100BaseTXDecoder.h:108
AcceleratorBuffer< uint8_t > m_descrambledBits
Descrambled serial bit stream after LFSR.
Definition Ethernet100BaseTXDecoder.h:87
bool TrySync(size_t idle_offset)
Try descrambling the first 64 bits at the requested offset and see if it makes sene.
Definition Ethernet100BaseTXDecoder.cpp:638
void Descramble(vk::raii::CommandBuffer &cmdBuf, size_t idle_offset)
Actually run the descrambler.
Definition Ethernet100BaseTXDecoder.cpp:680
AcceleratorBuffer< uint32_t > m_lfsrTable
LFSR lookahead table.
Definition Ethernet100BaseTXDecoder.h:96
AcceleratorBuffer< uint8_t > m_trySyncOutput
Results from TrySync.
Definition Ethernet100BaseTXDecoder.h:90
std::shared_ptr< ComputePipeline > m_descrambleComputePipeline
Compute pipeline for descrambling.
Definition Ethernet100BaseTXDecoder.h:105
AcceleratorBuffer< uint8_t > m_phyBits
Raw scrambled serial bit stream after MLT-3 decoding.
Definition Ethernet100BaseTXDecoder.h:84
AcceleratorBuffer< uint32_t > m_findSSDOutput
Results from FindSSD.
Definition Ethernet100BaseTXDecoder.h:93
std::shared_ptr< ComputePipeline > m_mlt3DecodeComputePipeline
Compute pipeline for MLT-3 decoding.
Definition Ethernet100BaseTXDecoder.h:99
std::unique_ptr< vk::raii::CommandBuffer > m_transferCmdBuf
Command buffer for transfers.
Definition Ethernet100BaseTXDecoder.h:123
std::shared_ptr< ComputePipeline > m_4b5bDecodeComputePipeline
Compute pipeline for 4b5b decoding.
Definition Ethernet100BaseTXDecoder.h:111
AcceleratorBuffer< uint64_t > m_4b5bTimestamps
4b5b decoder output timestamps
Definition Ethernet100BaseTXDecoder.h:117
AcceleratorBuffer< uint8_t > m_4b5bSamples
4b5b decoder output
Definition Ethernet100BaseTXDecoder.h:114
std::shared_ptr< ComputePipeline > m_trySyncComputePipeline
Compute pipeline for TrySync.
Definition Ethernet100BaseTXDecoder.h:102
std::unique_ptr< vk::raii::CommandPool > m_cmdPool
Pool of command buffers.
Definition Ethernet100BaseTXDecoder.h:120
Definition Ethernet100BaseTXDecoder.h:39
Definition EthernetProtocolDecoder.h:94