From 70b77304f37d9681aa3bfa0eb57df0bcfd1aef81 Mon Sep 17 00:00:00 2001 From: Michael Abed Date: Fri, 17 Feb 2012 12:08:05 -0500 Subject: make it work --- Divide_3.vf | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'Divide_3.vf') diff --git a/Divide_3.vf b/Divide_3.vf index 7a443d9..3bb123e 100755 --- a/Divide_3.vf +++ b/Divide_3.vf @@ -7,11 +7,11 @@ // \ \ \/ Version : 13.3 // \ \ Application : sch2hdl // / / Filename : Divide_3.vf -// /___/ /\ Timestamp : 02/15/2012 15:00:07 +// /___/ /\ Timestamp : 02/16/2012 19:22:52 // \ \ / \ // \___\/\___\ // -//Command: sch2hdl -intstyle ise -family spartan6 -verilog "X:/My Documents/ec311/lab1/Divide_3.vf" -w "X:/My Documents/ec311/lab1/Divide_3.sch" +//Command: sch2hdl -intstyle ise -family spartan6 -verilog "X:/My Documents/ec311/ec311-lab1/Divide_3.vf" -w "X:/My Documents/ec311/ec311-lab1/Divide_3.sch" //Design Name: Divide_3 //Device: spartan6 //Purpose: @@ -33,12 +33,21 @@ module Divide_3(b0, output result; wire XLXN_2; + wire XLXN_13; + wire XLXN_14; + wire XLXN_15; AND2 XLXI_2 (.I0(XLXN_2), .I1(b3), .O(result)); - NOR3 XLXI_3 (.I0(b0), - .I1(b1), - .I2(b2), - .O(XLXN_2)); + OR3 XLXI_4 (.I0(XLXN_15), + .I1(XLXN_14), + .I2(XLXN_13), + .O(XLXN_2)); + INV XLXI_6 (.I(b2), + .O(XLXN_13)); + INV XLXI_7 (.I(b1), + .O(XLXN_14)); + INV XLXI_8 (.I(b0), + .O(XLXN_15)); endmodule -- cgit v1.2.3