rtl:perips:flash_ctrl: fix read state
Signed-off-by: liangkangnan <liangkangnan@163.com>pull/4/head
parent
cfc170f896
commit
4720d020e4
|
@ -163,9 +163,9 @@ module flash_ctrl_core (
|
||||||
op_start_d = 1'b1;
|
op_start_d = 1'b1;
|
||||||
// 硬件访问(取指、取数据)
|
// 硬件访问(取指、取数据)
|
||||||
end else if (re && (~sw_access)) begin
|
end else if (re && (~sw_access)) begin
|
||||||
state_d = OP_READ;
|
state_d = S_READ;
|
||||||
op_addr_d = addr;
|
op_addr_d = addr;
|
||||||
op_mode_d = 2'b00;
|
op_mode_d = OP_READ;
|
||||||
op_start_d = 1'b1;
|
op_start_d = 1'b1;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue