- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone.
I'm studying VHDL in university. I got an error when tried to write description of d-flip-flop with using procedure in QuartusII. "Error (10532): Subprogram Body cannot contain Wait Statement" I used help and found out two things: 1. VHDL is completely integrated into the Quartus II system. 2. Action to correct error - Remove the Wait Statement from the Subprogram Body, or place the Wait Statement outside the Subprogram Body. (there is link on Sections 2.2 and 8.1 of the IEEE Std 1076-1993) But in section 8.1 of IEEE Std is written "The wait statement causes the suspension of a process statement or a procedure." So I think this error conflicts with VHDL Standart. Can anyone comment this? P.S. Sorry for my english, I don't know it very well :D.Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quartus does not support full set of vhdl but only the synthesis subset. These issues are not static facts but tool-related. So take it easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But I thought this should belong synthesis subset, because Quartus can synthesise functions into a logic.
I wanna it works ... :cry: I just wanted to use it like in AHDL (something like a=DFF(d,clk,,)). Why don't Altera do some mechanism of using this construction for VHDL?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The standard may to do a flip flop in synthesizable VHDL is to create a process and put your code in a if rising_edge(clk) block. The wait statements in processes are usually not synthesizable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks to all. I found answer on my question.
It was just an experiment (unfortunately unsuccessful).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page