-
Notifications
You must be signed in to change notification settings - Fork 0
Realtime HAT python package
ulbricht-inr edited this page Oct 13, 2025
·
16 revisions
Contains python bindings to control your Realtime-HAT. See https://github.com/InnoRoute/RealtimeHAT
- For installation clone
https://github.com/InnoRoute/RT_HAT_pythonand have a look into the examples folder - Also see the tutorials on https://github.com/InnoRoute/RealtimeHAT/wiki
- Displays license information and a FPGA feature list
- Displays status information of the FPGA
- Replaces update-bitstream
- Displays available bistreams and installs selected
run sudo INR_change_bitstream
- Realtime-HAT network mode config and options
- Select System network configuration mode
- Allows installation of additional features
run sudo INR-config
run python3 SIGGEN_test.py
run python3 TAS_test.py
run python3 fpga_status.py
- Displays status information of the FPGA
- examples for UC1(Flowcache+TAS), see PDF for description
RT_HAT_TAS.set_GCL(my_GCL,port)
- sets GCL of port
RT_HAT_TAS.get_GCL(port)
- returns GCL of port
RT_HAT_TAS.apply(port)
- applies TAS settings to port
RT_HAT_FPGA.init(envfile)
- loads environment addresses from envfile
RT_HAT_FPGA.status()
- returns FPGA status information
RT_HAT_SIGGEN.set(DUTY_CYCLE,PERIOD,PHASE,CNT)
- DUTY_CYCLE: duty cycle (between 0 and 1)
- PERIOD: period time (between 0s and 2s, in ns)
- START: start time (in ns)
- CNT: count of pulses to generate (0 = infinite)