10x-Engineers / 10xcelerator

0 stars 2 forks source link

Outputs were not reset except one in Fully_connected_module. #12

Open faayez-10xe opened 8 months ago

faayez-10xe commented 8 months ago

Issue Title Issue Title: Outputs were not reset except one. Problem Description During the testing of Fully Connected module, there comes a run time error in module Fully_connected_module. If sequence of a reset is generated only output_1 will be reset and all others output will retain there values.

Expected Behavior This code will produce run-time error which can only be detected by observing outputs and wave-forms.

Reasons Behind the Run-time Error This run-time error is due to not assigning 0 to all outputs in module Fully_connected_module.

In file Fully_connected_module.v, at reset == 1 check only output_1 is assigned 0 but all other outputs are not assigned with 0.

Proposed Solution To resolve this issue, assign 0 to all remaining outputs.

image