Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Round Robin Arbiter with parameters

229 views
Skip to first unread message

Amir

unread,
Sep 12, 2008, 2:48:50 AM9/12/08
to
Hi,
I want to implement a Round Robin Arbiter which has parameter inputs,
to determine what is the percentage grant for each client.
for example, let's say I have 2 clients , and the grant parameters are
30% 70%, so ,30% of the grants are for client 1 and 70% of the grants
are for client 2, is this implementable with Verilog? How would the
State Machine look like?

Thanks
-Amir

Jonathan Bromley

unread,
Sep 12, 2008, 3:11:54 AM9/12/08
to
On Thu, 11 Sep 2008 23:48:50 -0700 (PDT), Amir <stin...@gmail.com>
wrote:

If it has arbitration weights, how can it be round-robin?
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan...@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.

Michael

unread,
Sep 12, 2008, 3:34:19 AM9/12/08
to
On Sep 12, 10:11 am, Jonathan Bromley <jonathan.brom...@MYCOMPANY.com>
wrote:
> On Thu, 11 Sep 2008 23:48:50 -0700 (PDT), Amir <sting...@gmail.com>

> wrote:
>
> >Hi,
> >I want to implement a Round Robin Arbiter which has parameter inputs,
> >to determine what is the percentage grant for each client.
> >for example, let's say I have 2 clients , and the grant parameters are
> >30% 70%, so ,30% of the grants are for client 1 and 70% of the grants
> >are for client 2, is this implementable with Verilog? How would the
> >State Machine look like?
>
> If it has arbitration weights, how can it be round-robin?
> --
> Jonathan Bromley, Consultant
>
> DOULOS - Developing Design Know-how
> VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
>
> Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
> jonathan.brom...@MYCOMPANY.comhttp://www.MYCOMPANY.com

>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.

Jonathan: Very easy - each master gets an access for specific time one
after other.
Amir: I don't believe you need a state machine for that. Simple
counter will do the job.

Jonathan Bromley

unread,
Sep 12, 2008, 4:30:43 AM9/12/08
to
On Fri, 12 Sep 2008 00:34:19 -0700 (PDT), Michael wrote:

>> If it has arbitration weights, how can it be round-robin?

>Jonathan: Very easy - each master gets an access for specific time one
>after other.

Ah, thanks. I see what you mean. Not something I've
ever needed to deal with, whereas cyclic arbiters are
common (and quite useful).

>Amir: I don't believe you need a state machine for that. Simple
>counter will do the job.

But presumably you need to skip the counts for any master
that is currently not requesting access?
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK

jonathan...@MYCOMPANY.com

Michael

unread,
Sep 12, 2008, 5:41:51 AM9/12/08
to
On Sep 12, 11:30 am, Jonathan Bromley <jonathan.brom...@MYCOMPANY.com>
wrote:

> On Fri, 12 Sep 2008 00:34:19 -0700 (PDT), Michael wrote:
> >> If it has arbitration weights, how can it be round-robin?
> >Jonathan: Very easy - each master gets an access for specific time one
> >after other.
>
> Ah, thanks. I see what you mean. Not something I've
> ever needed to deal with, whereas cyclic arbiters are
> common (and quite useful).
>
> >Amir: I don't believe you need a state machine for that. Simple
> >counter will do the job.
>
> But presumably you need to skip the counts for any master
> that is currently not requesting access?
> --
> Jonathan Bromley, Consultant
>
> DOULOS - Developing Design Know-how
> VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
>
> Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
> jonathan.brom...@MYCOMPANY.comhttp://www.MYCOMPANY.com

>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.

I meant counter for the cycles. You also need "current master"
register and "next master" function. That is it.

0 new messages