kivikakk has quit [Remote host closed the connection]
kivikakk has joined #yosys
kivikakk has quit [Ping timeout: 250 seconds]
dnm_ has quit [Ping timeout: 250 seconds]
dnm_ has joined #yosys
kivikakk has joined #yosys
kivikakk has quit [Ping timeout: 250 seconds]
kivikakk has joined #yosys
so-offish has joined #yosys
<so-offish>
How do I add an attributes to a cell, such that I can use Python to place them?
<so-offish>
there's a bit of Python in Claire's presentation: if "ringosc" in cellinfo.attrs: -> how do I add an attribute like that?
FabM has quit [Ping timeout: 264 seconds]
gdd has quit [Ping timeout: 276 seconds]
<so-offish>
I figured out where that bit of code (in Claire's presentation) was from - it was from an ice40 example of floorplanning. I'm investigating now (this is just so if anyone looks at the log later)
<jix_>
so-offish: that "(* ringosc *)" is the standard verilog syntax for an attribute, or are you asking how to add attributes that are not already in the source?
<so-offish>
Honestly I didn't know that - I've only used attributes that had some effect in synthesis/routing, I had no idea you could just make your own attribute up and pass it to the back end (say for placement)
<so-offish>
jix_ sorry forgot to add your name to the start
<so-offish>
jix_ Like I didn't know you could do (* my_special_block *) and then do something with it. :)
<jix_>
yeah I wasn't sure whether you knew and were asking for something different or not, which is why I did explicitly mention that this is standard syntax :)
<so-offish>
jix_: Thank you for taking the time to clarify, I appreciate it. :)
gdd has joined #yosys
<so-offish>
It was a good day for ECP5 ring oscillators.