Open badeaa3 opened 3 months ago
From Ben a summary of the steps to test the Scanchain
:
This corresponds to Figure 8 from the test manual:
BxCLK
= 10MHz - 40MHzReset_not
to pulse low to reset the registers in the chip (not the registers in the FW)scanIn
to pulse high for at least a BxCLK
cycle. scanIn
should go high at the falling edge of BxCLK
, and go low again at the next rising edge.BxCLK
cycle and scanOut
will pulse high for a single clock cycle. scanOut
comes from v0 or v1 chip.Comments:
scanIn
data through the entire 676 Scanchain
registersScanchain
to output the pixel data. Scanchain
and push it out in the scanOut
. This is more complicatedSection 9 describes how to connect the scope to a computer https://www.rftesolutions.com/pdf/oscilloscopes/DSO6012A--Users_Guide.pdf
FW notes:
hex code = 4'h2, 4'h2, 11'h0, 1'h0, 1'h0, 5'h4, 6'hA
First byte
Other 3 bytes:
verify that we can read the register from sw_read32_0
and sw_read32_1
. The 3 bytes stored in here should match the least significant (LSB) 3 bytes from sw_write32_0
Every clock cycle create 768 bits and read it out every clock cycle
fw_ipx_wrap_tb
execute OP code, the last three bytes = test delay, sample, number, loopback
Test 1
Expectation: we should see pulses of various shapes from the scan_in pin 23 on the scope Result: we do not see any pulses
Test 2
assign reg_rddin[1] = 32'h12345678
and we tried to read back sw_read32_0 from the memory mapResult: we still read back 0 Thoughts: this sounds like the memory map is wrong
Goals:
Scanchain