create register in circuit constructor