[Feature Request] Merging multiple D latches into one register with single clock input
makkarpov opened this issue ยท 6 comments
Hello. I want to make a feature request. The subject of this request is simple - allow stacking transparent latch to make a register. Possible implementation - add new mode that do not have two data outputs, but have data output and clock output. This mode can be activated with a screwdriver.
data out
|
clock in ---[ ]--- clock out
|
data in
Clock-in/clock-out may be replaced with bidirectional clock wire
You should explain clearly about how the gate functions, just so I understand correctly.
The gate functions just like usual D-latch, but have clock output on opposite side to clock input, and clock signal passes through it. This modification allows stacking D latches to a register in very convenient way - just placing multiple latches next to each other. This latch can be implemented in a one of screwdriver modes of D latch, instead of adding a new gate.
I like the idea of a no delay clock wire running between them. Ill see about adding a Stacking Transparent Latch with such a wire. If I decide not to do so, I will simply add a mode to the existing transparent latch.
Added via 8c31f3d
Ive been messing about with this, and at this point, the bi-directional wired gate would need some work, but it seems the way to go. Im gonna try to implement it, but will take some time.