Skip to content

Commit e5fed22

Browse files
author
Timothy Jones
committed
Update Cello-UCF.
1 parent c3dbd62 commit e5fed22

5 files changed

Lines changed: 57 additions & 1 deletion

File tree

sample-input/DNACompiler/0B/0x0B.v

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module m0x0B(output out, input in1, in2, in3);
2+
3+
always @(in1, in2, in3)
4+
begin
5+
case({in1, in2, in3})
6+
3'b000: {out} = 1'b0;
7+
3'b001: {out} = 1'b0;
8+
3'b010: {out} = 1'b0;
9+
3'b011: {out} = 1'b0;
10+
3'b100: {out} = 1'b1;
11+
3'b101: {out} = 1'b0;
12+
3'b110: {out} = 1'b1;
13+
3'b111: {out} = 1'b1;
14+
endcase // case ({in1, in2, in3})
15+
end // always @ (in1, in2, in3)
16+
17+
endmodule // m0x0B
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[ {
2+
"collection" : "input_sensors",
3+
"sensor_map" : {
4+
"in1" : "aTc_sensor",
5+
"in2" : "Van_sensor",
6+
"in3" : "OHC14_sensor"
7+
}
8+
}, {
9+
"collection" : "reporters",
10+
"reporter_map" : { }
11+
} ]

sample-input/DNACompiler/F1/0xF1.v

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module m0xF1(output out, input in1, in2, in3);
2+
3+
always @(in1, in2, in3)
4+
begin
5+
case({in1, in2, in3})
6+
3'b000: {out} = 1'b1;
7+
3'b001: {out} = 1'b1;
8+
3'b010: {out} = 1'b1;
9+
3'b011: {out} = 1'b1;
10+
3'b100: {out} = 1'b0;
11+
3'b101: {out} = 1'b0;
12+
3'b110: {out} = 1'b0;
13+
3'b111: {out} = 1'b1;
14+
endcase // case ({in1, in2, in3})
15+
end // always @ (in1, in2, in3)
16+
17+
endmodule // m0xF1
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[ {
2+
"collection" : "input_sensors",
3+
"sensor_map" : {
4+
"in1" : "aTc_sensor",
5+
"in2" : "OHC14_sensor",
6+
"in3" : "Van_sensor"
7+
}
8+
}, {
9+
"collection" : "reporters",
10+
"reporter_map" : { }
11+
} ]

0 commit comments

Comments
 (0)