*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** srk <srk!~sorki@user/srk> has quit IRC (Ping timeout: 255 seconds) | 00:01 | |
*** srk- is now known as srk | 00:01 | |
*** srk- <srk-!~sorki@user/srk> has joined #yosys | 00:16 | |
*** srk <srk!~sorki@user/srk> has quit IRC (Ping timeout: 260 seconds) | 00:20 | |
*** srk- is now known as srk | 00:20 | |
*** srk- <srk-!~sorki@user/srk> has joined #yosys | 00:32 | |
*** srk <srk!~sorki@user/srk> has quit IRC (Ping timeout: 252 seconds) | 00:35 | |
*** srk- is now known as srk | 00:35 | |
*** jn <jn!~quassel@user/jn/x-3390946> has quit IRC (Ping timeout: 252 seconds) | 01:13 | |
*** jn <jn!~quassel@2a0a:a549:fbf2:0:20d:b9ff:fe49:15fc> has joined #yosys | 01:13 | |
*** lexano <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 02:02 | |
*** lexano <[email protected]> has joined #yosys | 02:16 | |
*** nelgau_ <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 05:38 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:2e60:8c7c:e8fb:7990> has joined #yosys | 06:50 | |
*** st3llar <[email protected]> has joined #yosys | 09:02 | |
st3llar | on ice40's EBR is it not possible to read and write on the same clock edge? | 09:43 |
---|---|---|
st3llar | doing so creates a bunch of extra luts and dffs | 09:43 |
lofty | st3llar: what's the read vs write priority of your code? | 09:46 |
lofty | Or in other words: if you read and write to the same address, does the read get the old data, the new data or is it undefined? | 09:48 |
st3llar | oh, thought about that and so i tried different addresses, same result | 09:50 |
st3llar | always @(posedge clk) begin mem[waddr] <= wdata; rdata <= mem[raddr]; end | 09:50 |
lofty | st3llar: that's the source of the extra logic then; iCE40 doesn't natively support that so Yosys adds logic to catch and pass through values | 09:52 |
tnt | If your design doesn't care about what happens if read and write at the same address occur (because either it doesn't matter or by design this will never occur), you can use the (* no_rw_check *) attribute on the memory. | 10:01 |
st3llar | thanks! is this what's meant by *pseudo* dual port? | 10:01 |
tnt | No. | 10:02 |
st3llar | oh thanks for the tip | 10:02 |
tnt | Pseudo dual port is because one port is read and the other is write. | 10:02 |
tnt | (as opposed to some BRAM that can have two fully read/write ports). | 10:02 |
st3llar | because i couldn't find any mention of the limit to read/write on the same clock edge in the datasheets, unless this is always the case? | 10:03 |
*** unkraut <[email protected]> has quit IRC (Remote host closed the connection) | 12:39 | |
*** unkraut <[email protected]> has joined #yosys | 12:50 | |
*** nelgau <[email protected]> has joined #yosys | 14:18 | |
*** _whitelogger <[email protected]> has quit IRC (Remote host closed the connection) | 14:22 | |
*** _whitelogger <[email protected]> has joined #yosys | 14:22 | |
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer) | 15:11 | |
*** nelgau <[email protected]> has joined #yosys | 15:12 | |
*** _whitelogger <[email protected]> has quit IRC (Remote host closed the connection) | 15:12 | |
*** _whitelogger <[email protected]> has joined #yosys | 15:13 | |
*** nelgau <[email protected]> has quit IRC (Read error: Connection reset by peer) | 15:34 | |
*** nelgau <[email protected]> has joined #yosys | 15:36 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 256 seconds) | 17:38 | |
*** bjorkintosh <bjorkintosh!~bjork@user/bjorkintosh> has quit IRC (Remote host closed the connection) | 22:56 | |
*** bjorkintosh <bjorkintosh!~bjork@2600:1700:5400:c80:cea:9865:6c37:a985> has joined #yosys | 22:56 | |
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 23:21 | |
*** nonchip <[email protected]> has joined #yosys | 23:21 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!