Clocking block

I cannot understand this term—>(sampling input signals and driving output signals).what does sampling and driving signals mean in systemverilog.

In reply to Shivansh Bhardwaj:

sampling - evaluating

driving - assigning

In reply to Shivansh Bhardwaj:

These terms are widely used throughout SystemVerilog.

Sampling means capturing the current value of a signal at some point in time for later use when the signal’s value may have already changed. In the case of a clocking block, sampling occurs on the clocking event (adjusted for input skew). You access the “sampled” value using clocking_block_name.signal_name.

Driving means giving a signal a value. Nets can have multiple continuous drivers each contributes to a resolved value. (e.g. A net driving 1 and Z results in a 1 value, driving a 1 and 0 results in an X value). A signal variable get driven by procedural assignments, and the last assignment becomes its value. A clocking block output chooses the kind of drive based on the signal being a net or variable.