00:20
promach2 has joined #yosys
00:27
cemerick_ has joined #yosys
00:33
cemerick_ is now known as cemerick
01:06
oldtopman has quit [Remote host closed the connection]
01:07
oldtopman has joined #yosys
01:07
cemerick has quit [Ping timeout: 240 seconds]
01:41
promach2 has quit [Ping timeout: 256 seconds]
01:50
emeb has quit [Quit: Leaving.]
01:53
emeb_mac has joined #yosys
02:08
sklv2 has quit [Remote host closed the connection]
02:11
sklv2 has joined #yosys
03:33
promach_ has quit [Quit: WeeChat 2.1-dev]
03:38
promach_ has joined #yosys
04:30
digshadow has quit [Ping timeout: 248 seconds]
04:35
seldridge has quit [Ping timeout: 248 seconds]
04:48
digshadow has joined #yosys
05:15
pointfree has quit [*.net *.split]
05:15
grummel has quit [*.net *.split]
05:15
asy has quit [*.net *.split]
05:15
asy has joined #yosys
05:16
grummel has joined #yosys
05:16
pointfree has joined #yosys
05:49
eduardo__ has joined #yosys
05:53
eduardo_ has quit [Ping timeout: 260 seconds]
06:01
leviathan has joined #yosys
06:11
indy has joined #yosys
06:37
AlexDaniel has joined #yosys
06:50
sklv2 has quit [Remote host closed the connection]
06:52
sklv2 has joined #yosys
06:53
sklv2 has quit [Client Quit]
07:03
digshadow has quit [Quit: Leaving.]
07:13
digshadow has joined #yosys
07:16
GuzTech has joined #yosys
07:18
xerpi has joined #yosys
07:24
emeb_mac has quit [Ping timeout: 264 seconds]
07:33
<
mattvenn >
ZipCPU: thanks for the article
07:33
<
mattvenn >
so if I just ensure that the target register has enough width, I don't need to care about any intermediate steps that may be larger?
07:33
<
mattvenn >
I'm sure I'm missing something
07:34
<
mattvenn >
like if I have a = b * c - d * e
07:35
<
mattvenn >
where does the b * c intermediate result happen before the subtract?
07:47
jwhitmore has joined #yosys
07:47
xerpi has quit [Ping timeout: 255 seconds]
09:01
xrexeon has joined #yosys
09:07
FabM has quit [Ping timeout: 248 seconds]
09:22
FabM has joined #yosys
09:45
sklv has joined #yosys
10:28
cemerick has joined #yosys
11:32
AlexDaniel has quit [Ping timeout: 264 seconds]
11:35
jwhitmore has quit [Ping timeout: 256 seconds]
11:38
jwhitmore has joined #yosys
11:41
leviathan has joined #yosys
11:57
AlexDaniel has joined #yosys
12:03
jkiv has joined #yosys
12:10
wakawaka has joined #yosys
12:18
wakawaka has quit [Quit: Page closed]
12:34
jwhitmore has quit [Ping timeout: 256 seconds]
12:44
AlexDaniel has quit [Ping timeout: 240 seconds]
12:57
<
ZipCPU >
mattvenn: I do tend to care about the immediate steps. Perhaps I don't need to care as much, but I do.
12:57
<
ZipCPU >
The biggest issue I've come across is signed vs unsigned, and width mismatches.
12:57
<
ZipCPU >
If you use { x, b, c} to adjust the width of an object, the object becomes unsigned.
12:58
<
ZipCPU >
If you don't adjust the width ... some synthesis tools complain.
12:59
<
ZipCPU >
Theoretically a <= b*c - d*e; should "just work".
12:59
<
ZipCPU >
Practically, I personally always break it down.
13:00
<
ZipCPU >
For example, I'm not sure there's hardware out there that will support that operation in a single clock. You could go faster if you broke it into two:
13:00
<
ZipCPU >
tmp_left <= b*c; tmp_right <= d*e; a <= tmp_left + tmp_right;
13:11
cemerick has quit [Ping timeout: 255 seconds]
13:12
<
mattvenn >
ok, which also makes it obvious how big tmp_left and tmp_right should be
13:24
promach2 has joined #yosys
13:44
AlexDaniel has joined #yosys
14:12
seldridge has joined #yosys
14:19
emeb has joined #yosys
14:30
FabM has quit [Quit: ChatZilla 0.9.93 [Firefox 52.7.3/20180326230345]]
14:31
jwhitmore has joined #yosys
14:40
jwhitmore has quit [Ping timeout: 260 seconds]
14:47
proteusguy has quit [Remote host closed the connection]
14:48
proteusguy has joined #yosys
15:04
pie_ has joined #yosys
15:09
<
cr1901_modern >
signed vs unsigned in Verilog is a mess, esp wrt multiplication. It's terse, but I recommend reading the verilog spec for this :'9
15:09
<
cr1901_modern >
;'(*
15:09
<
cr1901_modern >
:'(* damnit
15:23
GuzTech has quit [Quit: Leaving]
16:03
jkiv has quit [Ping timeout: 248 seconds]
16:20
jkiv has joined #yosys
16:26
sklv has quit [Remote host closed the connection]
16:26
sklv has joined #yosys
16:39
dys has joined #yosys
16:44
dys has quit [Ping timeout: 268 seconds]
16:51
jwhitmore has joined #yosys
17:05
digshadow has quit [Ping timeout: 255 seconds]
17:19
cemerick has joined #yosys
17:21
promach2 has quit [Ping timeout: 248 seconds]
17:43
digshadow has joined #yosys
18:01
digshadow has quit [Ping timeout: 248 seconds]
18:04
dys has joined #yosys
18:31
digshadow has joined #yosys
18:32
jwhitmore has quit [Ping timeout: 264 seconds]
19:51
jwhitmore has joined #yosys
20:03
jkiv has quit [Ping timeout: 260 seconds]
20:05
jkiv has joined #yosys
20:53
jkiv has quit [Ping timeout: 260 seconds]
20:57
xrexeon has quit [Remote host closed the connection]
20:59
xrexeon has joined #yosys
21:15
jwhitmore has quit [Ping timeout: 264 seconds]
21:22
cemerick has quit [Ping timeout: 256 seconds]
21:33
digshadow has quit [Ping timeout: 260 seconds]
22:12
seldridge has quit [Ping timeout: 260 seconds]
22:19
jkiv has joined #yosys
22:22
jkiv has quit [Client Quit]
22:57
cemerick has joined #yosys
23:38
digshadow has joined #yosys
23:56
tpb has quit [Remote host closed the connection]
23:56
tpb has joined #yosys
23:58
jwhitmore has joined #yosys