Skip to content

Commit

Permalink
Update Cello-UCF.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Jones committed Nov 16, 2020
1 parent c3dbd62 commit e5fed22
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 1 deletion.
17 changes: 17 additions & 0 deletions sample-input/DNACompiler/0B/0x0B.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module m0x0B(output out, input in1, in2, in3);

always @(in1, in2, in3)
begin
case({in1, in2, in3})
3'b000: {out} = 1'b0;
3'b001: {out} = 1'b0;
3'b010: {out} = 1'b0;
3'b011: {out} = 1'b0;
3'b100: {out} = 1'b1;
3'b101: {out} = 1'b0;
3'b110: {out} = 1'b1;
3'b111: {out} = 1'b1;
endcase // case ({in1, in2, in3})
end // always @ (in1, in2, in3)

endmodule // m0x0B
11 changes: 11 additions & 0 deletions sample-input/DNACompiler/0B/0x0B_netlistconstraints.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[ {
"collection" : "input_sensors",
"sensor_map" : {
"in1" : "aTc_sensor",
"in2" : "Van_sensor",
"in3" : "OHC14_sensor"
}
}, {
"collection" : "reporters",
"reporter_map" : { }
} ]
17 changes: 17 additions & 0 deletions sample-input/DNACompiler/F1/0xF1.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module m0xF1(output out, input in1, in2, in3);

always @(in1, in2, in3)
begin
case({in1, in2, in3})
3'b000: {out} = 1'b1;
3'b001: {out} = 1'b1;
3'b010: {out} = 1'b1;
3'b011: {out} = 1'b1;
3'b100: {out} = 1'b0;
3'b101: {out} = 1'b0;
3'b110: {out} = 1'b0;
3'b111: {out} = 1'b1;
endcase // case ({in1, in2, in3})
end // always @ (in1, in2, in3)

endmodule // m0xF1
11 changes: 11 additions & 0 deletions sample-input/DNACompiler/F1/0xF1_netlistconstraints.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[ {
"collection" : "input_sensors",
"sensor_map" : {
"in1" : "aTc_sensor",
"in2" : "OHC14_sensor",
"in3" : "Van_sensor"
}
}, {
"collection" : "reporters",
"reporter_map" : { }
} ]

0 comments on commit e5fed22

Please sign in to comment.