{ "info": { "author": "Caleb Evans", "author_email": "caleb@calebevans.me", "bugtrack_url": null, "classifiers": [], "description": "Cache Simulator\n===============\n\n| *Copyright 2015-2018 Caleb Evans*\n| *Released under the MIT license*\n\n`Build Status `__\n`Coverage\nStatus `__\n\nThis program simulates a processor cache for the MIPS instruction set\narchitecture. It can simulate all three fundamental caching schemes:\ndirect-mapped, *n*-way set associative, and fully associative.\n\nThe program must be run from the command line and requires Python 3.4+\nto run. Executing the program will run the simulation and print an ASCII\ntable containing the details for each supplied word address, as well as\nthe final contents of the cache.\n\nTo see example input and output, see ``examples.txt``.\n\nInstalling\n----------\n\nYou can install Cache Simulator via pip (ideally globally):\n\n::\n\n pip install cache-simulator\n\nCommand-line parameters\n-----------------------\n\nRequired parameters\n~~~~~~~~~~~~~~~~~~~\n\n\u2013cache-size\n^^^^^^^^^^^\n\nThe size of the cache in words (recall that one word is four bytes in\nMIPS).\n\n\u2013word-addrs\n^^^^^^^^^^^\n\nOne or more word addresses (separated by spaces), where each word\naddress is a base-10 positive integer.\n\nOptional parameters\n~~~~~~~~~~~~~~~~~~~\n\n\u2013num-blocks-per-set\n^^^^^^^^^^^^^^^^^^^\n\nThe program internally represents all cache schemes using a set\nassociative cache. A value of ``1`` for this parameter (the default)\nimplies a direct-mapped cache. A value other than ``1`` implies either a\nset associative *or* fully associative cache.\n\n\u2013num-words-per-block\n^^^^^^^^^^^^^^^^^^^^\n\nThe number of words to store for each block in the cache; the default\nvalue is ``1``.\n\n\u2013num-addr-bits\n^^^^^^^^^^^^^^\n\nThe number of bits used to represent each given word address; this value\nis reflected in the *BinAddr* column in the reference table. If omitted,\nthe default value is the number of bits needed to represent the largest\nof the given word addresses.\n\n\u2013replacement-policy\n^^^^^^^^^^^^^^^^^^^\n\nThe replacement policy to use for the cache. Accepted values are ``lru``\n(Least Recently Used; the default) and ``mru`` (Most Recently Used).\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/caleb531/cache-simulator", "keywords": "mips processor cache simulator architecture", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cache-simulator", "package_url": "https://pypi.org/project/cache-simulator/", "platform": "", "project_url": "https://pypi.org/project/cache-simulator/", "project_urls": { "Homepage": "https://github.com/caleb531/cache-simulator" }, "release_url": "https://pypi.org/project/cache-simulator/2.0.1/", "requires_dist": null, "requires_python": "", "summary": "A processor cache simulator for the MIPS ISA", "version": "2.0.1" }, "last_serial": 3907473, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fcf3b98579df020b5548b3f6c4d27775", "sha256": "9b855de16f8b3f53153bb6d8bf788d7633fcf9ee57b0531d70e6a668f288a011" }, "downloads": -1, "filename": "cache-simulator-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fcf3b98579df020b5548b3f6c4d27775", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5733, "upload_time": "2016-07-09T04:52:33", "url": "https://files.pythonhosted.org/packages/21/28/e439cc58323429789ef25d6d359b7562af9758c332bb3b5100cc18035be1/cache-simulator-1.0.0.tar.gz" } ], "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "542d02881870b05894b77ba1e183317d", "sha256": "1dceaec4e7f43dd3552ce72b52989186ece99359f57b1f3ba5dd2d4c6a4f8f57" }, "downloads": -1, "filename": "cache-simulator-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "542d02881870b05894b77ba1e183317d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5747, "upload_time": "2016-07-09T04:52:02", "url": "https://files.pythonhosted.org/packages/c3/e8/533d05032f686897d41dc6c3e4b96f8f574410d43c20c2a801d8bd0def0e/cache-simulator-1.0.0b1.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6748e2033527b4ba0b63970975f58747", "sha256": "69ffcd1a2a65eb178d2fd013df940a5b02fa210f09de7f3751cfda1099cb1c75" }, "downloads": -1, "filename": "cache-simulator-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6748e2033527b4ba0b63970975f58747", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4826, "upload_time": "2016-08-08T19:10:59", "url": "https://files.pythonhosted.org/packages/4f/42/f4725ba3b862bb9c00fe1889c26dadded0bda05e492a664c6e9b77f37006/cache-simulator-1.0.1.tar.gz" } ], "1.0.1.post1": [ { "comment_text": "", "digests": { "md5": "78265bb5b48b670db222026d7abd6b3d", "sha256": "642018821dc605c25158f5d51cbd6ec214ff3e0338ceaa105d46614cec5accb8" }, "downloads": -1, "filename": "cache-simulator-1.0.1.post1.tar.gz", "has_sig": false, "md5_digest": "78265bb5b48b670db222026d7abd6b3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5750, "upload_time": "2016-08-08T20:44:46", "url": "https://files.pythonhosted.org/packages/54/7c/02684006b7143c0489cfd6ea21eba273522c79307f055c084e68ba66557f/cache-simulator-1.0.1.post1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "d9a197457ef420d6495d95b62bfdc66f", "sha256": "307e81e8ab90df691ace3f741f488423dad6a13abfac562b0817209f30c45181" }, "downloads": -1, "filename": "cache-simulator-1.0.2.tar.gz", "has_sig": false, "md5_digest": "d9a197457ef420d6495d95b62bfdc66f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5796, "upload_time": "2016-11-14T17:36:08", "url": "https://files.pythonhosted.org/packages/dd/18/7a643b4eb34b7b6c2ab8826b1c03737625b150f9235db8149093d6e88a0c/cache-simulator-1.0.2.tar.gz" } ], "2.0.0": [ { "comment_text": "", "digests": { "md5": "64e3c53545367283edcd7cde2ea24725", "sha256": "94f39bde45386ed92c6aac4327699eb7eb9dfea2eeb1bf4a8c5b092f4bce8041" }, "downloads": -1, "filename": "cache-simulator-2.0.0.tar.gz", "has_sig": false, "md5_digest": "64e3c53545367283edcd7cde2ea24725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6191, "upload_time": "2018-03-20T03:13:42", "url": "https://files.pythonhosted.org/packages/97/c3/29cb46b2a50a52e19ac3cc38047c8b3d35d92318d78d14e391e9f727f6c9/cache-simulator-2.0.0.tar.gz" } ], "2.0.0.post1": [ { "comment_text": "", "digests": { "md5": "a53e496e383a7a9a314360e4f074fb0d", "sha256": "76077fc93a3067c5454180381bcafdeee3971b8a5c59e993071e42b986d43f00" }, "downloads": -1, "filename": "cache-simulator-2.0.0.post1.tar.gz", "has_sig": false, "md5_digest": "a53e496e383a7a9a314360e4f074fb0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6539, "upload_time": "2018-05-29T02:57:50", "url": "https://files.pythonhosted.org/packages/16/16/e3d86861ebffe8041100ba3b904b23f9118cc995ef3da7b9030ae7141de5/cache-simulator-2.0.0.post1.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "a232735a7817bfd6987a4519cd6f3d9e", "sha256": "ce8c878e49813b44ed959e9fe3b7c6bba2ec176203dc1e417b0c57ee3ae8a485" }, "downloads": -1, "filename": "cache-simulator-2.0.1.tar.gz", "has_sig": false, "md5_digest": "a232735a7817bfd6987a4519cd6f3d9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6526, "upload_time": "2018-05-29T03:09:57", "url": "https://files.pythonhosted.org/packages/73/21/a30f4fa52217627038163ffceec9c6c22761198a3f6b6d953a4883bb6096/cache-simulator-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a232735a7817bfd6987a4519cd6f3d9e", "sha256": "ce8c878e49813b44ed959e9fe3b7c6bba2ec176203dc1e417b0c57ee3ae8a485" }, "downloads": -1, "filename": "cache-simulator-2.0.1.tar.gz", "has_sig": false, "md5_digest": "a232735a7817bfd6987a4519cd6f3d9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6526, "upload_time": "2018-05-29T03:09:57", "url": "https://files.pythonhosted.org/packages/73/21/a30f4fa52217627038163ffceec9c6c22761198a3f6b6d953a4883bb6096/cache-simulator-2.0.1.tar.gz" } ] }