R
rickman
Guest
On Jun 15, 2:35 am, Christopher Head <ch...@is.invalid> wrote:
say, de-unoptimization. If I were you, I would code each stage as a
separate module and measure the size to compare to what you think it
should be.
I have seen many times where the tools took what I thought was pretty
straight forward code and blew it up to something ugly. Obviously it
was doing what I told it to, but I would have been able to do better
than the machine because I understood the logic better. So I had to
change my code to indicate how it could be simplified.
Don't worry about the special features of a chip. First figure out if
the tools did an ok job...
Rick
"General" logic is always ripe for optimization, or maybe I shouldLots of interesting advice here! In particular I read the Xilinx
whitepaper with interest. Unfortunately, a lot of the advice seemed to
be inapplicable to my problem. I can't look for the individual
submodule that's taking up most of the area, because my application is
a single long pipeline with a large number of very similar stages: the
area isn't taken up by any one stage, but more by the number of stages.
And because the design is a pipeline with general logic (mostly
bitwise, plus a small bit of basic arithmetic) between registers, I
don't really see any opportunities for special primitives like SRLs,
DSPs, or the like that would reduce area. I can probably solve my
problem by building a smaller pipeline and reusing it; I preferred not
to do that as it will decrease system performance but it looks like I
don't have much choice now.
Thanks anyway!
Chris
say, de-unoptimization. If I were you, I would code each stage as a
separate module and measure the size to compare to what you think it
should be.
I have seen many times where the tools took what I thought was pretty
straight forward code and blew it up to something ugly. Obviously it
was doing what I told it to, but I would have been able to do better
than the machine because I understood the logic better. So I had to
change my code to indicate how it could be simplified.
Don't worry about the special features of a chip. First figure out if
the tools did an ok job...
Rick