Code Monkey home page Code Monkey logo

sem-ip_pynq's Introduction

SEM-IP-PYNQ

This repo contains a basic test for SEM (Soft Error Mitigation) IP for PYNQ.

Structure

SEM IP.ipynb: jupyter notebook
bits : Bitstream folder
img : Image folder
prj : Vivado project tcl
src : Source folder (AXI uartlite class)

Block Diagram

Figure 1. Block Diagram

Here we can see the diagram for this bitstream. It consists in: AXI GPIO, AXI Uartlite and SEM IP.

SEM_IP

  1. The sem_ip module can communicate with the ZYNQ using the AXI Uartlite block.
  2. The status bits are showed in PYNQ-Z2 board leds.
    • led[0] = SEM Injection status
    • led[1] = SEM Initialization status
    • led[2] = SEM ICAP Enable

AXI_GPIO

Controls the ICAP_GRANT signal from SEM_IP. If I put a logic 1. SEM_IP will start.

AXI_UARTLITE

Controls the communication between SEM_IP and PS.

ICAP and PCAP (Xilinx application note PG036, Page 57)

During boot of the Zynq-7000 Processing System (PS), access to the configuration logic in the device is given to the PS through the processor configuration access port (PCAP). This provides a path for the PS bootloader to download a bitstream to the Zynq-7000 Programmable Logic (PL). When the PS bootloader completes, the PS and PCAP remain in control of the configuration logic to support partial reconfiguration of the PL by the PS.

However, while the PS and PCAP are in control of the configuration logic, the PL and ICAP are locked out of the configuration logic. In order for the controller to function, configuration logic access must be transferred to the ICAP. This is accomplished by clearing PCAP_PR (bit 27) in the PS device configuration control register (DEVCFG CTRL, address 0xF8007000).

Figure 2. ICAP Controller

sem-ip_pynq's People

Contributors

kuoyaoming93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sem-ip_pynq's Issues

SEM IP on ultrascale boards

Dear @kuoyaoming93

I am trying to do fault injection via sem ip on ultrascale boards on pynq 2.6 but i cannot access the pcap registers via pynq os and i cannot access because csu registers are blacklisted registers. I would like to know which version of pynq image you have used for the experiment. Kindly let me know it would be really helpful.

Kind Regards,
Harish

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.