Skip to content

Commit 10222be

Browse files
authored
Merge pull request #341 from sbarillet/master
fixed encryption issue with verilog file extension (.v)
2 parents 2d0c60e + 4bfd3a2 commit 10222be

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

hdk/cl/examples/cl_dram_dma/build/scripts/create_dcp_from_cl.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) Reading developer's
238238
# Reading the .sv and .v files, as proper designs would not require
239239
# reading .v, .vh, nor .inc files
240240

241-
read_verilog -sv [ glob $ENC_SRC_DIR/*.?v ]
241+
read_verilog -sv [ glob $ENC_SRC_DIR/*.{v,sv} ]
242242

243243
#---- End of section replaced by User ----
244244

hdk/cl/examples/cl_dram_dma/build/scripts/encrypt.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ file copy -force $UNUSED_TEMPLATES_DIR/unused_sh_bar1_template.inc $TARGET_DIR
6363
exec chmod +w {*}[glob $TARGET_DIR/*]
6464

6565
# encrypt .v/.sv/.vh/inc as verilog files
66-
encrypt -k $HDK_SHELL_DIR/build/scripts/vivado_keyfile.txt -lang verilog [glob -nocomplain -- $TARGET_DIR/*.?v] [glob -nocomplain -- $TARGET_DIR/*.vh] [glob -nocomplain -- $TARGET_DIR/*.inc]
66+
encrypt -k $HDK_SHELL_DIR/build/scripts/vivado_keyfile.txt -lang verilog [glob -nocomplain -- $TARGET_DIR/*.{v,sv}] [glob -nocomplain -- $TARGET_DIR/*.vh] [glob -nocomplain -- $TARGET_DIR/*.inc]
6767

6868
# encrypt *vhdl files
6969
encrypt -k $HDK_SHELL_DIR/build/scripts/vivado_vhdl_keyfile.txt -lang vhdl -quiet [ glob -nocomplain -- $TARGET_DIR/*.vhd? ]

hdk/cl/examples/cl_hello_world/build/scripts/create_dcp_from_cl.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) Reading developer's
180180
# Reading the .sv and .v files, as proper designs would not require
181181
# reading .v, .vh, nor .inc files
182182

183-
read_verilog -sv [glob $ENC_SRC_DIR/*.?v]
183+
read_verilog -sv [glob $ENC_SRC_DIR/*.{v,sv}]
184184

185185
#---- End of section replaced by User ----
186186

hdk/cl/examples/cl_hello_world/build/scripts/encrypt.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ file copy -force $UNUSED_TEMPLATES_DIR/unused_flr_template.inc $TARGET_DI
5151
exec chmod +w {*}[glob $TARGET_DIR/*]
5252

5353
# encrypt .v/.sv/.vh/inc as verilog files
54-
encrypt -k $HDK_SHELL_DIR/build/scripts/vivado_keyfile.txt -lang verilog [glob -nocomplain -- $TARGET_DIR/*.?v] [glob -nocomplain -- $TARGET_DIR/*.vh] [glob -nocomplain -- $TARGET_DIR/*.inc]
54+
encrypt -k $HDK_SHELL_DIR/build/scripts/vivado_keyfile.txt -lang verilog [glob -nocomplain -- $TARGET_DIR/*.{v,sv}] [glob -nocomplain -- $TARGET_DIR/*.vh] [glob -nocomplain -- $TARGET_DIR/*.inc]
5555

5656
# encrypt *vhdl files
5757
encrypt -k $HDK_SHELL_DIR/build/scripts/vivado_vhdl_keyfile.txt -lang vhdl -quiet [ glob -nocomplain -- $TARGET_DIR/*.vhd? ]

hdk/common/shell_v032117d7/new_cl_template/build/scripts/create_dcp_from_cl.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) Reading developer's
112112
# Reading the .sv and .v files, as proper designs would not require
113113
# reading .v, .vh, nor .inc files
114114

115-
read_verilog -sv [glob $ENC_SRC_DIR/*.?v]
115+
read_verilog -sv [glob $ENC_SRC_DIR/*.{v,sv}]
116116

117117
#---- End of section replaced by User ----
118118

hdk/common/shell_v04151701/new_cl_template/build/scripts/create_dcp_from_cl.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ puts "AWS FPGA: ([clock format [clock seconds] -format %T]) Reading developer's
173173
# Reading the .sv and .v files, as proper designs would not require
174174
# reading .v, .vh, nor .inc files
175175

176-
read_verilog -sv [glob $ENC_SRC_DIR/*.?v]
176+
read_verilog -sv [glob $ENC_SRC_DIR/*.{v,sv}]
177177

178178
#---- End of section replaced by User ----
179179

0 commit comments

Comments
 (0)