Sha256: 320790f855a679293c5da10df4958224ad11cd2bd62147e888081403216c966f
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 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)); // connect to the Ruby side of this bench initial begin clock = 0; $ruby_init("ruby", "-w", "-rubygems", "counter_xunit_bench.rb"); end always begin #5 clock = ~clock; end always @(posedge clock) begin #1 $ruby_relay; end endmodule
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ruby-vpi-10.0.0 | samp/counter/counter_xunit_bench.v |
ruby-vpi-11.1.1 | samp/counter/counter_xunit_bench.v |
ruby-vpi-11.1.0 | samp/counter/counter_xunit_bench.v |