Saturday, 2022-03-05

*** tpb <[email protected]> has joined #yosys00:00
*** acathla <[email protected]> has quit IRC (Ping timeout: 252 seconds)00:26
*** acathla <[email protected]> has joined #yosys00:34
*** nak <nak!~nak@yosys/nak> has joined #yosys06:26
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys06:33
*** nak <nak!~nak@yosys/nak> has quit IRC (Ping timeout: 240 seconds)07:53
*** nak <nak!~nak@yosys/nak> has joined #yosys08:26
*** nak <nak!~nak@yosys/nak> has quit IRC (Ping timeout: 240 seconds)09:13
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #yosys09:17
*** X-Scale` <X-Scale`[email protected]> has joined #yosys09:57
*** X-Scale <[email protected]> has quit IRC (Ping timeout: 240 seconds)09:58
*** X-Scale` is now known as X-Scale09:58
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys10:16
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has quit IRC (Client Quit)10:19
*** vidbina <[email protected]> has joined #yosys10:49
*** vidbina <[email protected]> has quit IRC (Ping timeout: 250 seconds)12:22
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys12:35
*** vidbina <[email protected]> has joined #yosys12:39
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Ping timeout: 240 seconds)12:56
*** vancz <vancz!~vancz@user/vancz> has joined #yosys12:59
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Ping timeout: 256 seconds)13:07
*** vancz <vancz!~vancz@user/vancz> has joined #yosys13:11
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has quit IRC (Quit: Leaving)14:34
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has quit IRC (Ping timeout: 240 seconds)14:40
*** Klotz <Klotz!~Klotzoman@gateway/tor-sasl/klotz> has joined #yosys14:45
*** vidbina <[email protected]> has quit IRC (Ping timeout: 256 seconds)14:51
*** thezoq2 <[email protected]> has joined #yosys15:21
thezoq2Is it possible to make yosys infer block rams when using "vector bit-select and part-select addressing" https://stackoverflow.com/questions/18067571/indexing-vectors-and-arrays-with#1806829615:36
thezoq2I'm running it on some code which looks like15:36
tpbTitle: system verilog - Indexing vectors and arrays with +: - Stack Overflow (at stackoverflow.com)15:36
thezoq2```15:36
thezoq2always @(posedge clk) begin15:36
thezoq2     array[widx * 32 +: 32] = new_val;15:36
thezoq2    out = array[ridx * 32+:32];15:36
thezoq2end15:36
thezoq2```15:36
thezoq2But it's not inferring it as block ram. Changing `array` to be a unopacked array works, but as I'm writing a compiler, it would be much more convenient for me to only work with packed arrays.15:36
gatecatno, as far as I know the way the Yosys verilog frontend is written means that you have to use unpacked arrays if you want memory to be inferred15:38
thezoq2Alright, thanks!15:42
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:cf1:8507:720a:c17> has quit IRC (Remote host closed the connection)15:58
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:911:cf1:8507:720a:c17> has joined #yosys15:58
*** cr1901_ is now known as cr190115:59
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Quit: vancz)17:13
*** vancz <vancz!~vancz@user/vancz> has joined #yosys18:09
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Quit: vancz)18:16
*** vancz <vancz!~vancz@user/vancz> has joined #yosys18:17
*** Klotz <Klotz!~Klotzoman@gateway/tor-sasl/klotz> has quit IRC (Quit: Klotz)18:34
*** thezoq2 <[email protected]> has quit IRC (Quit: Client closed)19:12
*** gmc_ <[email protected]> has joined #yosys19:42
*** nak <nak!~nak@yosys/nak> has joined #yosys20:35
*** kraiskil <kraiskil!~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch> has joined #yosys20:56
*** nak <nak!~nak@yosys/nak> has quit IRC (Ping timeout: 272 seconds)21:18
*** kraiskil <kraiskil!~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch> has quit IRC (Remote host closed the connection)22:25

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!