Sha256: 0c4f0b850126679b3f9ea0e0a220f6ef2c0b65ec96345c06cc3ca6fc6803aab3

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

// This file is the Verilog side of the bench.
module counter_xunit_bench;

  // instantiate the design under test
    parameter Size = 5;
    reg  clock;
    reg  reset;
    wire [Size - 1 : 0] count;

    counter #(.Size(Size)) counter_xunit_bench_design(.clock(clock), .reset(reset), .count(count));

  // generate clock for the design under test
    initial clock = 0;
    always #5 clock = !clock;

endmodule

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-vpi-13.0.0 samp/counter/counter_xunit_bench.v