o1553_rt¶
Remote terminal of Open1553 (MIL-STD-1553B 4.3.3.6, 4.3.3.8, 4.4.3, 30; ECSS-E-ST-50-13C 6, 7, 8): the message sequencer with command validation, all message formats, data word validation, superseding commands and the response time (RT-1), the status registers (RT-2), the mode code handler (RT-3), the buffer access to the subaddress buffers, the illegal command tables and the event log (RT-4), the address straps (RT-5) and the ECSS services: time, frame number, RT health and data wrap-around (RT-6).
| Document | Content |
|---|---|
| specification.md | Requirements |
| architecture.md | Blocks, ports, memory map, state machine, timing |
| verification_plan.md | Test cases |
| verification_report.md | Results, measured timing, 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_rt_tb*" # all test cases in all configurations
python run.py -v "*o1553_rt_tb.c16.test_response_time" # one test case in one configuration
python lint/synth_check.py # GHDL synthesis (after run.py --compile)
| File | Content |
|---|---|
tb/o1553_rt_tb.vhd |
Test sequence: the test cases TC-RT-01 to TC-RT-21 |
tb/o1553_rt_th.vhd |
Harness: clock, the RT with o1553_codec, the bus model of both buses, the memory model, the host roles of the event log pointer and the time base, the log of the RT outputs |
tb/o1553_rt_tb_pkg.vhd, tb/o1553_rt_tb_var_pkg.vhd |
Signals between sequence and harness, memory map, memory model with error injection and ownership check, log of the RT outputs |
tb/vunit_config.py |
Configurations c100, c16, c16_s4, c400, c100_l1 and c100_l8 (verification plan, section 2) |
../../tb/o1553_tb_msg_pkg.vhd |
Bus controller helpers shared by the testbenches: command and status words, messages, the words of the core |
../../tb/o1553_tb_bus*.vhd |
Bus model shared by the testbenches of the repository: words, faults, timing deviations, echo |