[tlgen] Fabric multi-clock support
Add the ability for fabric to support multiple clocks and resets.
There is currently no defined relationship between clocks, so
anything that is different is treated as asynchronous. This can be
improved in the future.
Signed-off-by: Timothy Chen <timothytim@google.com>
diff --git a/util/tlgen/generate.py b/util/tlgen/generate.py
index 8b21d9c..094aea5 100644
--- a/util/tlgen/generate.py
+++ b/util/tlgen/generate.py
@@ -2,6 +2,7 @@
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
+import logging as log
from mako import exceptions
from mako.template import Template
from pkg_resources import resource_filename
@@ -10,6 +11,7 @@
from .xbar import Xbar
+
def generate(xbar): #xbar: Xbar -> str
"""generate uses elaborated model then creates top level Xbar module
with prefix.