pull/2/head
Matthew Butterick 9 years ago
parent 1f805852f0
commit e734151311

@ -1,11 +1,12 @@
#lang br
(provide (prefix-out Fanout- (all-defined-out)))
(require "helper.rkt")
(define in (make-input))
#lang br/demo/hdl
CHIP Fanout {
IN in;
OUT outa, outb;
(define (outa)
(in))
PARTS:
And(a=in, b=in, out=outa);
And(a=in, b=in, out=outb);
}
(define (outb)
(in))

Loading…
Cancel
Save