The CF interface was designed as a separate component and not just a tri-state component because of the need for some custom logic (additional control registers, etc.) to be included for some of the required functionality (power on/off, insertion/removal interrupt, etc.).
It's not possible to connect the CF interface to the ext_ram_bus because on the Altera development boards, the CompactFlash slot does not share pins with this bus. It actually shares pins with one of the Santa Cruz connectors.
It is, however, possible to create a CF interface component that uses a tri-state bridge. I did so for a customer's custom board. I modeled the class.ptf file after the flash and sram components. I created 2 slaves (one for each CF chip select line), changed the timing to that required by the CompactFlash, modified/added the signal names and then indicated which lines were shared with other tri-state components using the ptf assignments "shared=1" or "shared=0". Finally I removed all the gui configuration stuff as this component wasn't configurable. The board was then designed to share quite a few pins (address, data, read, write).
Dennis
Microtronix Datacom