Skip to content

Commit f057524

Browse files
add readme info
1 parent f324a41 commit f057524

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ but if you want to see a list of all available buck2 targets you can do: `buck2
9696
To run a simulation, pick one of the testbench targets and `buck2 run <target>` you may do
9797
`-- <vunit args>` if you need to pass arguments into VUnit.
9898

99+
### running all sims or sim regressions
100+
We can use the build system to query for vunit simulation testbenches and have built a .bxl
101+
that does this and gives you the command line options to run each one found:
102+
103+
`buck2 bxl //tools/vunit-sims.bxl:vunit_sim_gen`
104+
105+
If you'd like to run a regression run like the build machine does, you can pipe that into split
106+
and use the shell to execute each line:
107+
108+
`buck2 bxl //tools/vunit-sims.bxl:vunit_sim_gen | while IFS= read -r line; do eval "$line" ; done`
109+
110+
99111
## multitool
100112
multitool is a collection of quality of live utilities built in-tree for regular use, but whose
101113
function is small enough to not warrant a self-contained project.

0 commit comments

Comments
 (0)