Skip to content

Commit

Permalink
Merge pull request #15 from sgherbst/zc706
Browse files Browse the repository at this point in the history
Add support for ZC706 board
  • Loading branch information
gabrielrutsch authored Jun 30, 2020
2 parents bad0f99 + c094d3e commit fafaa08
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 3 deletions.
2 changes: 2 additions & 0 deletions anasymod/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ def _fetch_board(self):
return TE0720()
elif self.cfg.board_name == BoardNames.ZC702:
return ZC702()
elif self.cfg.board_name == BoardNames.ZC706:
return ZC706()
elif self.cfg.board_name == BoardNames.ARTY_200T_CUSTOM_LIDAR:
return ARTY_200T_CUSTOM_LIDAR()
else:
Expand Down
4 changes: 3 additions & 1 deletion anasymod/enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,20 @@ class BoardNames:
ARTY_A7
VC707
ZC702
ZC706
ULTRA96
TE0720
"""
PYNQ_Z1 = 'PYNQ_Z1'
ARTY_A7 = 'ARTY_A7'
VC707 = 'VC707'
ZC702 = 'ZC702'
ZC706 = 'ZC706'
ULTRA96 = 'ULTRA96'
TE0720 = 'TE0720'
ARTY_200T_CUSTOM_LIDAR = 'ARTY_200T_CUSTOM_LIDAR'


class PortDir:
"""
Container including enums for all supported port directions.
Expand Down
15 changes: 14 additions & 1 deletion anasymod/fpga_boards/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,17 @@ class ULTRA96():
board_part = None
full_part_name = 'xczu3eg-sbva484-???'
short_part_name = 'xczu3eg'
fpga_sim_ctrl = [FPGASimCtrl.UART_ZYNQ, FPGASimCtrl.VIVADO_VIO]
fpga_sim_ctrl = [FPGASimCtrl.UART_ZYNQ, FPGASimCtrl.VIVADO_VIO]

class ZC706():
"""
Container to store ZC706 FPGA board specific properties.
"""
clk_pin = ['H9', 'G9']
clk_io = 'LVDS'
clk_freq = 200e6
board_part = 'xilinx.com:zc706:part0:1.4'
full_part_name = 'xc7z045ffg900-2'
short_part_name = 'xc7z045'
dbg_hub_clk_freq = 100e6
fpga_sim_ctrl = [FPGASimCtrl.UART_ZYNQ, FPGASimCtrl.VIVADO_VIO]
14 changes: 14 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# configuration related to pull request comments
comment: no # do not comment PR with the result

coverage:
range: 50..90 # coverage lower than 50 is red, higher than 90 green, between color code

status:
project: # settings affecting project coverage
default:
target: auto # auto % coverage target
threshold: 5% # allow for 5% reduction of coverage without failing

# do not run coverage on patch nor changes
patch: false
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages

name = 'anasymod'
version = '0.2.9'
version = '0.3.2'

DESCRIPTION = '''\
Tool for running mixed-signal emulations on FPGAs\
Expand Down

0 comments on commit fafaa08

Please sign in to comment.