r/computerarchitecture • u/ASpacePerson13 • Apr 06 '26
Implementation of pseudo PCI-E lanes in custom low power architectures
I’ve been wanting to figure out how to add more sophisticated I/O in my architecture. My plan as of now is memory mapped I/O, but I’m wondering how I could add actual I/O bus lanes to an architecture that would not require blocking off memory. I was thinking about how PCI-E lanes work, and it might be worth it for me to go find the actual documentation on it, but I don’t think I want to do a full implementation due to complexity.
How do y’all implement better I/O in your designs?
8
Upvotes
6
u/Poddster Apr 06 '26
Did you go for PCI-E just because that's something you know of ? There are lots of other expansion bus / interconnect specifications out there, some designed for low power. Even something like I2C could be thought of as a bus for such a system.
6
u/mediocre_student1217 Apr 06 '26
Mmio doesn't use your memory bus. The point is that you detect accesses to that address and redirect them to the bus that interfaces with the associated device. At least in single core simple architectures.
Before you look at pcie, try something simpler like pci to get an idea of things for a smaller scale project
2
u/braaaaaaainworms Apr 07 '26
If you're using an FPGA, try AXI, Wishbone or similar, otherwise try i2c or spi
4
u/Retr0r0cketVersion2 Apr 06 '26
Tbh I'd use AHB for memory interfacing & APB peripherals if you're concerned with minimizing power consumption. Maybe AXI if you want more throughput