Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > [AHDL]

Reply
Thread Tools

[AHDL]

 
 
news1.ustronie.pw.edu.pl
Guest
Posts: n/a
 
      04-29-2006
Hi!

I couldn't find group for AHDL so I decided to write here.
I have proble with writing value to register.
my register:
register[7..0] : DFF;
my constatnt
CONSTANT TIME = H"23";

and when I am tring like this

register[] = TIME;

I see in my simulator register's value :
XX1XXX11

Is anybody can tell my wy there are 'X' instead '0' ?

Thanks in advance

--
grzesiek
 
Reply With Quote
 
 
 
 
Andy
Guest
Posts: n/a
 
      05-01-2006
AHDL is a proprietary language owned by Altera.

Strangely, Xilinx webpack has an AHDL -> VHDL translator, but Altera
does not...

If possible, I would suggest abandoning AHDL, in favor of vhdl.

Andy

 
Reply With Quote
 
 
 
 
Hilko
Guest
Posts: n/a
 
      05-02-2006
Hi,

i think Altera optimizes away the bits that stuck to gnd.
Try to lay register[] on an output......


CONSTANT TIME = H"23";
subdesign test
(
clk : input;
register[7..0] : output;
)

variable
register[7..0] : DFF;

begin
register[].clk = clk;
register[] = TIME;
end;

Then it should work. I know it's ugly but i don't see another
way to prevent Altera from optimizing.

Hilko

 
Reply With Quote
 
Andy Peters
Guest
Posts: n/a
 
      05-02-2006
Andy wrote:
> AHDL is a proprietary language owned by Altera.
>
> Strangely, Xilinx webpack has an AHDL -> VHDL translator, but Altera
> does not...


That's really an Altera-to-Xilinx conversion feature.

-a

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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




Advertisments
 



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 47 48 49 50 51 52 53 54 55 56 57