mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
fpga/mqnic/Alveo: Fix Alveo flash format register
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
179fd275b5
commit
2e8e24f446
@ -729,7 +729,7 @@ always @(posedge clk_250mhz) begin
|
||||
ctrl_reg_rd_data_reg[3:0] <= FLASH_SEG_COUNT; // configuration
|
||||
ctrl_reg_rd_data_reg[7:4] <= FLASH_SEG_DEFAULT; // default segment
|
||||
ctrl_reg_rd_data_reg[11:8] <= FLASH_SEG_FALLBACK; // fallback segment
|
||||
ctrl_reg_rd_data_reg[31:12] <= FLASH_SEG0_SIZE; // first segment size
|
||||
ctrl_reg_rd_data_reg[31:12] <= FLASH_SEG0_SIZE >> 12; // first segment size
|
||||
end
|
||||
RBB+8'h30: begin
|
||||
// SPI flash ctrl: control 0
|
||||
|
@ -730,7 +730,7 @@ always @(posedge clk_250mhz) begin
|
||||
ctrl_reg_rd_data_reg[3:0] <= FLASH_SEG_COUNT; // configuration
|
||||
ctrl_reg_rd_data_reg[7:4] <= FLASH_SEG_DEFAULT; // default segment
|
||||
ctrl_reg_rd_data_reg[11:8] <= FLASH_SEG_FALLBACK; // fallback segment
|
||||
ctrl_reg_rd_data_reg[31:12] <= FLASH_SEG0_SIZE; // first segment size
|
||||
ctrl_reg_rd_data_reg[31:12] <= FLASH_SEG0_SIZE >> 12; // first segment size
|
||||
end
|
||||
RBB+8'h30: begin
|
||||
// SPI flash ctrl: control 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user