Skip to content

Commit 5fa046b

Browse files
author
Tim 'mithro' Ansell
committed
Add ql_dsp_macc pmgen target.
Signed-off-by: Tim 'mithro' Ansell <[email protected]>
1 parent 7d678bb commit 5fa046b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dependency_support/at_clifford_yosys/bundled.BUILD.bazel

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ GENERATED_HEADERS = [
123123
"passes/pmgen/xilinx_dsp_pm.h",
124124
"passes/pmgen/xilinx_dsp48a_pm.h",
125125
"passes/pmgen/xilinx_srl_pm.h",
126+
"techlibs/quicklogic/ql_dsp_macc_pm.h",
126127
]
127128

128129
YOSYS_COPTS = [
@@ -196,6 +197,7 @@ cc_library(
196197
"frontends/rtlil",
197198
"passes/techmap",
198199
"techlibs/common",
200+
"techlibs/quicklogic",
199201
],
200202
deps = [
201203
":bigint",
@@ -483,6 +485,18 @@ genrule(
483485
],
484486
)
485487

488+
genrule(
489+
name = "ql_dsp_mac_pm_h",
490+
srcs = [
491+
"techlibs/quicklogic/ql_dsp_macc.pmg",
492+
],
493+
outs = ["techlibs/quicklogic/ql_dsp_macc_pm.h"],
494+
cmd = "$(location :pmgen) -o $(OUTS) -p ql_dsp_macc $(SRCS)",
495+
tools = [
496+
":pmgen",
497+
],
498+
)
499+
486500
[genrule(
487501
name = "%s_pm_h" % pm,
488502
srcs = [

0 commit comments

Comments
 (0)