From e468d4cc6001b65b9c7e72d3f9c0e9b939ad31b9 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 25 Mar 2015 09:00:41 +0100 Subject: [PATCH] Fixes in cmos_cells.v --- techlibs/cmos/cmos_cells.v | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/techlibs/cmos/cmos_cells.v b/techlibs/cmos/cmos_cells.v index da75270cb..27278facb 100644 --- a/techlibs/cmos/cmos_cells.v +++ b/techlibs/cmos/cmos_cells.v @@ -1,17 +1,26 @@ +module BUF(A, Y); +input A; +output Y; +assign Y = A; +endmodule + module NOT(A, Y); input A; -output Y = ~A; +output Y; +assign Y = ~A; endmodule module NAND(A, B, Y); input A, B; -output Y = ~(A & B); +output Y; +assign Y = ~(A & B); endmodule module NOR(A, B, Y); input A, B; -output Y = ~(A | B); +output Y; +assign Y = ~(A | B); endmodule module DFF(C, D, Q);