Altera_Forum
Honored Contributor
21 years agoTri-state bus with HDL files
Hi,
I'm having trouble defining user peripherals for the avalon tri-state bus and wondered if anyone could offer some suggestions. The situation is this: We have our own custom board (after getting the basics operational using the development kit) and we need to implement a few things differently on our external tri-state bus. In particular, we need to jump through some hoops when dealing with our external SRAM that cannot be handled by simply adding a port definition (i.e. we need to implement waitrequest and some custom logic). However, for some reason, even though the bi-directional data bus in the component class.ptf file is defined as being shared, after system generation there is a separate data bus from the main tri-state bus. Also, there is no separate chipselect signal generated. If an interface for some of the other devices on the same bus is created, but without using imported HDL files (i.e. checkbox is off during 'add interface to user logic') then the component is added as I expect with the shared data bus and separate select signal. Has anyone else had success when creating off-chip components that have HDL files associated with their behaviour? Alistair