errors I can't find ansrews for

Guest #3108792
For one thing,

these lines should be 'end if' and not 'endif'

        if in_1 = '1' then out_1 <= '1' after 2ns ;
        endif;

        if in_1 = '0' then out_1 <= '0' after 2ns ;
        endif;

        if in_2 = '1' then out_2 <= '1' after 2ns ;
        endif;
Moderator (Company: Titel) #3109310
And also in VHDL every process must have a sensitivity list or a wait 
statement inside. The process in question doesn't have any of them...

I strongly recommend to take any book about VHDL and have a look for 
the keyword /loop/:
1
   loop
2
 ...
3
   end loop;

That book about VHDL will also help you with the next steps. As an 
alternative you can use Google and have a look how others are doing 
VHDL...
Guest #3109333
Thanks
That solved the first problem.
Still have the other problem, is it because I used basic in 
architecture?

I am using "The Designer's Guide to VHDL" second edition by Peter J. 
Ashenden
The templet came from page 14.
I am using Altera Max V Quartus II.
Just trying to understand to process from design to program.
Martin

Reply

A question of your own? This thread is over 13 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.