-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fiction is art and art is the triumph over chaos
- Loading branch information
Showing
41 changed files
with
945 additions
and
541 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module top(x0, x1, x2, y0, y1); | ||
input x0, x1, x2; | ||
output y0, y1; | ||
wire n4, n5, n6, n7, n8, n9, n10; | ||
assign n4 = x1 & x2; | ||
assign n5 = (x1 & x2) | (x1 & ~n4) | (x2 & ~n4); | ||
assign n6 = ~n4 & n5; | ||
assign n7 = x0 & n6; | ||
assign n8 = x0 | n6; | ||
assign n9 = ~n7 & n8; | ||
assign n10 = n4 | n7; | ||
assign y0 = n9; | ||
assign y1 = n10; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module top(x0, x1, x2, y0); | ||
input x0, x1, x2; | ||
output y0; | ||
wire n4; | ||
assign n4 = (x0 & x1) | (x0 & ~x2) | (x1 & ~x2); | ||
assign y0 = n4; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module top(x0, x1, x2, x3, x4, y0, y1, y2); | ||
input x0, x1, x2, x3, x4; | ||
output y0, y1, y2; | ||
wire n6, n7, n8, n9, n10, n11, n12, n13, n14, n15, n16; | ||
assign n6 = x0 | x2; | ||
assign n7 = (x0 & x2) | (x0 & ~n6) | (x2 & ~n6); | ||
assign n8 = n6 & ~n7; | ||
assign n9 = x4 & n8; | ||
assign n10 = (x4 & n8) | (x4 & ~n9) | (n8 & ~n9); | ||
assign n11 = ~n9 & n10; | ||
assign n12 = x1 & n9; | ||
assign n13 = x1 & x3; | ||
assign n14 = (~x1 & n9) | (~x1 & n13) | (n9 & n13); | ||
assign n15 = (x1 & ~n12) | (x1 & n14) | (~n12 & n14); | ||
assign n16 = (x1 & x4) | (x1 & n13) | (x4 & n13); | ||
assign y0 = n11; | ||
assign y1 = n15; | ||
assign y2 = n16; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module top(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, y0, y1, y2, y3, y4); | ||
input x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10; | ||
output y0, y1, y2, y3, y4; | ||
wire n12, n13, n14, n15, n16, n17, n18, n19, n20, n21; | ||
assign n12 = x1 | x6; | ||
assign n13 = x0 & x4; | ||
assign n14 = x2 | n13; | ||
assign n15 = x3 | x5; | ||
assign n16 = (x3 & n14) | (x3 & n15) | (n14 & n15); | ||
assign n17 = (x1 & n12) | (x1 & n16) | (n12 & n16); | ||
assign n18 = x9 | x10; | ||
assign n19 = x7 | x8; | ||
assign n20 = (x7 & n17) | (x7 & n19) | (n17 & n19); | ||
assign n21 = (x10 & n18) | (x10 & n20) | (n18 & n20); | ||
assign y0 = n17; | ||
assign y1 = n16; | ||
assign y2 = n14; | ||
assign y3 = n21; | ||
assign y4 = n20; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module top(x0, x1, x2, y0); | ||
input x0, x1, x2; | ||
output y0; | ||
wire n4, n5, n6; | ||
assign n4 = x0 | x2; | ||
assign n5 = ~x1 & x2; | ||
assign n6 = n4 & ~n5; | ||
assign y0 = n6; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module top(x0, x1, x2, x3, x4, x5, y0); | ||
input x0, x1, x2, x3, x4, x5; | ||
output y0; | ||
wire n7, n8, n9, n10, n11, n12, n13; | ||
assign n7 = (x0 & x4) | (x0 & ~x5) | (x4 & ~x5); | ||
assign n8 = (~x1 & x4) | (~x1 & x5) | (x4 & x5); | ||
assign n9 = n7 & ~n8; | ||
assign n10 = (x3 & ~x4) | (x3 & x5) | (~x4 & x5); | ||
assign n11 = (x2 & x4) | (x2 & x5) | (x4 & x5); | ||
assign n12 = n10 & ~n11; | ||
assign n13 = (n9 & n10) | (n9 & ~n12) | (n10 & ~n12); | ||
assign y0 = n13; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module top(x0, x1, x2, x3, x4, x5, x6, x7, y0); | ||
input x0, x1, x2, x3, x4, x5, x6, x7; | ||
output y0; | ||
wire n9, n10, n11, n12, n13, n14; | ||
assign n9 = (~x3 & x6) | (~x3 & x7) | (x6 & x7); | ||
assign n10 = (x4 & x5) | (x4 & n9) | (x5 & n9); | ||
assign n11 = x3 & ~n10; | ||
assign n12 = x1 & ~x2; | ||
assign n13 = ~x0 & n12; | ||
assign n14 = ~n11 & n13; | ||
assign y0 = ~n14; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module top(x0, x1, x2, x3, y0); | ||
input x0, x1, x2, x3; | ||
output y0; | ||
wire n5, n6, n7, n8, n9; | ||
assign n5 = (x0 & x1) | (x0 & ~x2) | (x1 & ~x2); | ||
assign n6 = x3 | n5; | ||
assign n7 = (~x0 & x2) | (~x0 & n5) | (x2 & n5); | ||
assign n8 = ~x3 & n7; | ||
assign n9 = (~x1 & n6) | (~x1 & n8) | (n6 & n8); | ||
assign y0 = n9; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module top(x0, x1, x2, y0); | ||
input x0, x1, x2; | ||
output y0; | ||
wire n4, n5, n6; | ||
assign n4 = (~x0 & x1) | (~x0 & x2) | (x1 & x2); | ||
assign n5 = (x1 & x2) | (x1 & ~n4) | (x2 & ~n4); | ||
assign n6 = (x0 & n4) | (x0 & ~n5) | (n4 & ~n5); | ||
assign y0 = n6; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module top(x0, x1, x2, x3, x4, y0, y1); | ||
input x0, x1, x2, x3, x4; | ||
output y0, y1; | ||
wire n6, n7, n8, n9, n10; | ||
assign n6 = x2 & x3; | ||
assign n7 = x1 & ~n6; | ||
assign n8 = x0 & x2; | ||
assign n9 = n7 | n8; | ||
assign n10 = (x4 & ~n6) | (x4 & n7) | (~n6 & n7); | ||
assign y0 = n9; | ||
assign y1 = n10; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module top(x0, x1, y0); | ||
input x0, x1; | ||
output y0; | ||
wire n3, n4, n5; | ||
assign n3 = x0 | x1; | ||
assign n4 = (x0 & x1) | (x0 & ~n3) | (x1 & ~n3); | ||
assign n5 = n3 & ~n4; | ||
assign y0 = ~n5; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module top(x0, x1, y0); | ||
input x0, x1; | ||
output y0; | ||
wire n3, n4, n5; | ||
assign n3 = x0 | x1; | ||
assign n4 = (x0 & x1) | (x0 & ~n3) | (x1 & ~n3); | ||
assign n5 = n3 & ~n4; | ||
assign y0 = n5; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module top(x0, x1, x2, x3, x4, y0); | ||
input x0, x1, x2, x3, x4; | ||
output y0; | ||
wire n6, n7, n8, n9, n10, n11; | ||
assign n6 = (~x0 & x1) | (~x0 & x2) | (x1 & x2); | ||
assign n7 = (x1 & x2) | (x1 & ~n6) | (x2 & ~n6); | ||
assign n8 = (x0 & n6) | (x0 & ~n7) | (n6 & ~n7); | ||
assign n9 = (~x3 & x4) | (~x3 & n8) | (x4 & n8); | ||
assign n10 = (x4 & n8) | (x4 & ~n9) | (n8 & ~n9); | ||
assign n11 = (x3 & n9) | (x3 & ~n10) | (n9 & ~n10); | ||
assign y0 = n11; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module top(x0, x1, x2, x3, x4, y0); | ||
input x0, x1, x2, x3, x4; | ||
output y0; | ||
wire n6, n7, n8, n9, n10, n11; | ||
assign n6 = (~x0 & x1) | (~x0 & x2) | (x1 & x2); | ||
assign n7 = (x1 & x2) | (x1 & ~n6) | (x2 & ~n6); | ||
assign n8 = (x0 & n6) | (x0 & ~n7) | (n6 & ~n7); | ||
assign n9 = (~x3 & x4) | (~x3 & n8) | (x4 & n8); | ||
assign n10 = (x4 & n8) | (x4 & ~n9) | (n8 & ~n9); | ||
assign n11 = (x3 & n9) | (x3 & ~n10) | (n9 & ~n10); | ||
assign y0 = n11; | ||
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# commands | ||
alias "xibs(.*)" "exact -x -i -b -s{}" | ||
|
||
# flows | ||
alias "synth(.*)" "{}; cell; show" | ||
alias "phys(.*)" "{}; cell; qca" | ||
|
||
# load | ||
alias "mux" "read ../benchmarks/TOY/mux21.v" | ||
alias "rca" "read ../benchmarks/TOY/RCA2.v" |
Oops, something went wrong.