[an error occurred while processing this directive]
синтез компонента
(«Телесистемы»: Конференция «Языки описания аппаратуры (VHDL и др.))

миниатюрный аудио-видеорекордер mAVR

Отправлено Serg_amon 12 ноября 2002 г. 12:04

При синтезе компонента в HDL-редакторе XILINX FundationSeries 3.1- на исходный код:
module ppmain
title 'main control';
" CLOCK
clk pin;
" INPUTS
reset pin;
init_detected pin;
wake_cmd pin;
iso_lose pin;
iso_win pin;
db_zero pin;
csn_match pin;
csn_wr pin;
" OUTPUTS
restart pin istype 'reg_D';
en_sleep pin;
en_isolation pin;
en_wait_init pin;
en_config pin;
en_wait_csn pin;
" STATE DEFINITIONS
states STATE_REGISTER istype 'reg_D';
wait_init,
sleep,
iso_mode,
wait_csn,
config state;
" EQUATES
HIGH = 1;
LOW = 0;
" Set power-up initial state to 'wait_init'
Xilinx Property 'InitialState wait_init';
EQUATIONS
states.clk = clk;
restart.clk = clk;
en_wait_init = wait_init;
en_sleep = sleep;
en_isolation = iso_mode;
en_wait_csn = wait_csn;
en_config = config;
State_Diagram states
ASYNC_RESET wait_init: reset;
" STATE: WAIT FOR INITIATION KEY (wait_init)
" -------------------------------------------
" Plug and Play cards wake up in a queiscent state and wait for an initiation
" key before becoming active. Once the initiated, the cards transition to
" the SLEEP state.
state wait_init: if (!init_detected) then wait_init
else sleep;
" STATE: SLEEP (sleep)
" --------------------
" A card wakes up with its Card Select Number (CSN) set to zero. Once a card
" is uniquely isolated, it is assigned a non-zero CSN identifier.
" Cards that have not been isolated will enter ISOLATION when the software
" sends a WAKE[CSN] command with CSN=0.
" A card that has been isolated (i.e. CSN > 0) will enter the CONFIGURATION
" state when the software sends a WAKE[CSN] command where CSN matches the
" cards unique CSN.
" All other cards will remain in SLEEP.
state sleep: if (wake_cmd & db_zero & csn_match) then iso_mode with
restart := HIGH;
endwith;
else if (wake_cmd & !db_zero & csn_match) then config with
restart := HIGH;
endwith;
else sleep;
" STATE: ISOLATION
" -----------------
" Unisolated cards compete to win the isolation process using their serial
" identification data.
" If a card loses during the current isolation round, it then goes back to
" the SLEEP state.
" If a card wins, it goes to WAIT FOR CSN.
" If no winner is yet assigned, the card competes in the next isolation round.
state iso_mode: if (iso_lose) then sleep with
restart := HIGH;
endwith;
else if (iso_win) then wait_csn
else iso_mode;
" STATE: WAIT FOR CSN
" --------------------
" A uniquely isolated card waits for the software to assign the card its
" unique Card Selection Number.
" After the CSN is written, the card enters the CONFIGURATION state.
state wait_csn: if (csn_wr) then config
else wait_csn;
" STATE: CONFIGURATION
" ---------------------
" A card remains in the CONFIGURATION state until the software wishes to
" wake another card (i.e. WAKE[CSN] with CSN <> card's CSN). When another
" is awakened, this card will go back into the SLEEP state because only
" one card can be in the CONFIGURATION state.
state config: if (wake_cmd & !csn_match) then sleep
else config;
end ppmain;

- синтаксических ошибок не выдает, но на попытку синтезирования- выдает: Execute: abl2edif.exe -a SPARTAN -o ppmain.EDN -s mod ppmain.abl, то бишь не может синтезировать файл репорта, в чем тут дело, может в настройках ? И дело даже не в коде, создаешь одновходовый элемент и тот же эффект. Если кто знает, в чем тут подвох- очень жду ответа на мыло: badlo_sergey@mail.ru.

С уважением
Сергей

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru