o1553_bm¶
Bus monitor of Open1553 (MIL-STD-1553B 4.4.4, 4.6.3; ECSS-E-ST-50-13C 6.3): it reconstructs the messages of both buses of the dual-redundant bus from their words and timing and writes one record per message, per word outside a message and per line activity without a word into a ring in the buffer memory, selected by a filter table per RT address, T/R bit and subaddress (BM-1). It never transmits; it runs alone or beside the remote terminal.
| Document | Content |
|---|---|
| specification.md | Requirements, waits and their bounds |
| architecture.md | Blocks, ports, records and filter table in the buffer memory, tracker state machine, timing |
| verification_plan.md | Test cases |
| verification_report.md | Results, timing checks, functional coverage, generic ranges, checks of the testbench |
Tests¶
The testbench needs the libraries of the repository (Open Logic, UVVM, VUnit) and GHDL or QuestaSim, see the repository README.
python run.py -p 2 "*o1553_bm_tb*" # all test cases in all configurations
python run.py -v "*o1553_bm_tb.c16.test_formats" # one test case in one configuration
| File | Content |
|---|---|
tb/o1553_bm_tb.vhd |
Test sequence: the test cases TC-BM-01 to TC-BM-17 |
tb/o1553_bm_th.vhd |
Harness: clock, the BM with o1553_codec, the bus model of both buses, the memory model, the time base, the logs of the BM outputs |
tb/o1553_bm_tb_pkg.vhd, tb/o1553_bm_tb_var_pkg.vhd |
Signals between sequence and harness, memory model with its regions, error injection, wait modes and write times, log of the events of the BM |
tb/vunit_config.py |
Configurations c100, c16, c16_s4, c400, c100_l1, c100_l8 and c16_l8 (verification plan, section 2) |
../../tb/o1553_tb_bus*.vhd |
Bus model shared by the testbenches of the repository: words, faults, timing deviations, line activity without a sync |