Friday, 2023-10-06

*** tpb <[email protected]> has joined #yosys00:00
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 272 seconds)00:12
*** GenTooMan <[email protected]> has joined #yosys00:43
cr1901Is it possible to get yosys' stat command to return stats of submodules, or, for instance "do a select for all cells that originated from a specific verilog module 'foo' and count them"00:47
cr1901(cell overlap w/ other modules allowed, for the case where yosys reused cells between two modules after flattening)00:48
cr1901I did "run yosys on the constituent submodules alone and print stats for each one", but that doesn't tell the whole story for "where is the cell/LUT/FF usage highest in my design?"00:49
*** GenTooMan <[email protected]> has quit IRC (Remote host closed the connection)01:17
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys01:18
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has quit IRC (Ping timeout: 272 seconds)02:09
cr1901Answer to my question: 'submod -name "my_name" [selection]'. Then run "stat -json"02:10
cr1901yosys flattening preserves the original module name for all cells at least for Amaranth-generated Verilog; so a command like "submod -name submodule_name TopLevelModule/each_submodule_name.*" does the job. Idk if this applies in general02:14
*** skipwich <skipwich!~skipwich@user/skipwich> has quit IRC (Quit: DISCONNECT)03:01
*** skipwich <skipwich!~skipwich@user/skipwich> has joined #yosys03:02
*** GenTooMan <[email protected]> has joined #yosys03:06
*** whitequark[cis] <whitequark[cis]!whitequark@2a01:4f8:c012:5b7:0:1:0:4> has joined #yosys03:44
whitequark[cis]cr1901: that's not specific to Amaranth03:44
whitequark[cis]hdlname composition is done for everything03:44
cr1901I'm not selecting based on the hdlname attribute (and don't remember the syntax for selecting on attribute), but noted03:44
cr1901I wrote a script that calls yosys and tabulates resource usage by extracting the JSON from stats: http://gopher.wdj-consulting.com:70/paste/48ed014a-b038-44c0-a852-779a68180f16.txt03:52
cr1901(oh right, this depends on not-merged features of Amaranth (#904), so not useful to general public yet...)04:00
whitequark[cis]ah right05:26
*** corecode <[email protected]> has joined #yosys05:58
*** notgull <notgull!~notgull@2600:1f14:8f4:3100:e2a2:c920:847d:d23> has quit IRC (Ping timeout: 240 seconds)06:49
*** GenTooMan <[email protected]> has quit IRC (Ping timeout: 260 seconds)06:54
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has joined #yosys06:55
*** GenTooMan <GenTooMan!~cyberman@2601:547:437f:e5c6:21f:5bff:fefe:a883> has joined #yosys07:06
*** FabM <[email protected]> has joined #yosys07:09
*** notgull <notgull!~notgull@ec2-50-112-148-23.us-west-2.compute.amazonaws.com> has quit IRC (Ping timeout: 245 seconds)07:10
*** notgull <notgull!~notgull@2600:1f14:8f4:3100:e2a2:c920:847d:d23> has joined #yosys07:24
*** killjoy <killjoy!~nameless@user/killjoy> has quit IRC (Ping timeout: 252 seconds)09:04
*** killjoy <[email protected]> has joined #yosys09:04
*** lexano <[email protected]> has joined #yosys12:19
*** cr1901_ <cr1901_!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has joined #yosys13:31
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:9183:f2df:fbd6:ed9> has quit IRC (Read error: Connection reset by peer)13:33
*** ZipCPU <ZipCPU!~ZipCPU@2601:5cd:c200:63c0:1ac0:4dff:fe02:d4f0> has quit IRC (Ping timeout: 272 seconds)13:34
*** ZipCPU <[email protected]> has joined #yosys13:35
*** killjoy <killjoy!~nameless@user/killjoy> has quit IRC (Ping timeout: 260 seconds)13:48
*** cr1901_ is now known as cr190114:32
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 246 seconds)15:25
*** tokamak <tokamak!~Tokamak@2603:c020:4004:f00:59d7:d5e1:201e:845f> has quit IRC (Quit: ZNC 1.8.2+deb2build5 - https://znc.in)17:55
*** tokamak <[email protected]> has joined #yosys17:58
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 252 seconds)18:29
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys18:31
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Ping timeout: 252 seconds)18:36
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys18:37
*** ec <ec!~ec@gateway/tor-sasl/ec> has quit IRC (Remote host closed the connection)18:41
*** flokli <flokli!~flokli@2a01:4f8:261:11ce::1> has quit IRC (Quit: WeeChat 4.0.2)18:52
*** flokli <flokli!~flokli@2a01:4f8:261:11ce::1> has joined #yosys18:52
*** ec <ec!~ec@gateway/tor-sasl/ec> has joined #yosys18:53
*** tokamak <[email protected]> has quit IRC (Quit: ZNC 1.8.2+deb2build5 - https://znc.in)20:34
*** tokamak <[email protected]> has joined #yosys20:36
*** nonchip <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)22:18
*** nonchip <[email protected]> has joined #yosys22:18
*** lexano <[email protected]> has quit IRC (Ping timeout: 240 seconds)23:24
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has quit IRC (Remote host closed the connection)23:31
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has joined #yosys23:31
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has quit IRC (Remote host closed the connection)23:34
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has joined #yosys23:35
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has quit IRC (Remote host closed the connection)23:52
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has joined #yosys23:53
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has quit IRC (Remote host closed the connection)23:54
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has joined #yosys23:55
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has quit IRC (Remote host closed the connection)23:57
*** cr1901 <cr1901!~cr1901@2601:8d:8600:226:b44c:943b:9ebb:7478> has joined #yosys23:57

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