mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
feat(driver): BitScrambler support
This adds an assembler for the BitScrambler assembly language, plus unit tests for it. It also adds the loopback driver, which can do BitScrambler operations on memory-to-memory transfers. Documentation is also included.
This commit is contained in:
13
tools/test_bsasm/testcases/sanity.bsasm
Normal file
13
tools/test_bsasm/testcases/sanity.bsasm
Normal file
@@ -0,0 +1,13 @@
|
||||
#Example bitscrambler program. Does nothing but forward all bytes.
|
||||
|
||||
cfg trailing_bytes 0 #End program as soon as the input EOFs.
|
||||
cfg prefetch true #We expect M0/M1 to be filled
|
||||
cfg lut_width_bits 8 #Not really applicable here
|
||||
|
||||
loop:
|
||||
set 0..15 0..15,
|
||||
set 16..23 H,
|
||||
set 24..31 L,
|
||||
write 32,
|
||||
read 32,
|
||||
jmp loop
|
Reference in New Issue
Block a user