Runtime Management & Entry Point#
The server is launched via an interactive CLI entry point module. Upon execution, it establishes standard system logging, prompts for environment settings, instantiates the root system interface with the chosen bitstream, and binds the TCP network server to a specified network interface.
Application Lifecycle Management#
Logging Configuration (
setup_logging(level)): Configures logging outputs with timestamped formats (%(asctime)s - %(name)s - %(levelname)s - %(message)s). The logging level can be dynamically set tologging.DEBUGorlogging.INFOduring startup.Startup Sequence (
main()):Requests the
.bitoverlay file path relative to the base directory/home/xilinx/(defaulting tooverlay.bit).Prompts for host binding address (defaulting to
0.0.0.0) and TCP port (defaulting to5000).Accepts an authentication token (defaulting to
"fireq").Instantiates
FIREQServer(ol_filepath, host, port)and callsserver.start().Intercepts
KeyboardInterruptsignals to execute a clean teardown (server.stop()) without corrupting FPGA registers.