File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ class Thread extends Module {
1919 })
2020
2121 val end_of_program = RegInit (false .B );
22- val idle = RegInit (true .B );
2322
2423 val register_a = RegInit (0 .U (16 .W ));
2524 val register_b = RegInit (0 .U (16 .W ));
@@ -56,7 +55,7 @@ class Thread extends Module {
5655 io.program_pointer := program_counter.io.program_counter;
5756
5857 io.end_of_program := end_of_program;
59- io.idle := idle ;
58+ io.idle := false . B ;
6059
6160 when(
6261 io.dispatcher_opcode_loaded && io.dispatcher_program_pointer === program_counter.io.program_counter
@@ -151,7 +150,7 @@ class Thread extends Module {
151150 }
152151
153152 when(
154- executing_load_write || io.operation === Operation .Write || io.operation === Operation .Load
153+ io.operation === Operation .Write || io.operation === Operation .Load && ! executing_load_write
155154 ) {
156155 io.idle := false .B ;
157156 executing_load_write := true .B ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments