From f6583f7ecc807c3c2a08d0121ef20fab3616c1e7 Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Tue, 16 Mar 2021 22:40:15 +0100 Subject: fpga_interchange: minor fixes and comments addition Signed-off-by: Alessandro Comodi --- fpga_interchange/examples/tests.cmake | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'fpga_interchange/examples/tests.cmake') diff --git a/fpga_interchange/examples/tests.cmake b/fpga_interchange/examples/tests.cmake index 194a3f21..7598d25c 100644 --- a/fpga_interchange/examples/tests.cmake +++ b/fpga_interchange/examples/tests.cmake @@ -7,13 +7,27 @@ function(add_interchange_test) # package # tcl # xdc - # top # sources + # [top ] # [techmap ] # ) # # Generates targets to run desired tests # + # Arguments: + # - name: test name. This must be unique and no other tests with the same + # name should exist + # - family: nextpnr architecture family (e.g. fpga_interchange) + # - device: common device name of a set of parts. E.g. xc7a35tcsg324-1 and xc7a35tcpg236-1 + # share the same xc7a35t device prefix + # - package: package among the ones available for the device + # - tcl: tcl script used for synthesis + # - xdc: constraints file used in the physical netlist generation step + # - sources: list of HDL sources + # - top (optional): name of the top level module. + # If not provided, "top" is assigned as top level module + # - techmap (optional): techmap file used during synthesis + # # Targets generated: # - test-fpga_interchange--json : synthesis output # - test-fpga_interchange--netlist : interchange logical netlist @@ -121,6 +135,7 @@ function(add_interchange_test) --package ${package} DEPENDS ${netlist} + ${xdc} ${chipdb_bin_target} ${chipdb_bin_loc} ) -- cgit v1.2.3