Skip to content

RDSik/FPGA_transceiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Image

Usage

Dependencies

hdlmake, make, cocotb, vivado, modelsim, python

Installation

Clone repository:

git clone --recurse-submodules https://github.com/RDSik/FPGA_transceiver.git

Download pip:

https://pip.pypa.io/en/latest/installation/

Download packages:

pip install six
pip install hdlmake
pip install cocotb
pip install pytest

Download make (add to PATH system variable the Make bin folder: C:\Program Files (x86)\GnuWin32\bin):

winget install GnuWin32.make

Build project

Build trasceiver:

cd syn
hdlmake
make

Build only vivado project:

cd syn
hdlmake
make project

Simulation

Vivado simulation using hdlmake:

cd top/sim/vivado
hdlmake
make

Modelsim simulation using hdlmake:

cd top/sim/modelsim
hdlmake
make

Icarus simulation using cocotb:

python3 -m venv myenv
.\myenv\Scripts\activate.ps1
cd sim\cocotb
pytest test.py
cd .\sim_build_transceiver
gtkwave .\transceiver_top.vcd
deactivate