chisel3, version: 3.1.3, scalaVersion: 2.11.12, ; sbtVersion: 1.1.1, builtAtString: 2018-09-12 19:37:29.007, ; builtAtMillis: 1536781049007 circuit Counter : module Counter : input clock : Clock input reset : UInt<1> output io : {q : UInt<8>} reg cntReg : UInt<8>, clock with : (reset => (reset, UInt<8>("h00"))) @[Counter.scala 9:23] node _T_10 = add(cntReg, UInt<1>("h01")) @[Counter.scala 11:20] node _T_11 = tail(_T_10, 1) @[Counter.scala 11:20] cntReg <= _T_11 @[Counter.scala 11:10] io.q <= cntReg @[Counter.scala 12:8] mt_caret (@katakata-talks.0) Brief Tour of Functional HDLs 2019-08-25 13 / 19