00:30
ali-as has joined #glasgow
00:32
ali_as has quit [Remote host closed the connection]
02:19
futarisIRCcloud has joined #glasgow
04:34
<
whitequark >
marcan: oh
04:35
<
whitequark >
ohhh i was wondering if it's that or what i wrote
04:35
<
whitequark >
and i misread which PLLs map to which GBINs
04:55
m4ssi has joined #glasgow
04:58
m4ssi has quit [Remote host closed the connection]
04:59
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
05:18
futarisIRCcloud has joined #glasgow
05:47
egg|floating|egg has quit [Read error: Connection reset by peer]
06:43
m4ssi has joined #glasgow
06:46
oeuf has joined #glasgow
07:00
AxiomaticEspress has quit [Quit: WeeChat 2.4]
08:09
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
10:10
<
whitequark >
daveshah: ha, so I was playing with PLLs and I hit #258
10:10
<
whitequark >
and it's already fixed!!
10:14
<
tnt >
sorry about that, not sure what I was thinking when I wrote that loop.
10:25
<
whitequark >
daveshah: is there any way to disable the pullup without instantiating SB_IO?
10:27
<
daveshah >
Is there a pin? You can use -pullup no in the PCF
10:27
<
whitequark >
daveshah: hmm, let me see if that works
10:29
<
whitequark >
daveshah: that's kind of a problem
10:29
<
whitequark >
migen can't add a pin to PCF without adding a toplevel port for it
10:29
<
whitequark >
and in that case nextpnr adds an io buffer even if the port isn't actually used
10:29
<
whitequark >
do you think it's possible to skip creation of the buffer if the port is never used in the design?
10:30
<
whitequark >
the problem is, of course, that the buffer conflicts with the colocated PLL
10:31
<
tnt >
the buffer instance is where the pullup config is in next pnr, so no buffer, no pullup config.
10:32
<
whitequark >
oh, so then -pullup in PCF won't work for me at all
10:33
<
tnt >
but the buffer only conflicts with the pll if the input path is used.
10:33
<
tnt >
if there is nothing connected there, there will be no conflicts.
10:34
<
whitequark >
that's not exactly true
10:34
<
whitequark >
as i've said if the port is never used, the buffer still conflicts with the PLL
10:34
<
whitequark >
i just checked
10:35
<
whitequark >
the $nextpnr_iobuf is treated as if its input path is used
10:36
<
tnt >
right, the auto-inserted one.
10:36
<
_whitenotifier-1 >
[GlasgowEmbedded/Glasgow] whitequark 403f118 - revC: correct the explanation for GBIN0/1 balls being shared.
10:37
<
whitequark >
the
*not* auto inserted one is a problem too
10:37
<
tnt >
Mmm, that's unexpected :/
10:37
<
tnt >
do you have a minimal test case ?
10:37
<
whitequark >
because if the SB_IO input ports are connected to wires that don't go anywhere, it still counts as "used"
10:37
<
tnt >
yeah, you need to leave them floating.
10:37
<
whitequark >
that's very inconvenient
10:38
<
whitequark >
but anyway, the auto inserted buffer behavior is clearly buggy
10:39
<
tnt >
ideally nextpnr should really trim all the nets without any users.
10:39
<
whitequark >
I just looked at the code that handles $nextpnr_iobuf
10:41
<
whitequark >
so I can't instantiate an input buffer there (it'd conflict with PLL), an output buffer there (it'd drive the pin) and an inout buffer there (it'd conflict with PLL even if it's always driven to hi-z)
10:42
<
whitequark >
my only option appears to be explicitly instantiating an SB_IO
10:43
<
daveshah >
An unused input should work
10:43
<
tnt >
Check could be expended there but having to do it every place is a bit annoying. Or introduce a net_is_unused() util in desgin_utils.c that check for either nullptr, or no users.
10:43
<
whitequark >
daveshah: just checked and it doesn't
10:43
<
daveshah >
ah, I see
10:46
<
whitequark >
ah, it might be there's a wire
10:46
<
whitequark >
since there's no way to turn an inout port into an input in migen without connecting it to a wire
10:48
<
tnt >
(completely untested ....)
10:52
<
whitequark >
tnt: hrm
10:52
<
whitequark >
ERROR: Bel 'X16/Y33/io1' of type 'SB_IO' is not valid for cell 'SB_IO_24' of type 'SB_IO'
10:52
<
tnt >
on the plus side, it went further :p
10:52
<
whitequark >
ERROR: Bel 'X16/Y33/io1' of type 'SB_IO' is not valid for cell 'unused[1]$sb_io' of type 'SB_IO'
10:53
<
whitequark >
if i make it a plain input
10:53
<
tnt >
the same check is done later I think and needs to be fixed too.
10:54
<
whitequark >
ERROR: Found two nets with same source wire X16/Y33/io_1/D_IN_0: pix2_clk vs glasgowhardwaretarget[1]
10:55
<
whitequark >
that's the dummy wire i assigned that input to
10:55
<
whitequark >
or: ERROR: Found two nets with same source wire X16/Y33/io_1/D_IN_0: i[1] vs pix2_clk
10:55
<
whitequark >
with SB_IO
11:17
<
whitequark >
what's left for us to cut revC1?
11:17
<
whitequark >
marcan: hmm
11:19
<
marcan >
assuming you're okay with giving up on LVDS testpoints, not much
11:19
<
marcan >
I'd like bunnie to give it a look if I can get ahold of him
11:19
<
whitequark >
i think we can skip LVDS testpoints
11:22
<
tnt >
whitequark: do you have a test case handy ?
11:23
<
whitequark >
tnt: yes but it's not minimal
11:23
<
whitequark >
(attn: zipbomb)
11:24
<
tnt >
Oh, ... I see
11:25
<
tnt >
not a fix at all but if you use PLLOUTGLOBAL instead of PLLOUTCORE, it works :p
11:47
<
tnt >
this works for me.
11:47
<
tnt >
daveshah: ^^ opinion ? too "brute force" ?
11:48
<
daveshah >
Looks good
12:10
nrossi has quit [Ping timeout: 240 seconds]
12:11
Guest87205 has quit [Ping timeout: 252 seconds]
12:11
fridtjof[m] has quit [Ping timeout: 265 seconds]
12:11
cyrillu[m] has quit [Ping timeout: 240 seconds]
13:06
<
thaytan >
marcan, I only see bunnie here on freenode every now and then, but xobs is usually on here somewhere and can reach him easily
13:28
<
gruetzkopf >
xobs is easily reachable on oftc, too
15:52
m4ssi has quit [Remote host closed the connection]
17:15
m4ssi has joined #glasgow
17:35
gsuberland has joined #glasgow
17:41
m4ssi has quit [Remote host closed the connection]
18:04
electronic_eel has joined #glasgow
18:05
<
electronic_eel >
hi
18:10
<
_whitenotifier-1 >
[Glasgow] electroniceel commented on pull request #123: Add ESD protection diodes for AUX pins too -
https://git.io/fjqMa
19:22
m4ssi has joined #glasgow
19:27
m4ssi has quit [Remote host closed the connection]
20:10
voxadam has quit [Ping timeout: 240 seconds]
20:11
voxadam has joined #glasgow
20:13
electronic_eel has quit [Quit: Konversation terminated!]
21:38
futarisIRCcloud has joined #glasgow