feat: add four 90-ring entropy generators with spatial and temporal XOR (FPGA v3)

This commit is contained in:
randogoth 2026-10-25 13:23:27 +02:00
parent 504b00752a
commit 585e755c66
9 changed files with 389 additions and 217 deletions

View file

@ -66,9 +66,13 @@ module raw_capture #(
end
end
// Two read registers: the first becomes the RAM's address register, the second its output
// register, which keeps the wide block-RAM output multiplexer off the SPI timing path.
reg [7:0] read_data_ram;
always @(posedge clk) begin
if (write_enable) buffer[write_addr] <= write_data;
read_data <= buffer[read_addr];
read_data_ram <= buffer[read_addr];
read_data <= read_data_ram;
end
endmodule