I am planning to write my own real-time scheduler. Basically I have an FPGA and I would like to schedule the tasks that execute on the FPGA. I am planning to start off with a FIFO kind of scheduler and then slowly proceed to priority based scheduler. However I am not sure where to start with. Can anyone suggest me few pointers to start with?