一、先入先出队列(First Input First Output,FIFO)这是一种传统的按序执行方法,先进入的指令先完成并引退,跟着才执行第二条指令。
1.什么是FIFO? FIFO是英文First In First Out 的缩写,是一种先进先出的数据缓存器,他与普通存储器的区别是没有外部读写地址线,这样使用起来非常简单,但缺点就是只能顺序写入数据,顺序的读出数据,其数据地址由内部读写指针自动加1完成,不能像普通存储器那样可以由地址线决定读取或写入某个指定的地址。
U2FsdGVkX18HTAAae/grI/Fk3gkEctztVv5XhW5eU48gj9KRiC+9/ymyXFVavl8/
xqg6x9kc/RWa03gM15XnWL4rLLjSPGjAx0Mfm0wXbG/eHysRTGU8PA+2Kpo6zNCC9pzi4O89vcMi1AKUDOLNgb3tePaltCy6jugN/A98NcEXUoO3EWFRFkdMxF0lbqWg5mLf+4mcxy1BdKtHtk0wfdm2X4U7lqu/kHf/6KvTfe1ckubE2pFZ7lt8tiu1c5B0yosv0luwuXfwhM3HManGHbVqxTa+e9Lvyl+a8BD0W45xFzWsLZb7dXnJCUbuJkBRv99T4/RVEMvhlokGpb0lRjXmNEiOl7kNCavSYeoqnrh3v5K2ISGBKKBHJkdxP9cz1v80bYVB5d1WxehWxzDE77vQd0nL5eEA21VcnnTJrluhf+EXmrJ92ni4K7da8qnr1CD7WNK1E6mw4ez4iNIwAL2P0XQBB7VQ0lYvgA3DUA7+3BR4HZ8Dfj3cXfKFrtphqGA+ezxhfQmU+DGijeV2ZfDL8qBrMgFoOG8LbQpt5GPTTaOIAIsfixoA+w3HqWCOnl8dSS9zyMkcHfk0gtyJHUvH1WRNzcSNCCKOqYliVfLxVqtTAQ/OSklB571I724RgDoylV/WZPof9TJ8pjJ98HRLs5w99u9xsFiFgG6BQehS9162llvxGNT8qOrMrcWK6eSp1Alg05ZzwvXxTOraOj1b2VmQc0mp11BOedgAf4J37CnEcnR97Ehi/JaYZ1bdqVYMAx85bJrEQ/H6GcXupeXNLYsKRWEhbN7k5HZWSI2EOOwpm9qKzsKWVZgyNnaMPj/Zdfc4uBwVCMj5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