Saturday, 2019-12-28

*** tpb has joined #yosys00:00
*** kraiskil has quit IRC00:18
*** vidbina has quit IRC00:36
*** dh73 has quit IRC01:09
meawopplfollowup, is bitrange assigment like this legit01:19
meawopplreg[15:0] foo;01:19
meawopplposedge @(whatever)01:19
meawoppl    foo[15:8] <= foo[7:0];01:19
meawoppl?01:19
*** zkms has quit IRC01:30
*** zkms has joined #yosys01:30
ZipCPUmeowppl: Yes, that's a legitimate assignment.  I like to place the assignment to foo[7:0] nearby, but it can be done in a separate block01:31
ZipCPU(Verilator might have problems with separate blocks for separate parts of a value, but it is legal Verilog)01:31
*** quigonjinn has quit IRC01:33
*** rohitksingh has joined #yosys02:18
*** rohitksingh has quit IRC02:22
*** GenTooMan has joined #yosys02:41
*** rohitksingh has joined #yosys03:17
*** allenlorenz has joined #yosys03:36
*** pie_ has quit IRC03:41
*** pie_ has joined #yosys04:25
*** pie_ has quit IRC04:31
*** rohitksingh has quit IRC06:06
*** rohitksingh has joined #yosys06:14
*** Jybz has joined #yosys06:54
*** emeb_mac has quit IRC06:57
*** rohitksingh has quit IRC07:01
*** FL4SHK has joined #yosys07:30
*** fsasm has joined #yosys08:55
*** kraiskil has joined #yosys10:04
*** kraiskil has quit IRC10:28
*** kraiskil has joined #yosys10:32
*** rombik_su has joined #yosys10:52
*** pie_ has joined #yosys10:59
*** pie_ has quit IRC11:27
*** kraiskil has quit IRC11:53
*** rohitksingh has joined #yosys12:04
*** kraiskil has joined #yosys12:09
*** Laksen has joined #yosys12:25
*** pie_ has joined #yosys12:47
*** pie_ has quit IRC12:56
*** pie_ has joined #yosys13:10
*** kraiskil has quit IRC14:16
*** rohitksingh has quit IRC15:09
*** mwk has quit IRC16:38
*** rohitksingh has joined #yosys17:05
*** mwk_ has joined #yosys17:08
*** mwk_ is now known as mwk17:08
*** rohitksingh has quit IRC17:14
*** emeb_mac has joined #yosys17:30
*** emeb_mac has quit IRC17:35
*** kraiskil has joined #yosys19:47
*** X-Scale has quit IRC20:23
*** Laksen has quit IRC20:23
XiretzaI can't get synth_xilinx to infer true dual port RAMs (two read and write ports, one of each per clock domain), is that simply not supported yet?20:34
*** X-Scale has joined #yosys20:35
whitequarkyes20:37
whitequarkyosys can't do TDP RAM at all yet20:37
*** Jybz has quit IRC20:38
Xiretzaooooh, I see, that explains it. I guess it was never necessary for ICE40/ECP520:38
daveshahIt is necessary for ECP520:38
daveshahIt's just memory_bram is too horrible for anyone to have attempted to do it yet20:38
Xiretzathat doesn't exactly inspire confidence in trying it myself... to be clear, most configurations with just a single clock domain should be possible, just not two independent clocks per $mem?20:42
mwkXiretza: no20:44
mwkthe problem is that yosys doesn't know how to merge a single port in both read and write modes20:45
mwk*how to use20:45
mwkso if you read from memory in one place, and write to it in another place, it has to use two different ports20:46
Xiretzamwk: and yosys only supports a single port per memory?20:47
mwkno20:49
mwkit supports however many ports are available20:49
mwkjust every available port can only be either read or write, not both at once20:49
Xiretzamwk: okay, and how do those relate to clock domains? do all ports have to be on the same clock?20:50
mwkclock domains don't matter, it's about ports20:54
mwkthe two ports can be on two different clocks, and yosys does support that20:54
Xiretzaso it can only use each of the two ports a RAMB36E1 offers as either read or write (so read+read, read+write, or write+write, only one of which makes sense)?20:57
mwkcorrect20:57
daveshahread-read would make sense for a ROM20:57
daveshahbut it's not supported20:57
mwkhuh, it's not?20:58
daveshahI don't think so, it would need an extra rule for memory_bram20:58
mwkugghh20:58
mwkright20:58
mwkof course20:58
daveshahmemory_bram itself should support such a pattern20:58
Xiretzadaveshah: right, are those built from RAMB36E1 though?20:58
daveshahbut the rules and techmaps don't20:58
daveshahXiretza: yes or RAMB18E1 for smaller ones20:58
*** pie_ has quit IRC21:01
Xiretzainteresting, for some reason I thought there were separate ROM blocks. alright then, seems like some more in-depth work is required, don't think I have much of a chance to take that on. I'll just keep the designs I'm testing to two ports for now21:01
*** pie_ has joined #yosys21:02
mwkROM is just preinitialized RAM with the ports used only for read21:02
Xiretzayeah, it makes sense now that I think about it, just never occured to me21:03
Xiretzathanks a lot for all your help!21:03
*** fsasm has quit IRC21:08
*** _whitelogger has quit IRC21:13
*** _whitelogger has joined #yosys21:15
*** meawoppl has quit IRC21:19
*** m_w has joined #yosys21:59
*** m_w has quit IRC22:00
*** cr1901_modern has quit IRC22:54
*** pie_ has quit IRC23:04
*** cr1901_modern has joined #yosys23:04
*** pie_ has joined #yosys23:06
*** pie_ has quit IRC23:08
*** pie_ has joined #yosys23:09
*** lutsabound has joined #yosys23:15
*** pie_ has quit IRC23:21
*** pie_ has joined #yosys23:21
*** emeb_mac has joined #yosys23:23
*** pie_ has quit IRC23:53
*** rombik_su has quit IRC23:56

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!