[otbn] A script to generate binaries for UVM tests
[otbn] A script to generate binaries for UVM tests

We still haven't figured out how to wire this up to the dvsim flow,
but this script does the "make me some binaries" step.

An example of how to use it (slightly complicated because of dvsim's
per-branch directory scheme):

  cur_branch="$(git rev-parse --abbrev-ref HEAD)"
  sw_dest_dir="scratch/otbn.sim.vcs/$cur_branch/sw"

  hw/ip/otbn/dv/uvm/gen-binaries.py --seed 1234 "$sw_dest_dir"
  util/dvsim/dvsim.py hw/ip/otbn/dv/uvm/otbn_sim_cfg.hjson -i otbn_single

Signed-off-by: Rupert Swarbrick <290093e2ad2515ed2f14d749293c8cf8e02ca274@lowrisc.org>

lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan,lowRISC/opentitan