[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] why such idiv latency of 34 cycles?
Hi Göran,
I'm working with real time and Microblaze, and I have some strange behaviour
about the timer programming. It was reported by John Williams and It seems
that depending on how timer interrupt is awknowledge the timer runs faster or
slower. I don't know if you have report some patch for this problem, so I
will appreciate your information about it.
I'm using this old email to suggest a TSC(Time stamp counter) register in
Microblaze. This would be 64 bits and it should increments in each clock
tick. This simplifies a lot the time control when the timer latch is changing
frequently and it will allows better accuracy. I have no idea about how much
in logic space would be this option, so if this is far to be possible I
apologize now.
Thank you and regards.
On Wednesday 24 August 2005 09:13, Goran Bilski wrote:
> Hi Rudi,
>
> Sure but there are tons of other feature wanted for MicroBlaze.
> When I was about to implement the divider, I was thinking of doing a
> radix-4 SRT algorithm since I done it before. It does 2 bits per clock
> cycle. The division would take 18 clock cycles instead of 34.
> However the logic is also much larger and at that time I couldn't justify
> that.
>
> If anyone has requirements or a wishlist for MicroBlaze, please send them
> to me. We have internally a long list of things to do but I suspect that we
> also are missing some stuff. Also if you wish stuff that are further down
> our list it might be moved up.
>
> Falk, Could you send me some more details on the algorithm?
>
> Göran
>
> -----Original Message-----
> From: owner-microblaze-uclinux@itee.uq.edu.au
> [mailto:owner-microblaze-uclinux@itee.uq.edu.au] On Behalf Of Rudolf
> Usselmann Sent: Tuesday, August 23, 2005 16:08
> To: microblaze-uclinux@itee.uq.edu.au
> Subject: RE: [microblaze-uclinux] why such idiv latency of 34 cycles?
>
> On Tue, 2005-08-23 at 12:36 +0100, Goran Bilski wrote:
> > Hi,
> >
> > Division is a serial algorithm which can not easily be parallelized like
> > multiplication. 32 bit division requires 32 cycles, the 2 extra cycles
> > are added for handling the result sign and the sign of the operands. Just
> > creating 2 bit of result per clock cycle is a large increase in the
> > complexity of the implementation.
> >
> > There exists a number of different algorithm for doing division but non
> > is as small as this single-bit implementation.
> >
> > Göran
>
> Goeran,
>
> why not give users the option of a single, dual or quad bit(radix)
> divider ? The additional logic a two bit divider would add isn't
> that much larger ...
>
> Kind Regards,
> rudi
> =============================================================
> Rudolf Usselmann, ASICS World Services, http://www.asics.ws
> Your Partner for IP Cores, Design, Verification and Synthesis
> ****** Certified USB 2.0 HS OTG and HS Device IP Cores ******
>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
>
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive :
> http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
--
Alejandro Lucero
OS3, OS Serveis i Solucions
www.os3sl.com
Ingeniería Informática
+34 665687168
Av.Benjamin Franklin
CEEI. Parque Tecnológico de Paterna
Valencia(Spain)
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/