Fix bugs in the PIC

The sc_signal in the PIC model is changed to the sc_fifo.