Guest
can anyone tell me the code for following specifications
Fixed-Priority scheme:
In case the Fixed-Priority scheme is selected, the client for which highest priority is accorded is indicated by the input signal cfg_arb_fixed_port.
The next port that can be granted is chosen in ascending/increasing order with reference to cfg_arb_fixed_port.
Every time the arbiter gets a port request through port_req[7:0]it starts checking whether the highest priority port denoted by cfg_arb_fixed_port is high. If yes, then the arbiter generates the grant for the cfg_arb_fixed_port.
If cfg_arb_fixed_port is low in port_req[7:0], then the arbiter considers the next port as the highest priority port and so on.
The grant is indicated by an output signal gnt_valid and the port for which the grant is given is indicated by gnt_port[2:0], is also an output signal.
Consider that cfg_arb_fixed_port do not change during run time.
Fixed-Priority scheme:
In case the Fixed-Priority scheme is selected, the client for which highest priority is accorded is indicated by the input signal cfg_arb_fixed_port.
The next port that can be granted is chosen in ascending/increasing order with reference to cfg_arb_fixed_port.
Every time the arbiter gets a port request through port_req[7:0]it starts checking whether the highest priority port denoted by cfg_arb_fixed_port is high. If yes, then the arbiter generates the grant for the cfg_arb_fixed_port.
If cfg_arb_fixed_port is low in port_req[7:0], then the arbiter considers the next port as the highest priority port and so on.
The grant is indicated by an output signal gnt_valid and the port for which the grant is given is indicated by gnt_port[2:0], is also an output signal.
Consider that cfg_arb_fixed_port do not change during run time.