From f47a7a3b76716f1b83fe3d06ae27e8032736eb5c Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sun, 8 Nov 2020 13:46:36 +0100 Subject: parallel: add test case for parallel PD on SQI traffic The parallel decoder can also be used to interpret SQI communication. Using the chip select as the reset/enable signal increases robustness. Implement a test case to cover this recently added decoder feature. --- decoder/test/parallel/test.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'decoder/test/parallel/test.conf') diff --git a/decoder/test/parallel/test.conf b/decoder/test/parallel/test.conf index 1c650bb..1e751a4 100644 --- a/decoder/test/parallel/test.conf +++ b/decoder/test/parallel/test.conf @@ -26,3 +26,9 @@ test hd44780_word_demux protocol-decoder parallel channel clk=3 channel d0=4 channel d1=5 channel d2=6 channel d3=7 option clock_edge=falling option wordsize=2 option endianness=big input display/hd44780/hd44780-reset-init-hello.sr output parallel annotation match hd44780_word_demux.output + +test spi_sqi_four_lines_one_xfer + protocol-decoder parallel channel clk=2 channel d0=4 channel d1=5 channel d2=6 channel d3=7 channel rst=3 option clock_edge=rising option reset_polarity=high-active option wordsize=2 option endianness=big + input spi/sqi/sqi-four-data-lines-one-transfer.sr + output parallel annotation match spi_sqi_four_lines_three_transfers.output + output parallel python match spi_sqi_four_lines_one_xfer.python -- cgit v1.2.3-54-g00ecf