File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ version:
1212
1313clean :
1414 rm -fr * .bit * .cache * .hw * .runs * .xpr * .jou * .ip_user_files
15- rm -fr * .html * .log * .txt * .xml .Xil
15+ rm -fr * .html * .log * .txt * .xml .Xil * .zip
Original file line number Diff line number Diff line change 1212 * As a workaround, I set SKIP_ARCH
1313* Values are specified following Verilog notation.
1414 * In case of character, is needed to specify the ASCII value
15+
16+ Verilog:
17+ * ` $finish ` is ignored, but fortunatly ` $error("some text") ` produces the desired result.
Original file line number Diff line number Diff line change @@ -2,19 +2,21 @@ create_project -force vlog-project
22
33set_property " part" xc7z010-1-clg400 [current_project]
44
5- add_files ../resources/verilog /blink.v
5+ add_files ../resources/vlog /blink.v
66
7- add_files ../resources/verilog /top.v
7+ add_files ../resources/vlog /top.v
88add_files ../resources/constraints/zybo/clk.xdc
99add_files ../resources/constraints/zybo/led.xdc
1010
1111set_property top Top [current_fileset]
1212
13- set_property verilog_define {VIVADO =1 FREQ=125000000} [current_fileset]
13+ set_property verilog_define {ARCH_SEL =1 FREQ=125000000} [current_fileset]
1414
15- set_property " include_dirs" " ../resources/verilog /path1 ../resources/verilog /path2" [current_fileset]
15+ set_property " include_dirs" " ../resources/vlog /path1 ../resources/vlog /path2" [current_fileset]
1616
17- set_property " generic" " BOO=1 INT=255 LOG=1'b1 VEC=8'b11111111 STR=WXYZ REA=1.1" -objects [get_filesets sources_1]
17+ set_property " generic" " BOO=1 INT=255 LOG=1'b1 VEC=8'b11111111 CHR=Z STR=WXYZ REA=1.1" -objects [get_filesets sources_1]
18+
19+ set_property STEPS.SYNTH_DESIGN.ARGS.ASSERT true [get_runs synth_1]
1820
1921reset_run synth_1
2022launch_runs synth_1
You can’t perform that action at this time.
0 commit comments