Forum Discussion
Altera_Forum
Honored Contributor
13 years agoPCIe Simulation : PCIe Root Port BFM transactions
Hello, I want simulate, with Modelsim, an Altera PCIe Endpoint design Qsys-Avalon-MM based. I begin starting with the PCIe Qsys example in Chapter 17 of the "IP Compiler for PCI Express User ...
Altera_Forum
Honored Contributor
13 years agoIf all you are doing is creating some user logic to decode the TLPs via the Avalon bus, it might just be easier to write your own BFM at the Avalon level with good constrained random testing. Doing this I was able to simulate thousands of TLPs in about a minute. Then I plugged it into a real system and it worked fine!
Bare in mind though, my system was just a 16K dual ported memory, so I only cared about reads and writes. The rest of the packets I just ignored or created the "not supported" completion packets.