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

Reply

VHDL - A VHDL port map question.

 
Thread Tools Search this Thread
Old 11-04-2006, 01:22 AM   #1
Default A VHDL port map question.


Here is the problem.
I'm design a 32 bits ALU using structure. and our professor want us to break the 32 bits ALU into 8 of 4 bit ALU pieceses. and every 4 bit ALU structure only take 4 bit vector's input with both A and B.
so at end, The input is 32 bits for both input A and B.
so my port map will be like following

four_bit_ALU port map(A=>A(3:0), B=>B(3:0).........)

where A is 4 bits vector input for the 4 bit ALU structor,
A(3:0) is where I tried to get the first 4 bits of my 32 bit inputs
however, it doesn't work out. Does anyone know how to do that?

or does anyone know how to take the 32 bits input and break it down to eight 4 bits signals, which it will map to my 4 bit ALU.


BCW0928
BCW0928 is offline   Reply With Quote
Reply


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
VHDL sll shift question ohaqqi Hardware 4 09-29-2009 11:27 AM
How to execute an external software from VHDL? And how to interface VHDL with JAVA? becool_nikks Software 0 03-06-2009 07:08 PM
ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL freitass Hardware 0 11-01-2007 03:44 PM
Long, regarding a "lost" COM port smackedass A+ Certification 4 02-05-2007 04:55 PM
Re: General USB Printer setup question, and situation-specific question AG A+ Certification 0 01-13-2005 11:13 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