Added RDY term to AB Hold update
This commit is contained in:
2
cpu.v
2
cpu.v
@@ -411,7 +411,7 @@ always @*
|
|||||||
* source of the address, such as the ALU or DI.
|
* source of the address, such as the ALU or DI.
|
||||||
*/
|
*/
|
||||||
always @(posedge clk)
|
always @(posedge clk)
|
||||||
if( state != PUSH0 && state != PUSH1 &&
|
if( state != PUSH0 && state != PUSH1 && RDY &&
|
||||||
state != PULL0 && state != PULL1 && state != PULL2 )
|
state != PULL0 && state != PULL1 && state != PULL2 )
|
||||||
begin
|
begin
|
||||||
ABL <= AB[7:0];
|
ABL <= AB[7:0];
|
||||||
|
|||||||
Reference in New Issue
Block a user