Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.2 KB

README.md

File metadata and controls

42 lines (32 loc) · 1.2 KB

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