FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > VHDL

VHDL comp.lang.vhdl newsgroup / Usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-31-2007, 08:32 PM
Markus Jochim
Guest
 
Posts: n/a
Default "Wait on" instead of "Sensitivity List" does not work???

Hello everybody,

I just tried a code snippet like this:


ARCHITECTURE xyz OF abc IS
BEGIN
PROCESS
BEGIN
<Some sequential statements>
WAIT on i1;
END PROCESS;
END xyz;


....where i1 is an IN-port (std_logic) in the respective entity.

Quartus II 7.0 Web Edition says:
"Wait Statement must contain condition clause with UNITL keyword."

Xilinx ISE 9.1 says:
"Bad condition in wait statement or only one clock per process."

According to my understanding and several tutorials and books the code
should work, since the "WAIT ON" at the end of the process is a valid
alternative to the sensitivity list.

Am I wrong?
Can anyone help?

Best regards
Markus


Reply With Quote
  #2 (permalink)  
Old 06-01-2007, 12:40 AM
Andy
Guest
 
Posts: n/a
Default Re: "Wait on" instead of "Sensitivity List" does not work???

On May 31, 1:32 pm, Markus Jochim <joc...@dc.uni-due.de> wrote:
> Hello everybody,
>
> I just tried a code snippet like this:
>
> ARCHITECTURE xyz OF abc IS
> BEGIN
> PROCESS
> BEGIN
> <Some sequential statements>
> WAIT on i1;
> END PROCESS;
> END xyz;
>
> ...where i1 is an IN-port (std_logic) in the respective entity.
>
> Quartus II 7.0 Web Edition says:
> "Wait Statement must contain condition clause with UNITL keyword."
>
> Xilinx ISE 9.1 says:
> "Bad condition in wait statement or only one clock per process."
>
> According to my understanding and several tutorials and books the code
> should work, since the "WAIT ON" at the end of the process is a valid
> alternative to the sensitivity list.
>
> Am I wrong?
> Can anyone help?
>
> Best regards
> Markus


IINM, that wait statement will trigger on any event on i1, including
rising and falling edges. That is not synthesizable AFAIK.

andy

Reply With Quote
  #3 (permalink)  
Old 06-01-2007, 04:14 AM
Jim Lewis
Guest
 
Posts: n/a
Default Re: "Wait on" instead of "Sensitivity List" does not work???

Markus,
If you look at 1076.6-2004 you will find that
this coding style is not supported for VHDL RTL
coding styles.

From a business perspective vendors have to spend
money to add and maintain features.

From a user perspective, I can already do this as
easily with a sensitivity list. I have many other
things that are much more important than this
that I need synthesis vendors to implement (that
they have not yet). If you want a list, start with
any of the coding styles that are in 1076.6-2004.
Also look on my the papers section of my website for
papers on 1076.6. http://www.synthworks.com/papers

Best Regards,
Jim


> Hello everybody,
>
> I just tried a code snippet like this:
>
>
> ARCHITECTURE xyz OF abc IS
> BEGIN
> PROCESS
> BEGIN
> <Some sequential statements>
> WAIT on i1;
> END PROCESS;
> END xyz;
>
>
> ...where i1 is an IN-port (std_logic) in the respective entity.
>
> Quartus II 7.0 Web Edition says:
> "Wait Statement must contain condition clause with UNITL keyword."
>
> Xilinx ISE 9.1 says:
> "Bad condition in wait statement or only one clock per process."
>
> According to my understanding and several tutorials and books the code
> should work, since the "WAIT ON" at the end of the process is a valid
> alternative to the sensitivity list.
>
> Am I wrong?
> Can anyone help?
>
> Best regards
> Markus
>
>

Reply With Quote
  #4 (permalink)  
Old 06-01-2007, 11:30 AM
HT-Lab
Guest
 
Posts: n/a
Default Re: "Wait on" instead of "Sensitivity List" does not work???


"Markus Jochim" <[email protected]> wrote in message
news:[email protected]..
> Hello everybody,
>
> I just tried a code snippet like this:
>
>
> ARCHITECTURE xyz OF abc IS
> BEGIN
> PROCESS
> BEGIN
> <Some sequential statements>
> WAIT on i1;
> END PROCESS;
> END xyz;
>
>
> ...where i1 is an IN-port (std_logic) in the respective entity.
>
> Quartus II 7.0 Web Edition says:
> "Wait Statement must contain condition clause with UNITL keyword."
>
> Xilinx ISE 9.1 says:
> "Bad condition in wait statement or only one clock per process."
>
> According to my understanding and several tutorials and books the code
> should work, since the "WAIT ON" at the end of the process is a valid
> alternative to the sensitivity list.


Hi Markus,

Most modern synthesis tools support 2 types of FF coding styles,

process (clk)
begin
if rising_edge(clk) then
..
end if;
end process;

or,

process
begin
wait until clk'event and clk = '0';
..
end process;

They also support dual edge triggering but only for those fpga that have
dual edge FF like the Xilinx Coolrunner,

Hans
www.ht-lab.com


>
> Am I wrong?
> Can anyone help?
>
> Best regards
> Markus
>
>



Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to represent "inout" data type in testbenches in "verilog" linuxczar Verilog 2 03-21-2007 07:28 PM
Why do we need "check" "call" "misc" in PLI? Lee Verilog 1 05-17-2004 04:42 PM
Warning: FlipFlops/Latches "/"ADR_reg<0>"/Q_reg" are set/reset by "". (FPGA-GSRMAP-14) Martin Bammer VHDL 0 11-18-2003 12:28 AM
"clean" or "unprotected" versions of AHDL2X, SYNTHX from Xilinx (ABL2XNF sub tools) Bill Smith FPGA 0 11-11-2003 12:17 AM


All times are GMT +1. The time now is 03:25 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved