2008-11-22 22:40:25 +01:00
|
|
|
-- File: inc_comb.vhd
|
2012-12-21 14:36:07 +01:00
|
|
|
-- Generated by MyHDL 0.8dev
|
2012-12-21 15:06:18 +01:00
|
|
|
-- Date: Fri Dec 21 15:02:39 2012
|
2010-10-10 21:43:16 +02:00
|
|
|
|
2008-11-22 22:40:25 +01:00
|
|
|
|
|
|
|
library IEEE;
|
|
|
|
use IEEE.std_logic_1164.all;
|
|
|
|
use IEEE.numeric_std.all;
|
|
|
|
use std.textio.all;
|
|
|
|
|
2012-12-21 14:36:07 +01:00
|
|
|
use work.pck_myhdl_08.all;
|
2008-11-22 22:40:25 +01:00
|
|
|
|
|
|
|
entity inc_comb is
|
|
|
|
port (
|
|
|
|
nextCount: out unsigned(7 downto 0);
|
|
|
|
count: in unsigned(7 downto 0)
|
|
|
|
);
|
|
|
|
end entity inc_comb;
|
|
|
|
|
2010-07-02 13:24:04 +02:00
|
|
|
|
2008-11-22 22:40:25 +01:00
|
|
|
architecture MyHDL of inc_comb is
|
|
|
|
|
|
|
|
|
|
|
|
begin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-07-02 13:24:04 +02:00
|
|
|
|
2008-11-22 22:40:25 +01:00
|
|
|
nextCount <= (count + 1) mod 256;
|
|
|
|
|
|
|
|
end architecture MyHDL;
|