Heading3 - sr_assertion, Heading3 - verilog instantiation template, Table – Achronix Speedster22i User Macro Guide User Manual

Page 89

Advertising
background image

Registers

DFFNES

Speedster22i Macro Cell Library

Achronix Semiconductor Proprietary

PAGE 73

sr_assertion

The  sr_assertion  parameter  defines  the  behavior  of  the  output  when  the  sn  set  input  is 
asserted.  Assigning the sr_assertion to “unclocked” results in an asychronous assertion of the 
set  signal,  where  the  q  output  is  set  to  one  upon  assertion  of  the  active‐low  set  signal. 
Assigning  the  sr_assertion  to  “clocked”  results  in  a  synchronous  assertion  of  the  set  signal, 
where the q output is set to one at the next falling edge of the clock.  The default value of the 
sr_assertion parameter is “unclocked”.

Table 2-36: DFFNES Function Table when sr_assertion = “unclocked”

Inputs

Output

sn

ce

d

ckn

q


Table 2-37: DFFNES Function Table when sr_assertion = “clocked”

Inputs

Output

sn

ce

d

ckn

q


Verilog Instantiation Template

DFFNES #(.init(1’b1),
.sr_assertion(“unclocked”))
instance_name
(.q(user_out),
.d(user_din),
.sn(user_set),
.ce(user_clock_enable),
.ckn(user_clock));

0

X

X

X

1

1

0

X

X

Hold

1

1

0

0

1

1

1

1

0

X

X

1

1

0

X

X

Hold

1

1

0

0

1

1

1

1

Advertising