*** tpb has joined #yosys | 00:00 | |
*** Forty-Bot has quit IRC | 00:32 | |
*** voxadam has quit IRC | 01:51 | |
*** voxadam has joined #yosys | 01:52 | |
*** emeb has left #yosys | 02:23 | |
*** emeb_mac has joined #yosys | 02:26 | |
*** wavedrom has quit IRC | 03:14 | |
*** pie_ has quit IRC | 04:01 | |
*** pie_ has joined #yosys | 04:01 | |
*** wavedrom has joined #yosys | 04:15 | |
*** _whitelogger has quit IRC | 05:27 | |
*** _whitelogger has joined #yosys | 05:29 | |
phire | What's the best way to generate a netlist with proper names on the flipflops? | 05:31 |
---|---|---|
phire | Modify the proc_dff (and subsequent passes) to generate and perserve names? | 05:32 |
phire | write some kind of post-processing script or pass that generates a name based on the output wires? | 05:32 |
*** pie_ has quit IRC | 06:13 | |
*** pie_ has joined #yosys | 06:13 | |
*** emeb_mac has quit IRC | 06:44 | |
*** _whitelogger has quit IRC | 06:46 | |
*** _whitelogger has joined #yosys | 06:59 | |
*** wavedrom has quit IRC | 07:08 | |
*** rohitksingh has joined #yosys | 07:28 | |
*** _whitelogger has quit IRC | 08:12 | |
*** _whitelogger has joined #yosys | 08:14 | |
daveshah | phire: imo, a fix that generated names for cells based on output wire name would be very useful | 09:18 |
daveshah | s/fix/pass/ | 09:19 |
*** xerpi has joined #yosys | 09:37 | |
*** rohitksingh has quit IRC | 09:58 | |
*** rohitksingh has joined #yosys | 10:12 | |
*** citypw has joined #yosys | 10:18 | |
*** Forty-Bot has joined #yosys | 10:25 | |
*** _whitelogger has quit IRC | 10:45 | |
*** _whitelogger has joined #yosys | 10:47 | |
*** fevv8[m] has quit IRC | 11:03 | |
*** nrossi has quit IRC | 11:03 | |
*** jfng has quit IRC | 11:03 | |
*** bluesceada has quit IRC | 11:06 | |
*** bluesceada has joined #yosys | 11:10 | |
*** kbeckmann has quit IRC | 11:11 | |
*** fevv8[m] has joined #yosys | 11:16 | |
*** nrossi has joined #yosys | 11:43 | |
*** jfng has joined #yosys | 11:43 | |
*** citypw has quit IRC | 11:44 | |
*** citypw has joined #yosys | 11:46 | |
puddingpimp | it seems like it would be useful if there was a traceable link from every AST node to the pass and input AST node(s) that produced it | 11:55 |
puddingpimp | but I guess that presumes that the prior AST state is stashed away somewhere | 11:55 |
puddingpimp | I'm just an observer and not that familiar with yosys internals | 11:56 |
phire | The previous state is deleted on each pass | 11:57 |
puddingpimp | I do know that, I'm part of the way through te yosys manual atm | 11:58 |
phire | the src attributes really should be propergated to every single generated node | 12:02 |
puddingpimp | so there is the HDL AST and then the yosys AST (from what I understand) does the HDL AST from the lexer stick around in memory? | 12:04 |
phire | Well, you can save out the IL at any point and load it into a new instance of yosys later | 12:06 |
puddingpimp | how early/late is the AST flattened, eg. if I have 4 instances of a module A, which has two instances of module B, is module A and B optimised once each and then flattened, | 12:07 |
puddingpimp | or is the whole AST flattened before any later processing | 12:07 |
phire | I think the typical workflow is to run the hierarchy pass early on before optimising, which I understand flatterns the design. | 12:13 |
daveshah | read_verilog does by default elaborate & simplify the AST with the default parameter set for a module (turned of with -nodefer); but keeps the AST around in case the module is encountered with a different set of parameters | 12:14 |
daveshah | hierarchy will elaborate all modules as instantiated with their parameter set | 12:14 |
daveshah | flattening is optional at this point, and pretty much unrelated to elaboration of the AST | 12:15 |
phire | One problem with the manual, is that it doesn't really give you much idea which passes you should be running in which order | 12:17 |
daveshah | There is a bit on this in the appnotes at the end | 12:18 |
daveshah | tldr; always run hierarchy and proc before anything else | 12:18 |
phire | Yeah | 12:19 |
phire | Right now I'm trying to generate nice looking schematics of my design | 12:19 |
daveshah | Have you seen https://github.com/nturley/netlistsvg? | 12:20 |
tpb | Title: GitHub - nturley/netlistsvg: draws an SVG schematic from a JSON netlist (at github.com) | 12:20 |
phire | yeah, I'm considering improving it | 12:20 |
*** proteusguy has joined #yosys | 12:23 | |
phire | I think I actually want a "looks good in schematic form" technology library. | 12:24 |
*** leviathanch has joined #yosys | 12:29 | |
*** rohitksingh has quit IRC | 12:47 | |
*** rohitksingh has joined #yosys | 13:10 | |
*** xerpi has quit IRC | 13:24 | |
*** xerpi has joined #yosys | 13:25 | |
*** xerpi has quit IRC | 13:28 | |
*** rohitksingh has quit IRC | 14:09 | |
*** rohitksingh has joined #yosys | 14:43 | |
*** kuldeep has joined #yosys | 14:45 | |
*** kuldeep_ has joined #yosys | 14:52 | |
*** kuldeep has quit IRC | 14:52 | |
*** kuldeep_ is now known as kuldeep | 14:53 | |
*** emeb_mac has joined #yosys | 15:24 | |
*** celadon has quit IRC | 15:29 | |
*** kuldeep_ has joined #yosys | 15:52 | |
*** kuldeep has quit IRC | 16:04 | |
*** kuldeep_ has quit IRC | 16:05 | |
*** kuldeep has joined #yosys | 16:12 | |
*** lutsabound has joined #yosys | 16:16 | |
*** proteusguy has quit IRC | 17:08 | |
*** rohitksingh has quit IRC | 17:16 | |
*** wavedrom has joined #yosys | 17:26 | |
*** leviathanch has quit IRC | 17:54 | |
*** emeb_mac has quit IRC | 18:23 | |
*** X-Scale has quit IRC | 18:30 | |
*** X-Scale has joined #yosys | 18:34 | |
*** pie_ has quit IRC | 18:52 | |
*** pie_ has joined #yosys | 18:52 | |
*** cr1901_modern has quit IRC | 19:39 | |
*** xerpi has joined #yosys | 19:50 | |
*** lutsabound has quit IRC | 20:36 | |
*** lutsabound has joined #yosys | 21:05 | |
*** xerpi has quit IRC | 21:09 | |
*** xerpi has joined #yosys | 21:16 | |
*** xerpi has quit IRC | 21:40 | |
*** xerpi has joined #yosys | 21:41 | |
*** angelterrones has joined #yosys | 22:02 | |
*** angelterrones has quit IRC | 22:08 | |
*** angelterrones has joined #yosys | 22:09 | |
*** vup has quit IRC | 22:50 | |
*** cr1901_modern has joined #yosys | 22:54 | |
*** vup2 has quit IRC | 23:06 | |
*** vup2 has joined #yosys | 23:06 | |
*** lutsabound has quit IRC | 23:16 | |
*** angelterrones has quit IRC | 23:30 | |
*** lutsabound has joined #yosys | 23:31 | |
*** cmuellner has joined #yosys | 23:32 | |
*** xerpi has quit IRC | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!