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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now