URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 761 |
Rev 762 |
Line 401... |
Line 401... |
l.addi r4,r3,MC_TMS(1)
|
l.addi r4,r3,MC_TMS(1)
|
l.movhi r5,hi(SDRAM_TMS_VAL)
|
l.movhi r5,hi(SDRAM_TMS_VAL)
|
l.ori r5,r5,lo(SDRAM_TMS_VAL)
|
l.ori r5,r5,lo(SDRAM_TMS_VAL)
|
l.sw 0(r4),r5
|
l.sw 0(r4),r5
|
|
|
l.addi r4,r3,MC_TMS(1)
|
|
l.movhi r5,hi(SDRAM_TMS_VAL)
|
|
l.ori r5,r5,lo(SDRAM_TMS_VAL)
|
|
l.sw 0(r4),r5
|
|
|
|
l.addi r4,r3,MC_CSC(1)
|
l.addi r4,r3,MC_CSC(1)
|
l.movhi r5,hi(SDRAM_BASE_ADD)
|
l.movhi r5,hi(SDRAM_BASE_ADD)
|
l.srai r5,r5,5
|
l.srai r5,r5,5
|
l.ori r5,r5,0x0411
|
l.ori r5,r5,0x0411
|
l.sw 0(r4),r5
|
l.sw 0(r4),r5
|
|
|
#ifdef FBMEM_BASE_ADD
|
#ifdef FBMEM_BASE_ADD
|
l.addi r4,r3,MC_CSC(2)
|
l.addi r4,r3,MC_CSC(2)
|
l.movhi r5,hi(FBMEM_BASE_ADD)
|
l.movhi r5,hi(FBMEM_BASE_ADD)
|
l.srai r5,r5,5
|
l.srai r5,r5,5
|
l.ori r5,r5,0x0005
|
l.ori r5,r5,0x0005
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.