*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** acathla <[email protected]> has quit IRC (Ping timeout: 252 seconds) | 00:26 | |
*** acathla <[email protected]> has joined #yosys | 00:34 | |
*** nak <nak!~nak@yosys/nak> has joined #yosys | 06:26 | |
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys | 06:33 | |
*** nak <nak!~nak@yosys/nak> has quit IRC (Ping timeout: 240 seconds) | 07:53 | |
*** nak <nak!~nak@yosys/nak> has joined #yosys | 08:26 | |
*** nak <nak!~nak@yosys/nak> has quit IRC (Ping timeout: 240 seconds) | 09:13 | |
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #yosys | 09:17 | |
*** X-Scale` <X-Scale`[email protected]> has joined #yosys | 09:57 | |
*** X-Scale <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 09:58 | |
*** X-Scale` is now known as X-Scale | 09:58 | |
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys | 10: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 #yosys | 10: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 #yosys | 12:35 | |
*** vidbina <[email protected]> has joined #yosys | 12:39 | |
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Ping timeout: 240 seconds) | 12:56 | |
*** vancz <vancz!~vancz@user/vancz> has joined #yosys | 12:59 | |
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Ping timeout: 256 seconds) | 13:07 | |
*** vancz <vancz!~vancz@user/vancz> has joined #yosys | 13: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 #yosys | 14:45 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 14:51 | |
*** thezoq2 <[email protected]> has joined #yosys | 15:21 | |
thezoq2 | Is 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#18068296 | 15:36 |
---|---|---|
thezoq2 | I'm running it on some code which looks like | 15:36 |
tpb | Title: system verilog - Indexing vectors and arrays with +: - Stack Overflow (at stackoverflow.com) | 15:36 |
thezoq2 | ``` | 15:36 |
thezoq2 | always @(posedge clk) begin | 15:36 |
thezoq2 | array[widx * 32 +: 32] = new_val; | 15:36 |
thezoq2 | out = array[ridx * 32+:32]; | 15:36 |
thezoq2 | end | 15:36 |
thezoq2 | ``` | 15:36 |
thezoq2 | But 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 |
gatecat | no, 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 inferred | 15:38 |
thezoq2 | Alright, 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 #yosys | 15:58 | |
*** cr1901_ is now known as cr1901 | 15:59 | |
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Quit: vancz) | 17:13 | |
*** vancz <vancz!~vancz@user/vancz> has joined #yosys | 18:09 | |
*** vancz <vancz!~vancz@user/vancz> has quit IRC (Quit: vancz) | 18:16 | |
*** vancz <vancz!~vancz@user/vancz> has joined #yosys | 18: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 #yosys | 19:42 | |
*** nak <nak!~nak@yosys/nak> has joined #yosys | 20:35 | |
*** kraiskil <kraiskil!~kraiskil@10.121.104.92.dynamic.wline.res.cust.swisscom.ch> has joined #yosys | 20: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/!