|
@@ -180,8 +180,11 @@ module mrdimm_snapshot_mux #(
|
|
|
phase<=0;
|
|
phase<=0;
|
|
|
if((SCANNER_WORD_PORT && copying_axes) ? (expected_axis==AXIS_COUNT-1 && scanner_word_addr==31) : index==SNAPSHOT_LENGTH-2) begin
|
|
if((SCANNER_WORD_PORT && copying_axes) ? (expected_axis==AXIS_COUNT-1 && scanner_word_addr==31) : index==SNAPSHOT_LENGTH-2) begin
|
|
|
locked<=0;
|
|
locked<=0;
|
|
|
- // 3*160+32*AXIS_COUNT copy clocks: a16-bit version
|
|
|
|
|
- // advancing at most once/clock cannot wrap unnoticed.
|
|
|
|
|
|
|
+ // Header:3*160 clocks. With shared history reads, an
|
|
|
|
|
+ // expected axis is revisited within2*AXIS_COUNT+2
|
|
|
|
|
+ // clocks;32*AXIS_COUNT words remain below11000 clocks
|
|
|
|
|
+ // for the supported3/12-axis cases. A16-bit version
|
|
|
|
|
+ // advancing once/clock cannot wrap during one copy.
|
|
|
if(source_ready && source_epoch==captured_epoch)ready<=1;
|
|
if(source_ready && source_epoch==captured_epoch)ready<=1;
|
|
|
else capture_pending<=1;
|
|
else capture_pending<=1;
|
|
|
end
|
|
end
|