Question: What type of reset does the following code use: module Matcher ( input logic clk , input logic Rst , input logic DataIn, output logic

What type of reset does the following code use:
module Matcher
(
input logic clk,
input logic Rst,
input logic DataIn,
output logic Error,
output logic Found
;
logic[8:0]cnt;
logic 2:0 dly;
always @(posedge Clk) begin
if ( Rst) begin
dly=0;
cnt ;
Error ;
Found 0;
end else begin
dly []DataIn;
dly [1]dly[0];
dly [2]dly[1];
cnt cnt +1 ;
if ( cnt ==128) begin
Error 1 ;
end else begin
Error 0;
end
if ( dly {:==3'b101) begin
Found 1;
end else begin
Found ;
end
end
 What type of reset does the following code use: module Matcher

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!