Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

3.7.4.2.3. Add a Custom Pattern Checker

The custom pattern checker performs the opposite operation of the custom pattern generator. It has a streaming input interface, st_pattern_input, that accepts data from the one-to-two streaming demultiplexer. The processor uses the Avalon-MM csr slave interface to control the component. The custom packet checker also has a memory-mapped slave interface, pattern_access, that the processor uses to program the same patterns as the custom pattern generator component.
  1. In the IP Catalog, expand Memory Test Microcores, and then double-click Custom Pattern Checker.
  2. In the parameter editor, accept the default parameters, and then click Finish.
  3. Rename the instance to custom_pattern_checker.
  4. Set the custom_pattern_checker clock to clk_0.
  5. Connect the custom_pattern_checker csr interface to the mm_bridge m0 interface.
  6. Connect the custom_pattern_checker pattern_access interface to the mm_bridge m0 interface.
  7. Assign the custom_pattern_checker csr interface to a base address of 0x0420.
  8. Maintain the custom_pattern_checker pattern_access interface base address of 0x0000.