Sunday, 2020-12-20

*** tpb has joined #litex00:00
mithroshorne / shorne: https://docs.google.com/drawings/d/1cC1eC-sNwRS-Z8WYhRO0yNXPa0zqN1dDcCHZXLPRhHI/edit00:14
tpbTitle: LiteX Linux Ecosystem - Google Drawings (at docs.google.com)00:14
mithrosomlo / shorne: I'm 100% open to changing the default IP address in litex-buildenv if someone updates the documentation at the same time...00:18
*** shorne has quit IRC00:26
*** lf has quit IRC00:50
*** lf_ has joined #litex00:50
*** lkcl has quit IRC00:57
dkozel_florent_ and miek did the camlink 4k support ever get tested, did it include any work on the HDMI interface?01:02
*** Degi has quit IRC01:04
dkozelmithro: Have you ever looked at the camlink as a target for the HDMI2TV project?01:04
*** Degi has joined #litex01:05
*** FFY00 has quit IRC01:07
*** FFY00 has joined #litex01:08
*** lkcl has joined #litex01:11
*** Dolu has quit IRC01:18
*** shorne has joined #litex01:28
shornemithro: the IP address in litex-buildenv is fine, it was a problem when using vanilla litex-boards, to get around it I just changed by subnet settings in my network01:31
shorneworking OK now01:31
mithroshorne: Well, 192.168.1.x is a pretty common network for people to use...02:02
shorneyeah, its that I have my worksation on a 10.0.0.x network and wifi on a 192.168.1.x network and route between the 202:15
shorneadding the 192.168.1.x ip to my workstation broke routing02:16
shorneanyway, I got that sorted02:16
shornebut, now I am facing another issue, using litex-boards, once I get to : Copying rootfs.cpio.gz to 0x07000000... /  it seems to lock up/run really slow02:17
shornetrying to debug now02:17
shornefrom tcpdump it seems its downloading the data but super slow compared to before02:18
*** TMM has quit IRC03:49
*** TMM has joined #litex03:50
*** FFY00 has quit IRC04:38
*** FFY00 has joined #litex04:39
*** Degi has quit IRC05:02
*** Degi has joined #litex05:03
*** kgugala_ has joined #litex06:28
*** kgugala has quit IRC06:31
*** kgugala has joined #litex06:31
*** kgugala_ has quit IRC06:35
*** Bertl_oO is now known as Bertl_zZ06:44
*** _whitelogger has quit IRC06:57
*** _whitelogger has joined #litex06:59
*** _whitelogger has quit IRC07:21
*** _whitelogger has joined #litex07:23
*** CarlFK has joined #litex08:58
*** peeps[zen] has joined #litex09:33
*** peepsalot has quit IRC09:33
_florent_dkozel: camlink 4k is working fine yes (SoC with DDR3 support) but the HDMI interface as not been tested10:12
*** Dolu has joined #litex10:28
*** _whitelogger has quit IRC10:51
*** _whitelogger has joined #litex10:53
*** Bertl_zZ is now known as Bertl14:13
*** kgugala_ has joined #litex14:21
*** kgugala has quit IRC14:25
*** kgugala_ has quit IRC14:58
*** kgugala has joined #litex14:58
*** lf_ is now known as lf15:28
miekdkozel: i ended up finding it useful in it's (mostly) stock state so i haven't done much hacking on it :p16:04
*** peepsalot has joined #litex17:32
*** peeps[zen] has quit IRC17:34
*** Bertl is now known as Bertl_oO18:02
*** acathla has quit IRC18:04
*** acathla has joined #litex19:47
*** acathla has quit IRC19:54
*** acathla has joined #litex19:54
DoluAbout the Adder stuff, i think daveshah is right, the carry chain should be fast enough in the FPGA to not be the major issue.22:50
DoluOften, the critical path that i have are mostly due to routing22:52
Doluone thing which might be critical on 64 bits is the MMU TLB hit logic, as it double in size, and is already close to the critical paths22:57
Doluthe D$ tags check should be fine as it the physical address, which can be set smaller than 64 bits22:59
Doluabout the 4 cycles 16 bits type of thing, in other words, kind of having a microcode to translate the RISC-V instruction into multiple one. That's would be likely the best way to reduce area, i'm just afraid that the performance would be too low to run a 64 bits linux well23:03
Dolu@ mithro23:03
sorearwhat does "microcode" mean to you?23:06
*** STOP_NO_Anime has joined #litex23:14
*** STOP_NO_Anime has quit IRC23:17
mithroDolu: Have you looked at the highest possible fmax of VexRISCV recently?23:25
mithroDolu: Most of the LiteX usage of VexRISCV doesn't target the highest frequencies23:34
mithrosorear: microcode means to me there is some "code" somewhere that is decoding an instruction stream into a different set of operations that happens transparently to the user....23:36
mithrosorear: It doesn't literally have to be "code" in the traditional sense that software people would recognize (but pretty much is in most modern cases)23:37
sorearmithro: i was asking dolu because there's a pretty broad range of what microcode can mean in the literature23:38
Dolumithro : the last optimisation i did was to allow having way more i$D$ way without FMax penality, i had mainly to split the MMU translation between the execute and memory stage.23:38
sorearfrom "any multicycle instructions are microcode" to "microcode is an interpreter written for a separate full-fledged instruction set"23:38
mithrosorear: I actually missed Dolu's comment23:38
mithroDolu: I think the 4 cycles 16bit type thing is probably going to have much larger gains on something like the very slow iCE40UP5K than the Artix 723:39
soreardoes vexriscv use bram for the register file?23:40
DoluSo to me microcode mean decomposing each ISA instruction in the decode stage into one or more instructions (of another kind) for the pipeline23:40
sorearso a fun property of the 16x4 approach that I noticed while trying to work out details years ago23:41
DoluI was thinking about it as "more" than just multi cycle instruction23:41
sorearsince your registers come in 4 "colors" and accesses to registers are spaced 4 cycles apart, you can pipeline with close to no hazard logic23:41
Dolumulti cycle instruction is ofcourse a possibility, but seems less flexible than microcode23:42
mithrosorear: A while back, I was actually thinking about how the risc-v instructions map to byte data access23:42
sorearshifts are a pain with a folded datapath23:43
Doluhmm, fore the baremetal cache less CPU, as far i have seen, the weak link was often I bus D bus23:43
DoluMaybe should have some "very" thigly coupled ram there23:43
Dolusorear : Vex can use both BRAM or distributed ram as register file23:44
Doluand can move the read of it in the decode or in the execute stage, by default that's done in decode23:44
mithroInteresting, I just found this spreadsheet form 2019 -> https://docs.google.com/spreadsheets/d/1b_I0wfvCPjRWGztSw7gEBMdaGJjmJOyKu_v3QVCoyOE/edit#gid=023:44
tpbTitle: RISC-V Soft Core Comparisons Documents - Google Sheets (at docs.google.com)23:44
Dolu>  you can pipeline with close to no hazard logic   => lol XD right ^^23:45
DoluHoo the frequancy of Vex is wrong23:46
DoluI messed up the synthesis scripts :/23:46
Doluupdated the readme since23:46
mithrosorear: https://docs.google.com/spreadsheets/d/1xm6jt4KPusxpKpOmjjWGJmsgpf61qQF4tzVSVIEyxQw/edit?resourcekey=0-xhcOseYjnvOp6PCuWYIbcA#gid=187870681423:47
tpbTitle: RISC-V Instruction Set Encoding Exploration (ISA, CFU, etc) - Google Sheets (at docs.google.com)23:47
DoluI just updated the google doc fmax23:48
Dolu(artix number were messedup)23:48
mithroDolu: Should probably have added a new "2020 VexRISCV" type thing?23:48
*** david-sawatzke[m has joined #litex23:49
mithrosorear: I was trying to understand how you might map things to a byte machine -- I think I discovered it ends up mapping to a frustrating 3/5 bit pattern23:51
Dolumithro : Apart the messed up Artix FMax (fixed now), there is no big change in the default config, basicaly the improvements were made on feature not realy used on them, but used in the multi core SMP + bigger caches configs23:56
mithroDolu: BTW Have you considered a VexRISCV 4-core complex with a single shared FPU unit?23:56

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