programmerjake | well, before i was in college, when I still had spare time, I did dedicate several years to writing voxels, a game kinda like minecraft...i'm currently planning on working on it more at some point...i'm on rewrite #8 | 01:04 |
---|---|---|
mikolajw | I'm now completely unemployed and I have a lot of time. Does anyone have any easy starter task for me? That one with nmigen to C conversion had to be reassigned to someone else | 15:26 |
lkcl | mikolajw, no totally go for it, ghostmansd[m] is working on binutils | 18:14 |
ghostmansd[m] | Yep, ack :-) | 18:15 |
ghostmansd[m] | lkcl, cannot be closer to truth, looking at gas right now, lol | 18:16 |
lkcl | :) | 18:17 |
lkcl | i do not do gambling, but in sv_analysis.py, when you see the results of all of the "if type == "VHDL" elif type == "BINUTILS" do this" statements | 18:18 |
lkcl | you are going to freak out and go, "whyyy god, whyyyy did i quadruple the size of a 60-line function..." | 18:18 |
ghostmansd[m] | Actually this enum is crap, I think there must be two classes | 18:18 |
ghostmansd[m] | With a simple override | 18:18 |
lkcl | ehn? que? enum? que? | 18:18 |
ghostmansd[m] | This Format class | 18:19 |
ghostmansd[m] | It's derived from Enum | 18:19 |
ghostmansd[m] | Which I think is not really cool, actually this format check should be done only once | 18:19 |
ghostmansd[m] | OTOH, this 60 line function dealt with one format, not two | 18:20 |
lkcl | ohh yes, Enum class. very good at creating auto-numbering | 18:20 |
lkcl | indeed. | 18:20 |
ghostmansd[m] | So it's kinda expected there will be more code | 18:20 |
ghostmansd[m] | But I agree not quadruple perhaps | 18:20 |
ghostmansd[m] | :-) | 18:20 |
ghostmansd[m] | The code sucks, yep, I know | 18:20 |
lkcl | the thing is, pretty much the entire output changes. header, footer, inside the for-loop, everything | 18:20 |
lkcl | if you used e.g. python-jinja (please don't!) there would be nothing common - at all - between the two | 18:21 |
lkcl | mikolajw, i'm provisionally allocating EUR 1200 to the task for you https://bugs.libre-soc.org/show_bug.cgi?id=665 | 18:23 |
ghostmansd[m] | Hm. Never used Jinja, or even heard of it? | 18:23 |
lkcl | jinja2. | 18:23 |
ghostmansd[m] | s/?/./ | 18:23 |
lkcl | it's basically "let's provide everything that's awful about PHP... in python" | 18:24 |
ghostmansd[m] | Fuck | 18:24 |
ghostmansd[m] | Saw it | 18:24 |
lkcl | you can therefore embed python functions... in ASCII text. | 18:24 |
ghostmansd[m] | How to unsee it? | 18:24 |
lkcl | the syntax is {% .... %} and {{ ..... }} instead of <?php ?> | 18:24 |
lkcl | :) | 18:24 |
octavius | Do a year of pure x86 assembly ;) | 18:25 |
lkcl | electric shock therapy? | 18:25 |
ghostmansd[m] | both together | 18:26 |
lkcl | what's that film where two actors brew up some memory-erasure concoction? | 18:26 |
ghostmansd[m] | Don't even know which is worse | 18:26 |
lkcl | they go, "i wonder if it's ready?" and faint | 18:26 |
lkcl | 1 hour later they wake up: "i wonder if it's ready? *sniff*" and faint... | 18:27 |
lkcl | repeat about 3 times :) | 18:27 |
ghostmansd[m] | Lol | 18:27 |
ghostmansd[m] | Would be useful considering the profession | 18:27 |
lkcl | it was either Pineapple Express, or it was Green Hornet, or something equally stupid | 18:27 |
mikolajw | lkcl: but you said Dmitry takes it | 18:43 |
lkcl | mikolajw, no, we asked if it was *possible* for Dmitry to take it | 18:49 |
lkcl | he chose instead to do binutils | 18:50 |
lkcl | so it's yours | 18:50 |
programmerjake | lkcl I fixed the budget arithmetic for #241, please double check | 18:51 |
lkcl | ah great. i subtracted 1200 from 3700 and must have thought i'd subtraced 1500. thx for checking | 18:52 |
programmerjake | :) | 18:52 |
mikolajw | lkcl: great, thanks, getting to this now | 18:53 |
* lkcl just trying to recall the os.environ variable in pysim.py that can be used to output the actual python code-fragments | 18:54 | |
lkcl | ah ha! found it | 18:55 |
lkcl | https://git.libre-soc.org/?p=nmigen.git;a=blob;f=nmigen/sim/_pyrtl.py;h=13d515f25cb4a6a297726d29901268b8a6a94a59;hb=e88d283ed30448ed5fe3ba264e3e56b48f2a4982#l433 | 18:55 |
lkcl | you can see, like 126-200 or so, how brain-dead-simple the decision-making is. "if value.operator == "+" output LHS + RHS" | 18:59 |
lkcl | i would strongly suggest using functions the entire time (just like line 150 and 152, zdiv, zmod) - an add(LHS, RHS) function, a sub(LHS, RHS) function etc. etc. | 19:00 |
lkcl | but, for goodness sake, *start small*. start with *really* small nmigen HDL programs. | 19:00 |
programmerjake | blender on libre-soc? https://developer.blender.org/T93609 | 19:13 |
programmerjake | already closed... | 19:15 |
programmerjake | https://blender.community/c/rightclickselect/08rL/ | 19:21 |
tplaten | noticed the changes 71 sec ago in loadstore.py: set align_intr from request which comes... | 19:21 |
tplaten | I have been thinking of running Godot4 on the libre-soc. Currently it does not even compile on my Talos II. | 19:23 |
lkcl | took them 3 minutes to close it, deep joy | 19:24 |
lkcl | tplaten, yes. that made an actual exception work, which is pretty stunning | 19:25 |
lkcl | python3 simple/test/test_issuer_mmu.py nosvp64 >& /tmp/f1 | 19:25 |
lkcl | i need to confirm that | 19:25 |
lkcl | exc_happened is actually getting through to the PowerDecoder2 | 19:26 |
lkcl | cesar, ^ | 19:26 |
lkcl | MSR is getting set to 0x8000000000001 which looks plausible. | 19:28 |
lkcl | HA! PC is set to 0x600! | 19:28 |
lkcl | that's fantastic news | 19:28 |
lkcl | tplaten, wha-hey! case_5_ldst_exception works! will just commit that now. PC gets set to 0x300 due to "invalid" | 19:33 |
tplaten | I have written a replay to your kanban mail from today. | 19:34 |
lkcl | saw it | 19:36 |
lkcl | tplaten, yeah, hardware is tricky. anything in m.d.comb creates a chain | 19:36 |
lkcl | gate->gate->gate->gate ... | 19:37 |
lkcl | and at some point, that chain is too long (too many transistors triggering other transistors that trigger other transistors...) | 19:37 |
lkcl | so you "capture" the output into a Flip-Flop (aka D-Latch, aka DFF, aka "register") | 19:38 |
tplaten | I think I now understand, but it took me some time to understand. Too much time I think | 19:39 |
lkcl | there's quite a lot going on, working indirectly here. | 19:40 |
* lkcl needs tea | 19:41 | |
tplaten | I now have a look at === alignment error (st) === as this was the first place where I found out that something goes wrong. | 19:44 |
*** tplaten <tplaten!~isengaara@55d466b7.access.ecotel.net> has left #libre-soc | 20:39 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!