mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
24 lines
269 B
Verilog
24 lines
269 B
Verilog
// File: inc_comb.v
|
|
// Generated by MyHDL 0.6
|
|
// Date: Sun Nov 23 11:34:35 2008
|
|
|
|
`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
|