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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now