Registered?

I

Ian

Hi,

I'm trying to simulate Error Corection Coding (Reed-Solomon)
ip core with Xilinx Spartan FPGA as the target.
Using ISE v8 as the interface.

Xilinx Logicore has provided a Reed-Solomon Encoder.
Going through the datasheet (DS251) page 2:

"The core's synchronous input control signals
(START, ND, BYPASS, CE) are not registered inside thecore.
It is assumed these will be registered external to the core if
required"

What is the difference between a core with REGISTERED Input and
one WITHOUT REGISTERED input?
Does one have the advantage over the other?
Would adding a Delay Flip-flop do?

Thanks.
 
J

Joel Kolstad

Ian said:
"The core's synchronous input control signals
(START, ND, BYPASS, CE) are not registered inside thecore.
It is assumed these will be registered external to the core if
required"

What is the difference between a core with REGISTERED Input and
one WITHOUT REGISTERED input?

It means the control signals mentioned are coming out of a flip-flop that's
clocked off the same clock that's running to the core.
Does one have the advantage over the other?

Well, if you don't synchronize your control signals to the core's clock, you
potentially end up with metastability problems (when you inadvertently
violate the set-up and hold times of the core's internal flip-flops) and the
core will just generate garabge data for you! Granted, for signals like
BYPASS, CE, etc., it'll probably recover sooner or later, but the idea is
that without synchronization there's no guarantee the thing works at all.

The only disadvantages of the core registering the inputs itself would be
that (1) it uses up additionally flip-flops and (2) it introduces another
clock cycle of latency. In many cases this is a negligible difference, but
since many people already have synchronous control signals running around
anyway, Xilinx figures they'll go for the ever-so-slightly higher
performance/lower gate count solution.
Would adding a Delay Flip-flop do?

Just add a regular old flip-flop. Assuming the core came with a timing
constrains file, place and route will automatically, uh... place and route
the flip-flops such that the set-up and hold times are met on the control
signals.

---Joel
 
I

Ian

Thanks Joel

Joel said:
It means the control signals mentioned are coming out of a flip-flop that's
clocked off the same clock that's running to the core.


Well, if you don't synchronize your control signals to the core's clock, you
potentially end up with metastability problems (when you inadvertently
violate the set-up and hold times of the core's internal flip-flops) and the
core will just generate garabge data for you! Granted, for signals like
BYPASS, CE, etc., it'll probably recover sooner or later, but the idea is
that without synchronization there's no guarantee the thing works at all.

The only disadvantages of the core registering the inputs itself would be
that (1) it uses up additionally flip-flops and (2) it introduces another
clock cycle of latency. In many cases this is a negligible difference, but
since many people already have synchronous control signals running around
anyway, Xilinx figures they'll go for the ever-so-slightly higher
performance/lower gate count solution.


Just add a regular old flip-flop. Assuming the core came with a timing
constrains file, place and route will automatically, uh... place and route
the flip-flops such that the set-up and hold times are met on the control
signals.

---Joel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top