Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the CV32E41P RISC-V CPU #1207

Merged
merged 3 commits into from
Feb 15, 2022
Merged

Add support for the CV32E41P RISC-V CPU #1207

merged 3 commits into from
Feb 15, 2022

Conversation

pcotret
Copy link
Contributor

@pcotret pcotret commented Feb 14, 2022

Worked in simulation and on a board (Nexys4-DDR). Mostly inspired by the CV32E40P PR #535

        __   _ __      _  __
       / /  (_) /____ | |/_/
      / /__/ / __/ -_)>  <
     /____/_/\__/\__/_/|_|
   Build your hardware, easily!

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

 BIOS built on Feb 14 2022 22:39:52
 BIOS CRC passed (3f045d30)

 Migen git sha1: ac70301
 LiteX git sha1: d506b441

--=============== SoC ==================--
CPU:		CV32E41P @ 1MHz
BUS:		WISHBONE 32-bit @ 4GiB
CSR:		32-bit data
ROM:		128KiB
SRAM:		8KiB


--============== Boot ==================--
Booting from serial...
Press Q or ESC to abort boot completely.
sL5DdSMmkekro
Timeout
No boot medium found

--============= Console ================--

litex> mem_list
Available memory regions:
ROM       0x00000000 0x20000 
SRAM      0x01000000 0x2000 
CSR       0x82000000 0x10000 

Regarding interrupts and my previous issue (#1200), may I ask for a quick review?
It works, but it may not be the most elegant solution.

In order to help, I wrote some notes about how interrupt signals are implemented in the CV32E41P compared to the (old) CV32E40P:
https://gist.github.com/pcotret/855279aa18393c14345095f2e7a6a99f

@enjoy-digital
Copy link
Owner

Thanks @pcotret! This looks good and is perfectly fine for an initial support. We can merge it now and I'll try to do a closer review of the interrupt support soon.

@enjoy-digital enjoy-digital merged commit 2993928 into enjoy-digital:master Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants