Friday, 2020-01-03

*** tpb has joined #tomu00:00
gurke_and also: does it make sense to keep the verilog-blink-minimal in the workshop?00:04
xobsgurke_: someone rewrote verilog-blink into verilog-blink-minimal out of frustration of the amount of complexity in verilog-blink.00:42
xobsAlso, `spi.id() = 0` is a bug.  I'll work on that right now.00:42
*** CarlFK has quit IRC00:43
xobsvesim: awesome job with having a serial port!00:45
xobsDo you need to init submodules in order to get vexriscv?00:45
gurke_xobs: btw, i just tested litex again - it runs smoothly now00:48
gurke_xobs: (without the issues we had at 36c3)00:48
xobsgurke_: awesome.  Thanks for testing! (cc mithro )00:49
gurke_nono, that project is awesome... i'm now into it since congress and still fully hooked - thanks for that!00:50
xobsOkay, I have a foboot-2.0 compatibility layer going for spi.  Let me rebuild it and push it.01:01
xobsgurke_: https://github.com/xobs/micropython/commit/421dcd20ed71b91cb1f573fdb19d8832b597aa1c (which is now included in fomu-workshop)01:05
tpbTitle: spi: foboot-2.0 compatibility · xobs/micropython@421dcd2 · GitHub (at github.com)01:05
gurke_xobs: looks better - now i get 0xc8144015 - thanks!01:12
xobsHooray!01:26
*** auscompgeek has joined #tomu01:30
*** CarlFK has joined #tomu02:08
gurke_xobs: regarding a / an LED: at school, I've been taught that one writes "an" only when the next word starts with a wovel - however that's in Switzerland - so... :-)02:21
xobsgurke_: One writes "an" when the next word starts with a vowel sound.  For example, you'd say "a European", since "European" starts with a "y" sound, but Americans would say "an H" since in American English "H" is pronounced "aitch".02:25
gurke_aha - that also makes sense!02:26
xobsI guess we'd say "an herb", since Americans pronounce it "erb".  But Brits would say "a herb".  English is weird.02:26
gurke_nevermind - it just made me somehow stumble while reading02:27
gurke_speaking of geography - i need to catch some sleep!02:27
gurke_cu laters02:27
xobsNight!02:31
gurke_oh, last thing regarding https://github.com/im-tomu/fomu-workshop/issues/43 : would that actually work on pvt when copying/adjusting the pcf? or is that dangerous somehow?02:32
tpbTitle: Make the minimal verilog actually minimal · Issue #43 · im-tomu/fomu-workshop · GitHub (at github.com)02:32
xobsWhich part?02:33
gurke_maybe i get it wrong - the minimal example just doesn't work on pvt boards due to incompatible blink.pcf file - no?02:34
gurke_or would it need other adjustments?02:34
xobsYou'd just need a PCF file.  I think the issue is to remove some extra stuff from the Verilog file, such as the plethora of configuration settings.02:35
gurke_ok, so wouldn't it make sense to have the pcf for pvt boards in the workshop repo by default?02:36
xobsThere's one in the `verilog-blink` directory already which you could use.02:36
gurke_yes, that's what i've meant - i.e. replace the one in minimal with the one from 'verilog-blink' for pvt02:37
gurke_such that workshop users can also directly use the minimal variant02:37
xobsShould work!02:37
gurke_ok, i'll try that tomorrow02:38
gurke_good night!02:38
gurke_(or so)02:38
*** andi- has quit IRC03:47
*** andi- has joined #tomu03:52
*** rohitksingh has joined #tomu04:03
*** xkapastel has joined #tomu06:44
vesimxobs: I wonder if you can add your cpu w/o mnie and debug as a different cpu_type in foboot07:14
vesims/mnie/mmu/07:15
xobsvesim: well, this is how you specify an external verilog file: https://github.com/im-tomu/foboot/blob/4f24c432a84b1f2ddadfc2001b087afb6176b0dc/hw/foboot-bitstream.py#L17007:30
tpbTitle: foboot/foboot-bitstream.py at 4f24c432a84b1f2ddadfc2001b087afb6176b0dc · im-tomu/foboot · GitHub (at github.com)07:30
xobsSo it's possible.07:30
xobsI think I'd want to add spi boot as well. It should work in theory, but I have lots of trouble figuring out how to set it up in litex. Basically, set it up without a bios.07:31
vesimxobs: but i was not able to generate the verilog file07:40
vesimI was getting [error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: default#vexriscv_2.11;0.1.0-SNAPSHOT: not found07:40
xobsvesim: I wonder what that means. I probably didn't specify the submodules properly. It should use the latest vexriscv under ext/07:50
*** bluebugs has joined #tomu08:23
*** bluebugs has joined #tomu08:23
*** cedric has quit IRC08:24
*** CarlFK has quit IRC08:33
*** Toba has quit IRC09:13
*** Toba has joined #tomu09:13
*** Toba is now known as Guest4350509:14
*** rohitksingh has quit IRC10:08
*** bluebugs has quit IRC10:13
*** cedric has joined #tomu10:14
*** cedric has joined #tomu10:14
*** rohitksingh has joined #tomu10:20
*** im-tomu has left #tomu11:57
*** im-tomu has joined #tomu11:58
*** cedric has quit IRC12:11
*** cedric has joined #tomu12:19
*** cedric has joined #tomu12:19
*** xkapastel has quit IRC13:32
*** rohitksingh has quit IRC13:35
*** rohitksingh has joined #tomu13:36
*** cedric has quit IRC14:08
*** cedric has joined #tomu14:10
*** cedric has joined #tomu14:10
mithroxobs: So I think it makes sense after CCC to ship with the new bootloader?15:02
xobsI'd say so. It's no worse than the previous one, and has many benefits.15:03
vesimhow much ping i can get out of fomu? 4 "touch pads" + 2 usb data pins15:07
vesimis there a way to get more?15:07
xobsOut? I suppose you could put a light sensor and have optical output...15:08
vesimi want to get VGA output from fomu15:09
xobsThere are test points that are hard to hit, but those expose another few pins.15:09
xobsI forget if I ran differential pairs to the edge pads, but I feel you could do something magical and analogey with those.15:10
vesimi need 5 out pins to get VGA15:12
vesimdoes fomu have DAC?15:13
tntNo15:14
vesim:(15:14
vesimbut i should be able to use low-pass filter to create "DAC" driven by PWM signal15:18
xobshttps://www.google.com/url?q=https://www.latticesemi.com/-/media/LatticeSemi/Documents/ProductBrochures/AM/CommonAnalogFunctionsUsinganiCE40FPGA.ashx%3Fdocument_id%3D45822&sa=U&ved=2ahUKEwiErvW-3efmAhUmIbcAHYVAD4oQFjAAegQIAxAB&usg=AOvVaw2QnlbBKSBDxbPjMCBhOFvZ15:21
xobsI really do hate how Google does url rewriting..15:21
*** emeb has joined #tomu15:24
*** CarlFK has joined #tomu15:40
*** CarlFK has quit IRC16:05
vesimhmmm, how i can increas ethe clock frequency? changing clk_freq in foboot doesn't change anything16:05
vesimincrease the*16:06
vesimnvm, it does16:12
gurke_xobs: i'm diving into foboot - can it be that there is quite some "legacy" around? e.g. foboot-main, picorvspi.py and oder stuff related to picorv, examples and also stuff from sw/third-party?16:58
gurke_xobs: forgive the naive question - i'm not working on such a low level normally...16:59
*** rohitksingh_ has joined #tomu18:38
*** rohitksingh_ has joined #tomu18:40
*** rohitksingh has quit IRC18:41
*** rohitksingh has joined #tomu18:41
*** rohitksingh__ has joined #tomu18:42
vesim1.73s, damn, finally i've got u2f registartion to under 2s...18:43
vesimmoving the whole .text section to ram helped alot18:43
*** rohitksingh_ has quit IRC18:45
*** rohitksingh has quit IRC18:45
*** rohitksingh__ has quit IRC18:47
*** rohitksingh has joined #tomu18:49
*** rohitksingh_ has joined #tomu18:50
*** rohitksingh__ has joined #tomu18:52
*** rohitksingh___ has joined #tomu18:53
*** rohitksingh has quit IRC18:53
*** rohitksingh_ has quit IRC18:55
*** rohitksingh has joined #tomu18:55
*** rohitksingh__ has quit IRC18:56
*** rohitksingh_ has joined #tomu18:56
*** rohitksingh___ has quit IRC18:57
*** rohitksingh has quit IRC18:59
*** rohitksingh has joined #tomu18:59
*** rohitksingh_ has quit IRC19:00
*** rohitksingh_ has joined #tomu19:01
*** rohitksingh__ has joined #tomu19:02
*** rohitksingh___ has joined #tomu19:03
*** rohitksingh has quit IRC19:04
*** rohitksingh has joined #tomu19:04
*** rohitksingh_ has quit IRC19:05
*** rohitksingh_ has joined #tomu19:05
*** rohitksingh__ has quit IRC19:06
*** rohitksingh__ has joined #tomu19:07
*** rohitksingh___ has quit IRC19:07
*** rohitksingh has quit IRC19:09
*** rohitksingh_ has quit IRC19:09
*** rohitksingh__ has quit IRC19:11
vesimhmmm, which placer is better?19:15
vesimsa is taking forever...19:16
vesim38m 58s damn...19:42
vesimand it is not working :(19:45
*** bluebugs has joined #tomu19:45
*** bluebugs has joined #tomu19:45
*** cedric has quit IRC19:46
*** CarlFK has joined #tomu20:18
*** CarlFK has quit IRC20:22
vesimhttps://cdn.discordapp.com/attachments/422531661301809173/662768652734562324/unknown.png i've got u2f registartion working on fomu :D21:32
*** bluebugs has quit IRC21:35
*** cedric has joined #tomu21:36
*** cedric has joined #tomu21:36
tntvesim: congrats :)21:56
vesimtnt: thx22:12
*** pizzapim has joined #tomu22:30
*** c4 has left #tomu22:40
pollovesim: woots23:13
*** pizzapim has quit IRC23:32

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!