HELP ! WHY doesn't SHL multiply by two ??

J

Jam

Guest
I don't get it:

I use the libraries:
Library IEEE;
Use IEEE.Std_logic_1164.all;
Use IEEE.Std_logic_unsigned.all;

I have a one compl ADC

temp(11 downto 0) <= (not FOCADCd(11) & FOCADCd(10 downto 0));

SAin(11 downto 0) <= SHL(temp,"10");

should this do the same as SAin(11 downto 0) <= SAin(11 downto 0) <=
(Temp(10 downto 0) & '0');
 
Hi Pl tell me what do u want to do with this line

SAin(11 downto 0) <= SHL(temp,"10");

Anupam
 
"anupam" <anupam@coraltele.com> writes:

Hi Pl tell me what do u want to do with this line

SAin(11 downto 0) <= SHL(temp,"10");
Are you trying to do
SAin(11 downto 0) <= temp(10 downto 0) & '0';

?

Martin

--
martin.j.thompson@trw.com
TRW Conekt, Solihull, UK
http://www.trw.com/conekt
 

Welcome to EDABoard.com

Sponsor

Back
Top