The repository contains the EComp project for André Agostinho and Micaela Serôdio.
The repository was started from the repository in https://bitbucket.org/jjts/picoversat/
The Code/ directory contains all the HDL code and assembly code for the PicoVersat FPGA implementation.
In Code/rtl resides all HDL code written in Verilog. Also contains xtop_tb.v which is a testbench for the calculator that simulates a multiplication. The simulation must run for at least 25 ms.
In Code/tests/calculator resides the final code for the calculator.
The remaining directories in the tests/ directory were used to test single features of the calculator. It is most likely that they do not work with the current version of the HDL.
In ISE/ resides a Xilinx ISE project file. It is not recommend to be used as there are hardcoded paths which created warning during synthesis and implementation. It is recommended that a blank ISE project is created and all the files in Code/rtl and Code/xilinx/14.7/picoversat/ are added to the project.
- Install Python (tested in 2.7)
- Install Icarus Verilog (download a stable version from http://iverilog.icarus.com)
- Install the picoVersat assembler
cd tools
make [install]
- How to run tests
cd tests
cd {testname}
make