Skip to content

o1553_codec

Bus interface of Open1553 (MIL-STD-1553B 4.3.3, 4.4.1, 4.6.3): Manchester II encoder with the command/status and data syncs (CD-2), one decoder per bus with word validation, reference crossing timing and contiguity (CD-3), the transceiver interface with the input synchronisers (CD-1), the fail-safe timers (CD-4), the transmission monitor (CD-5) and the bus selector of the dual-redundant bus (CD-6).

Document Content
specification.md Requirements
architecture.md Blocks, ports, state machines, 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_codec*"            # all test cases in all configurations
python run.py -v "*o1553_codec*c16.test_decode_tolerance"   # one test case in one configuration
python lint/synth_check.py                    # GHDL synthesis at the ends of the clock range (after run.py --compile)
File Content
tb/o1553_codec_tb.vhd Test sequence: the test cases TC-CD-01 to TC-CD-21
tb/o1553_codec_th.vhd Harness: clock, the codec, the bus model of both buses and the event log
tb/o1553_codec_tb_pkg.vhd, tb/o1553_codec_tb_var_pkg.vhd Signals between sequence and harness, event log
tb/vunit_config.py Configurations c100, c16, c400, c100_s3 and c100_s4 (verification plan, section 2)
../../tb/o1553_tb_bus*.vhd Bus model shared by the testbenches of the repository: words, faults, timing deviations, echo