Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Script to Expand Buses and Ports?

 
Thread Tools Search this Thread
Old 04-13-2007, 01:19 PM   #1
Default Script to Expand Buses and Ports?


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/ - 1 downto 0) ;

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
  Reply With Quote
Old 04-13-2007, 02:23 PM   #2
Jonathan Bromley
 
Posts: n/a
Default Re: Script to Expand Buses and Ports?
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/ - 1 downto 0) ;
>
>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
  Reply With Quote
Reply

« simulator | 3-D ICs »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46