mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
45a769d82d
--HG-- branch : 0.8-dev
27 lines
275 B
Verilog
27 lines
275 B
Verilog
// File: inc_comb.v
|
|
// Generated by MyHDL 0.8dev
|
|
// Date: Fri Dec 21 15:02:39 2012
|
|
|
|
|
|
`timescale 1ns/10ps
|
|
|
|
module inc_comb (
|
|
nextCount,
|
|
count
|
|
);
|
|
|
|
|
|
output [7:0] nextCount;
|
|
wire [7:0] nextCount;
|
|
input [7:0] count;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assign nextCount = (count + 1) % 256;
|
|
|
|
endmodule
|