0
9.5kviews
Write a verilog code for 8-bit counter.
1 Answer
0
1.9kviews

module up_down_counter (

out      ,  // Output of the counter

up_down  ,  // up_down control for counter

clk      ,  // clock input

data     ,  // Data to load

reset       // reset input

);

output [7:0] out;

input [7:0] data;

input up_down, clk, reset;

reg [7:0] out;

always @(posedge clk)

if …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.