summaryrefslogtreecommitdiff
path: root/Divide_3.vf
diff options
context:
space:
mode:
authorMichael Abed <michaelabed@gmail.com>2012-02-17 12:08:05 -0500
committerMichael Abed <michaelabed@gmail.com>2012-02-17 12:08:05 -0500
commit70b77304f37d9681aa3bfa0eb57df0bcfd1aef81 (patch)
tree48ab397b4072275dbc5a6b2f92a54d3c79e1fdea /Divide_3.vf
parent57738e75e221fe61a8f87270b430c0f1c0b8ead5 (diff)
downloadec311-lab1-70b77304f37d9681aa3bfa0eb57df0bcfd1aef81.tar.gz
ec311-lab1-70b77304f37d9681aa3bfa0eb57df0bcfd1aef81.tar.bz2
ec311-lab1-70b77304f37d9681aa3bfa0eb57df0bcfd1aef81.zip
make it workHEADmaster
Diffstat (limited to 'Divide_3.vf')
-rwxr-xr-xDivide_3.vf21
1 files changed, 15 insertions, 6 deletions
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