sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
<cr1901_modern> Very old Digilent Spartan3 board which I don't use, Altera board that's not mine/need to give back, and http://www.micro-nova.com/mercury/, the 200k model
<cr1901_modern> I mainly have it b/c of all the 5V tolerant I/O
<cr1901_modern> If I were to get another one, I'd probably get miniSpartan6
<_florent_> if you get one, choose the LX25 version
<cr1901_modern> Yea, that seems to be the best choice. Would have to add the support to Migen though (seems only lx9 is supported)
<_florent_> no, both are supported
<cr1901_modern> oh, well that makes my life easier.
<cr1901_modern> I suppose the default device just targets the lx9 version
<_florent_> yes but you can change that with -Op device xc6slx25 IIRC
<_florent_> but the DRAM is not fast enough on this board to do interesting things with the hdmi ports
<cr1901_modern> Define "interesting"... is it enough to do 30fps video?
<_florent_> depends what you want to do
<_florent_> you will be able to write and read a 1024x768@30fps to/from the DDR, not more
<_florent_> (or not a lot more)
<_florent_> DDR/SDR...
<cr1901_modern> Although that is technically enough for my intended usage for anything video related, that's still... ouch
<cr1901_modern> sounds like a design decision that wasn't thought through
<_florent_> that's often the case with small FPGA boards
<_florent_> don't know what you are going to do with a spartan6 LX9 and hdmi ports...
<_florent_> do a loopback... :)
<_florent_> time to sleep, bye
<cr1901_modern> later
* cr1901_modern keeps that in mind
<cr1901_modern> HDMI on FPGA == premium price
ylamarre has joined #m-labs
fengling has quit [Ping timeout: 245 seconds]
fengling has joined #m-labs
ylamarre has quit [Quit: ylamarre]
sb0_ has joined #m-labs
sb0__ has joined #m-labs
sb0 has quit [Ping timeout: 264 seconds]
sb0_ has quit [Ping timeout: 256 seconds]
<mithro> cr1901_modern: You should get an Opsis board :P
<mithro> cr1901_modern: or if you do a bunch of work on the HDMI2USB.tv firmware, you might find you get sent an Opsis board for free :P
<cr1901_modern> Why do I sense subliminal advertising?
<mithro> cr1901_modern: its not subliminal if I outright tell you to buy something :P
<cr1901_modern> It's out of my price range for now, unfortunately. And while doing HDMI work sounds appealing, I'm not in a positing to start doing that right now
<mithro> cr1901_modern: no worries, but if you do end up with time and want to work on it there are plenty of tasks, specially for someone who knows migen :)
<cr1901_modern> Noted, especially since doing an HDMI controller is a bucket list idea
sb0_ has joined #m-labs
sb0__ has quit [Ping timeout: 268 seconds]
sb0__ has joined #m-labs
sb0_ has quit [Ping timeout: 265 seconds]
bentley` has quit [Ping timeout: 265 seconds]
bentley` has joined #m-labs
early has quit [Ping timeout: 252 seconds]
early has joined #m-labs
sb0_ has joined #m-labs
sb0__ has quit [Ping timeout: 246 seconds]
sb0 has joined #m-labs
sb0_ has quit [Ping timeout: 246 seconds]
sb0_ has joined #m-labs
sb0__ has joined #m-labs
sb0 has quit [Ping timeout: 252 seconds]
sb0_ has quit [Ping timeout: 272 seconds]
ylamarre has joined #m-labs
sb0_ has joined #m-labs
sb0__ has quit [Ping timeout: 265 seconds]
sb0_ has quit [Ping timeout: 255 seconds]
ylamarre has quit [Quit: ylamarre]
sb0_ has joined #m-labs
cr1901_modern has quit [Ping timeout: 264 seconds]
<GitHub83> [misoc] sbourdeauducq pushed 1 new commit to master: http://git.io/vZYl5
<GitHub83> misoc/master 12f5858 Tim 'mithro' Ansell: Allow installing tools to a prefix....
cr1901_modern has joined #m-labs
cr1901_modern has quit [Ping timeout: 246 seconds]
cr1901_modern has joined #m-labs
ylamarre has joined #m-labs
cr1901_modern has quit [Ping timeout: 252 seconds]
cr1901_modern has joined #m-labs
antgreen has joined #m-labs
cr1901_modern has quit [Read error: Connection reset by peer]
cr1901_modern has joined #m-labs
cr1901_modern has quit [Write error: Connection reset by peer]
cr1901_modern has joined #m-labs
<rjo> sb0_: yes. there is a one liner for misoc that uses get_constants().
<rjo> sb0_: operators and eq don't do any checking or mangling or their arguments so far. doing it for constants would be inconsistent.
<rjo> sb0_: having CSRConstant inherit from Constant seemed natural. it also makes swapping real python variables and CSRconstants possible. I would consider having CSRStatus and Storage inherit from Signal as well and then have self be storage/status
cr1901_modern has quit [Ping timeout: 255 seconds]
sb0__ has joined #m-labs
<rjo> ... while stuff is being rewritten.
cr1901_modern has joined #m-labs
<rjo> and something that regularly bothers me about CSR: there is "atomic_write" (write form the bus/cpu perspective) but "w", "r", "we", and "re" are from the gateware perspective. The orientation of the later seems the wrong one to me.
sb0_ has quit [Ping timeout: 264 seconds]
cr1901_modern has quit [Read error: Connection reset by peer]
<rjo> afaict reads and writes are usually from the perspective of the initiator of the transaction. and since the csr-holding gateware is not the bus master, r/w should be flipped.
cr1901_modern has joined #m-labs
<_florent_> rjo: I agree on that (even if that's not problematic, the orientation is not natural for me)
cr1901_modern has quit [Read error: Connection reset by peer]
cr1901_modern has joined #m-labs
cr1901_modern has quit [Write error: Connection reset by peer]
cr1901_modern has joined #m-labs
cr1901_modern has quit [Write error: Connection reset by peer]
cr1901_modern has joined #m-labs
cr1901_modern has quit [Read error: Connection reset by peer]
cr1901_modern has joined #m-labs
<sb0__> can you file an issue?
<sb0__> i'm working on migen new-branch now, will get to misoc later after I'm done with it (including the new simulator)
<sb0__> now is a good time for breaking Migen APIs, btw
<sb0__> sim_path ...
sb0_ has joined #m-labs
sb0_ has quit [Client Quit]
sb0__ has quit [Ping timeout: 265 seconds]
<mithro> ysionneau: You were doing conda stuff right?
<ysionneau> yes
<ysionneau> I'm packaging artiq + its dependencies using conda
<mithro> ysionneau: so you have conda packages for gcc-lm32 and binutils-lm32?
<ysionneau> for artiq we use mor1kx and not lm32
<ysionneau> (misoc can use either one or the other, you can chose with a cmd line switch)
<mithro> ysionneau: ahh - how hard would it be to do lm32 conda packages?
<ysionneau> but we packaged binutils-or1k yes
<ysionneau> for linux packages very easy I would say
<ysionneau> it's just a build.sh
<ysionneau> so you just put the configure make make install in a build.sh
<ysionneau> plus your patches
<ysionneau> and voila
<mithro> well, I have zero patches :P
<ysionneau> too easy then ;)
<ysionneau> for instance
<mithro> ysionneau: what would you recommend for "getting started with conda" for something like artiq packaging?
<ysionneau> the official conda documentation is pretty OK
* ysionneau not sure if he understood the question well
<ysionneau> the getting started for users is there: http://conda.pydata.org/docs/get-started.html (my previous link was about building+creating your own packages)
<mithro> ysionneau: thanks - I'll give it a go
<ysionneau> don't hesitate if you have any question
<mithro> ysionneau: does it make sense we should just be building binutils/gcc at the misoc rather then artiq/hdmi2usb level?
<ysionneau> not sure what you mean by "at the XX level"
<ysionneau> if there is no software to build in hdmi2usb then you don't need binutils/gcc as a dependency
<ysionneau> and indeed you need those to build the bios in miso
<ysionneau> misoc*
<ysionneau> for artiq, there is a payload (runtime) which needs binutils/clang
<ysionneau> why are you talking about artiq may I ask? Will you use artiq? :o
<mithro> ysionneau: because artiq already has the CI stuff set up we want for HDMI2USB too :)
<ysionneau> hehe
<mithro> ysionneau: you don't use gcc for artiq?
<mithro> ysionneau: are you suppose to bump the build: number on every build too?
<ysionneau> clang is used to build misoc bios (at least in artiq project)
<ysionneau> the makefile allows using either clang or gcc
<mithro> ysionneau: interesting - didn't know you could do clang building of your misoc code
<ysionneau> actually, we use clang for or1k and gcc for lm32 : https://github.com/m-labs/misoc/blob/master/misoclib/soc/cpuif.py#L5
<ysionneau> first link generates a makefile (which is included), second link is the makefile which tests for CLANG variable value and uses one compiler or the other, according to CLANG value
mumptai has joined #m-labs
<ysionneau> gn8!
<_florent_> sb0: about sim_path is used to know where we can find the dut_tb.cpp template
<_florent_> I don't know if it's possible to package this file directly with migen?
mumptai has quit [Quit: Verlassend]
ylamarre has quit [Quit: ylamarre]
<mithro> ysionneau: I don't really understand how conda handles build-dependencies? You put things in "build:" section but it still seems to be using your system environment and mangling it somehow....
<mithro> ysionneau: the exact same commands which work outside conda are dieing with;
<mithro> checking for x86_64-unknown-linux-gnu-gcc... /home/tansell/conda/conda-bld/work/gcc-4.9.3/build/./gcc/xgcc -B/home/tansell/conda/conda-bld/work/gcc-4.9.3/build/./gcc/ -B/x86_64-unknown-linux-gnu/bin/ -B/x86_64-unknown-linux-gnu/lib/ -isystem /x86_64-unknown-linux-gnu/include -isystem /x86_64-unknown-linux-gnu/sys-include
sb0 has joined #m-labs