|
| 1 | +CAPI=2: |
| 2 | +# Copyright lowRISC contributors (OpenTitan project). |
| 3 | +# Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 4 | +# SPDX-License-Identifier: Apache-2.0 |
| 5 | + |
| 6 | +name: "lowrisc:prim_asap7:all" |
| 7 | +description: "OpenSource ASAP7 prim standard cell library: prim_asap7:* modules directly |
| 8 | + instantiate standard cells. Memories and pad cells are not available and map to |
| 9 | + generic implementations" |
| 10 | + |
| 11 | +filesets: |
| 12 | + files_rtl: |
| 13 | + depend: |
| 14 | + - lowrisc:prim_asap7:and2 |
| 15 | + - lowrisc:prim_asap7:buf |
| 16 | + - lowrisc:prim_asap7:clock_buf |
| 17 | + - lowrisc:prim_generic:clock_div |
| 18 | + - lowrisc:prim_asap7:clock_gating |
| 19 | + - lowrisc:prim_asap7:clock_inv |
| 20 | + - lowrisc:prim_asap7:clock_mux2 |
| 21 | + - lowrisc:prim_asap7:flop |
| 22 | + - lowrisc:prim_generic:flop_2sync |
| 23 | + - lowrisc:prim_asap7:flop_en |
| 24 | + - lowrisc:prim_generic:pad_attr |
| 25 | + - lowrisc:prim_generic:pad_wrapper |
| 26 | + - lowrisc:prim_generic:ram_1p |
| 27 | + - lowrisc:prim_generic:ram_1r1w |
| 28 | + - lowrisc:prim_generic:ram_2p |
| 29 | + - lowrisc:prim_generic:rom |
| 30 | + - lowrisc:prim_generic:usb_diff_rx |
| 31 | + - lowrisc:prim_asap7:xnor2 |
| 32 | + - lowrisc:prim_asap7:xor2 |
| 33 | + - lowrisc:prim_asap7:flop_no_rst |
| 34 | +# Note that flash is a macro that depends on IPs, so they are not |
| 35 | +# included here. They must be brought in explicitly. |
| 36 | +# - lowrisc:prim_generic:flash |
| 37 | + |
| 38 | +mapping: |
| 39 | + "lowrisc:prim:and2" : "lowrisc:prim_asap7:and2" |
| 40 | + "lowrisc:prim:buf" : "lowrisc:prim_asap7:buf" |
| 41 | + "lowrisc:prim:clock_buf" : "lowrisc:prim_asap7:clock_buf" |
| 42 | + "lowrisc:prim:clock_div" : "lowrisc:prim_generic:clock_div" |
| 43 | + "lowrisc:prim:clock_gating" : "lowrisc:prim_asap7:clock_gating" |
| 44 | + "lowrisc:prim:clock_inv" : "lowrisc:prim_asap7:clock_inv" |
| 45 | + "lowrisc:prim:clock_mux2" : "lowrisc:prim_asap7:clock_mux2" |
| 46 | + "lowrisc:prim:flop" : "lowrisc:prim_asap7:flop" |
| 47 | + "lowrisc:prim:flop_2sync" : "lowrisc:prim_generic:flop_2sync" |
| 48 | + "lowrisc:prim:flop_en" : "lowrisc:prim_asap7:flop_en" |
| 49 | + "lowrisc:prim:pad_attr" : "lowrisc:prim_generic:pad_attr" |
| 50 | + "lowrisc:prim:pad_wrapper" : "lowrisc:prim_generic:pad_wrapper" |
| 51 | + "lowrisc:prim:ram_1p" : "lowrisc:prim_generic:ram_1p" |
| 52 | + "lowrisc:prim:ram_1r1w" : "lowrisc:prim_generic:ram_1r1w" |
| 53 | + "lowrisc:prim:ram_2p" : "lowrisc:prim_generic:ram_2p" |
| 54 | + "lowrisc:prim:rom" : "lowrisc:prim_generic:rom" |
| 55 | + "lowrisc:prim:usb_diff_rx" : "lowrisc:prim_generic:usb_diff_rx" |
| 56 | + "lowrisc:prim:xnor2" : "lowrisc:prim_asap7:xnor2" |
| 57 | + "lowrisc:prim:xor2" : "lowrisc:prim_asap7:xor2" |
| 58 | + "lowrisc:prim:flop_no_rst" : "lowrisc:prim_asap7:flop_no_rst" |
| 59 | + # Flash is a good canditate to be removed from the prims and become a macro like OTP. |
| 60 | + # TODO(#27042): When this is done, it should be removed from this mapping. |
| 61 | + "lowrisc:prim:flash": "lowrisc:prim_generic:flash" |
| 62 | + |
| 63 | +targets: |
| 64 | + default: |
| 65 | + filesets: |
| 66 | + - files_rtl |
0 commit comments