V
VHDL Guy
I am in the process of reviewing someone else's code that will be
synthesized in an FPGA. I am not so much concerned with the amount of
space the design will consume on the FPGA as I believe the FPGAs being
used are pretty big, although I realize that best coding styles
recommend that code footprint be as small as possible.
In the code I am looking at, there are multiple situations in which
if/then statements without clock inputs do not have else conditions.
value of the signal when not re-assigned.
However, it seems to me that the latch inference will still allow the
design to function as intended. Is this correct?
Why are VHDL code writers cautioned against allowing latches to be
inferred? Do latches cause unreliable circuitry when synthesized in an
FPGA? If so, what are the technical/electrical problems that make
latches unreliable?
Is inference of registers or flip-flops (by clocked if/then statements
without else statement) also a problem along these same lines?
I've been reading this group quite a bit lately and have learned quite
a few things from it. Thanks for your responses and guidance in
advance.
Regards,
Vic
synthesized in an FPGA. I am not so much concerned with the amount of
space the design will consume on the FPGA as I believe the FPGAs being
used are pretty big, although I realize that best coding styles
recommend that code footprint be as small as possible.
In the code I am looking at, there are multiple situations in which
if/then statements without clock inputs do not have else conditions.
when synthesized this can cause a latch to be inferred to hold theFrom what I've read on this forum and in some books, I believe that
value of the signal when not re-assigned.
However, it seems to me that the latch inference will still allow the
design to function as intended. Is this correct?
Why are VHDL code writers cautioned against allowing latches to be
inferred? Do latches cause unreliable circuitry when synthesized in an
FPGA? If so, what are the technical/electrical problems that make
latches unreliable?
Is inference of registers or flip-flops (by clocked if/then statements
without else statement) also a problem along these same lines?
I've been reading this group quite a bit lately and have learned quite
a few things from it. Thanks for your responses and guidance in
advance.
Regards,
Vic