clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
N2TOH has joined #yosys
N2TOH_ has quit [Ping timeout: 264 seconds]
Degi_ has joined #yosys
Degi has quit [Ping timeout: 256 seconds]
Degi_ is now known as Degi
klotz_ has quit [Ping timeout: 240 seconds]
klotz_ has joined #yosys
dh73 has quit [Quit: Leaving.]
Cerpin has quit [Quit: leaving]
Cerpin has joined #yosys
citypw has joined #yosys
dh73 has joined #yosys
gtw has quit [Ping timeout: 240 seconds]
gtw has joined #yosys
pepijndevos has quit [Ping timeout: 250 seconds]
pepijndevos has joined #yosys
Thorn has quit [Ping timeout: 256 seconds]
Thorn has joined #yosys
N2TOH_ has joined #yosys
N2TOH__ has joined #yosys
N2TOH has quit [Ping timeout: 264 seconds]
N2TOH_ has quit [Ping timeout: 250 seconds]
dh73 has quit [Quit: Leaving.]
Forty-Bot has quit [Ping timeout: 256 seconds]
emeb_mac has quit [Quit: Leaving.]
N2TOH__ has quit [Read error: Connection reset by peer]
N2TOH has joined #yosys
sensille has quit [Ping timeout: 265 seconds]
somlo has quit [Ping timeout: 265 seconds]
Cerpin has quit [Ping timeout: 265 seconds]
Cerpin has joined #yosys
sensille has joined #yosys
jakobwenzel has joined #yosys
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
Wolf481pl has quit [Ping timeout: 260 seconds]
Wolf480pl has joined #yosys
peepsalot has quit [Ping timeout: 250 seconds]
gtw has quit [Remote host closed the connection]
peepsalot has joined #yosys
somlo has joined #yosys
ronyrus has joined #yosys
dh73 has joined #yosys
jfcaron_ has joined #yosys
emeb has joined #yosys
dh73 has quit [Quit: Leaving.]
ZipCPU has quit [Ping timeout: 260 seconds]
<rjeli> hi all. what's my best bet for talking to an ath9k module over pcie or usb, using foss toolchain?
thardin has quit [Read error: Connection reset by peer]
<rjeli> i'm happy to write the driver, but i can't find a usb/pcie module for ice40/ecp5, is there a good one out there?
<rjeli> i also am not an EE so if there's a cheap board i can buy that'd be nice
<rjeli> or if someone could point me to a better channel to ask in
ZipCPU has joined #yosys
jfcaron_ is now known as jfcaron
jakobwenzel has quit [Quit: jakobwenzel]
<FFY00> running linux?
<FFY00> that would be the easiest way I think
<FFY00> if it makes sense in your project
dh73 has joined #yosys
<ZirconiumX> FFY00: it seems to me like rjeli wants to access the ath9k from the chip
<rjeli> yeah but they're right running linux is probably the easiest way lol
<ZirconiumX> You still need a PHY for these :P
<FFY00> yes, I meant running riscv or or1k core on the chip
<ZirconiumX> ... You *still* need a PHY for these
<rjeli> would a pcie to serial ic be reasonable?
<FFY00> litex + litepcie should work
<FFY00> hum, no, litepcie does not support ice40/ecp5 yet
<daveshah> PCIe on an iCE40 seems unlikely
<FFY00> but should probably be able to use usb instead
<FFY00> yes, but in a ecp5 is reasonable
<daveshah> Yes
<FFY00> which would met the requirements
<daveshah> I don't think there's good enough USB host gateware either though
<FFY00> hum :/
gtw has joined #yosys
<daveshah> The problem with litepcie is that it relies on some Xilinx hard IP afaik
<daveshah> Whereas ECP5 just provides serdes and 8b10b
<FFY00> I was looking at https://github.com/xobs/valentyusb
<FFY00> but yeah
<FFY00> waiting for my ecp5 board to be able to test
<daveshah> I don't know how much work it would be to get that into a host and to get a Linux driver working
<rjeli> i don't mind writing the gateware for the driver
<daveshah> What bandwidth do you need?
<rjeli> no more than 1mbps
<daveshah> An ESP32 would probably be much easier to interface
<rjeli> are the pcie to uart bridges that come up on google real?
<daveshah> Or any of the other WiFi+SoC chips as a bridge
<rjeli> yeah, that's my next option but esp32 has blobs
<daveshah> Are you sure the ath9k is blob free?
<rjeli> and not the niceties of ath9k
<rjeli> yeah, there's no cpu on it, no firmware
<rjeli> for a reasonable definition of cpu ofc
<FFY00> which also makes it harder to interface with :)
<daveshah> It could easily have firmware in ROM
<daveshah> Which is much worse than an exposed binary blob imo
<rjeli> ok sorry i'm unclear, i am not so concerned about the foss anti blob side as I am the low level rf control that ath9k exposes
<daveshah> Ahhh I see
citypw has quit [Ping timeout: 240 seconds]
<rjeli> the esp32, or rtl chip, or any of the wifi module SoCs have very limited configuration
<daveshah> What about just getting a frontend, ADC and DAC and doing 802.11 in gateware :)
<rjeli> :)))
<ronyrus> hi all. I'm trying to instansiate Pseudo-Dual Port RAM Primitive (PDPW16KD) in ECP5 and I'm kinda lost. When looking in the Lattice Memory guide I see the "Write Enable" signal described in the table, but it seems that it's absent in yosys.
<ronyrus> Am I doing something wrong or stupid? I'm pretty new here, but sounds like write enable is pretty important ...
<daveshah> Oops, seems that was left off
<daveshah> When Yosys infers it it just uses the byte enables
<daveshah> I'll look into fixing
<ronyrus> thanks a lot!
<daveshah> For now just using the byte enable signals should be a workaround
<ronyrus> byte enable would assert the write enable?
<daveshah> I think the write enable defaults high in pnr
<ronyrus> ah
<daveshah> So the byte enable is enough
<ronyrus> cool
<daveshah> Hmm, I can't see a write enable in the Lattice synthesis primitive definition either
<ronyrus> yeah, that's a bit weird. some documents contain it, other do not.
<daveshah> I think it is "write clock enable" (CEW) which Yosys has too
<ronyrus> ok
<ronyrus> btw, speaking of byte enables in the ECP5 EBR. I see it's being mapped into lower bits of the address lines, but I don't understand why. I thought that the address is expressed in words with the width that was set by a parameter.
<daveshah> I don't understand why either, it is just Lattice reusing signals afaics
<ronyrus> so, the actual address lines should be shifted?
<daveshah> Yes, they are effectively left-aligned in the wider modes
<daveshah> address bit 13 is always the MSB
<ronyrus> interesting
somlo has quit [Remote host closed the connection]
<ronyrus> heh, they are also splitting the data if you want to use 8 bits and not 9...
somlo has joined #yosys
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined #yosys
cr1901_modern has quit [Read error: Connection reset by peer]
cr1901_modern has joined #yosys
emeb_mac has joined #yosys
jfcaron has quit [Ping timeout: 260 seconds]
dh73 has quit [Quit: Leaving.]
peepsalot has quit [Read error: Connection reset by peer]
peepsalot has joined #yosys
whitequark has quit [*.net *.split]
Max-P has quit [*.net *.split]
Kokjo has quit [*.net *.split]
pepijndevos has quit [Ping timeout: 264 seconds]
pepijndevos has joined #yosys
Max-P has joined #yosys
Kokjo has joined #yosys