// wire ll_d2h_last; // may loose ll timing and send 'last' after data. Now assuming no data comes next xyxle after last
// wire [1:0] d2h_type_in;
reg[1:0]d2h_type_in;
reg[1:0]d2h_type_in;
regfis_over_r;// push 1 more DWORD (ignore) + type (ERR/OK) when received FIS is done/error
regfis_over_r;// push 1 more DWORD (ignore) + type (ERR/OK) when received FIS is done/error
// wire ll_frame_req_w; // pre ll_frame_req
regll_frame_req;// -> link // request for a new frame transition
regll_frame_req;// -> link // request for a new frame transition
wirell_frame_ackn;// acknowledge for ll_frame_req
wirell_frame_ackn;// acknowledge for ll_frame_req
// wire ll_frame_busy; // link -> // a little bit of overkill with the cound of response signals, think of throwing out 1 of them // LL tells back if it cant handle the request for now
// wire ll_frame_ack; // link -> // LL tells if the request is transmitting not used
// wire ll_frame_rej; // link -> // or if it was cancelled because of simultanious incoming transmission
// wire ll_frame_done_good; // link -> // TL tell if the outcoming transaction is done and how it was done
// wire ll_frame_done_bad; // link ->
wirell_incom_start;// link -> // if started an incoming transaction assuming this and next 2 are single-cycle
wirell_incom_start;// link -> // if started an incoming transaction assuming this and next 2 are single-cycle
wirell_incom_done;// link -> // if incoming transition was completed
wirell_incom_done;// link -> // if incoming transition was completed
...
@@ -169,13 +161,8 @@ module ahci_sata_layers #(
...
@@ -169,13 +161,8 @@ module ahci_sata_layers #(
regll_incom_invalidate_r;// error delayed by 1 clock - if eof was incorrect (because of earlier data error)
regll_incom_invalidate_r;// error delayed by 1 clock - if eof was incorrect (because of earlier data error)
// let last data dword to pass through
// let last data dword to pass through
// wire incom_ack_good = send_R_OK; // -> link // transport layer responds on a completion of a FIS
// wire incom_ack_bad = send_R_ERR; // -> link // oob sequence is reinitiated and link now is not established or rxelecidle
wirell_link_reset=~phy_ready;// -> link // oob sequence is reinitiated and link now is not established or rxelecidle //TODO Alexey:mb it shall be independent
wirell_link_reset=~phy_ready;// -> link // oob sequence is reinitiated and link now is not established or rxelecidle //TODO Alexey:mb it shall be independent
// wire ll_incom_stop_req; // -> link // TL demands to stop current recieving session (use !PxCMD.ST)?