This repo contains the entire testing and devlepment environment used in San Jose State's CMPE 264 Advanced Digital & Computing System Design. This has cocotb fully setup and ready to go.
The following programs need to be installed before anything will actually work.
In order to get all of the files, you will need to run the following in your terminal. If you are running windows, make sure to open git bash
.
git clone --recurse-submodules https://github.com/SJSU-CMPE-264/Vagrant.git 264_env
To start the virtual machine and install all of the dependencies, run vagrant up
in the folder you just cloned.
This will take a few minutes as it downloads the virtual machine and all of the required software. Once this is done you can type vagrant ssh
to get a terminal inside of the environment.
vagrant up
: start the environmentvagrant ssh
: connect to the environmentexit
: exit the ssh session after connecting to the environmentvagrant halt
: turn off the environment
The code
folder that is in the repo you just clone, has the folder structure we will be using in this course. You can edit these files either in the terminal of the quest machine(vagrant) or on the host machine using any tool you would normally use (Sublime, VScode, etc.). The changes you make will sync to both the host and guest.