[engine] tcl integration has initial success. Upload example scripts

This commit is contained in:
tangxifan 2022-12-01 16:31:15 -08:00
parent 90bbb50047
commit 729a3a0249
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
pkg_mkIndex . openfpga_shell.so
exit

View File

@ -0,0 +1,8 @@
# Load dynamic linked library
load "openfpga_shell.so" openfpga_shell
# Create a new Openfpga shell
std::OpenfpgaShell openfpga_shell
# Run an command
openfpga_shell run_command "help"
# Finish the quit
openfpga_shell run_command "exit"