How to make a ıncrementer

Guest #7160139
Rate this post
• ▲ useful
▼ not useful
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 #7162346
Rate this post
• ▲ useful
▼ not useful
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

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.