Can anyone think of a way to build a PCIe to Ethernet bridge using a TinyFPGA BX?
Goal is to implement the device side of PCIe on a CPU (PC) using an ethernet interface for I/O. This is a learning/prototyping exercise for writing code that interacts with a PCIe host controller by sending and receiving raw packets. This way I can learn about implementing PCIe devices and prototype a custom endpoint to potentially port into hardware later.
The PCIe host controller could either be running as programmable logic on the FPGA or, preferably, a separate device e.g. with the FPGA wired up to a PCIe slot on a PC.
EDIT: The key here is to bridge PCIe to a PC. Ethernet is only one option. Serial port would be fine too.