Comments (7)
Hi Matt,
From what I'm seeing in the tech sheet, it seems that IS42S16160G is very similar to the other chips supported by LiteX (except that it supports higher freq). There are good chances that it can work with one of the other chips supported by LiteX, did you try ? LiteX BIOS has a sdram_test command that can help detecting if something goes wrong.
Best,
-- Bruno
from learn-fpga.
Hi Bruno,
sdram_test didn't work with AS4C32M16, it worked with MT48LC16M16 (but only tested first megabyte - not sure if that's expected). Not tried AS4C16M16 yet - got sidetracked by food....will try shortly.
Thanks,
Matt
from learn-fpga.
AS4C16M16 also appears to work - and also only 1Mbyte is tested.
from learn-fpga.
LiteX BIOS has several commands to do various tests.
litex> mem_list
will show the different memories projected into address space.
MAIN_RAM is the SDRAM (starts at address 0x40000000)
then you can do:
mem_test
you can also do:
mem_speed
from learn-fpga.
Using MT48LC16M16 I get
litex> mem_list
Available memory regions:
ROM 0x00000000 0x20000
SRAM 0x01000000 0x2000
MAIN_RAM 0x40000000 0x2000000
CSR 0x82000000 0x10000
litex> mem_test 0x40000000 0x2000000
Memtest at 0x40000000 (32.0MiB)...
Write: 0x40000000-0x42000000 32.0MiB
Read: 0x40000000-0x42000000 32.0MiB
Memtest OK
litex> mem_speed 0x40000000 0x2000000
Memspeed at 0x40000000 (Sequential, 32.0MiB)...
Write speed: 4.8MiB/s
Read speed: 6.4MiB/s
So its all probably working....
from learn-fpga.
Sounds good !
Thank you for the update.
Normally these memory chips share many characteristic. You'll tell me whether the demos work (added the missing demos.h file), and I'll add a note in the doc that
"--sdram-module MT48LC16M16" can work for IS42S16160G.
from learn-fpga.
Just tried the demos and they seem fine.
from learn-fpga.
Related Issues (20)
- From Blinky to RiscV - porting to other HDLs
- Interrupt handling, double triggering HOT 2
- Rv32i quark Block diagram HOT 4
- Out of memory while generating hex for blinky in step 20, IceStick HOT 3
- Icebreaker FPGA UART communication garbage out HOT 4
- Issue connecting iCEstick Evaluation Kit
- Building radiona_ulx3s_ex fails but the original LiteX python script works (ULX3s-12F) HOT 1
- comment/code mismatch
- broken link HOT 1
- FROM_BLINKER_TO_RISCV step 14 multiply simulates but doesn't run on IceStick
- comment/code mismatch FROM_BLINKER_TO_RISCV step 4 (?) HOT 1
- ice-sugar-nano: PLL avaliable but unused
- Step 7 Yields No Output HOT 15
- FROM_BLINKER_TO_RISCV: step 19: verilator command does not work. HOT 2
- FROM_BLINKER_TO_RISCV: no terminal output for step22.v on iCEstick HOT 14
- Which linker script should I be using with the ULX3S? HOT 2
- How to fit larger programs on the Icestick ULXS3 or Arty HOT 1
- Error when running make ARTY HOT 7
- Why does make hello.prog use iceprog after running make ARTY.firmware_config? HOT 1
- Struggling to make LiteOS HOT 31
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-fpga.