module byte_memory_ff(
input [7:0] data,
input store,
output reg [7:0] memory
);
always @(posedge store)
memory <= data;
endmodule
module byte_memory_ff(
input [7:0] data,
input store,
output reg [7:0] memory
);
always @(posedge store)
memory <= data;
endmoduleExcitation, Characteristic, and Truth Tables
Input | Qcurrent | Qnext |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 1 |
1 | 1 | 1 |
Input | Qcurrent | Qnext |
0 | X | 0 |
1 | X | 1 |
Qcurrent | Qnext | Input |
0 | 0 | 0 |
1 | 0 | 0 |
0 | 1 | 1 |
1 | 1 | 1 |