Flip Flop with Chip-Select
| Positive-edge Flip-Flop with Chip Select |
|
VHDL Code
1) flop_process : PROCESS(clk_sig, reset_sig) |
The figure above shows a +ve edge flip-flop with enable pin. enable, chip enable or chip-select all are same. The chip-enable pin gets third priority (reset -> clock edge -> chip-enable). This means that the output will change only when enable pin = '1'. This is archived by putting one more condition inside clock edge check i.e if conditional statement (line no 6,7 and 8).