Code Monkey home page Code Monkey logo

Comments (3)

enjoy-digital avatar enjoy-digital commented on July 18, 2024 3

This is now possible thanks to @david-sawatzke and @lschuermann's work. I just finished the integration on this with:

We can now just build the colorlight design with a 32-bit Ethernet Datapath and JTAG-UART with:

python3 colorlight_5a_75x.py --uart-name=jtag_uart --cpu-type=vexriscv --with-ethernet --csr-csv=csr.csv --build --load
litex_term jtag --jtag-config=openocd_butterstick.cfg
        __   _ __      _  __
       / /  (_) /____ | |/_/
      / /__/ / __/ -_)>  <
     /____/_/\__/\__/_/|_|
   Build your hardware, easily!

 (c) Copyright 2012-2022 Enjoy-Digital
 (c) Copyright 2007-2015 M-Labs

 BIOS built on Apr 25 2022 18:39:49
 BIOS CRC passed (d1a436a2)

 LiteX git sha1: bdbb6c0b

--=============== SoC ==================--
CPU:		VexRiscv @ 60MHz
BUS:		WISHBONE 32-bit @ 4GiB
CSR:		32-bit data
ROM:		128KiB
SRAM:		8KiB
L2:		8KiB
SDRAM:		4096KiB 32-bit @ 60MT/s (CL-2 CWL-2)

--========== Initialization ============--
Ethernet init...
Initializing SDRAM @0x40000000...
Switching SDRAM to software control.
Switching SDRAM to hardware control.
Memtest at 0x40000000 (2.0MiB)...
  Write: 0x40000000-0x40200000 2.0MiB     
   Read: 0x40000000-0x40200000 2.0MiB     
Memtest OK
Memspeed at 0x40000000 (Sequential, 2.0MiB)...
  Write speed: 22.2MiB/s
   Read speed: 30.2MiB/s

--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
Booting from network...
Local IP: 192.168.1.50
Remote IP: 192.168.1.100
Booting from boot.json...
Booting from boot.bin...
Copying boot.bin to 0x40000000... (7428 bytes)
Executing booted program at 0x40000000

--============= Liftoff! ===============--

LiteX minimal demo app built Apr 25 2022 18:28:30

Available commands:
help               - Show this command
reboot             - Reboot CPU
led                - Led demo
donut              - Spinning Donut demo
helloc             - Hello C
litex-demo-app>

The timings results are the following:

Info: Max frequency for clock             '$glbnet$main_crg_clkout0': 63.17 MHz (PASS at 60.00 MHz)
Warning: Max frequency for clock '$glbnet$eth_clocks0_rx$TRELLIS_IO_IN': 114.01 MHz (FAIL at 125.00 MHz)
Info: Max frequency for clock                     '$glbnet$jtag_clk': 156.62 MHz (PASS at 12.00 MHz)

and the timings violations on eth_clocks0_rx are false paths on the Gray counter of the CDC FIFO so can be ignored (not sure it's now possible to specify false paths with NextPnr).

from litex-boards.

rowanG077 avatar rowanG077 commented on July 18, 2024

Is there any update on this? I have been eyeing this issue for a year and a half now with no progress :/.

from litex-boards.

enjoy-digital avatar enjoy-digital commented on July 18, 2024

I have a version that works yes but still haven't been able to find the time to integrate it properly. As you can imagine, the Colorlight support is more a hobby/low cost project and does not really drive LiteX development so we had to wait to have another opportunity to do these improvements, which has been possible while working on 10G Ethernet. I hope being able to integrate this in not too long (maybe in the next weeks), it's a bit difficult to help on this issue but if you are willing to contribute to the project, helping on other issues could free up some time to look at this one.

from litex-boards.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.