Skip to content

Commit ca96bbc

Browse files
committed
vivado: added the check of a CHARACTER generic and a README.md file with notes
1 parent 82a7744 commit ca96bbc

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

vivado/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Notes about Vivado
2+
3+
> Last update: Vivado 2021.2
4+
5+
* FREQ=125MHz to match the employed clock of the ZYBO.
6+
7+
VHDL:
8+
* Support to specify a REAL generic was added/fixed in the Vivado 2020.2 version
9+
* https://forums.xilinx.com/t5/Vivado-TCL-Community/How-to-specify-a-REAL-generic-in-Vivado/m-p/1209088#M9581
10+
* Specify an architecture is supported, but not working
11+
* https://support.xilinx.com/s/question/0D52E00006r9kHiSAI/specify-a-vhdl-architecture-seems-not-working
12+
* As a workaround, I set SKIP_ARCH
13+
* Values are specified following Verilog notation.
14+
* In case of character, is needed to specify the ASCII value

vivado/vhdl.tcl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ add_files ../resources/constraints/zybo/clk.xdc
1313
add_files ../resources/constraints/zybo/led.xdc
1414

1515
set_property top Top [current_fileset]
16+
set_property top_arch ARCH_SEL [current_fileset]
1617

17-
set_property top_arch VIVADO [current_fileset]
18+
set GENERICS "FREQ=125000000 BOO=true INT=255 LOG=1'b1 VEC=8'b11111111 CHR=8'd90 STR=WXYZ REA=1.1 SKIP_ARCH=1"
19+
set_property "generic" $GENERICS -objects [get_filesets sources_1]
1820

19-
# NOTE: support to specify a REAL generic was added into the Vivado 2020.2 version
20-
# https://forums.xilinx.com/t5/Vivado-TCL-Community/How-to-specify-a-REAL-generic-in-Vivado/m-p/1209088#M9581
21-
set_property "generic" "BOO=true INT=255 LOG=1'b1 VEC=8'b11111111 STR=WXYZ REA=1.1" -objects [get_filesets sources_1]
21+
set_property STEPS.SYNTH_DESIGN.ARGS.ASSERT true [get_runs synth_1]
2222

2323
reset_run synth_1
2424
launch_runs synth_1

0 commit comments

Comments
 (0)