fanout
This commit is contained in:
parent
1f805852f0
commit
e734151311
|
@ -1,11 +1,12 @@
|
||||||
#lang br
|
#lang br/demo/hdl
|
||||||
(provide (prefix-out Fanout- (all-defined-out)))
|
|
||||||
(require "helper.rkt")
|
|
||||||
(define in (make-input))
|
|
||||||
|
|
||||||
|
CHIP Fanout {
|
||||||
|
IN in;
|
||||||
|
OUT outa, outb;
|
||||||
|
|
||||||
|
PARTS:
|
||||||
|
And(a=in, b=in, out=outa);
|
||||||
|
And(a=in, b=in, out=outb);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
(define (outa)
|
|
||||||
(in))
|
|
||||||
|
|
||||||
(define (outb)
|
|
||||||
(in))
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user