Incrementer VHDL

Moderator (Company: Titel) #7153808
Rate this post
• ▲ useful
▼ not useful
Engin wrote:
> How can I write 14-bit incrementer VHDL code?
Somehow like this:
1
entity incr is
2
  port( inval  : in  std_logic_vector(13 downto 0);
3
        outval : out std_logic_vector(13 downto 0));
4
end entity;
5

6
architecture rtl of incr is
7
begin
8
  outval <= inval + 1;
9
end architecture;

Is that similar to what you understand by "incrementer"? If your 
expectations are different: what is different?

> Can you help me?
All in all: we will help you with your homework, no problem. But you 
must start with something. Just whining "please give me the code" will 
not lead to a result.

> I'm new at this job
Everybody was. Exercising and learning is the way to knowledge.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

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.