- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working on a design based on an existing system designed in AHDL. Currently the design has quite a few modules in AHDL connected with a block diagram at the top level.
The product has an external uP with the processor buses connected to the FPGA. Each of the modules has configuration and/or data registers interconnected with the processor bus. In the current design each of the modules has BIDIR pins for the data lines and the block diagram interconnects all of the BIDIR data lines together and to the FPGA pins for the uP data bus. I'm going to be adding more modules to add features to the product. I'd like to do the new modules in verilog and create a verilog top level to replace the block diagram. INOUT or BIDIR pins can not be connected together in anything other than a block diagram file, correct? Usually the way I've done this is to have data in and data out as separate ports of a module with an output enable from the module. At the top level I'd interconnect the data inputs, data outputs and data port pins. To replace the top level with a verilog design I'd have to edit the AHDL modules to separate the data bus. Not a big deal, but I was wondering if there is another way to do this?Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- INOUT or BIDIR pins can not be connected together in anything other than a block diagram file, correct? --- Quote End --- They can be connected in HDL as well. But you should consider, that multiplexers are inferred for the output data direction and that a mutual exclusive selection condition for the individual module's output enables must exist. But that's the same in schematic entry, I think.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll have to try again. I was getting an error when I tried to do that before.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page