F09 | Completion counts Icarus Verilog version 12.0 (stable) () Yosys 0.33 (git sha1 2584903a060) Run: bash run.sh in the extracted lab. [counter] E0 rst_n=0 take=0 count=x->0 last=0 wrong=0 target1=0 target3=0 E1 rst_n=1 take=1 count=0->1 last=0 wrong=1 target1=1 target3=1 E2 rst_n=1 take=0 count=1->1 last=0 wrong=2 target1=1 target3=1 E3 rst_n=1 take=1 count=1->2 last=0 wrong=3 target1=1 target3=2 E4 rst_n=1 take=0 count=2->2 last=0 wrong=4 target1=1 target3=2 E5 rst_n=1 take=1 count=2->3 last=0 wrong=4 target1=1 target3=3 E6 rst_n=1 take=1 count=3->4 last=1 wrong=4 target1=1 target3=3 E7 rst_n=1 take=1 count=4->4 last=0 wrong=4 target1=1 target3=3 E8 rst_n=0 take=1 count=4->0 last=0 wrong=0 target1=0 target3=0 PASS 9 edges for targets 1, 3, 4 NEGATIVE CONTROL cycle counter completes at E4 and diverges from E2 to E5 [Generic netlist] { "1": { "count_width": 1, "generic_cells": { "$add": 1, "$logic_and": 3, "$not": 1, "$sdffe": 1 } }, "3": { "count_width": 2, "generic_cells": { "$add": 1, "$eq": 1, "$logic_and": 3, "$ne": 1, "$sdffe": 1 } }, "4": { "count_width": 3, "generic_cells": { "$add": 1, "$eq": 1, "$logic_and": 3, "$ne": 1, "$sdffe": 1 } } } Directed RTL tests for targets 1, 3 and 4, a cycle-counting negative control, and generic count-register widths. Archive SHA-256: 5b0f3b004af1237b88cfa34422b46331ef1dcbdc3e83cf21f913cf58017c18ca