What do the SLICE settings LSR_OVER_CE and ASYNC mean in Radiant Physical View?

What do the SLICE settings LSR_OVER_CE and ASYNC mean in Radiant Physical View?

When a placed design is inspected in Radiant Physical View, the SLICE register shows a setting with the value LSR_OVER_CE or ASYNC. What do these values mean, and how are they selected?

How the mode is selected

The register type is inferred by synthesis based on the RTL reset style, and PAR configures the SLICE SRMODE to match:

RTL reset styleExample RTLSLICE SRMODE after PAR
Synchronousalways @(posedge clk) with if (rst)LSR_OVER_CE
Asynchronousalways @(posedge clk or posedge rst) with if (rst)ASYNC

To obtain a particular mode, the register is written with the corresponding reset style in the RTL.

Behavior of each mode

The following behavior was confirmed by a self-checking testbench, simulated on both the RTL and the post-route netlist with SDF timing back-annotation:

ScenarioLSR_OVER_CE (synchronous)ASYNC (asynchronous)
Reset asserted between clock edges, CE highClears at the next clock edgeClears immediately
Reset asserted while CE is lowStill clears at the next clock edgeClears immediately
Short reset pulse that does not span a clock edgePulse is ignoredClears

Where the setting can be found

  • Physical View: the setting is shown in the SLICE register properties after PAR.
  • Post-PAR database (.udb): the setting is stored here (not readable plain text).
  • Post-route netlist (.vo): the setting is shown as the parameter ASYNC on the SLICEREG primitive:
    • SRMODE = LSR_OVER_CE corresponds to defparam <inst>.ASYNC = "NO";
    • SRMODE = ASYNC corresponds to defparam <inst>.ASYNC = "YES";

Example design

The following design places both modes in one top level. Both counters share one clock, reset and clock enable.

// Synchronous reset: SLICE SRMODE = LSR_OVER_CE
module sync_rst_cnt (input clk, input rst, input ce, output reg [7:0] q);
always @(posedge clk) begin
if (rst) q <= 8'd0;
else if (ce) q <= q + 8'd1;
end
endmodule

// Asynchronous reset: SLICE SRMODE = ASYNC
module async_rst_cnt (input clk, input rst, input ce, output reg [7:0] q);
always @(posedge clk or posedge rst) begin
if (rst) q <= 8'd0;
else if (ce) q <= q + 8'd1;
end
endmodule

module top (input clk, input rst, input ce,
output [7:0] q_sync, output [7:0] q_async);
sync_rst_cnt u_sync (.clk(clk), .rst(rst), .ce(ce), .q(q_sync));
async_rst_cnt u_async (.clk(clk), .rst(rst), .ce(ce), .q(q_async));
endmodule

After synthesis, map and PAR, the SLICEs used by u_sync (LSR_OVER_CE) and u_async (ASYNC) can be inspected in Physical View, or the post-route netlist .vo can be searched for ASYNC = .

Summary

The setting is SRMODE, the SLICE register reset mode. It determines how the SLICE local set/reset (LSR) is applied to the register:

  • LSR_OVER_CE: the LSR is synchronous. It is applied only at a clock edge and takes priority over the clock enable (CE), so the register resets at the next edge even when CE is low.
  • ASYNC: the LSR is asynchronous. It acts immediately, independent of the clock and CE.

The mode is not set by a user constraint. It is inferred based on the RTL reset style, and PAR configures the SLICE to match.