lekernel changed the topic of #m-labs to: Mixxeo, Migen, MiSoC & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
sb0 has quit [Ping timeout: 245 seconds]
sb0 has joined #m-labs
MY123 has quit [Ping timeout: 264 seconds]
<stekern> sb0: I think so, but I can check it tomorrow morning (got to sleep now)
MY123 has joined #m-labs
sb0 has quit [Ping timeout: 272 seconds]
sb0 has joined #m-labs
sb0 has quit [Ping timeout: 256 seconds]
sb0 has joined #m-labs
sb0 has quit [Ping timeout: 256 seconds]
sb0 has joined #m-labs
sb0 has quit [Client Quit]
<rjo> ysionneau: yes. i have hidapi (zyp's dll) working on a win32 machine. i went from cffi to ctypes because i hate writing C inside python strings and the compilation cache with its temporary files.
<rjo> ysionneau: i gave hidapi on wow64 a try a few days ago for another project but forgot that i had 64 bit python on there.
<rjo> sb0: yes. i found the same videos. funny stuff. never seen before. complete welds like pipesor even sheets from edge to edge looks impossible.
<rjo> sb0: regarding your DIY ion trap: the easy path would be to first build a paul trap for dust or spores (no laser needed, just an audio amp and a resonator). and then go for a buffer gas cooled ion trap. they are much simpler to manage and do not require uhv.
<rjo> ysionneau: compiling hidapi.dll with whatever compiler toolchain comes with the respective windows python distribution (for cffi, weave, cython etc) sounds doable.
<rjo> ysionneau: re uart. i believe the current serial code in comm_serial comes from my re-implementation of what flterm does. there are funny things (very funny...) you have to do for special/non-standard baud rates that i did not bother implementing.
<kristianpaul> hmm is there an archived wiki.milkymist.org somewhere?..
<kristianpaul> and rtems wiki is down.. :sadpanda:
sj_mackenzie has joined #m-labs
ysionneau has quit [Ping timeout: 244 seconds]
ysionneau has joined #m-labs
<GitHub73> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/-TYflA
<GitHub73> artiq/master b736c30 Sebastien Bourdeauducq: coredevice/core: core_com -> comm
sb0 has joined #m-labs
<GitHub111> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/rWA1Zw
<GitHub111> artiq/master e01050b Sebastien Bourdeauducq: transforms/inline: fix default values of positional args
sb0 has quit [Quit: Leaving]
<ysionneau> morning
<ysionneau> 03:49 < rjo> ysionneau: i gave hidapi on wow64 a try a few days ago for another project but forgot that i had 64 bit python on < cffi documentation states that if you are on win64 it assumes you have 64 bits python installed so I guess it's fine (that's what I did)
<ysionneau> and did it work on your 64 bit win ?
<ysionneau> 03:55 < rjo> ysionneau: compiling hidapi.dll with whatever compiler toolchain comes with the respective windows python < so far I compiled my hidapi.dll with Visual Studio, and it was fairly easy
_florent_ has joined #m-labs
sj_mackenzie has quit [Remote host closed the connection]
nengel has quit [Ping timeout: 250 seconds]
nengel has joined #m-labs
<rjo> morning!
<rjo> ysionneau: what i tried could not have worked. i didn't have a chance to try with a 64 bit dll.
<ysionneau> rjo: hi, so you don't use cffi anymore, you use ctype now ?
<rjo> ysionneau: yes. but for deployment visual studio is a pita.
<ysionneau> so if you modified your lda.py could you send me the new one?
<rjo> ysionneau: yes. meeting now.
<ysionneau> ok
<ysionneau> is the ctype version working fine on linux+windows?
<ysionneau> cause so far I don't see any hope of having cffi working reliably on win 32 & 64
<ysionneau> it seems to be a real mess
<ysionneau> or maybe without verify() and just ABI compatibility using the "dlopen()" stuff
<ysionneau> so with no on-the-fly compilation
<rjo> i didn't try linux. but my other project works fine with pretty much the same code and hidapi on linux.
<rjo> use ctypes. no compilation. ;)
<ysionneau> it seems a bit more verbose but it has the advantage of not having the big C code strings and if it works ... :)
<ysionneau> thanks for the paste!
<ysionneau> I tried to compile cffi with mingw32, it didn't work...
<ysionneau> by doing stuff like python setup.py --compiler=mingw32
<ysionneau> it chokes on some visual studio specific inline-assembly syntax
<ysionneau> I guess I'm just losing my time by digging in the cffi direction
<ysionneau> it's too bad because it works really well on Linux
sb0 has joined #m-labs
<rjo> ysionneau: the ctypes version is even shorter than the cffi one. you have to write the signatures in both.
sb0 has quit [Ping timeout: 250 seconds]
<rjo> ysionneau: but anaconda comes with a clean and working cffi
<rjo> i guess i never really saw an edvantage of cffi over ctypes.
<rjo> ysionneau: oh. there is a hid_init missing in that __main__.
<ysionneau> hid_init is not mandatory I think
_florent_ has quit [Ping timeout: 258 seconds]
_florent_ has joined #m-labs
rjo_ has joined #m-labs
<rjo_> ysionneau: ok. good to know.
sb0 has joined #m-labs
mumptai has joined #m-labs
mumptai has quit [Ping timeout: 244 seconds]
<GitHub157> [artiq] sbourdeauducq pushed 3 new commits to master: http://git.io/OwxESg
<GitHub157> artiq/master 1780759 Sebastien Bourdeauducq: dds: phase control (mostly untested)
<GitHub157> artiq/master 96720d2 Sebastien Bourdeauducq: examples: remove compiler_test
<GitHub157> artiq/master dfd779c Sebastien Bourdeauducq: core: add underflow recovery function
_florent_ has quit [Quit: Leaving]
<GitHub69> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/uJqwLw
<GitHub69> artiq/master 914bdd9 Sebastien Bourdeauducq: runtime: use booleans in syscalls
<sb0> davidc__, have you tried again to fix the migen simulation comb loop bug?
<davidc__> sb0: my fix works perfectly
<davidc__> sb0: you just think its ugly :)
<davidc__> so I still use that fix
<sb0> it makes the generated verilog unreadable, which makes metaprogramming errors difficult to investigate
<davidc__> sb0: I might go back and take a stab at a cleaner one at some point
<davidc__> but my todo queue is so long these days that I'm not sure when that will be
<sb0> transforming the comb statements into something similar to SSA form sounds like a much better fix
<sb0> also, that transform might prove useful when developing direct FHDL-to-netlist synthesis
<davidc__> sb0: oh, for sure. Its interesting + has lots of applications
<davidc__> sb0: but I have literally zero time these days; and writing a full SSA transform backend for migen sounds like a bit more than an evening or two's work
<sb0> not backend - transform
<rjo> sb0: back in .hk? i had a look at nr21. the vw ice cream looks good ;)
<sb0> you can leave the backend itself as it is. just don't feed problematic comb statements to it ;)
<davidc__> heh. I mean, one could just fix iverilog
<davidc__> but that code makes vim look like a paragon of clean coding values
<sb0> is that a iverilog problem, or a verilog problem?
<davidc__> pretty sure its iverilog
<sb0> seems like that can happen with that event model... but not sure
<sb0> rjo, Monday. still in SF for a few days.
<rjo> sb0: did staring at llvm ir make you like ssa so much?
<sb0> I should still try to manufacture that... incompetent, annoying and/or uninterested machine shops and part obsolescence not helping
mumptai has joined #m-labs
<davidc__> sb0: I seem to recall it was in one of those "undefined" areas of the spec
<davidc__> sb0: but that people concluded that the only sane way to implement it was to coalesce events from the same comb block
<sb0> EDA design at its best again
<GitHub89> [artiq] sbourdeauducq pushed 1 new commit to master: http://git.io/lRrXDw
<GitHub89> artiq/master 64866a0 Sebastien Bourdeauducq: pc_rpc: add init magic string
nicksydney has joined #m-labs
<rjo> sb0: nice. looks like they really gave it some thought.
mumptai has quit [Quit: Verlassend]
<GitHub147> [migen] sbourdeauducq pushed 1 new commit to master: http://git.io/gSNNfw
<GitHub147> migen/master b87ad1a Florent Kermarrec: xilinx_vivado: use REM for comment on Windows