Skip to content

Project repo for cache/memory related components implemented in pymtl3

License

Notifications You must be signed in to change notification settings

cornell-brg/pymtl3-mem

Repository files navigation

PyMTL3 Memory

Project repo for cache/memory related components implemented in pymtl3

Build Status

License

pymtl3-mem is offered under the terms of the Open Source Initiative BSD 3-Clause License. More information about this license can be found here:

Guide

Create virtual environment

While not strictly necessary, we strongly recommend using virtualenv to install PyMTL3 and the Python packages that PyMTL3 depends on. virtualenv enables creating isolated Python environments. The following commands will create and activate the virtual environment:

 % python3 -m venv ${HOME}/venv
 % source ${HOME}/venv/bin/activate

Install PyMTL3

% git clone [email protected]:cornell-brg/pymtl3.git
% pip install --editable ./pymtl3
% pip install --upgrade pytest

Running Tests

% git clone [email protected]:cornell-brg/pymtl3-mem.git
% cd pymtl3-mem
% mkdir build && cd build
% pytest ../BlockingCache/test/BlockingCacheRTL_test.py -v