to FAN
При компиляции VHDL файла от Speccy2007 под Xilinx ISE 9.1i WEB Edition получаю следующую ошибку:
Код:========================================================================= * HDL Compilation * ========================================================================= Compiling vhdl file "D:/My Documents/Xilinx Projekte/Speccy/enddd/test_1.vhd" in Library work. Entity <test_1> compiled. ERROR:HDLParsers:3292 - "D:/My Documents/Xilinx Projekte/Speccy/enddd/test_1.vhd" Line 185. = has two or more possible definitions in this scope. For example, parameter 2 (string value) can be: SIGNED or UNSIGNED ERROR:HDLParsers:3292 - "D:/My Documents/Xilinx Projekte/Speccy/enddd/test_1.vhd" Line 186. = has two or more possible definitions in this scope. For example, parameter 2 (string value) can be: SIGNED or UNSIGNED ERROR:HDLParsers:3292 - "D:/My Documents/Xilinx Projekte/Speccy/enddd/test_1.vhd" Line 192. = has two or more possible definitions in this scope. For example, parameter 2 (string value) can be: SIGNED or UNSIGNED ERROR:HDLParsers:3292 - "D:/My Documents/Xilinx Projekte/Speccy/enddd/test_1.vhd" Line 192. = has two or more possible definitions in this scope. For example, parameter 2 (string value) can be: SIGNED or UNSIGNED ERROR:HDLParsers:3292 - "D:/My Documents/Xilinx Projekte/Speccy/enddd/test_1.vhd" Line 192. = has two or more possible definitions in this scope. For example, parameter 2 (string value) can be: SIGNED or UNSIGNED Process "Check Syntax" failedto fanКод:185 if ( Hor_Cnt(5 downto 3) = "101" and Hor_Cnt(2) = not Hor_Cnt(1) ) 186 xor (Ver_Cnt(5 downto 0) = "011111" and ChrR_Cnt(2) = '0') then 187 SYNC <= '0'; 188 else 189 SYNC <= '1'; 190 end if; 191 192 if Hor_Cnt(5 downto 3) = "101" or Hor_Cnt(5 downto 2) = "1100" or Ver_Cnt(5 downto 0) = "011111" then 193 Border <= '0'; 194 else 195 Border <= '1'; 196 end if;
Можешь поделиться VHDL-исходником от Chrome???
Он тоже на Xilinx XC95108...
Буду очень благодарен.
Тут кто-нибудь с Xilinx работает???
Может кто имел дело с подобными проблемами?
Кстати, можно ли вместо if ( Hor_Cnt(5 downto 3) = "101"
написать так if ( Hor_Cnt(5 downto 3) = 5 ???
т.е. вместо "101" просто 5...
Если я так делаю то ошибок больше нет...
THX




Ответить с цитированием