Giter Club home page Giter Club logo

eecs470-clash's Introduction

Clash in Docker for EECS470

Clash is a shallow-embedded hardware description language in Haskell. This repo is a docker setup for consistent clash build.

Build Image

Thanks to docker, the process of building a container can be easily reproduced.

To build a docker image,

docker build -t eecs470-clash .

You will only need to run it once on a computer for a stable clash build.

Run Container

And later if:

  1. you have a project called simple, and
  2. the project is located at pwd, namely you're at the project root, and
  3. you want to mount the project into the container's /home/architect/simple dir,

then you can run a container called "simple" based on the image,

docker run -it --name simple -v `pwd`:/home/architect/simple eecs470-clash

You can run it multiple times for different projects.

Final Tips Before You Start Working

I've also prepared a settings.json file for hls if you're using vscode. You may like to install the Haskell extension after copying the .vscode folder, located under /home/architect, into your project.

About Personal Configurations

I'm using zsh, so I included a copy of my configuration files in the repo. You can delete or modify the zsh directory and change the COPY lines in Dockerfile to accommodate your needs. You may also delete the rust lines which installs exa, a rust alternative for ls.

Credits

An infinite sequence of thanks to sanpo for companion and tutorials on the docker usage.

eecs470-clash's People

Contributors

lighghteeloo avatar explocion avatar

Stargazers

ARessegetes_Stery avatar Linsy avatar

Watchers

 avatar

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.