blob: 05a8bcfbd8f3fb878ba43ecac90d4fb95a5511a6 [file] [log] [blame]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
load("@rules_python//python:defs.bzl", "py_library")
load("@ot_python_deps//:requirements.bzl", "requirement")
package(default_visibility = ["//visibility:public"])
py_library(
name = "ipgen",
srcs = [
"__init__.py",
"lib.py",
"renderer.py",
],
deps = [
"//util/reggen:gen_rtl",
"//util/reggen:lib",
"//util/reggen:params",
requirement("hjson"),
requirement("mako"),
],
)
py_test(
name = "test_render",
srcs = ["tests/test_render.py"],
deps = [
":ipgen",
requirement("pytest"),
],
)