Lofty changed the topic of #prjmistral to: Project Mistral: Yosys (and hopefully nextpnr) on Cyclone FPGAs - https://github.com/ZirconiumX/mistral - logs: https://freenode.irclog.whitequark.org/prjmistral
maiseycorne1 has quit [Ping timeout: 240 seconds]
maiseycorne has joined #prjmistral
_whitelogger has joined #prjmistral
<omnitechnomancer> Does the Cyclone V have DMA access to the hardproc RAM from the FPGA?
<Sarayan> i think all dmas have to be setup from the hps side
<Sarayan> but the fpga2hps block looks like it may have direct ram access
<Sarayan> plus the boot-from-fpga mechanism allows the fpga ti fill the internal ram then boot the cores from there
<Sarayan> so yes, but not through the dma subsystem
<omnitechnomancer> Well by DMA I mean being able to read and write the HPS RAM
<Lofty> omnitechnomancer: they share the DDR3 memory controller
_whitelogger has joined #prjmistral
<omnitechnomancer> Cool
<omnitechnomancer> Might get a DE10-Nano at some point
<Lofty> That's going to end up the first supported board at this point
<omnitechnomancer> \o/
<omnitechnomancer> Does Altera list LE numbers in the same fudged way as everyone else?
<Lofty> Yeah..
<omnitechnomancer> annoying
<Lofty> Your magic number here is 2.5
<Lofty> 2.5 LEs to an ALM.
<omnitechnomancer> so the 110kLE of the DE10's FPGA is more like 44k ALMs?
<Sarayan> Lofty, do you know how to instanciate m10ks, dsps and even mlabs in memory mode in quartus?
<Lofty> - cyclonev_ram_block
<Lofty> - cyclonev_mac
<Lofty> - cyclonev_mlab_cell
<Sarayan> nice
<Sarayan> I suck at verilog, could you build some examples that just do that, instanciate such a cell and route inputs/outputs/clocks on pins?
<Sarayan> It's 4191 LABs or MLABs, each including 10 lut6 or 20 lut5 and 40 FF
<omnitechnomancer> clearly write the examples in VHDL instead :P
<Sarayan> I was doing vhdl 20 years ago, I've forgotten so much :-)
<Sarayan> also 112 dsp and 553 m10k fwiw
<omnitechnomancer> I first learned VHDL but have not done any in a long time
<Sarayan> nmigen forever :-)
<omnitechnomancer> I need to learn nmigen
<Sarayan> nice, thanks
<chipb> regarding the fpga to ddr access, iirc they can indeed share the same hard memory controller, but there's an ability to drive a ddr solely from the fabric side. I recall the reference design for the terasic cyclone v devkit (the one retailing for 1.5K? USD) includes a dedicated ddr for fpga design use.
<chipb> I can't recall if it's a soft controller or not though.
<chipb> ahem. s/devkit/soc &/
<Sarayan> there are two hardware memory controllers in the sx120f, one on the fpga side and one on the hps side
<Sarayan> same for the sx50f
<Sarayan> e50f and gx25f have only one hmc, gt* has two
<chipb> yeah, that seems familiar. been quite some time since I was working with the cyclone parts.
<Lofty> Sarayan: I really need you to teach me how the hardware works; I feel like a shitty project lead for not knowing how things work.
<Sarayan> need to write a doc, it will be needed
<omnitechnomancer> Secret of hardware: It doesn't work
<chipb> Corollary of it working: Bodge a workaround in software