Wednesday, 2021-06-09

*** tpb <[email protected]> has joined #litex00:00
*** nelgau <[email protected]> has quit IRC (Remote host closed the connection)00:15
*** nelgau <[email protected]> has joined #litex01:57
*** cr1901 <cr1901!~William@2601:8d:8600:911:1027:6525:c95f:57dc> has quit IRC (Quit: Leaving.)02:11
*** cr1901 <cr1901!~William@2601:8d:8600:911:d04c:7e05:e89e:86f2> has joined #litex02:35
*** Degi_ <[email protected]> has joined #litex03:03
*** Degi <[email protected]> has quit IRC (Ping timeout: 250 seconds)03:05
*** Degi_ is now known as Degi03:05
*** nelgau <[email protected]> has quit IRC (Remote host closed the connection)03:18
*** nelgau <[email protected]> has joined #litex03:19
*** nelgau <[email protected]> has quit IRC (Ping timeout: 258 seconds)03:23
*** tpb_ <[email protected]> has joined #litex04:27
*** tpb <[email protected]> has quit IRC (Killed (NickServ (GHOST command used by tpb_)))04:27
*** tpb_ is now known as tpb04:27
*** TMM__ <[email protected]> has joined #litex04:27
*** TMM_ <[email protected]> has quit IRC (*.net *.split)04:33
*** nelgau <[email protected]> has joined #litex05:19
*** nelgau <[email protected]> has quit IRC (Ping timeout: 244 seconds)05:23
*** TMM__ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)06:03
*** TMM_ <[email protected]> has joined #litex06:03
*** FabM <[email protected]> has joined #litex06:42
*** lexano <lexano!~lexano@2607:fea8:5bc0:b27:12c3:7bff:fe95:9fc1> has quit IRC (Ping timeout: 244 seconds)07:10
*** lexano <lexano!~lexano@2607:fea8:5bc0:12:12c3:7bff:fe95:9fc1> has joined #litex07:23
*** nthiel <[email protected]> has joined #litex07:42
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)07:46
*** nthiel <[email protected]> has quit IRC (Remote host closed the connection)07:47
*** C-Man <[email protected]> has quit IRC (Ping timeout: 250 seconds)08:02
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex08:10
*** nthiel <[email protected]> has joined #litex08:12
*** nthiel <[email protected]> has quit IRC (Remote host closed the connection)08:14
*** nthiel <[email protected]> has joined #litex08:18
*** nthiel <[email protected]> has quit IRC (Remote host closed the connection)08:20
*** nthiel <[email protected]> has joined #litex08:26
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has quit IRC (Remote host closed the connection)08:35
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has quit IRC (Write error: Connection reset by peer)08:35
*** jryans <jryans!~jryansmat@2001:470:69fc:105::1d> has quit IRC (Write error: Broken pipe)08:35
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has quit IRC (Remote host closed the connection)08:35
*** Leon[m] <Leon[m]!~leons@2001:470:69fc:105::abc> has quit IRC (Remote host closed the connection)08:35
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has quit IRC (Remote host closed the connection)08:35
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has quit IRC (Read error: Connection reset by peer)08:35
*** jryans <jryans!~jryansmat@2001:470:69fc:105::1d> has joined #litex08:35
*** shoragan[m] <shoragan[m]!~shoraganm@2001:470:69fc:105::39> has joined #litex08:36
*** dcallagh <dcallagh!~dcallagh@2001:470:69fc:105::9c5> has joined #litex08:36
*** Leon[m] <Leon[m]!~leons@2001:470:69fc:105::abc> has joined #litex08:36
*** sajattack[m] <sajattack[m]!~sajattack@2001:470:69fc:105::1d9> has joined #litex08:36
*** david-sawatzke[m <david-sawatzke[m!~david-saw@2001:470:69fc:105::1634> has joined #litex08:36
*** jevinskie[m] <jevinskie[m]!~jevinskie@2001:470:69fc:105::bb3> has joined #litex08:36
dcallaghdoes anyone know how to populate initial values for LRAM in Radiant Verilog?08:41
dcallaghthe litex.soc.cores.ram.lattice_nx.NXLRAM class doesn't know how to do that currently, but i'm trying to add it, so that i can place BIOS in an LRAM and execute from it08:42
dcallaghseems like the Verilog module for the LRAM takes a long sequence of parameters like `INITVAL_00` .. `INITVAL_7F` containing a 640-byte hex string08:43
dcallaghbut i can't find any docs from Lattice about the exact meaning of those parameters08:43
dcallaghgatecat: it looks like you have implemented support for those parameters in yosys/prjoxide, do you know if there is any docs for them or how exactly i can use them?08:44
dcallaghi'm too much of a noob to understand what the code in prjoxide is actually doing with those parameters08:45
gatecatThe Verilog code that configures them in Yosys is https://github.com/YosysHQ/yosys/blob/master/techlibs/nexus/lrams_init.vh and https://github.com/YosysHQ/yosys/blob/master/techlibs/nexus/lrams_map.v#L3408:46
tpb<https://x0.no/4uxdq> (at github.com)08:46
gatecateach 40 bits of each init string is actually used only for 32 bits with 8 bits of padding08:47
gatecatI don't know why this is, but I'm sure it made sense to someone at Lattice08:47
dcallaghha. okay. so i can fill those parameters with 32 bits of real data and 8 bits of zeroes alternating?08:48
gatecatyeah, that seems like what I worked out...08:48
dcallaghthat explains why 640*0x80 adds up to 80KB but the LRAM is only 64KB08:48
gatecatright08:48
dcallaghokay. tomorrow i'll try feeding that to radiant and see what happens. thanks08:49
dcallagham i right in assuming that Lattice do not document this anywhere?08:49
dcallaghthey expect everyone to just design their stuff in Radiant GUI with pointy-clicky and leave their Verilog modules totally undocumented?08:49
dcallaghthe Radiant GUI offers to fill in an initial value into LRAM for me but that obviously doesn't help Litex generating Verilog08:50
gatecatyeah I don't think there are any good Lattice docs about this08:52
*** nthiel_ <[email protected]> has joined #litex08:53
*** nthiel_ <[email protected]> has quit IRC (Remote host closed the connection)08:56
*** C-Man <[email protected]> has joined #litex09:18
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Ping timeout: 245 seconds)10:00
*** FabM is now known as bisamme10:07
*** bisamme is now known as FabM10:07
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex10:14
*** lexano <lexano!~lexano@2607:fea8:5bc0:12:12c3:7bff:fe95:9fc1> has quit IRC (Quit: Leaving)12:03
*** lexano <lexano!~lexano@2607:fea8:5bc0:12:12c3:7bff:fe95:9fc1> has joined #litex12:03
*** C-Man <[email protected]> has quit IRC (Ping timeout: 252 seconds)12:31
*** C-Man <C-Man!~alex@2a01:4f8:a0:2296::2:1005> has joined #litex12:40
*** _franck_1 <[email protected]> has joined #litex12:56
*** _franck_ <[email protected]> has quit IRC (Ping timeout: 245 seconds)12:58
*** _franck_1 is now known as _franck_12:58
*** nelgau <[email protected]> has joined #litex13:20
*** nelgau <[email protected]> has quit IRC (Ping timeout: 245 seconds)13:25
*** C-Man <C-Man!~alex@2a01:4f8:a0:2296::2:1005> has quit IRC (Ping timeout: 272 seconds)13:41
*** peeps[zen] <peeps[zen]!~peepsalot@openscad/peepsalot> has joined #litex14:02
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (*.net *.split)14:10
*** FabM <[email protected]> has quit IRC (Remote host closed the connection)14:55
*** tpb_ <[email protected]> has joined #litex15:17
*** tpb <[email protected]> has quit IRC (Killed (NickServ (GHOST command used by tpb_)))15:17
*** tpb_ is now known as tpb15:17
*** _franck_0 <[email protected]> has joined #litex15:19
*** _franck_ <[email protected]> has quit IRC (*.net *.split)15:24
*** _franck_0 is now known as _franck_15:25
*** C-Man <C-Man!~alex@2a01:4f8:a0:2296::2:100f> has joined #litex15:25
*** nthiel <[email protected]> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)15:26
*** lkcl_ <[email protected]> has joined #litex15:56
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)16:45
*** Coldberg <[email protected]> has joined #litex17:05
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex17:07
*** chipdsgr <[email protected]> has quit IRC (Ping timeout: 272 seconds)17:08
*** C-Man <C-Man!~alex@2a01:4f8:a0:2296::2:100f> has quit IRC (Ping timeout: 265 seconds)17:09
zyp_florent_, boards for the stuff I've been working on have arrived and things are starting to fall into place: https://bin.jvnv.net/file/XHzyw.jpg https://bin.jvnv.net/file/IvGDv.png :)18:13
zypfor now I've copied Greg's hyperram init code and patched that into the bios, but I wonder what would be the reasonable way forward with that?18:18
zypshould I just add a liblitehyperbus in the same style as the other init codes, or would you like me to make a proposal for how to hook code into the bios without being part of the litex repo itself?18:20
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)18:28
*** TMM_ <[email protected]> has joined #litex18:28
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)20:04
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex20:05
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)20:07
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex20:08
*** awordnot <awordnot!~awordnot@user/awordnot> has quit IRC (Read error: Connection reset by peer)22:05
*** awordnot <awordnot!~awordnot@user/awordnot> has joined #litex22:05
*** toshywoshy <toshywoshy!~toshywosh@ptr-377wf33o3bnthuddmycb.18120a2.ip6.access.telenet.be> has joined #litex22:47
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has quit IRC (Remote host closed the connection)23:11
*** pftbest <pftbest!~pftbest@2a01:4f8:c17:6afc::1:2> has joined #litex23:12
*** awordnot <awordnot!~awordnot@user/awordnot> has quit IRC (Ping timeout: 264 seconds)23:20
*** awordnot <awordnot!~awordnot@user/awordnot> has joined #litex23:21

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