Skip to content
Snippets Groups Projects
Commit d2c17221 authored by David Lanzendörfer's avatar David Lanzendörfer
Browse files

Maybe like that?

parent 56acd3b0
No related branches found
No related tags found
No related merge requests found
......@@ -242,9 +242,8 @@ module Matrix_Convolution (
/* Done state */
FSM_DONE: begin
done <= 1;
if ( !last_enable && enable ) begin
// Turning the thing on
state <= START;
if ( enable ) begin
if ( !last_enable ) state <= START; // Turning the thing on
end
else begin
last_enable <= enable;
......
......@@ -211,9 +211,8 @@ module Matrix_Multiplication (
end
FSM_DONE: begin
done <= 1;
if ( !last_enable && enable ) begin
// Turning the thing on
state <= START;
if ( enable ) begin
if ( !last_enable ) state <= START; // Turning the thing on
end
else begin
last_enable <= enable;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment