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
stekern has quit [Ping timeout: 240 seconds]
stekern has joined #m-labs
stekern has quit [Ping timeout: 268 seconds]
stekern has joined #m-labs
stekern has quit [Ping timeout: 264 seconds]
stekern has joined #m-labs
stekern has quit [Ping timeout: 268 seconds]
stekern has joined #m-labs
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<mithro> sb0: looks like we should be able to get by with openocd for programming but it'll be a while before people don't have to compile their own.
<sb0> is the tool you are using right now better packaged?
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Ping timeout: 244 seconds]
ylamarre has joined #m-labs
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 244 seconds]
ylamarre1 has quit [Ping timeout: 264 seconds]
ylamarre has joined #m-labs
ylamarre has quit [Ping timeout: 264 seconds]
ylamarre has joined #m-labs
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 264 seconds]
ylamarre1 is now known as ylamarre
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<GitHub131> [migen] sbourdeauducq pushed 3 new commits to new: http://git.io/vnnCQ
<GitHub131> migen/new 59802be Sebastien Bourdeauducq: fhdl/structure: add missing init
<GitHub131> migen/new 7f76709 Sebastien Bourdeauducq: sim: support generators yielding statements
<GitHub131> migen/new 320dffb Sebastien Bourdeauducq: sim: memory access from generators
travis-ci has joined #m-labs
<travis-ci> m-labs/migen#96 (new - 7f76709 : Sebastien Bourdeauducq): The build has errored.
travis-ci has left #m-labs [#m-labs]
ylamarre1 has joined #m-labs
<sb0> cr1901_modern, didnt you have a simpler test case than this? https://gist.github.com/cr1901/c20cbc5b1eb0d8d43578
<cr1901_modern> That was the simplest test case I had created. I can try to create a new one if desired.
<cr1901_modern> Don't worry, this "bug" is still there in the new branch :)
<GitHub102> [migen] sbourdeauducq pushed 1 new commit to new: http://git.io/vnnW8
<GitHub102> migen/new 87a8531 Sebastien Bourdeauducq: travis: VPI is not there for now
ylamarre has quit [Ping timeout: 240 seconds]
ylamarre1 has quit [Ping timeout: 240 seconds]
<cr1901_modern> sb0: Are you gonna import any of the old code for the new VPI?
<sb0> this code probably needs to be changed in major ways
travis-ci has joined #m-labs
<travis-ci> m-labs/migen#97 (new - 87a8531 : Sebastien Bourdeauducq): The build failed.
travis-ci has left #m-labs [#m-labs]
ylamarre has joined #m-labs
<sb0> oooh cool another travis python import clusterfuck. i love those.
ylamarre1 has joined #m-labs
<sb0> cr1901_modern, i assume the tests work on your machine, right?
<cr1901_modern> I've never run them tbh lol
<sb0> can you try?
ylamarre has quit [Ping timeout: 240 seconds]
ylamarre1 is now known as ylamarre
<sb0> latest new branch should pass all tests
<cr1901_modern> Yea sure. Is this b/c travis is being a fuckup?
<sb0> yes
<cr1901_modern> is there a global script I can run, or just run them individually?
<sb0> cd migen/test && python3 -m unittest
<cr1901_modern> ahhh, right
<cr1901_modern> I don't have verilator installed, but 41 tests passed before that
<cr1901_modern> I'll compile/install that now
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 240 seconds]
<cr1901_modern> (this takes a bit of time on Windows b/c POSIX emulation in general is crap)
ylamarre1 has quit [Ping timeout: 272 seconds]
ylamarre has joined #m-labs
<cr1901_modern> sb0: While I'm waiting for Verilator to compile... is the new VPI going to essentially be a top level module that has an instance of every single external module that was instantiated by Migen, and the relevant set of signals as regs?
<cr1901_modern> Okay, verilator is installed. The verilator test passes when I run it manually (0 return code), but Python claims non-zero return code when I run python3 -m unittest
<sb0> where?
<cr1901_modern> Running that command manually, and then "echo $?" results in 0 printed to stdout
<sb0> can you get the verilator log somehow?
<cr1901_modern> I'm not sure... I don't see anything suggesting that verilator has a log
<cr1901_modern> wait nevermind
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<cr1901_modern> I retract the former statement; that was verilator complaining about bad command line parameters (I've never used Verilator)
nicksydney has quit [Remote host closed the connection]
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<cr1901_modern> sb0: I'm not sure what information you want: running verilator --cc produces a number of C++ objects, and compiling them with the resulting Makefile outputs an archive file
<cr1901_modern> haven't figured out how to get a binary yet
<sb0> well why that test fails
<GitHub17> [migen] sbourdeauducq pushed 2 new commits to new: http://git.io/vnnEE
<GitHub17> migen/new 1767eef Sebastien Bourdeauducq: fhdl/visit: support Constant
<GitHub17> migen/new 74b0cfc Sebastien Bourdeauducq: doc: remove outdated or moved parts, cleanup
<sb0> anyhow, that's not what travis is whining about
travis-ci has joined #m-labs
<travis-ci> m-labs/migen#98 (new - 74b0cfc : Sebastien Bourdeauducq): The build is still failing.
travis-ci has left #m-labs [#m-labs]
<GitHub142> [migen] sbourdeauducq pushed 1 new commit to new: http://git.io/vnnuB
<GitHub142> migen/new 2ac748a Sebastien Bourdeauducq: doc: remove spurious file
travis-ci has joined #m-labs
<travis-ci> m-labs/migen#99 (new - 2ac748a : Sebastien Bourdeauducq): The build is still failing.
travis-ci has left #m-labs [#m-labs]
<cr1901_modern> sb0: The command is failing because verilator is a perl script, and Windows has no concept of shebangs
<cr1901_modern> In fact the verilator script doesn't even have a shebang, so I'm a bit stumped why it's not failing
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<mithro> sb0: do you think it makes sense to have a shared "misoc-conda-recipes" repo which has things like lm32/or1k binutils/gcc etc?
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<mithro> sb0: When you get some time, I'd appreciate a quick review of https://docs.google.com/document/d/1ZjM1Brrks0lg1CJp2Rt1BH8-MhJamrKUeCUB4s4nzoA/edit#
ylamarre has quit [Ping timeout: 264 seconds]
ylamarre has joined #m-labs
<cr1901_modern> sb0: I think personally think the verilator test should be skipped on Windows, b/c it depends on a bash shell existing, which is no guarantee for a Windows user >>
<cr1901_modern> However, changing line 43 of test_syntax.py to the following fixes the test:
<cr1901_modern> subprocess.check_call("bash -c \"verilator --lint-only " + " ".join(options) + " " + filename + "\"",
<cr1901_modern> at the very least, there should be a check for a bash executable on the Windows path
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 264 seconds]
ylamarre1 is now known as ylamarre
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 264 seconds]
ylamarre1 is now known as ylamarre
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 264 seconds]
ylamarre1 is now known as ylamarre
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
rohitksingh has joined #m-labs
<sb0> cr1901_modern, send a patch. i don't use windows...
<mithro> sb0: very minor patch incoming
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
<sb0> mithro, didn't receive it
<mithro> sb0: hrm.. where did it go, I'm not seeing it in my sent mail either...
ylamarre has quit [Remote host closed the connection]
<mithro> gah, how did my patch still end up with the build/.keep_me deleted :(
ylamarre has joined #m-labs
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 246 seconds]
ylamarre1 is now known as ylamarre
ylamarre1 has joined #m-labs
ylamarre has quit [Ping timeout: 246 seconds]
ylamarre1 is now known as ylamarre
ylamarre has quit [Remote host closed the connection]
ylamarre has joined #m-labs
rohitksingh has quit [Ping timeout: 252 seconds]
rohitksingh has joined #m-labs
aeris has joined #m-labs
aeris has quit [Read error: Connection reset by peer]
aeris has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
mumptai has quit [Remote host closed the connection]