Skip to content

Commit

Permalink
xilinx: Changed dram ID width
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrilKoe committed Feb 5, 2024
1 parent 32854bb commit 82fc244
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions target/xilinx/flavor_vanilla/src/dram_wrapper_xilinx.sv
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module dram_wrapper_xilinx #(
`ifdef TARGET_GENESYS2
localparam dram_cfg_t cfg = '{
EnCDC : 1, // 200 MHz axi (attention CDC logdepth)
IdWidth : 4,
IdWidth : 8,
AddrWidth : 30,
DataWidth : 64,
StrobeWidth : 8
Expand Down Expand Up @@ -366,4 +366,4 @@ module dram_wrapper_xilinx #(
);
`endif // USE_DDR3

endmodule
endmodule
2 changes: 1 addition & 1 deletion target/xilinx/xilinx_ips/xlnx_mig_7_ddr3/mig_genesys2.prj
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
<C0_C_RD_WR_ARB_ALGORITHM>RD_PRI_REG</C0_C_RD_WR_ARB_ALGORITHM>
<C0_S_AXI_ADDR_WIDTH>30</C0_S_AXI_ADDR_WIDTH>
<C0_S_AXI_DATA_WIDTH>64</C0_S_AXI_DATA_WIDTH>
<C0_S_AXI_ID_WIDTH>4</C0_S_AXI_ID_WIDTH>
<C0_S_AXI_ID_WIDTH>8</C0_S_AXI_ID_WIDTH>
<C0_S_AXI_SUPPORTS_NARROW_BURST>0</C0_S_AXI_SUPPORTS_NARROW_BURST>
</AXIParameters>
</Controller>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# SPDX-License-Identifier: Apache-2.0

ROOT_xlnx_mig_7_ddr3 := $(CHS_XIL_DIR)/xilinx_ips/xlnx_mig_7_ddr3
ARTIFACTS_FILES_xlnx_mig_7_ddr3 := xlnx_mig_7_ddr3.mk tcl/run.tcl
ARTIFACTS_FILES_xlnx_mig_7_ddr3 := xlnx_mig_7_ddr3.mk tcl/run.tcl mig_genesys2.prj mig_kc705.prj mig_vc707.prj
ARTIFACTS_VARS_xlnx_mig_7_ddr3 := xilinx_part XILINX_BOARD xilinx_board_long
XILINX_USE_ARTIFACTS_xlnx_mig_7_ddr3 := 1

0 comments on commit 82fc244

Please sign in to comment.