diff --git a/stdlib/rtl/oh_stimulus.v b/stdlib/rtl/oh_stimulus.v index 97ef079..396b694 100644 --- a/stdlib/rtl/oh_stimulus.v +++ b/stdlib/rtl/oh_stimulus.v @@ -83,7 +83,7 @@ module oh_stimulus .mask ({(PW){1'b1}}), .taps ({(PW){1'b1}}), .entaps (1'b0), - .en (go), + .en (stim_valid), .seed (seed), /*AUTOINST*/ // Inputs diff --git a/stdlib/rtl/oh_verify.v b/stdlib/rtl/oh_verify.v index e55516b..eb2ed56 100644 --- a/stdlib/rtl/oh_verify.v +++ b/stdlib/rtl/oh_verify.v @@ -11,28 +11,25 @@ module oh_verify ( input clk, input nreset, //async reset - input en, // enable counter - input entaps, // enable taps input - input [N-1:0] taps, // user driven taps + input en, // enable random counter input [N-1:0] seed, // seed - input [N-1:0] mask, // mask output (1 = active) input [N-1:0] in, // input data output [N-1:0] out, // generated random number output error // difference found ); // Recreate random number - oh_random oh_random(/*AUTOINST*/ + oh_random oh_random(.mask ({(PW){1'b1}}), + .taps ({(PW){1'b1}}), + .entaps (1'b0), + /*AUTOINST*/ // Outputs .out (out[N-1:0]), // Inputs .clk (clk), .nreset (nreset), .en (en), - .entaps (entaps), - .taps (taps[N-1:0]), - .seed (seed[N-1:0]), - .mask (mask[N-1:0])); + .seed (seed[N-1:0])); // Compare random number to data