summaryrefslogblamecommitdiff
path: root/cpu/cpu.ml
blob: 10e7bc4795c830c0d279881d8abc0f4f3fa4de13 (plain) (tree)
1
2
3
4
5
6
7
8







                                                      
open Netlist_gen

(* Dumb CPU that just does an 8-bit addition *)

let p = 
main_2_2 (fun a b -> Alu.nadder 8 a b (value "0")) 8 8

let () = Netlist_proc.print stdout p