GithubHelp home page GithubHelp logo

agha-muqarib / chisel-learning Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 2.09 MB

The repository contains the learning journey/getting familiar with Chisel, a framework of Scala. Labs have been implemented, introducing to most of the utilities in Chisel and its related concepts.

Scala 100.00%

chisel-learning's Introduction

Chisel-Learning:

The repository contains the learning journey/getting familiar with Chisel, a framework of Scala. Labs have been implemented, introducing to most of the utilities in Chisel and its related concepts.

Topics Covered:

  • Basic DLD Gates(And, Or, Nand, Nor, Xor, Xnor, Not)
  • Basic Circuits (Half Adder, Full-Adder,Ecoder, Decoder, Multiplexer)
  • Parameterization (Width, Function, Bundle, Module)
  • Pipes and Queues.
  • Mux and its Types (MuxCase, MuxTree, MuxLookup, OneHotMux)
  • CPU Units (Instruction Memory, Data Memory, ALU, Register File, Immediate Generation, Branch Control)
  • Testing (VCD, Poke-Peek-Expect)

Environment Setting:

This repository contains the code where I trained and practiced Chisel and Scala. The following is the course that should be followed.

Start by setting up the working enviroment

Dependencies

JDK 8 or newer

LTS releases Java 8 and Java 11 is recommended. You can install the JDK as recommended by your operating system, or use the prebuilt binaries from AdoptOpenJDK.

SBT

SBT is the most common built tool in the Scala community. It can be downloaded here.

Getting started:

Fork this repository on your own individual profiles. After forking clone the repository and run:

sbt test

You should see a whole bunch of output that ends with something like the following lines:

image

If you see the above then, It worked!

You are ready to go. Next step is to go inside the docs/ folder where you will find the labs to perform.

For quick debugging:

If you quickly want to see what verilog is being generated, go to this link https://bit.ly/3u3zr0e and write Chisel here.


P.S: All the support documents, assignment files and PDF of Scala and Functional Programming can be accessed in Chisel Labs Folder of the repository.

chisel-learning's People

Contributors

agha-muqarib avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

pengking

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.