Pass through, No HDL, and Cascade Implementations
Pass-through and No HDL Implementations
Provides a pass-through implementation in which the block's inputs are passed directly to its outputs. HDL Coder™ supports the following blocks with a pass-through implementation:
You can also use this implementation as an alternative implementation for subsystems.
Logic driving a
Output ports of
For more information related to special-purpose implementations, see External Component Interfaces.
Cascade Architecture Best Practices
HDL Coder supports cascade implementations for the Sum of Elements, Product of Elements, and MinMax blocks. These implementations require multiple clock cycles to process their inputs; therefore, their inputs must be kept unchanged for their entire sample-time period. Generated test benches accomplish this by using a register to drive the inputs.
A recommended design practice, when integrating generated HDL code with other HDL code, is to provide registers at the inputs. While not strictly required, adding registers to the inputs improves timing and avoids problems with data stability for blocks that require multiple clock cycles to process their inputs.