Changed parameter from 18 to 21

This commit is contained in:
xeovalyte 2025-02-11 13:13:58 +01:00
parent 5aaa488a79
commit 04ae50199e
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
`timescale 1ns/1ps
module timebase #(parameter N = 18)
module timebase #(parameter N = 21)
(input logic clk,
input logic reset,
output logic [N-1:0] count);

View File

@ -1,10 +1,10 @@
`timescale 1ns/1ps
module timebase_tb();
module timebase_tb #(parameter N = 21);
logic clk;
logic reset;
logic [17:0] count;
logic [N-1:0] count;
timebase test (clk, reset, count);