-
Notifications
You must be signed in to change notification settings - Fork 417
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
Murax XIP compile issue #380
Comments
Hi, SpinalHDL does some linting to check that there is no important wire which is floating, and apparently that's the case : [error] spinal.lib.bus.simple.PipelinedMemoryBus.(PipelinedMemoryBus.scala:42) How did you implemented the ??? replacement ? |
Thanks! Not implemented, to be honest i thought '???' was a typo error. I've just find out it is a function that throws NotImplementedError. Meanwhile I ask you a suggestion for the softcore I would like to build, hopefully based on VexRiscv.
|
Ahhh ??? is a scala thing to say "todo" ^^
Personnaly, i don't realy like wishbone (twisted stuff) neither axilite (overkilled / heavy).
computation in the cpu right ? As long as possible, stay with regular memory busses, ex apb3 and map stuff as peripheral. that should be fast enough, i mean, what speed the ADC values ?
Should be done with the core if possible, (as long as you can fit the function which "disable XIP -> update flash block -> enable XIP" software in the on-chip-ram) |
Thanks for your reply! Last week I've to work on a PCB design, so I'm back just today to this project. I'll check APB3 but I'm really a newbie on SoC and Scala, this will be difficult, anyway I'll try.
Yes ADC and DAC are on external I/O boards, data is exchanged using LVDS and muxed in the main FPGA board. I can not access directly ADC as peripheral. Anyway we are speaking of a payload (the 320bytes) at 100kHz rate. So 320byte updalod (ADC to FPGA)/320byte download(FPGA do DAC) that has to be processed at 100kHz. Simplifying, the 320byte contains the ADC 24bit raw values and let's say 64 ADC + other data, the 320 byte 16bit raw values of DAC + other data.
That will be a long trip for me, but I'm gonna try it. |
hmm that's kinda a lot of data ^^ so it may not be faisable by the CPU alone. |
First thank you again for your help, at this stage of my knowledge your experienced opinion matters. I've started just today the work on the XIP, last week I was working on a another task (PCB side). Moving to the computational side: Another way I'm looking at is using an hardware core (like one Xilinx Cortex core, or the AE350 on the Tang Mega 138K board). |
hmm did you tried to run that computer with some blank data already and checked the timings ? |
Thanks @Dolu1990 |
Finally I had time to dedicate to this. I'm trying to build a sample project to test it. Luckily I know pretty well Java and Verilog... but Scala and Spinal are two different things, and it takes times to me to understand how they works. The most difficult thing to me is the lack of documentation for Spinal, another thing missing is a user forum (the spinal google group seems to be used just for meet notifications). I know it's mostly a one man band project and your effort @Dolu1990 is already huge, those above are just my note as a new entry. Anyway, back to XIP, below my snipped code.
I'm stuck on this issue. If you any help. I think I'll move to the APB3 interface for my data bus. Hoping will be simpler. If I've problem with this I'll post on spinal or vexriscv issue page.
|
Hi, You can consider the github issues / discution channel as a forum. I'm not sure the setup you have currently. |
Hello @Dolu1990 At present I've stop working to XIP and moved to stream data, for which I've just posted a question. |
Hello,
I'm trying the Murax soc on a Tang Nano 9k.
MuraxWithRamInit works with no issues. I'm able to run the demo, and to compile custom C software.
Now I want to try the XIP, to run code from an SPI Flash.
First issue is that I'm not able to compile it.
The first error I've found is below:
I've been able to solve it by updating the fromPipelinedMemoryBus function, removing the ??? operator, so, I'm having a Murax.scala file content like below
Now, the issue scala.NotImplementedError issue is gone, but I've another one
built.sbt is using the following versions
spinalVersion = "1.9.4"
scalaVersion := "2.11.12
I've just started on SpinalHdl, so I ask you an help to solve this issue.
Thanks in advice.
The text was updated successfully, but these errors were encountered: