How to make a ıncrementer

Guest
The easiest way would be with a text editor, like Geany or Notepad++, 
but the simple editor in Windows will also do. There are also Vim and 
Emacs, but I wouldn't recommend them.
Another, rather funny way would be handwriting and OCR, but I doubt many 
people do it that way. :-)
Guest
I'm using Notepad, but I didn't really want to ask this question. I 
wanted to ask how to write incrementer structure with vhdl language.
Guest
The first and easiest step is to define the entity with its ports. In 
the second step, the architecture is defined. How should ouput(s) react 
to the input and how can this be achieved.
The syntax of a vhdl file with entity and architecture can be found all 
over the internet, but here a quick structural example:
1
library IEEE;
2

3
use ieee.std_logic_1164.all;
4
use ieee.numeric_std.all;
5

6
entity incrementer is
7
  port(
8
    -- Input and output ports here
9
  );
10
end entity;
11

12
architecture rtl of incrementer is
13
begin
14
  
15
  -- Behaviour description here
16
    
17
end architecture;
Sometimes the vhdl formatting is broken. I cannot change that.

Reply

A question of your own? This thread is over 4 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.