How to exclude standard cells from obfuscator

9 views
Skip to first unread message

Yaswanth Puvvada

unread,
Apr 1, 2025, 4:06:08 PM4/1/25
to Verible Users
Hi,
I am trying to obfuscate structural verilog code using verible-obfuscate . Preserve-interface option is preserving the name of intermediate modules but not of standard cells.  Is there a way to exclude standard cell names from obfuscation. 

Thanks.

David Fang

unread,
Apr 1, 2025, 4:19:33 PM4/1/25
to Yaswanth Puvvada, Verible Users
One way to preserve a set of identifiers is to pass a file to `--load_map` that contains the ones you want to preserve.
You just have to write the identifier twice on the same line.  This could be generated from a list of known standard cells.

--
You received this message because you are subscribed to the Google Groups "Verible Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to verible-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/verible-users/f08c93c6-23e2-4f88-8ae9-a50a08b5c9c1n%40googlegroups.com.

Yaswanth Puvvada

unread,
Apr 1, 2025, 4:31:45 PM4/1/25
to Verible Users
Thanks a lot David. That worked. Extending the idea:  we should also provide the pin names of standard cells in the load_map so that the pin names are preserved as well.
Reply all
Reply to author
Forward
0 new messages