קידום std_logic_vector ..."ניר בלולו" <bh_nirba@walla.com>,

36 views
Skip to first unread message

ron.segev8

unread,
Feb 1, 2012, 2:36:50 PM2/1/12
to fpga...@googlegroups.com
אני לא מצליח לעשות - 

 ; 1 + the_address_to_read_from  <=   the_address_to_read_from 

לסיגנל שהוא - std_logic_vector  באורך של 7 .

למרות שהשתמשתי בספריות -


use IEEE.NUMERIC_STD.ALL;

USE ieee.std_logic_unsigned.ALL;  
USE ieee.std_logic_arith.ALL;


נ.ב

בתוכנה של אלטרה זה כן עובד ...


--
Regards,

Ron segev , 054-586-4828 .

david moscovitz

unread,
Feb 2, 2012, 2:20:44 AM2/2/12
to fpga...@googlegroups.com
בס"ד

1. איזה הערה הוא כותב לך בדיוק?
2. בעיקרון, הספריות arith ו-NUMERIC מקבילות אחת לשניה, אז אתה אמור לשים רק ספריה אחת מביניהם. אולי כפילות הספריות הזו יוצרת איזו אי הבנה לקומפיילר. תנסה להוריד את אחת הספריות הללו, אולי זה יעבוד לך.

דוד.


2012/2/1 ron.segev8 <ron.s...@gmail.com>

Alex Zhitomirsky

unread,
Feb 5, 2012, 4:31:45 AM2/5/12
to fpga...@googlegroups.com

Arith and numeric - in general case you have to choose appropriate one of them. GL&BR

On Feb 1, 2012 9:36 PM, "ron.segev8" <ron.s...@gmail.com> wrote:

Alex Zhitomirsky

unread,
Feb 5, 2012, 4:34:51 AM2/5/12
to fpga...@googlegroups.com

These libraries are not the same. For more info you can simply google

Reply all
Reply to author
Forward
0 new messages