Description: Discrete Time Queue
write a program to produce a discrete time simulation of a queue as shown in Fig. 1. Time is slotted on the input and the output. Each input packet follows a Bernoulli process. In a given time slot the independent probability that a packet arrives in a time slot is p, while the probability that the packet will be serviced is q. One packet fills one time slot. The queue can store up to five packets. All packets are processed on a first come – first served basis. Assume that when a packet is serviced all other packets in a queue (if any) are shifted instantaneously towards the output. Each slot departures from the queue are processed before arrivals.
To Search:
- [syn_frame] - Frame Synchronization Verilog HDL source
File list (Check if you may need any files):
Discrete Time Queue\1.cpp
...................\1.dsp
...................\1.dsw
...................\1.ncb
...................\1.opt
...................\1.plg
...................\Debug\1.exe
...................\.....\1.ilk
...................\.....\1.obj
...................\.....\1.pch
...................\.....\1.pdb
...................\.....\projectdraft4.exe
...................\.....\projectdraft4.ilk
...................\.....\projectdraft4.pch
...................\.....\projectdraft4.pdb
...................\.....\vc60.idb
...................\.....\vc60.pdb
...................\projectdraft4.dsp
...................\projectdraft4.dsw
...................\projectdraft4.ncb
...................\projectdraft4.opt
...................\projectdraft4.plg
...................\Debug
Discrete Time Queue