Skip to content

final-project-faultdetection-cnny created by GitHub Classroom

Notifications You must be signed in to change notification settings

CSCCNY/final-project-faultdetection-cnny

Repository files navigation

VLSICircuitFaultDetectionModel-DNN

Link to Project Drive that has all the benchmark circuits and links to the paper.

Install the packages

pip install -r requirements.txt

Input

The graph inputs must be generated into three files with .x, .graph and .y as suffix to the filename for node features, circuit graph dictionary and output labels respectively.

Load input

dataset = CircuitDataset(path='', circs=[]) Here, path is the path to the data folder where all circuits resides and circs name of the circuits filename excluding the suffix. For eg: if circuit file name is adder.x, adder.y and adder.graph, circs=['adder']

Dataset splitted Into train, test and validation

There is library function that generates the disjoint union of graphs based on the CircuitDataset created above. The syntax is: train_test_val_data(dataset) This returns training, validation and test data loader that can be passed to keras model for training and evaluation.

The detailed notebook with all the steps in present in the root directory.

DataSets:

We extracted all the benchmark circuits from ISCAS and EPL Combinational Benchmark Suite.

Note: The files must be in the format circuit.x, circuit.graph and circuit.y.

For our experiment, we extracted the features 'logical level', 'controlability-0', 'controlability-1' and 'observality', graph dictionary and circuit labels which are 1(Hard to Observe) and 0(Easy to observe) for each circuit nodes. We dumped input, graph and output to circuit.x, circuit.graph and circuit.y pickle file which is used above for loading the dataset. All the circuits datasets that we generated is the the drive shared above inside output folder.

GCN references:

Team Members

  • Vedika Saravanan
  • Nikita Acharya
  • Saurav Predhan

About

final-project-faultdetection-cnny created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published