상세 컨텐츠

본문 제목

Vivado Gen bitstream without re-run syn/impl

공부

by 기동3 2021. 12. 8. 16:08

본문

TITLE 58130 - Vivado write_bitstream: 

After setting bitstream related properties, how can I generate the bitstream directly without re-synthesizing and re-implementing?

 

 - 비트 파일에만 영향을 주는 XDC 파일 수정 후 Synthesis와 Implementation rerun 없이 생성 가능한가?


SOLUTION
1) -1

Add the "set_property" commands (example below) related to bitstream properties in the XDC file in Vivado, then force processes up-to-date:

set_property BITSTREAM.ENCRYPTION.ENCRYPT YES [current_design]
set_property BITSTREAM.ENCRYPTION.ENCRYPTKEYSELECT BBRAM [current_design]
set_property BITSTREAM.ENCRYPTION.KEY0 256'h1234567812345678123456781234567812345678123456781234567812345678 [current_design]

 

A process can be forced up-to-date by clicking on the "more info" link of the process status in the upper right corner of the design window, and then selecting "Force up-to-date".

 

1) -2
Alternatively, run the Tcl commands below to force up-to-date:

set_property needs_refresh false [get_runs synth_1]
set_property needs_refresh false [get_runs impl_1]


Now, open the implemented design and run the same "set_property" bitstream commands as mentioned above via the Tcl console. Then, run the "write_bitstream" Tcl command rather than using the GUI button.

2) Create a Tcl file with the "set_property" commands (as mentioned above) and source it in the pre.tcl BitGen settings file. Bitstream setting options can be found in the project settings.

3) After implementation, open the post routed DCP. 
In the Tcl console, run the "set_property" commands related to the bitstream properties.
For example, if you want to compress the bitstream, run the following in the Tcl console:

 

set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]


Then, run the "write_bitstream" Tcl command.

'공부' 카테고리의 다른 글

Analog video signal gen  (0) 2022.01.24
인적성 준비 팁(1) - 언어 독해  (0) 2021.12.08
KASUMI 암호화 알고리즘  (0) 2021.11.30
Hash  (0) 2021.11.30
Aria  (0) 2021.11.30

관련글 더보기

댓글 영역