END
Also, your mpmc static PHY needs a second clock, phase shifted from its other clock, so you need to configure your clock generator to produce this phase shigfted clock and connect it to mpmc. Again see my example MHS file. It is in the mpmc section called MPMC_Clk_Mem.
PORT fpga_0_SDRAM_Clk_pin = fpga_0_SDRAM_Clk, DIR = O, VEC = [0:0], SIGIS = CLK
PORT fpga_0_SDRAM_CE_pin = fpga_0_SDRAM_CE, DIR = O, VEC = [0:0]
PORT fpga_0_SDRAM_CS_n_pin = fpga_0_SDRAM_CS_n, DIR = O, VEC = [0:0]
PORT fpga_0_SDRAM_RAS_n_pin = fpga_0_SDRAM_RAS_n, DIR = O
PORT fpga_0_SDRAM_CAS_n_pin = fpga_0_SDRAM_CAS_n, DIR = O
PORT fpga_0_SDRAM_WE_n_pin = fpga_0_SDRAM_WE_n, DIR = O
PORT fpga_0_SDRAM_BankAddr_pin = fpga_0_SDRAM_BankAddr, DIR = O, VEC = [1:0]
PORT fpga_0_SDRAM_Addr_pin = fpga_0_SDRAM_Addr, DIR = O, VEC = [12:0]
PORT fpga_0_SDRAM_DQ_pin = fpga_0_SDRAM_DQ, DIR = IO, VEC = [7:0]
PORT fpga_0_SDRAM_DM_pin = fpga_0_SDRAM_DM, DIR = O, VEC = [0:0]
BEGIN mpmc
PARAMETER INSTANCE = SDRAM
PARAMETER HW_VER = 5.00.a
PARAMETER C_MEM_PARTNO = MT48LC32M8A2-75
PARAMETER C_MPMC_BASEADDR = 0x00000000
PARAMETER C_MPMC_HIGHADDR = 0x01FFFFFF
PARAMETER C_MEM_TYPE = SDRAM
PARAMETER C_MEM_DATA_WIDTH = 8
PARAMETER C_USE_STATIC_PHY = 1
PARAMETER C_MPMC_CTRL_HIGHADDR = 0x00000000
PARAMETER C_MPMC_CTRL_BASEADDR = 0xFFFFFFFF
BUS_INTERFACE SPLB0 = plb
PORT SDRAM_Clk = fpga_0_SDRAM_Clk
PORT SDRAM_CE = fpga_0_SDRAM_CE
PORT SDRAM_CS_n = fpga_0_SDRAM_CS_n
PORT SDRAM_RAS_n = fpga_0_SDRAM_RAS_n
PORT SDRAM_CAS_n = fpga_0_SDRAM_CAS_n
PORT SDRAM_WE_n = fpga_0_SDRAM_WE_n
PORT SDRAM_BankAddr = fpga_0_SDRAM_BankAddr
PORT SDRAM_Addr = fpga_0_SDRAM_Addr
PORT SDRAM_DQ = fpga_0_SDRAM_DQ
PORT SDRAM_DM = fpga_0_SDRAM_DM
END
文章评论(0条评论)
登录后参与讨论