Tuesday, 2019-12-17

*** tpb has joined #yosys00:00
*** X-Scale has quit IRC00:34
*** X-Scale` has joined #yosys00:37
*** X-Scale` is now known as X-Scale00:38
*** attie has joined #yosys02:31
*** attie has quit IRC02:36
*** rohitksingh has quit IRC02:36
*** rohitksingh has joined #yosys02:38
*** rohitksingh has quit IRC03:14
*** gromero has quit IRC03:50
*** dh73 has quit IRC05:53
*** rohitksingh has joined #yosys06:17
*** rohitksingh has quit IRC07:26
*** pie_ has quit IRC07:32
*** attie has joined #yosys07:51
*** attie has quit IRC07:56
*** X-Scale has quit IRC07:59
*** pie_ has joined #yosys08:00
*** X-Scale` has joined #yosys08:02
*** X-Scale` is now known as X-Scale08:03
*** fsasm has joined #yosys08:11
*** attie has joined #yosys08:47
*** esden_ has joined #yosys09:04
*** ktemkin_ has joined #yosys09:04
*** arnd_ has joined #yosys09:04
*** phantomcircuit_ has joined #yosys09:05
*** smarter_ has joined #yosys09:05
*** vup2 has joined #yosys09:05
*** nurelin_ has joined #yosys09:06
*** knielsen_ has joined #yosys09:07
*** corecode_ has joined #yosys09:08
*** jhol` has joined #yosys09:10
*** phantomcircuit has quit IRC09:11
*** emily has quit IRC09:11
*** Thorn has quit IRC09:11
*** knielsen has quit IRC09:11
*** cyrozap has quit IRC09:11
*** ZipCPU has quit IRC09:11
*** indy has quit IRC09:11
*** jhol has quit IRC09:11
*** nurelin has quit IRC09:11
*** hackerfoo has quit IRC09:11
*** ktemkin has quit IRC09:11
*** corecode has quit IRC09:11
*** vup has quit IRC09:11
*** smarter has quit IRC09:11
*** arnd has quit IRC09:11
*** esden has quit IRC09:11
*** ktemkin_ is now known as ktemkin09:11
*** esden_ is now known as esden09:11
*** indy_ has joined #yosys09:12
*** arnd_ is now known as arnd09:12
*** jhol` is now known as jhol09:16
*** hackerfoo has joined #yosys09:18
*** pie_ has quit IRC09:19
*** Thorn has joined #yosys09:22
*** corecode_ is now known as corecode09:23
*** pie_ has joined #yosys09:45
*** mkurc has joined #yosys10:42
mkurcHello, I have a question: What is the best way to detect in techmap that a particular input port of the cell is unconnected?10:44
*** emily has joined #yosys11:58
*** emily has quit IRC12:02
*** emily has joined #yosys12:14
*** emily has quit IRC12:17
*** emily has joined #yosys12:18
ZirconiumXmkurc: probably by using CONSTMSK and CONSTVAL12:22
ZirconiumXBecause unconnected ports are effectively constant 'bx12:23
pepijndevosThere is a way to make yosys make a truth table for a combinational circuit right? I forgot how...12:25
daveshahpepijndevos: eval12:31
mkurcZirconiumX: My current observation is that a port is unconnected when CONSTMSK == 0 and CONSTVAL == 012:31
ZirconiumXmkurc: That's incorrect12:42
ZirconiumX`help techmap` shows that it should be CONSTMSK == 1 and CONSTVAL == 'bx12:42
ZirconiumXWhat you have there is not a constant12:43
pepijndevosdaveshah, it doesn't like me: Failed to evaluate signal \R10C7_S13 at { \R1C16_W81 \R1C5_E26 } = 2'00: Missing value for \R10C7_S13.13:00
daveshahHaven't seen that before but I guess it's because you have an input that isn't set or in the list of truth table signals?13:02
pepijndevosHum, I did flatten and now it's happy13:03
mkurcZirconiumX: But that does not work for me. CONSTVAL is never equal to 'bx. I tried both with '==' and '===' comparison operators.13:45
ZirconiumXWell, first off, what are you trying to do?13:46
ZirconiumXAs in, why do you need to check if something is disconnected?13:46
pepijndevosdaveshah, how do carry chains work on ECP5?13:48
mkurcZirconiumX: Let's say that I have a cell representing a PLL and it has a RST input.13:58
mkurcZirconiumX: I'm writing a techmap for it that will transform it to another representation of the PLL. And I want to detect whether the RST input is connected. Because if it is not then I need to force it to eg. logic 1 in the cell that I'm mapping to.13:59
ZirconiumXBut then, why not have something like `assign reset_val = (input_reset === 1'b0) ? 1'b0 : 1'b1;`?14:01
*** m4ssi has joined #yosys14:22
mkurcZirconiumX: That would work provided that I can assume that an unconnected port is tied to 0. But what if I want to force RST to 0 then? It'll be forced to 1.14:24
ZirconiumXAn unconnected port is not tied to zero14:25
ZirconiumXIt's tied to 'bx14:26
ZirconiumXIf input_reset is 1, that returns 114:26
ZirconiumXIf input_reset is 0, that returns 014:26
ZirconiumXIf input_reset is x, that returns 114:26
*** indy_ is now known as indy15:31
*** emeb has joined #yosys15:32
*** dh73 has joined #yosys15:52
*** smarter_ is now known as smarter15:52
*** B_dgfebba has joined #yosys16:12
*** B_dgfebba has quit IRC16:16
*** fsasm has quit IRC16:31
*** m4ssi has quit IRC16:36
*** rohitksingh has joined #yosys16:43
mmickohi develonepi3, just use make PREFIX=/opt install and it should be fine, that way you will get binaries in /opt/bin, maybe that is not best option for it but you can use any prefix that is fine for your envrionment16:43
mmickoand sorry for late reply, was afk, thanks ZipCPU for letting me know16:43
develonepi3 mmicko thanks will try it !16:45
mmickoif you need some guidelines, you can check scripts at https://github.com/mmicko/cross-fpga/tree/master/scripts but those are for making static binaries and some tools lack some of features due to that16:46
tpbTitle: cross-fpga/scripts at master · mmicko/cross-fpga · GitHub (at github.com)16:46
develonepi3mmicko That helped was able to get the package built.  And now having some QA issues.  This is a fork with chg'ed made in conf.mk /usr/local to /opt "https://github.com/develone/icestorm"18:10
*** rohitksingh has quit IRC18:10
*** rohitksingh has joined #yosys18:19
*** phantomcircuit_ is now known as phantomcircuit18:19
mmickodevelonepi3: there should be no need to change existing file, since you can overwrite them in build script, so if you are doing packaging for yocto, you actually need to call make from there and then can set PREFIX parameter, in project itself usual default value is left to cover most users18:21
*** cyrozap has joined #yosys18:37
*** Jybz has joined #yosys19:27
*** attie has quit IRC19:34
*** alexhw has quit IRC21:13
*** alexhw has joined #yosys21:17
*** Jybz has quit IRC21:30
*** alexhw has quit IRC21:52
*** alexhw has joined #yosys21:58
*** rohitksingh has quit IRC22:57
*** rohitksingh has joined #yosys23:38
*** rohitksingh has quit IRC23:53

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