*** tpb <[email protected]> has joined #litex | 00:00 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 255 seconds) | 02:24 | |
*** Degi <[email protected]> has joined #litex | 02:26 | |
cr1901_ | trabucayre: I don't have the bandwidth to undertake this now, but would you accept a Linux GPIO bitbang interface into openfpgaloader? | 03:51 |
---|---|---|
*** cr1901_ is now known as cr1901 | 03:51 | |
*** xenador77 <xenador77!~xenador77@user/xenador77> has joined #litex | 04:00 | |
*** swetland <[email protected]> has quit IRC (Quit: Connection closed for inactivity) | 04:08 | |
trabucayre | cr1901: there is already a discussion and a work to use libgpiod: maybe you can try and give your opinion? :) | 04:34 |
trabucayre | https://github.com/trabucayre/openFPGALoader/issues/230 | 04:34 |
cr1901 | Ack, will do hopefully today or this week, thanks | 04:35 |
trabucayre | Thanks too! | 05:00 |
*** xenador77 <xenador77!~xenador77@user/xenador77> has quit IRC (Remote host closed the connection) | 06:28 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:181a:3be2:c2ef:e652> has joined #litex | 06:35 | |
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has quit IRC (Ping timeout: 255 seconds) | 07:37 | |
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #litex | 07:37 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 09:45 | |
*** TMM_ <[email protected]> has joined #litex | 09:45 | |
*** dklim <[email protected]> has joined #litex | 12:13 | |
*** dklim <[email protected]> has quit IRC (Client Quit) | 12:13 | |
*** nelgau_ <[email protected]> has joined #litex | 12:14 | |
*** nelgau <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 12:16 | |
*** shorne <[email protected]> has quit IRC (Ping timeout: 246 seconds) | 13:28 | |
*** shorne <[email protected]> has joined #litex | 13:28 | |
*** Melkhior_ <Melkhior_!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has joined #litex | 17:02 | |
*** Melkhior <Melkhior!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has quit IRC (Ping timeout: 264 seconds) | 17:03 | |
mithro | @trabucayre Can you remind me what the colognechip is? | 17:13 |
tnt | whttps://colognechip.com/programmable-logic/gatemate/ ? | 17:24 |
tpb | Title: GateMate FPGA – Cologne Chip (at colognechip.com) | 17:24 |
jevinskie[m] | GateMate, your FPGA buddy :P https://colognechip.com/programmable-logic/gatemate/ | 17:24 |
tnt | still waiting for their linux toolchain ... it's been "coming soon" for months ... | 17:24 |
*** Shatur <[email protected]> has joined #litex | 17:29 | |
Shatur | pepijndevos[m]: opened a small PR to your crate: https://github.com/pepijndevos/rust-litex-hal/pull/2 | 17:58 |
*** Shatur <[email protected]> has quit IRC (Quit: Konversation terminated!) | 18:30 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Quit: Leaving) | 18:36 | |
jevinskie[m] | Starting to think I'm nuts... `self.submodules += stream.Pipeline(self.uart.sink, self.uart.source)` works for a sim uart loopback but `self.comb += self.uart.sink.connect(self.uart.source)` doesn't echo for me. Any ideas? I'm diffing the generated netlists now. | 18:43 |
trabucayre | tnt: using p_r with wine is working but definitely not the best way :-( | 18:45 |
jevinskie[m] | Indeed. | 18:47 |
trabucayre | gatemate is working with LiteX (no-cpu + no-uart, or no-cpu + uart), I have a PR for edalize too | 18:49 |
jevinskie[m] | OK, so my issue is the order of assignments in the generated verilog. Using Pipeline `uart_uart_source_valid <= uart_uart_sink_valid` is the last assignment while using raw connect I get `uart_uart_source_valid <= uart_tx_fifo_source_valid;` as the last assignment | 18:51 |
jevinskie[m] | https://gist.github.com/jevinskie/50382d3050af7e4282e9e1dbc6e741f4 | 18:51 |
tnt | trabucayre: I don't have (and don't want) any 32b libs on my system ... if the vendor can't be bother to provide proper tools I'm not going to bother using their chips ... | 19:01 |
trabucayre | Missing native pnr tools for linux is my regret... Yep | 19:04 |
trabucayre | and emerge wine on my """old""" x230 take time... | 19:05 |
jevinskie[m] | Bagh, if I do the connect in a stub submodule it works. What is going on with this signal assignment ordering? :( | 19:09 |
jevinskie[m] | `class Dummy(Module): | 19:09 |
jevinskie[m] | def __init__(self, sink, source): | 19:09 |
jevinskie[m] | self.comb += sink.connect(source)` | 19:09 |
jevinskie[m] | Hmm... if I force verilog generation with _print_combinatorial_logic_synth instead of _print_combinatorial_logic_sim it works... | 19:40 |
jevinskie[m] | _florent_: any ideas? | 19:40 |
jevinskie[m] | I forget the exact reason behind two different styles of verilog for synthesis and simulation. I know that yosys breaks up things differently for simulation for perf reasons: https://github.com/YosysHQ/yosys/pull/761 | 19:48 |
jevinskie[m] | Nvm, I was still testing with the dummy module. the sim vs synth verilog doesn't seem to be the issue | 19:52 |
zyp | jevinskie[m], sounds like you're trying to connect to endpoints that are already connected and seeing differing behavior depending on which connection gets emitted first in the verilog | 19:53 |
zyp | if so; don't do that, ensure the original connection doesn't happen first | 19:54 |
jevinskie[m] | Doh, you're right. I should just instantiate the uart phy and not use add_uart | 19:55 |
zyp | indeed | 19:55 |
jevinskie[m] | I wonder if this id10t error can be detected at runtime? | 19:55 |
zyp | amaranth does error if you tried assigning the same signal from multiple modules -- one of the improvements it got over migen | 19:57 |
zyp | (ask me how I know, I were the idiot :) | 19:58 |
*** Shatur <[email protected]> has joined #litex | 20:10 | |
jevinskie[m] | Thanks a bunch zyp! I wonder if a warning if there are > 2 (reset and combinatorial) assignments | 20:24 |
jevinskie[m] | If you could emit a warning* | 20:24 |
zyp | no, in some cases it's what you want | 20:28 |
*** Guest59 <Guest59!~Guest59@2601:200:4400:65d0:20e1:15c6:7689:8b70> has joined #litex | 20:40 | |
*** Guest59 <Guest59!~Guest59@2601:200:4400:65d0:20e1:15c6:7689:8b70> has quit IRC (Client Quit) | 20:42 | |
*** Shatur <[email protected]> has quit IRC (Quit: Konversation terminated!) | 22:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!