whitequark changed the topic of #glasgow to: digital interface explorer · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow (FUNDED)
egg|anbo|egg_ has joined #glasgow
egg|anbo|egg has quit [Ping timeout: 246 seconds]
redstarcomrade has joined #glasgow
egg|anbo|egg has joined #glasgow
egg|anbo|egg_ has quit [Ping timeout: 272 seconds]
uovo has quit [Ping timeout: 258 seconds]
oeuf has quit [Ping timeout: 256 seconds]
oeuf has joined #glasgow
oeuf has quit [Ping timeout: 258 seconds]
oeuf has joined #glasgow
uovo has joined #glasgow
FFY00 has quit [Read error: Connection reset by peer]
FFY00 has joined #glasgow
uovo has quit [Ping timeout: 252 seconds]
uovo has joined #glasgow
egg|anbo|egg_ has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
bvernoux has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
betelgeuse has joined #glasgow
betelgeuse has quit [Client Quit]
betelgeuse has joined #glasgow
betelgeuse has quit [Read error: Connection reset by peer]
betelgeuse has joined #glasgow
betelgeuse has quit [Read error: Connection reset by peer]
betelgeuse has joined #glasgow
betelgeuse has quit [Client Quit]
redstarcomrade has quit [Quit: Connection closed for inactivity]
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
samlittlewood has quit [Ping timeout: 250 seconds]
samlittlewood has joined #glasgow
uovo has quit [Ping timeout: 240 seconds]
uovo has joined #glasgow
oeuf has quit [Ping timeout: 252 seconds]
oeuf has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
thaytan has quit [Ping timeout: 244 seconds]
thaytan has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
GNUmoon has joined #glasgow
cr1901 has joined #glasgow
cr1901 has left #glasgow [#glasgow]
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #glasgow
icb has quit [Ping timeout: 268 seconds]
tarekb has joined #glasgow
lichform has joined #glasgow
tarekb has quit [Read error: Connection reset by peer]
egg|anbo|egg_ has joined #glasgow
FFY00 has quit [Remote host closed the connection]
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
FFY00 has joined #glasgow
icb has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
betelgeuse has joined #glasgow
egg|anbo|egg_ has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #glasgow
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #glasgow
<d1b2> <tnt> So I want to turn if_clk into an output to make the Glagow the clock driver. Would class GlasgowHardwareTarget be the right place to stick all my clock/reset magic ?
<whitequark> yeah
<d1b2> <tnt> Tx.
<whitequark> I would normally warn about meeting timing on IO pads but you were the one who sorted that out in first place :)
<d1b2> <tnt> Yeah already looking at redoing the FX2 analysis for that case 😅
<whitequark> if the implementation is nice and clean I'd like to have that upstream as an option
<whitequark> maybe not generally advertised or used (though we'd need some ability to test it even in that case)
<whitequark> it was something I planned originally
<d1b2> <tnt> I figured that was the original plan since otherwise the way the pins are wired doesn't make any sense.
<whitequark> I did not have complete confidence in always driving the clock from the FX2, you see?
<whitequark> I wanted to have more options
<whitequark> actually hold on
<whitequark> if we always drive clk_if from the FPGA, we could always have both PLLs available for the applets, right?
<d1b2> <tnt> Yes. Although one of them would only have 1 output available.
<whitequark> yeah that's fine
<d1b2> <tnt> (since the other would be set to bypass)
egg|anbo|egg_ has quit [Remote host closed the connection]
<d1b2> <tnt> FX2 datasheet says """When using an external IFCLK, the external clock must be present before switching to the external clock with the IFCLKSRC bit.""" ... So what ... you're supposed to have the 2 drivers fight for a little bit while preparing ?
<whitequark> weird
<d1b2> <tnt> Oh there is a IFCLKOE bit I guess you're supposed to use that.
<whitequark> as far as I understand the FX2 FIFO block is clocked by IFCLK, so if that's absent you can't really do anything with it
<whitequark> never tested it on real hardware
<whitequark> but I imagine register writes would do nothing, etc
<whitequark> so you'd probably want to switch IFCLKSRC around loading the bitstream
<whitequark> this is an additional point of failure, but probably acceptable
<d1b2> <tnt> Yeah, fpga_start() looks like a good candidate but then also need to switch back to internal clock on fpga_reset or so since at that point the FPGA won't be providing a clock anymore.
<whitequark> yes
bvernoux has quit [Quit: Leaving]
DragoonAethis has quit [Quit: No Ping reply in 180 seconds.]
DragoonAethis has joined #glasgow
egg|anbo|egg_ has joined #glasgow
FFY00 has quit [Remote host closed the connection]
jstein has quit [Quit: quit]
egg|anbo|egg_ has quit [Read error: Connection reset by peer]