Commit dfa4265
committed
build: add bazel-orfs beta test for design builds
Adds Bazel-based design builds via bazel-orfs as a beta test alongside
the existing Make flow. Lets users build ORFS designs with Bazel using
the same config.mk files.
Key changes:
- MODULE.bazel: pin bazel-orfs at 78f19f25cec7 with yosys-slang plugin
for slang HDL frontend; pin tools/OpenROAD via local_path_override.
- flow/scripts/variables.yaml: register LIB_MODEL, MIN_CLK_ROUTING_LAYER,
SDC_FILE_EXTRA, SYNTH_NUM_PARTITIONS, MOCK_ALU_OPERATIONS, MOCK_ALU_WIDTH
so designs that use them pass bazel-orfs variable validation.
- flow/designs/**/BUILD.bazel: add orfs_design() entry points for all
public-PDK designs across asap7, sky130hd, sky130hs, nangate45, gf180,
ihp-sg13g2.
- flow/designs/src/**/BUILD.bazel: filegroup/exports_files for design
source trees referenced via VERILOG_FILES.
- flow/scripts/run_command.py: strip Bazel runfiles env vars before
spawning subprocesses so child make invocations don't inherit them.
- bazel-orfs.md: usage documentation, target conventions, working/blocked
designs, and known limitations.
Bumps tools/OpenROAD submodule to latest origin/master (26Q2-876-g45b7772b73)
for the openroad/qt-bazel/yosys-slang integration that the new bazel-orfs
relies on.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 10a2bae commit dfa4265
181 files changed
Lines changed: 6023 additions & 4014 deletions
File tree
- flow
- designs
- asap7
- aes-block
- aes-mbff
- aes_lvt
- aes
- cva6
- ethmac_lvt
- ethmac
- gcd-ccs
- gcd
- ibex
- jpeg_lvt
- jpeg
- minimal
- mock-alu
- mock-cpu
- riscv32i-mock-sram
- fakeram7_256x32
- riscv32i
- swerv_wrapper
- lef
- lib
- uart
- gf180
- aes-hybrid
- aes
- ibex
- jpeg
- riscv32i
- uart-blocks
- uart_rx
- ihp-sg13g2
- aes
- gcd
- i2c-gpio-expander
- I2cDeviceCtrl
- ibex
- jpeg
- riscv32i
- spi
- nangate45
- aes
- ariane133
- ariane136
- black_parrot
- bp_be_top
- bp_fe_top
- bp_multi_top
- bp_quad
- dynamic_node
- gcd
- ibex
- jpeg
- mempool_group
- swerv_wrapper
- swerv
- tinyRocket
- sky130hd
- aes
- chameleon
- gds
- lef
- gcd
- ibex
- jpeg
- microwatt
- gds
- lef
- lib
- riscv32i
- sky130hs
- aes
- gcd
- ibex
- jpeg
- riscv32i
- src
- aes
- ariane133
- ariane136
- ariane
- black_parrot
- bp_be_top
- bp_fe_top
- bp_multi_top
- bp_quad
- chameleon
- AHB_sys_0
- APB_sys_0
- IPs
- apb2i2c
- acc
- ibex
- models
- coyote
- cva6
- common
- local
- util
- core
- cache_subsystem
- hpdcache
- rtl
- include
- src
- common
- macros
- blackbox
- hwpf_stride
- utils
- cva6_mmu
- cvfpu
- src
- common_cells
- include
- fpu_div_sqrt_mvp
- hdl
- cvxif_example
- include
- frontend
- include
- pmp
- src
- vendor
- pulp-platform
- axi
- src
- common_cells
- src
- tech_cells_generic
- src
- rtl
- dynamic_node
- ethmac
- fifo
- gcd
- ibex_sv
- syn
- rtl
- vendor
- lowrisc_ip
- prim
- rtl
- jpeg
- include
- mempool_group
- rtl
- axi
- src
- cluster_interconnect
- rtl
- tcdm_interconnect
- variable_latency_interconnect
- common_cells
- src
- deprecated
- mempool
- register_interface
- include
- register_interface
- snitch
- src
- snitch_icache
- tech_cells_generic
- src
- rtl
- microwatt
- IPs
- mock-alu
- mock-array
- riscv32i
- spi
- swerv
- tinyRocket
- uart-no-param
- uart
- scripts
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
8 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
9 | 33 | | |
10 | 34 | | |
11 | 35 | | |
12 | 36 | | |
13 | | - | |
14 | | - | |
| 37 | + | |
| 38 | + | |
15 | 39 | | |
16 | 40 | | |
17 | | - | |
18 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
19 | 69 | | |
20 | 70 | | |
21 | 71 | | |
| |||
32 | 82 | | |
33 | 83 | | |
34 | 84 | | |
35 | | - | |
36 | | - | |
37 | 85 | | |
38 | | - | |
39 | | - | |
40 | 86 | | |
41 | 87 | | |
42 | 88 | | |
43 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
44 | 113 | | |
45 | | - | |
46 | | - | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments