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

saxon smp linux in verilator - feature request #78

Open
laurentiuduca opened this issue Dec 14, 2022 · 3 comments
Open

saxon smp linux in verilator - feature request #78

laurentiuduca opened this issue Dec 14, 2022 · 3 comments

Comments

@laurentiuduca
Copy link

hi,

i am completely new to spinal hdl and vexriscv
and i have knowledge about verilog linux and buildroot
i compiled Linux.scala and simulated linux in verilator and i like it because it is fast.
i want to simulate dual core with simple uart and SMP linux in verilator

  • maybe this can be done with saxon soc or VexRiscvSmpCluster.scala
    but i am blocked with system interconnections
    i want it simple to be fast and easier to understand.
    i think this is an essential feature.

    can you put this feature on your agenda, please
    or give some detailed hints

thank you

@laurentiuduca
Copy link
Author

forgot to say that it would be essential
to have the same interaction with the console as linux.scala offers

@laurentiuduca
Copy link
Author

i have discovered the linux-on-litex-vexriscv repository which does this but has lots of peripherals which slow down the simulation speed

@Dolu1990
Copy link
Member

Dolu1990 commented Dec 15, 2022

Hi,

Personnaly, i have https://github.com/SpinalHDL/SaxonSoc/blob/dev-0.3/hardware/scala/saxon/board/digilent/ArtyA7SmpLinux.scala#L586

But that's also with many peripherals.

Else, there is a very striped down simulation soc here :
https://github.com/SpinalHDL/VexRiscv/blob/051d140c33ce1480e10bdf76668fceae8ff59bef/src/main/scala/vexriscv/demo/smp/VexRiscvSmpLitexCluster.scala#L238

It was used to simulate the multicore internals used for Litex.

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

No branches or pull requests

2 participants