During the testing of Sampling Module1, the 74th and last output do not match the expected results. Specifically, the 74th output consistently shows 'hffff' for all inputs, and the last output is also incorrect.
Expected Behavior
The output of the DUT (Design Under Test) should match the Reference Model Output. This discrepancy in the 74th and last output is unexpected, as all other 142 outputs match the Reference Model.
Reasons Behind the 74th value Error
The issue appears to be related to the typo error.
'd004: Output_Pixel <= (Latch_Buffer[288+04] + Latch_Buffer[288+05] + Latch_Buffer[288+28] + Latch_Buffer[288+29]) /4;( design code line number 223)
in the place of assigning the 74th value there is a typo, So for the 74th value output is hffff because the default value of the case is hffff.
Proposed Solution
To resolve this issue, you can consider the following possible solutions:
Replace the upper code of the line with
The issue appears to be related to Input_Buffer not getting the last value of the input matrix.
if (Input_Counter == 575)
begin
Flag_Input_Buffer_Filled <= 'b1;
end
else if (Input_Counter < 575)
begin
Input_Buffer[Input_Counter] <= Input_Pixel;
Input_Counter <= Input_Counter + 1;
end
Here 575th input is never going to be registered in buffer.
Proposed Solution
To resolve this issue, you can consider the following possible solutions:
Replace the upper code of the line with
if (Input_Counter < 576)
begin
Input_Buffer[Input_Counter] <= Input_Pixel;
Input_Counter <= Input_Counter + 1;
if(Input_Counter == 575)
begin
Flag_Input_Buffer_Filled <= 'b1;
end
end
end
The 74th output consistently displays 'hffff' for all inputs, and the last output is incorrect.
Output of Environment
After running make rerun, the output.txt file will be updated with the output of the Verification Environment. You can search for Test: Fail! in this file, and both failed tests will be highlighted with a Driven 4x4 matrix.
Environment Details
The Verification Environment is responsible for driving stimulus to the Module and then comparing the DUT Results with the Results of the Reference Model in the Scoreboard.
Requirements For Simulation
To simulate this environment, you will need a UVM-enabled simulator. The author used Synopsys VCS Version L-2016.06_Full64 for this verification.
Issue Title
Issue Title: Incorrect Output in Sampling Module1
Problem Description
During the testing of Sampling Module1, the 74th and last output do not match the expected results. Specifically, the 74th output consistently shows 'hffff' for all inputs, and the last output is also incorrect.
Expected Behavior
The output of the DUT (Design Under Test) should match the Reference Model Output. This discrepancy in the 74th and last output is unexpected, as all other 142 outputs match the Reference Model.
Reasons Behind the 74th value Error
The issue appears to be related to the typo error.
in the place of assigning the 74th value there is a typo, So for the 74th value output is hffff because the default value of the case is hffff.
Proposed Solution
To resolve this issue, you can consider the following possible solutions: Replace the upper code of the line with
Reasons Behind the Last Value Error
The issue appears to be related to Input_Buffer not getting the last value of the input matrix.
Here 575th input is never going to be registered in buffer.
Proposed Solution
To resolve this issue, you can consider the following possible solutions: Replace the upper code of the line with
Reproduction Steps
To reproduce this issue, follow these steps:
git clone "https://github.com/mobeen10x/10xcelerator.git"
cd 10xcelerator/
git checkout verif
cd verif/
cd Sampling_Module_env/
make rerun
Current Behavior
The 74th output consistently displays 'hffff' for all inputs, and the last output is incorrect.
Output of Environment
After running
make rerun
, theoutput.txt
file will be updated with the output of the Verification Environment. You can search forTest: Fail!
in this file, and both failed tests will be highlighted with a Driven 4x4 matrix.Environment Details
The Verification Environment is responsible for driving stimulus to the Module and then comparing the DUT Results with the Results of the Reference Model in the Scoreboard.
Requirements For Simulation
To simulate this environment, you will need a UVM-enabled simulator. The author used Synopsys VCS Version L-2016.06_Full64 for this verification.