AN 704: FPGA-based Safety Separation Design Flow for Rapid Functional Safety Certification

ID 683720
Date 9/01/2018
Public
Document Table of Contents

Creating a Safety IP partition for the PWM Interface Component

  1. In the Project Navigator, expand the DOC_Single_Axis_FE2H_CVE:u_doc hierarchy
  2. Select the entity DOC_Single_Axis_FE2H_CVE_drive0:drive0 > ssg_emb_pwm:doc_pwm
  3. Right-click and select Design Partition > Set as Design Partition.
  4. Confirm a partition icon appears next to the doc_pwm entity.
  5. Open the Design Partition Window:
    1. In the Project Navigator, select the entity DOC_Single_Axis_FE2H_CVE_drive0:drive0 > ssg_emb_pwm:doc_pwm
    2. Right-click and select Design Partition > Design Partition Window.
  6. Ensure you strictly preserve the design partition, as required by the safety separation flow
    1. In the Design Partition Window, right-click the ssg_emb_pwm:doc_pwm partition and select Design Partition Properties…
    2. Set the partition netlist type to Post-Fit.
    3. On the Strict Preservation tab, turn on Allow partition to be strictly preserved for safety.
    4. On the Advanced tab set the "Fitter Preservation Level" to "Placement and Routing"
  7. Add the following assignments to the .qsf file, to set the pin assignment.
    set_instance_assignment -name ENABLE_STRICT_PRESERVATION ON -to drive0_pwm_u_h -section_id "ssg_emb_pwm:doc_pwm"
    
    set_instance_assignment -name ENABLE_STRICT_PRESERVATION ON -to drive0_pwm_u_l -section_id "ssg_emb_pwm:doc_pwm"
    
    set_instance_assignment -name ENABLE_STRICT_PRESERVATION ON -to drive0_pwm_v_h -section_id "ssg_emb_pwm:doc_pwm"
    
    set_instance_assignment -name ENABLE_STRICT_PRESERVATION ON -to drive0_pwm_v_l -section_id "ssg_emb_pwm:doc_pwm"
    
    set_instance_assignment -name ENABLE_STRICT_PRESERVATION ON -to drive0_pwm_w_h -section_id "ssg_emb_pwm:doc_pwm"
    
    set_instance_assignment -name ENABLE_STRICT_PRESERVATION ON -to drive0_pwm_w_l -section_id "ssg_emb_pwm:doc_pwm"