fanout
This commit is contained in:
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;
|
||||
|
||||
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