00:12
vidbina has joined #yosys
01:01
emeb has quit [Quit: Leaving.]
02:13
RicBent has quit [Ping timeout: 265 seconds]
02:17
emeb_mac has quit [Quit: Leaving.]
02:19
peepsalot has joined #yosys
02:34
vidbina has quit [Ping timeout: 260 seconds]
03:28
rohitksingh has quit [Ping timeout: 248 seconds]
03:29
citypw has joined #yosys
03:29
rohitksingh has joined #yosys
06:25
az0re has quit [Quit: Leaving]
07:57
<
sensille >
daveshah: one intermediate result: if i don't use the uppermost bit of the ram, yosys doesn't infer block ram, with the same reason that the read clock is 'async' (which it is not)
07:58
<
sensille >
that insight doesn't help me with my full design, though (yet)
08:14
jakobwenzel has joined #yosys
08:14
dys has quit [Ping timeout: 258 seconds]
08:21
<
sensille >
ok, i also found an assign to 0 for a lower layer output, which yosys did not complain about (or not enough). without that, i now get bram
08:27
fsasm has joined #yosys
08:29
m4ssi has joined #yosys
09:07
dys has joined #yosys
09:12
twnqx has joined #yosys
09:36
peepsalot has quit [Quit: Connection reset by peep]
10:30
az0re has joined #yosys
10:41
peepsalot has joined #yosys
11:07
rohitksingh has quit [Remote host closed the connection]
12:12
develonepi3 has joined #yosys
13:08
<
tpb >
Title: yosys/simlib.v at master · YosysHQ/yosys · GitHub (at github.com)
13:09
<
daveshah >
ZirconiumX: not if Y contains 'x' bits
13:09
<
ZirconiumX >
Ah, x-propagation
13:17
N2TOH has joined #yosys
14:05
alexhw has joined #yosys
14:23
twnqx has quit [Ping timeout: 240 seconds]
14:38
X-Scale` has joined #yosys
14:40
X-Scale has quit [Ping timeout: 240 seconds]
14:40
X-Scale` is now known as X-Scale
14:57
alexhw has joined #yosys
15:12
twnqx has joined #yosys
15:26
emeb has joined #yosys
15:27
develonepi3 has quit [Remote host closed the connection]
15:46
jakobwenzel has quit [Quit: jakobwenzel]
16:10
fsasm has quit [Ping timeout: 255 seconds]
16:11
X-Scale has quit [Ping timeout: 255 seconds]
16:12
X-Scale` has joined #yosys
16:14
X-Scale` is now known as X-Scale
16:17
twnqx has quit [Ping timeout: 248 seconds]
16:30
r_miller has joined #yosys
16:34
<
r_miller >
Can anyone help me interpret this report from nextpnr?
https://pastebin.com/Xx8BhZVU Seems to be saying that resetn is assigned to a global buffer but taking 3.9ns to be routed a long way across the chip (5,2) -> (22,27). Is this right?
16:34
<
tpb >
Title: Info: Promoting globals.. Info: promoting $abc$55324$n71 [reset] (fanout 358) - Pastebin.com (at pastebin.com)
16:37
citypw has quit [Ping timeout: 258 seconds]
16:52
<
ZirconiumX >
r_miller: that's precisely
*because* it's a global buffer, I'd imagine.
16:52
<
ZirconiumX >
ECP5 has GSR; if you don't care about portability use that instead of a power-on reset
16:53
<
r_miller >
Sorry should have said: this is ice40.
16:53
<
ZirconiumX >
iCE40 has pretty slow routing
16:54
<
ZirconiumX >
Depends on the chip family though; what's the exact chip you're targeting?
16:54
<
ZirconiumX >
Hmm. Let's ask daveshah
16:55
<
ZirconiumX >
By the way, r_miller, when was the last time you updated your Yosys?
16:55
<
r_miller >
Yesterday!
16:55
<
daveshah >
The problem is that iirc the globals are only used for real flop reset signals, to avoid unroutability issues when they are driving LUTs
16:55
<
ZirconiumX >
...autoname isn't helping much, then
16:55
<
daveshah >
and the path here seems to be a LUT input
16:55
<
daveshah >
using an active high reset to match the hardware might help
16:56
<
r_miller >
I noticed it says 'cen' not 'reset' on the promotion message.
16:56
<
daveshah >
Indeed, looks like it is being promoted as a clock enable rather than a reset
16:56
<
r_miller >
I'm using it like "always @(posedge clk) if (~resetn) begin ... end"
16:57
<
daveshah >
You might have more success with `if (reset)`
16:57
<
r_miller >
I've tried that too, but maybe I missed an instance somewhere?
16:57
<
daveshah >
and if you are using a clock enable too, reset needs to be gated by it (so `if (cen) begin if (reset) ... else ... end`)
16:58
<
r_miller >
Would the routing be quicker if I convinced yosys/nextpnr to treat it as a reset?
16:59
<
daveshah >
Probably not that much so
16:59
<
daveshah >
from memory the global buffer adds about 1ns anyway
17:00
<
daveshah >
and there is the routing to the global buffer input too
17:00
<
r_miller >
It's a delay generated internally by a counter, I guess I could have separate local ones instead of one global one.
17:02
citypw has joined #yosys
17:09
m4ssi has quit [Remote host closed the connection]
17:37
dys has quit [Ping timeout: 240 seconds]
17:38
sfs1926 has joined #yosys
17:46
rohitksingh has joined #yosys
17:47
vidbina has joined #yosys
17:57
citypw has quit [Ping timeout: 255 seconds]
18:04
twnqx has joined #yosys
18:06
anticw has quit [Remote host closed the connection]
18:15
vidbina has quit [Ping timeout: 240 seconds]
18:17
Xiretza is now known as lambda
18:19
vidbina has joined #yosys
18:23
sfs1926 has quit []
18:44
vidbina has quit [Read error: Connection reset by peer]
18:45
vidbina has joined #yosys
18:55
dys has joined #yosys
18:56
lambda_ has joined #yosys
18:57
lambda has quit [Disconnected by services]
18:57
lambda_ is now known as lambda
19:10
sfs1926 has joined #yosys
19:15
fsasm has joined #yosys
19:18
rohitksingh has quit [Ping timeout: 255 seconds]
19:34
rohitksingh has joined #yosys
19:47
rohitksingh has quit [Ping timeout: 258 seconds]
20:31
Jybz has joined #yosys
20:37
kristianpaul has quit [Quit: WeeChat 1.9.1]
20:37
kristianpaul has joined #yosys
20:59
fsasm has quit [Ping timeout: 240 seconds]
21:01
az0re has quit [Remote host closed the connection]
21:12
Jybz has quit [Quit: Konversation terminated!]
21:14
vidbina has quit [Ping timeout: 260 seconds]
21:16
vidbina has joined #yosys
21:28
klotz has joined #yosys
21:41
rohitksingh has joined #yosys
21:58
vidbina has quit [Ping timeout: 265 seconds]
22:03
az0re has joined #yosys
22:47
rohitksingh has quit [Ping timeout: 240 seconds]
23:08
r_miller has quit [Ping timeout: 260 seconds]
23:09
sfs1926 has quit [Remote host closed the connection]
23:30
vidbina has joined #yosys
23:56
rohitksingh has joined #yosys
23:58
tpb has quit [Remote host closed the connection]
23:58
tpb has joined #yosys