On Sat, Jan 05, 2013 at 09:41:31AM +0100, S?bastien Bourdeauducq wrote:
> Since that SDRAM part on that board might operate at up to 200MHz
> (check which speed grade you have), I'd recommend you use
> milkymist-ng and its memory controller (ASMIcon) with a 1:2
> frequency ratio, e.g. run the SoC at 83MHz and the SDRAM at 166MHz.
> 
> http://www.winbond.com/NR/rdonlyres/16898431-2772-4CEA-8474-7E4AA855555F/0/W9825G6JH.pdf
> https://github.com/milkymist/milkymist-ng
> 
> You will basically need to:
> * modify the PHY so that the data serialization ratio becomes 2
> (instead of currently 4 for DDR).
> * adapt the clocking accordingly.
> * check the timing and other ASMIcon parameters. You have 2 phases
> and 32-bit data.

I think I got most of this, but I appear to have gone the wrong
direction with the multiple phases. I thought I could remove the 
'p1' signals, but this seems broken.

with:
https://bitbucket.org/dahozer/xulamist/commits/b6343bdc8613f1ea1723e04c6bb7e17056db4ad8

I get:


Elaborating module <s6sdrphy(NUM_AD=4'b1101,NUM_BA=2'b10,NUM_D=6'b100000)>.

Elaborating module 
<OSERDES2(DATA_WIDTH=2,DATA_RATE_OQ="SDR",DATA_RATE_OT="SDR",SERDES_MODE="NONE",OUTPUT_MO
DE="SINGLE_ENDED")>.

Elaborating module 
<ISERDES2(DATA_WIDTH=2,DATA_RATE="SDR",BITSLIP_ENABLE="FALSE",SERDES_MODE="NONE",INTERFAC
E_TYPE="RETIMED")>.
ERROR:HDLCompiler:1532 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/verilog/s6sdrphy/s6sdrphy.v" Line 
166:
 Cannot assign to a constant value   
ERROR:HDLCompiler:1532 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/verilog/s6sdrphy/s6sdrphy.v" Line 
167:
 Cannot assign to a constant value   
Module s6sdrphy remains a blackbox, due to errors in its contents
WARNING:HDLCompiler:1499 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/verilog/s6sdrphy/s6sdrphy.v" Line 
18
: Empty module <s6sdrphy(NUM_AD=4'b1101,NUM_BA=2'b10,NUM_D=6'b100000)> remains 
a black box.
ERROR:HDLCompiler:267 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/build/soc.v" Line 5669: Cannot 
find por
t sd_clk_out on this module
ERROR:HDLCompiler:267 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/build/soc.v" Line 5670: Cannot 
find por
t sd_clk_fbin on this module
ERROR:HDLCompiler:267 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/build/soc.v" Line 5673: Cannot 
find por
t sd_ce_n on this module
ERROR:HDLCompiler:267 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/build/soc.v" Line 5680: Cannot 
find por
t dfi_address_p0 on this module
ERROR:HDLCompiler:267 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/build/soc.v" Line 5681: Cannot 
find por
t dfi_bank_p0 on this module
ERROR:HDLCompiler:267 - 
"/afs/hozed.org/user/hozer/src/xess/xulamist/build/soc.v" Line 5682: Cannot 
find por
t dfi_cas_n_p0 on this module
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to