[hw/ip] Update references to data
All references which point to `doc` contain now `data`.
Fixes lowrisc/opentitan#256
diff --git a/util/topgen/lib.py b/util/topgen/lib.py
index 9463d76..c9526aa 100644
--- a/util/topgen/lib.py
+++ b/util/topgen/lib.py
@@ -24,9 +24,9 @@
def search_ips(ip_path): # return list of config files
# list the every hjson file
- p = ip_path.glob('*/doc/*.hjson')
+ p = ip_path.glob('*/data/*.hjson')
- # filter only ip_name/doc/ip_name{_reg|''}.hjson
+ # filter only ip_name/data/ip_name{_reg|''}.hjson
ips = [x for x in p if is_ipcfg(x)]
log.info("Filtered-in IP files: %s" % repr(ips))