Saturday, 2021-03-06

*** tpb has joined #yosys00:00
*** adjtm_ has joined #yosys00:11
*** adjtm has quit IRC00:13
*** adjtm_ has quit IRC00:28
*** unkraut has joined #yosys00:31
*** FFY00_ has joined #yosys00:33
*** kristianpaul has quit IRC00:41
*** kristianpaul has joined #yosys00:42
*** lf has quit IRC00:58
*** lf has joined #yosys00:58
*** citypw has joined #yosys02:51
*** Degi has quit IRC03:11
*** Degi has joined #yosys03:14
*** citypw has quit IRC04:31
*** citypw has joined #yosys06:19
*** jfcaron has quit IRC06:32
*** craigo has joined #yosys06:50
*** kraiskil has joined #yosys07:03
*** emeb_mac has quit IRC07:10
*** s_frit has quit IRC07:36
*** s_frit has joined #yosys07:36
*** kraiskil has quit IRC07:51
*** vidbina_ has joined #yosys08:54
*** citypw has quit IRC09:27
*** vidbina_ has quit IRC09:30
*** vidbina_ has joined #yosys09:51
*** vidbina_ has quit IRC10:25
*** mancaus_ has joined #yosys10:35
*** mancaus has quit IRC10:37
*** _whitelogger has quit IRC11:54
*** _whitelogger has joined #yosys11:56
*** mancaus_ has quit IRC12:15
*** mancaus_ has joined #yosys13:25
*** s_frit has quit IRC13:29
*** s_frit has joined #yosys13:30
* promach3 uploaded an image: image.png (286KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KnGEMsmjyvKgmKVluzBwmBfW/image.png >14:03
promach3Why `BB_dq` is not part of design ?14:03
promach3https://gist.github.com/promach/2c477b1dbc39f04a1271fb229e6d678c#file-ddr3_memory_controller-v-L245-L25114:04
*** vidbina_ has joined #yosys14:26
promach3it is located here : https://github.com/YosysHQ/yosys/blob/master/techlibs/ecp5/cells_io.vh#L10 , but how do I actually instantiate this special module ?14:31
Loftypromach3: that module just wraps a TRELLIS_IO; use that instead15:43
promach3Lofty: what do you mean ?  I am bit confused15:51
*** emeb has joined #yosys15:51
LoftyUse TRELLIS_IO not BB15:52
promach3you mean    TRELLIS_IO BB_dq ();    ?15:53
promach3Lofty: still same error15:53
LoftyDid you include cells_sim.v in your SBY config?15:54
promach3which exact cells_sim.v  should I download from github ?15:54
promach3Lofty:15:55
LoftyIt's the ECP5 one15:55
promach3https://github.com/YosysHQ/yosys/blob/master/techlibs/ecp5/cells_sim.v15:56
promach3Yosys has only limited support for tri-state logic at the moment. (cells_sim.v:401)15:57
promach3Lofty:  smt2: ERROR: Unsupported or unknown directionality on port B of cell ddr3_memory_controller.BB_dqs_n (TRELLIS_IO).15:59
LoftyThen evidently you can't have inout ports in SBY, so you'll need to figure out a way of removing the input buffers16:00
promach3what ?16:00
promach3why remove buffer ?16:01
promach3I need tristate for DDR3 RAM application16:01
promach3Lofty:16:02
LoftyAs I mentioned16:03
LoftyYou can't have inout ports16:03
LoftySo you can't have tristate buffers16:03
promach3thus yosys gave warnings about limited support for tri-state logic16:04
LoftyYosys does kinda accept tristate logic16:04
LoftyBut in this case, it's not really relevant16:04
promach3but why it failed in my situation ?16:04
promach3ok, I suppose yosys formal engine does not yet support tri-state logic16:05
promach3Lofty:16:05
LoftyWell, no16:06
promach3did I conclude it correctly ?16:06
LoftyIn this case, the error is coming from the Yosys smt2 backend16:06
LoftyWhere I'm assuming an inout is unrepresentable16:07
promach3smt2 is related to formal16:07
LoftyYes, I'm assuming it's a file format16:07
promach3ok16:08
promach3so, how do I work around this situation ?16:08
promach3Lofty:16:08
Lofty... remove the buffers16:08
*** vidbina_ has quit IRC16:08
LoftyLike I said16:08
promach3DDR3 require tri-state buffers16:08
promach3cannot remove tri-state logic16:09
LoftyYes, but in a formal context you don't need them16:09
promach3ok, I see16:09
promach3let me think how to represent tri-state for formal16:09
LoftyWell, you can't.16:10
promach3Lofty: so, maybe I could assume(some values) for the input direction ?16:11
Loftyif (direction) assert(output condition) else assert(input condition)16:11
LoftyOr something16:11
promach3cool16:11
*** oldtopman has joined #yosys18:44
*** lansiir has quit IRC18:44
*** craigo has quit IRC18:45
cr1901_modernmwk: Re: the VPR mode in my machxo2 PR... it has become clear talking to symbiflow folks that I didn't actually understand the purpose of the code I was copying, so... oops on my end :P. In the next round of PR, I will remove the VPR mode19:03
*** kraiskil has joined #yosys20:08
*** jfcaron has joined #yosys20:13
*** emeb_mac has joined #yosys20:42
*** jfcaron has quit IRC20:58
*** kraiskil has quit IRC21:03
*** vidbina_ has joined #yosys21:54
*** vidbina_ has quit IRC23:10
*** jfcaron has joined #yosys23:11
*** sorear has quit IRC23:14
*** sorear has joined #yosys23:17
*** emeb has quit IRC23:54

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