Sunday, 2021-04-25

*** tpb has joined #yosys00:00
*** Degi_ has joined #yosys00:31
*** Degi has quit IRC00:33
*** Degi_ is now known as Degi00:33
*** X-Scale has joined #yosys01:25
*** Guest139081 has joined #yosys06:04
*** chipdsgr has quit IRC08:00
*** gmc has quit IRC08:22
*** gmc has joined #yosys08:28
*** gmc has quit IRC09:16
*** gmc has joined #yosys09:17
*** vidbina_ has joined #yosys11:07
*** vidbina_ has quit IRC11:36
*** adjtm has joined #yosys13:47
*** danvet has joined #yosys13:57
*** vidbina_ has joined #yosys14:23
*** oldtopman has joined #yosys17:00
*** anticw has quit IRC18:20
*** anticw has joined #yosys18:23
*** justchen1369 has joined #yosys18:33
justchen1369hello18:37
Degihi18:38
justchen1369could you send me a link to the latest manual?18:38
DegiOh, the official URL at http://yosyshq.net/yosys/files/yosys_manual.pdf seems to be broken, a version from last year is here https://github.com/YosysHQ/yosyshq.github.io/blob/master/yosys/nogit/manual/manual.pdf otherwise you can probably just compile this https://github.com/YosysHQ/yosys/tree/master/manual18:42
justchen1369thanks!18:42
justchen1369another question18:43
justchen1369why is the latest release a year old?18:43
DegiHm, there seems to be about a release every year, though occasionally two years without one... If you want the newest features usually downloading the git repo and building it yourself is the best way18:44
justchen1369thanks18:52
*** justchen1369 has quit IRC19:07
*** krispaul has quit IRC19:49
*** krispaul has joined #yosys19:52
*** justchen1369 has joined #yosys19:57
justchen1369how might I convert a verilog file into a json logical gate representation, using only AND, OR, and NOT?20:00
gatecatjustchen1369: something like synth; abc -g AND,OR; write_json out.json20:41
gatecat(note that NOT is implicit in the list of gates passed to abc)20:42
justchen1369alright I'll try that, thanks!20:44
justchen1369seems to be spitting a bunch of debug info into the file20:49
gatecatyou could try setattr -unset src * before write_json20:56
gatecatbut otherwise, for the most part whatever is parsing the json should just ignore the attributes section, then it shouldn't matter anywau20:57
gatecat*anyway20:57
justchen1369in netnames, does "bits" correspond with each logic gate's "name"?21:00
justchen1369by which I mean id21:01
justchen1369it looks like21:07
justchen1369"$abc$113$add$counter.v:6$2_Y[0]": {21:07
justchen1369          "hide_name": 1,21:07
justchen1369          "bits": [ 9 ],21:07
justchen1369          "attributes": {21:07
justchen1369          }21:07
justchen1369        },21:07
gatecatyeah, it means bit 9 used elsewhere corresponds to that net (not logic gate) name21:10
justchen1369ah21:14
justchen1369so bit-by-bit input/output21:14
justchen1369it seems to be provided in the ports property; can I ignore the netnames?21:17
justchen1369I'm honestly quite confuse21:21
justchen1369d21:21
*** justchen1369 has quit IRC21:42
*** danvet has quit IRC21:59
*** lf has quit IRC23:23
*** lf has joined #yosys23:24

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