Skip to content

sventhijssen/uptime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UpTime: Towards Flow-based In-Memory Computing with High Fault-Tolerance

UpTime is part of the MemX digital in-memory computing package. MemX supports both flow-based in-memory computing and path-based in-memory computing.

Citation

When using our repository or building further upon our work, please cite our paper:

Thijssen, S., Rashed, M. R. H., Jha, S. K., & Ewetz, R. (2023, July). UpTime: Towards Flow-based In-Memory Computing with High Fault-Tolerance. In 2023 60th ACM/IEEE Design Automation Conference (DAC) (pp. 1-6). IEEE.

Introduction

Flow-based computing

Flow-based computing is an in-memory computing paradigm on nanoscale memristor crossbars. The memristors are assigned Boolean literals (Boolean variables and their negations), and the Boolean truth values '0' and '1'.

Definition: Given a crossbar design for a Boolean function φ, then the Boolean function φ evaluates to true if and only if there exists a path along low resistive memristors from the input nanowire (bottom most nanowire) to the output nanowire (top most nanowire) when a high input voltage is applied to the input nanowire.

Flow-based computing


Figure 1: Flow-based computing.

Problem formulation

Stuck-at-faults prevent the reprogramming of a non-volatile resistive device, possibly resulting in incorrect function evaluations.
These faults may be introduced in hardware during fabrication or at runtime.

Overview of the UpTime framework

To overcome the effects of stuck-at-faults, we propose the UpTime framework. The framework has two components:

  1. Error detection
  2. Data layout reorganization

Error detection

Error detection is based on the evaluation of both the Boolean function f and its complement f'.
By definition, both f and f' must evaluate to different truth values, which can be easily verified using XOR(f, f'). The area overhead to implement f' is small using the COMPACT synthesis framework.

Data layout reorganization

When an error is detected, we must reassign the design for the Boolean function to the crossbar to cover all stuck-at-faults. We propose an ILP formulation where both rows and columns are permuted.

Publications

Related work

Requirements

Windows

Linux

  • Python 3.10 or higher
  • CPLEX 20.1.0.0

MacOS

  • Python 3.10 or higher
  • CPLEX 20.1.0.0

Installation

Submodules

Clone this git repository and the required submodules ABC. For ABC, make sure to clone the submodule from here. Clone the submodules using the following command:

git submodule update --init --recursive

ABC

Compile the ABC tool in the directory abc.

cd abc
make

Python packages and dependencies

Use the package manager pip to install the Python dependencies in requirements.txt.

pip3 install -r requirements.txt

Usage

For examples on how to use the UpTime framework, please refer to the examples directory where the framework is explained step-by-step.

Version

UpTime version 1.0.0

Contact

Sven Thijssen
University of Central Florida
sven.thijssen (at) ucf.edu
https://www.sventhijssen.com/

Additional references

License

Copyright 2023 Sven Thijssen

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages