![]() |
|
|
|||||||
![]() |
VHDL - Script to Expand Buses and Ports? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi:
I'm wondering if anyone knows of a script of program which will expand the buses and ports? I'm looking to create a symbol from a VHDL module and having a great deal of problems. Some of the code I would need to handle: o_pin_top_sdram_clk_en : out std_logic; not a problem, one output pin. i_pin_bottom_fedback_clk_in : in std_logic_vector(1 downto 0); All right, two bits 1 and 0 on an input pin... io_pin_sdram_dqs : inout std_logic_vector((get_Memdqstapwidth(Mem_array_wid th, SDRAM_DATA_WIDTH, Parity_present)*SDRAM_DATA_WIDTH/ What the ??? I'm not a VHDL coder, just trying to generate a symbol. I'm wondering if anyone knows of a tool or script or Perl Module which could parse this and bit blast it out. Thanks for any help. Tom g4173c@motorola.com |
|
|
|
|
#2 |
|
Posts: n/a
|
On 13 Apr 2007 05:19:20 -0700, wrote:
>Hi: > >I'm wondering if anyone knows of a script of program which will expand >the buses and ports? I'm looking to create a symbol from a VHDL module > >io_pin_sdram_dqs : inout >std_logic_vector((get_Memdqstapwidth(Mem_array_wi dth, >SDRAM_DATA_WIDTH, Parity_present)*SDRAM_DATA_WIDTH/ > >What the ??? A nice general piece of code It's a bus. Its width is not known until elaboration time. Unless you can compile all the VHDL (not just this module, but all of it) and evaluate the constant function get_Memdqstapwidth(), you have no way to know the size of the bus. It may be easier to run the design through front-end synthesis, and then ask the synthesis tool what it thinks about the port. That's why we use HDLs rather than diagrams these days. -- Jonathan Bromley, Consultant DOULOS - Developing Design Know-how VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK http://www.MYCOMPANY.com The contents of this message may contain personal views which are not the views of Doulos Ltd., unless specifically stated. Jonathan Bromley |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ports & Bios Problem | gullab2 | General Help Related Topics | 0 | 09-19-2006 01:14 PM |
| Re: USB issue ... some USB 2 ports working only in USB 1 mode | hungsolo2005@yahoo.com | A+ Certification | 0 | 06-14-2006 08:26 PM |
| Re: ports | CoolJello | A+ Certification | 6 | 05-15-2006 04:16 PM |
| Re: ports | Butterfield | A+ Certification | 2 | 05-09-2006 09:03 PM |
| alot of open ports | leno bob | A+ Certification | 8 | 03-27-2005 11:44 PM |