printattrs - print attributes of selected objects

yosys> help printattrs
printattrs [selection]
Print all attributes of the selected objects.