The invention discloses a shared cache
system applied to a real-time network terminal
chip. The shared cache
system comprises
queue management, enqueue scheduling control, dequeue scheduling control, write
bus control, read
bus control, a
data cache, a register module, an RXFIFO module and a TXFIFO module. According to the cache allocation strategy, the variable-length data is stored by using the fixed-length unit. The user can customize and configure the private space, the
residual space is the
shared space, and the storage
utilization rate is high. The shared cache is mainly used for storing data packets sent by an
external application layer through a
host interface. And storing the received data packet, extracting frame information according to a network flow protocol, and directly discarding frames which do not meet the protocol. The shared cache is provided with a dynamic cache structure, the state of each
queue can be updated in real time, frame loss is prevented, and the
data stream processing capacity is improved. And meanwhile, complex
hybrid scheduling of a real-time network is met. The whole shared cache is subjected to anti-
radiation reinforcement, the scene requirement of space navigation application is met, and high reliability is achieved.