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:
12
12
13
13
clean :
14
14
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 12
12
* As a workaround, I set SKIP_ARCH
13
13
* Values are specified following Verilog notation.
14
14
* 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
2
2
3
3
set_property " part" xc7z010-1-clg400 [current_project]
4
4
5
- add_files ../resources/verilog /blink.v
5
+ add_files ../resources/vlog /blink.v
6
6
7
- add_files ../resources/verilog /top.v
7
+ add_files ../resources/vlog /top.v
8
8
add_files ../resources/constraints/zybo/clk.xdc
9
9
add_files ../resources/constraints/zybo/led.xdc
10
10
11
11
set_property top Top [current_fileset]
12
12
13
- set_property verilog_define {VIVADO =1 FREQ=125000000} [current_fileset]
13
+ set_property verilog_define {ARCH_SEL =1 FREQ=125000000} [current_fileset]
14
14
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]
16
16
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]
18
20
19
21
reset_run synth_1
20
22
launch_runs synth_1
You can’t perform that action at this time.
0 commit comments