Can you generate a VHDL version for your PCI bridge. Some tools can do that automatically but the result is not really good.