I
Ilya Kalistru
Guest
Sometimes I design complex pipeline which splits on several pipelines at some point and then these branch pipelines are joined in one pipeline again.
| root pipeline
|
|\
|\\
||| branch pipelines
|// joint point
|
At the pipeline joint point data from different branches have to be aligned relatively to each other, so sometimes I have to add shift registers to shorter branch pipelines. Branch pipelines usually consist of several modules and added delays depends on the latencies of each module. As long as modules can be changed and their latency can be changed, I have to adjust delays.
Is there a way to set latency of the module as some âpropertyâ in it, so that a top module could read it and adjust delay lines? Something like reversed generics â generics pass parameter to a module but I need to pass it from the module.
Any ideas?
| root pipeline
|
|\
|\\
||| branch pipelines
|// joint point
|
At the pipeline joint point data from different branches have to be aligned relatively to each other, so sometimes I have to add shift registers to shorter branch pipelines. Branch pipelines usually consist of several modules and added delays depends on the latencies of each module. As long as modules can be changed and their latency can be changed, I have to adjust delays.
Is there a way to set latency of the module as some âpropertyâ in it, so that a top module could read it and adjust delay lines? Something like reversed generics â generics pass parameter to a module but I need to pass it from the module.
Any ideas?