Wednesday, 2025-06-25

*** tpb <[email protected]> has joined #yosys00:01
*** flag <flag!~flag@2a01:e11:1403:8620:77cc:a896:e38d:a902> has joined #yosys01:51
*** pbsds35 <[email protected]> has quit IRC (Quit: The Lounge - https://thelounge.chat)02:42
*** Stary <Stary!Stary@hacksoc/infrastructure> has quit IRC (Quit: ZNC - http://znc.in)03:43
*** Stary <Stary!Stary@hacksoc/infrastructure> has joined #yosys03:49
*** Lord_Nightmare <Lord_Nightmare!~Lord_Nigh@user/lord-nightmare/x-3657113> has quit IRC (Quit: ZNC - http://znc.in)05:58
*** Lord_Nightmare <Lord_Nightmare!~Lord_Nigh@user/lord-nightmare/x-3657113> has joined #yosys06:01
*** FabM <FabM!~FabM@2a03:d604:100:a500:c9dc:602c:ab38:3194> has joined #yosys07:13
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 252 seconds)10:06
*** zero-xray6 <zero-xray6!~nonlinear@user/nonlinear> has joined #yosys10:27
*** zero-xray <zero-xray!~nonlinear@user/nonlinear> has quit IRC (Ping timeout: 276 seconds)10:31
*** zero-xray6 is now known as zero-xray10:31
*** latchflip <latchflip!~latchflip@user/latchflip> has quit IRC (Ping timeout: 276 seconds)15:15
*** latchflip <latchflip!~latchflip@user/latchflip> has joined #yosys15:16
*** Hammdist30 <[email protected]> has joined #yosys17:24
Hammdist30I want to convert a verilog file into dffs and luts. this is almost what abc -lut does except the output from write_verilog is hard to parse and seems to contain optimizations whereby certain signal lines feed into clock enable and resets etc. these are shown as ifs in the output verilog. I would like it to map to plain FF with only clk, d, q. I17:30
Hammdist30also tried output_table but it doesn't contain the LUT constants (table). thanks for any advice17:30
Hammdist30I made some progress on this; adding `dfflibmap -liberty cells.lib` where cells.lib contains a simplified DFF helps with one of the problems. still the verilog is not ideal to parse and the tabular output doesn't have the LUT constants17:39
Hammdist30it seems it would be possible to parse out the constants IF I assume that the assign lut entries in the verilog file are in the same order as the luts in the table file17:46
*** AdamHorden <AdamHorden!~adam.hord@user/adamhorden> has quit IRC (Quit: Adam Horden | adam.horden.me)18:24
*** Hammdist30 <[email protected]> has quit IRC (Quit: Client closed)18:32
*** Hammdist <[email protected]> has joined #yosys19:06
*** lofty[m] <lofty[m]!loftyfield@2a01:4f8:c012:5b7:0:1:0:570> has joined #yosys19:22
lofty[m]Hammdist: you are looking for the `dfflegalize` command19:22
lofty[m]and likely also a techmap file or two to convert the $lut and $DFF_P (or so) cells into your intended technology19:27
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:11
*** nonchip <[email protected]> has joined #yosys22:11

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