{
  "lesson": "F09 | Completion counts",
  "tools": {
    "simulator": "Icarus Verilog version 12.0 (stable) ()",
    "synthesis": "Yosys 0.33 (git sha1 2584903a060)"
  },
  "command": "bash run.sh",
  "scope": "Directed RTL tests for targets 1, 3 and 4, a cycle-counting negative control, and generic count-register widths.",
  "synthesis": {
    "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
      }
    }
  },
  "observations": {
    "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"
    ]
  },
  "sha256": {
    "README.md": "77099173f168425ea3a80726bc8f2ed79a1bec8dec5ecb6bf36fa314c2e7b7a4",
    "recorded/counter-1.json": "056d2bf872535d71438ba6ee643d76418ae27c62df084d425c1405dd0268b4de",
    "recorded/counter-1.synth.log": "07860c77f6968865cab1cb3def4986019609efcf778f894d3c2bb7c484691f83",
    "recorded/counter-3.json": "63d50e6179dfb8ebb47290fcb645c1d51a693cbb16176f131ba9f62a4f1b3811",
    "recorded/counter-3.synth.log": "146782493be601f4d335229cdaf57167c973e8caebf82acf5d08e439c28b175f",
    "recorded/counter-4.json": "bbd53175fa3462d5070526b89bf9013c4e1c77842c819d0839f95a8226fb6acb",
    "recorded/counter-4.synth.log": "04a0f993d50e1db92addeaad9689a81c0c51ddebd65431d3be5de5478ce03e8c",
    "recorded/counter.log": "167b22d58285c1ecefcdca8d3367a8dd698c992c09ee8856a68a808dd452505c",
    "recorded/counter.vcd": "a5f12a393b7b5e076a32a9e720fc00d01fae6a4d5e9c084698a601825b0fa7c4",
    "recorded/iverilog-version.txt": "f9199cc8658f4afcec3edeb93f29f23bb2aebf66d3eeb217cdc728aaa692f946",
    "recorded/structure.json": "9917308cd982c5a857de7cb532f4be8496d719a5d8cb01b26cd531cae6d226be",
    "recorded/yosys-version.txt": "14022961a7564dcc908f30f8b52cc1289449e8f25a95ed5c2d2afb88c4bde4fa",
    "run.sh": "55ce90638eba2ac213d747840f8a73ad00f88557329c1a4812cbd71585ba2e1d",
    "sample_counter.sv": "3e1ad83e6d4415201f9df05796e8f076f68c25c78c4374354560a3a09f4002c6",
    "tb_sample_counter.sv": "dacab3db48ef7102e758a6625fbd4f2f18112cbee2e9dbf25131ccf5b2fb840b",
    "verify_structure.py": "5d2743fe9d1414571cc5fa86eb14008449bc8dbfd3fd1263c4d9bac82835dedd"
  },
  "archive": {
    "file": "rtl-foundations-09.zip",
    "sha256": "5b0f3b004af1237b88cfa34422b46331ef1dcbdc3e83cf21f913cf58017c18ca"
  },
  "waveform": {
    "file": "rtl-foundations-09-counter.vcd",
    "sha256": "a5f12a393b7b5e076a32a9e720fc00d01fae6a4d5e9c084698a601825b0fa7c4"
  }
}
