FW: [sv-ac] Errata in section 17, checker

From: Bresticker, Shalom <shalom.bresticker@intel.com>
Date: Thu May 10 2012 - 22:22:03 PDT

From: Ben Cohen [mailto:hdlcohen@gmail.com]
Sent: Friday, May 11, 2012 00:54
To: sv-ac@eda-stds.org; Korchemny, Dmitry; stuart@sutherland-hdl.com; Bresticker, Shalom
Subject: [sv-ac] Errata in section 17, checker

Here is a list of needed fixed. Did not file a mantis. Will do one if needed.
Those are minor, and may be handled by Stuart directly.
17.3 Checker instantiation
...
module m(wire bus, logic clk);
...
On each rising edge of clk the bits of bus are checked for mutual exclusion
[Ben] bus is defined as a single bit, thus to states that "the bits of bus" is incorrect.
Change needed:
module m(wire[31:0] bus, logic clk);
-------------------------
17.4 Context inference
checker check_in_context (logic test_sig,
       event clock = $inferred_clock,
       logic reset = $inferred_disable);
...
module m(logic rst);
  wire clk;
  logic a, en;
  wire b = a && en;
  // No context inference
   check_in_context my_check1(.test_sig(b), .clock(clk), .reset(rst));
[Ben] I think that the intent here was for the clocking event to be posedge clk and not clk
Change needed
check_in_context my_check1(.test_sig(b), .clock(posedge clk), .reset(rst));
---------------------
17.5 Checker procedures
checker clocking_example (logic sig1, sig2, default_clk, rst,
        event e1, e2, e3 );
   ..
    always @(e1) begin: p1_block
  ..
    always @(e2 or e3) begin: p2_block
    ...
    always @(rst or e3) begin: p3_block
   ..
  [Ben] The "always" is illegal in a checker. We need the always_ff
Change to
always_ff @(e1) begin: p1_block
always_ff @(e2 or e3) begin: p2_block
always_ff @(rst or e3) begin: p3_block

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu May 10 22:22:57 2012

This archive was generated by hypermail 2.1.8 : Thu May 10 2012 - 22:22:58 PDT