BSG Rocket info
The HTIF protocol is based on a header(64 bits) and payload(N*64 bits), where N (number of packets) is defined in the header. However, the physical layer breakdown packets in 16-bits, starting from the LSB.
Header format (work in progress), where size = N = number of payload packets.
The fesvr protocol is based on polling and it is always initiate by the host. In other words, the host(master) always sends requests and rocket(slave) acknowledge them.
HTIF CSR address
HTIF polling packet
seqno stands for sequential number and it just a counter.
If the payload (64-bits) is different than zero, then there is something to be done.
HTIF exit() response packet
Payload packet 0x0000000000000001
After this, CSR_MFROMHOST is set to 0x1 and rocket-reset is asserted back again by setting CSR_MRESET to 0x1.