o1553_bc¶
Bus controller of Open1553 (MIL-STD-1553B 4.3.3.6, 4.3.3.7, 4.3.3.9, 4.4.2, 30.4.2.2; ECSS-E-ST-50-13C 6, 7, 8): the frame scheduler with communication frames, frame and time synchronization messages and the tick of the on-board time master (BC-1), the message processor with message lists in the buffer memory, all message formats, the response validation, the data exchange, results and event records and the profile check (BC-2), and the rules of the time message (BC-3).
| Document | Content |
|---|---|
| specification.md | Requirements, waits and their bounds |
| architecture.md | Blocks, ports, bus profile in the buffer memory, 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_bc_tb*" # all test cases in all configurations
python run.py -v "*o1553_bc_tb.c16.test_timing" # one test case in one configuration
python lint/synth_check.py # GHDL synthesis (after run.py --compile)
| File | Content |
|---|---|
tb/o1553_bc_tb.vhd |
Test sequence: the test cases TC-BC-01 to TC-BC-24 |
tb/o1553_bc_th.vhd |
Harness: clock, the BC with o1553_codec, the bus model of both buses, the remote terminal model, the memory model, the time base, the log of the BC outputs and of the word events |
tb/o1553_bc_tb_pkg.vhd, tb/o1553_bc_tb_var_pkg.vhd |
Signals between sequence and harness, memory model with error injection, ownership and publication check, log of the BC outputs |
tb/vunit_config.py |
Configurations c100, c16, c16_s4, c400, c100_l1, c100_l8 and c100_open (verification plan, section 2) |
../../tb/o1553_tb_rt*.vhd |
Remote terminal model shared by the testbenches: up to 31 addresses, buffers per subaddress, status bits, response time and faults |
../../tb/o1553_tb_bus*.vhd |
Bus model shared by the testbenches of the repository: words, faults, timing deviations, echo |