Skip to content
Snippets Groups Projects
Unverified Commit a9a04a5d authored by Recolic Keghart's avatar Recolic Keghart
Browse files

update readme

parent 42d6a9c3
No related branches found
No related tags found
No related merge requests found
......@@ -79,3 +79,7 @@ vivadow gui
This is a bash script, so it can be easily injected. `Vivadofile` and `.vwc` constraint will be directly `source`d. **Never** trust Vivadofile uploaded by others!
If you give a wrong top\_module name, *silly vivado* will accept it, and generate bitstream for a **randomly-taken** module(with long time spent), then report error.
## TODO
Support bridging C/C++ into systemverilog via SV DPI. However my vivado 2018 failed to simulate it, saying `xsim.dir/tb_dpi_behav/xsimk: error while loading shared libraries: unexpected PLT reloc type 0x00`.
#!/bin/bash
function backup_var () {
_var_name="$1"
export "_vivado_wrapper_backup_$_var_name"="$$$_var_name"
unset "$_var_name"
}
function recover_var () {
_var_name="$1"
export "$_var_name"="$$_vivado_wrapper_backup_$_var_name"
unset "_vivado_wrapper_backup_$_var_name"
}
backup_var a
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment