{"id":23586559,"url":"https://github.com/doctorwkt/cscv2","last_synced_at":"2025-07-22T04:05:24.174Z","repository":{"id":96057264,"uuid":"106475503","full_name":"DoctorWkt/CSCv2","owner":"DoctorWkt","description":"Version 2 of my Crazy Small CPU","archived":false,"fork":false,"pushed_at":"2018-12-02T23:32:39.000Z","size":4408,"stargazers_count":69,"open_issues_count":1,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T07:48:49.609Z","etag":null,"topics":["7400","alu","cpu","logic"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DoctorWkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-10T21:52:48.000Z","updated_at":"2024-12-29T03:32:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"579114a2-b20c-4e53-a894-879876cf1303","html_url":"https://github.com/DoctorWkt/CSCv2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DoctorWkt/CSCv2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorWkt%2FCSCv2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorWkt%2FCSCv2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorWkt%2FCSCv2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorWkt%2FCSCv2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DoctorWkt","download_url":"https://codeload.github.com/DoctorWkt/CSCv2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DoctorWkt%2FCSCv2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266424112,"owners_count":23926124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["7400","alu","cpu","logic"],"created_at":"2024-12-27T04:11:34.893Z","updated_at":"2025-07-22T04:05:24.149Z","avatar_url":"https://github.com/DoctorWkt.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crazy Small CPU, version 2\n\nThis repository holds the files associated with Warren's crazy small\nbreadboard CPU built with only eleven chips. For more details on the design of\nthe CPU itself, see the\n[Crazy Small CPU website.](http://minnie.tuhs.org/Programs/CrazySmallCPU)\n\nThe files are:\n * _crazycpu.circ_, a version of the CPU that runs in Logisim\n * _Schematic.pdf_, a PDF version of the CPU's breadboard design done in Kicad\n * _cas_, the assembler for the CPU\n * _clc_, a very crude compiler that outputs assembly that can be given to _cas_\n * _csim_, a simulator that can run assembled programs. This allows you to test programs without loading them into Logisim or burning ROMs\n * _gen_alu_, a program to generate the contents of the ALU ROM\n * _notes_, my journal and notes as I went through the design and implementation stages\n * _Makefile_, to help make some of the ROM files. _make all_ will build the ALU ROM contents, assemble _fibminsky.s_ and produce the top and bottom control ROM images\n\nSome example programs in the _Examples_ directory include:\n\n * _fibminsky.s_, a program that calculates Fibonacci numbers and then draws a sine wave using Minsky's circle algorithm.\n * _genfibn_, a Perl program that generates the assembly code for the Fibonacci program. You tell it what size Fibonacci number to generate, up to 24 digits.\n * _minsky.cl_. This is a reimplementation of the Minsky's circle algorithm program in the high-level language, just to test the compiler. Use the Makefile to build _minsky_, then run _csim_ by hand.\n * _bubblesort.s_, sort an array of numbers with Bubblesort.\n * _circle.s_, draw a circle using Minsky's circle algorithm and VT100 escape sequences.\n * _decimal.s_, print out numbers in decimal.\n * _enumttt.s_, enumerate winning tic-tac-toe boards.\n * _firstfunction.s_, an example of function calls and returns.\n * _genascii.s_, generate all the printable ASCII characters.\n * _hanoi.s_, perform the Towers of Hanoi algorithm.\n * _hexbench2.s_, a CPU speed testing program.\n * _mel.s_, print two stanzas of \"Mel the Programmer\".\n * _printdecs.s_, print out numbers in decimal.\n * _printhex.s_, print one number out in hexadecimal.\n * _printhexes.s_, print numbers out in hexadecimal.\n * _stack.s_, an example of a stack and its operations.\n\nThe _Verilog_ directory holds an implementation of the CPU in Icarus Verilog. A description of the CPU's instruction\nset can be found in _Instructions.md_. A description of the _cas_ assembler and the _csim_ simulator can be found\nin _Usage.md_.\n \n If you want to leave any comments, feel free to use the [GitHub issues page](https://github.com/DoctorWkt/CrazySmallCPU/issues) for this purpose.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctorwkt%2Fcscv2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoctorwkt%2Fcscv2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoctorwkt%2Fcscv2/lists"}