s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
Zorix has quit [Quit: Leaving]
Zorix has joined ##openfpga
futarisIRCcloud has joined ##openfpga
emeb has quit [Quit: Leaving.]
anticw has quit [Ping timeout: 250 seconds]
anticw has joined ##openfpga
anticw has quit [Ping timeout: 264 seconds]
anticw has joined ##openfpga
solo1 has quit [Remote host closed the connection]
solo1 has joined ##openfpga
anticw_ has joined ##openfpga
anticw has quit [Ping timeout: 256 seconds]
Degi_ has joined ##openfpga
Degi has quit [Ping timeout: 250 seconds]
Degi_ is now known as Degi
solo1 has quit [Remote host closed the connection]
solo1 has joined ##openfpga
X-Scale` has joined ##openfpga
X-Scale has quit [Ping timeout: 256 seconds]
X-Scale` is now known as X-Scale
mumptai_ has joined ##openfpga
mumptai has quit [Ping timeout: 246 seconds]
_whitelogger has joined ##openfpga
Bike has quit [Quit: Lost terminal]
mumptai_ has quit [Read error: Connection timed out]
mumptai_ has joined ##openfpga
solo1 has quit [Ping timeout: 256 seconds]
solo1 has joined ##openfpga
genii has quit [Quit: Morning comes early.... GO LEAFS GO!]
gregdavill has quit [Remote host closed the connection]
____ has joined ##openfpga
gregdavill has joined ##openfpga
_whitelogger has joined ##openfpga
_whitelogger has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
emeb_mac has quit [Quit: Leaving.]
Richard_Simmons has joined ##openfpga
Bob_Dole has quit [Ping timeout: 246 seconds]
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
_whitelogger has joined ##openfpga
X-Scale` has joined ##openfpga
X-Scale has quit [Ping timeout: 258 seconds]
X-Scale` is now known as X-Scale
_florent_ has quit [Ping timeout: 256 seconds]
yuriks has quit [Ping timeout: 256 seconds]
digshadow has quit [Ping timeout: 256 seconds]
daveshah has quit [Ping timeout: 272 seconds]
wbraun has quit [Ping timeout: 272 seconds]
digshadow has joined ##openfpga
jeandet has quit [Ping timeout: 240 seconds]
_florent_ has joined ##openfpga
wbraun has joined ##openfpga
daveshah has joined ##openfpga
yuriks has joined ##openfpga
jeandet has joined ##openfpga
Asu has joined ##openfpga
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
solo1 has quit [Remote host closed the connection]
solo1 has joined ##openfpga
_whitelogger has joined ##openfpga
mkru has joined ##openfpga
futarisIRCcloud has joined ##openfpga
calle__ has joined ##openfpga
mkru has quit [Quit: Leaving]
mumptai_ has quit [Ping timeout: 250 seconds]
gregdavill has quit [Ping timeout: 246 seconds]
Bike has joined ##openfpga
horizon has quit [Read error: Connection reset by peer]
cr1901_modern has quit [Read error: Connection reset by peer]
OmniMancer1 has quit [Quit: Leaving.]
genii has joined ##openfpga
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined ##openfpga
____ has quit [Quit: Nettalk6 - www.ntalk.de]
emeb has joined ##openfpga
zng has quit [Quit: ZNC 1.7.2 - https://znc.in]
zng has joined ##openfpga
dh73 has joined ##openfpga
solo1 has quit [Ping timeout: 264 seconds]
solo1 has joined ##openfpga
dh73 has quit [Read error: Connection reset by peer]
cr1901_modern has joined ##openfpga
Moiman_ is now known as Moiman
solo1 has quit [Remote host closed the connection]
solo1 has joined ##openfpga
solo1 has quit [Remote host closed the connection]
solo1 has joined ##openfpga
<tnt> Luke Wren here by any chance ?
<tnt> From python script (in nextpnr), is there a way to know pre-pack where a SB_IO cell is going to be placed ?
<daveshah> tnt: something like ctx.getPackagePinBel(cell.attrs["LOC"]) might work
OmniMancer has joined ##openfpga
<tnt> No attribute LOC on the SB_IO.
<daveshah> Oh right I think it would only be on the pin at that point, it would be quite a PITA to trace back
<tnt> But I think I got it. Before packaing there is nextpnr auto inserter buffers and so I need to trace from SB_IO.PACKAGE_PIN to that auto instered buffer
<tnt> and on that buffer there is a BEL attribute
<daveshah> Do you know in advance the direction of the IO pin?
<tnt> not really but that could be arranged I guess.
<daveshah> If its an input then it's a case of doing cell.ports["PACKAGE_PIN"].net.driver.cell.attrs["BEL"]
<daveshah> or inout
<daveshah> If its an output then you need to iterate over net.users to find the $nextpnr_obuf cell
<tnt> there should really only be one since I have manually instanciated SB_IO blocks.
<daveshah> For outputs there would be two users of PACKAGE_PIN because of the way inouts work
<daveshah> one would be the SB_IO and the other the autogenerated nextpnr buffer
<tnt> Ok tx. Just for the record, what I'm trying to do is implement "automated" placement of some logic I used to implement high speed in/out serdes but the FFs used for that need to be placed at very specific placed wrt to the io site they correspond to.
<daveshah> Oh I see, nice
<daveshah> You could probably do that in a pre-place script?
<daveshah> Then the BEL attribute for the SB_IO has been copied already
<tnt> Yeah, that migh tbe easier. What was a bit annouing at first is that the LCs have been packed so my manually instanciated FFs are no longer there.
<tnt> but I guess I can operate just as well on ICESTORM_LCs cells
<tnt> the attributes from the FFs should have been copied to them
emeb_mac has joined ##openfpga
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
Jybz has joined ##openfpga
<tnt> Mmm, actually looks like they are _not_ always copied :/
<tnt> so I have to do it pre-pack because I place attributes on the SB_DFF that I need in the script to know where to place them relative to each other.
<tnt> and if those don't end up on the ICESTORM_LC, script can't do its job
<tnt> I'm kind of wondering why some are copied and not others though.
Jybz has quit [Quit: Konversation terminated!]
rohitksingh has joined ##openfpga
<daveshah> That's just an oversight, they should be copied
rohitksingh has quit [Remote host closed the connection]
rohitksingh has joined ##openfpga
<daveshah> Right should be fixed now
rohitksingh has quit [Read error: Connection reset by peer]
rohitksingh has joined ##openfpga
<tnt> daveshah: oh, that was fast, tx :) Testing right now.
genii has quit [Read error: Connection reset by peer]
rohitksingh_ has joined ##openfpga
rohitksingh_ has quit [Remote host closed the connection]
<tnt> indeed that works :)
genii has joined ##openfpga
solo1 has quit [Ping timeout: 250 seconds]
solo1 has joined ##openfpga
Asu has quit [Ping timeout: 258 seconds]
Asuu has joined ##openfpga
Asuu has quit [Remote host closed the connection]
genii has quit [Quit: Morning comes early.... GO LEAFS GO!]