Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi Aditya,
--- Quote Start --- ... These systems have no bus ... I am not using any Bus [such as PCIe/ixp bus] and the connection is through the Avalon switch fabric. --- Quote End --- The Avalon switched fabric is a bus protocol. The Altera Verification IP Suite contains BFMs for testing the protocol(s). --- Quote Start --- ... when I include the bus [I am using a simple expansion bus [ixp]] ... --- Quote End --- What is IXP? Is it the old ARM XScale bus? --- Quote Start --- ... when I connect the master of the bus to the slave of the RAM ... --- Quote End --- If you have an external processor connected to an Avalon fabric, then the interface should be an IXP-to-Avalon bridge. If the external bus can only be owned by the processor, then the bridge will only have an Avalon-MM master interface on the Avalon side. If however the external bus can be arbitrated for by the processor or the FPGA, then the Avalon interface can have both master and slave interfaces. --- Quote Start --- ... here are the difficulties I face ... --- Quote End --- The Altera Verification IP suite Avalon BFMs are for testing Avalon components. For an IXP-to-Avalon bridge design, you would require both Avalon BFMs and IXP BFMs, and monitors for those buses. The testbench for your bridge design would contain your bridge component, the bus monitors, and the BFMs. Your test case generator would throw lots of transactions at the design in an attempt to test every path through your bridge code (code coverage would tell you what is missed). Illegal activity would trigger assertion violations. Your tests would include transactions where both the IXP master and an Avalon-MM master issued transactions to the RAM and checked the results. This would result in simultaneous accesses that would be arbitrated by the slave-side arbitration inside the FPGA. --- Quote Start --- I have tried to explain things as clearly as possible, If I still haven't explained the problem clearly, I will explain it one more time with some screen shots. --- Quote End --- I think I have understood what you are trying to do, but a block diagram would help clarify. Cheers, Dave